diff --git a/front/src/assets/css/main.css b/front/src/assets/css/main.css index 9a6770c..d0ff38e 100644 --- a/front/src/assets/css/main.css +++ b/front/src/assets/css/main.css @@ -7,7 +7,10 @@ /* 1d1d23 */ --tertiary-background: #2a2a33; --quaternary-background: #303a46; + --selected: #41474f; + --warn: #e4b31d; + --danger: #d74453; --border-color: #505050; @@ -16,6 +19,10 @@ --svg-selected: brightness(0) saturate(100%) invert(22%) sepia(1%) saturate(7429%) hue-rotate(175deg) brightness(79%) contrast(69%); + --svg-warn: brightness(0) saturate(100%) invert(77%) sepia(81%) saturate(1010%) hue-rotate(347deg) brightness(95%) + contrast(88%); + --svg-danger: brightness(0) saturate(100%) invert(53%) sepia(83%) saturate(4662%) hue-rotate(327deg) brightness(87%) + contrast(92%); /* 343a46 */ } /* .badge-primary { */ diff --git a/front/src/components/structure/message/Options.vue b/front/src/components/structure/message/Options.vue index bcc7e8f..190881d 100644 --- a/front/src/components/structure/message/Options.vue +++ b/front/src/components/structure/message/Options.vue @@ -1,5 +1,5 @@ - - {{ isSeenFc(props.msg?.flags) ? "Mark as not read" : "Mark as read" }} - + + + + flag favorite reply delete from all @@ -46,19 +63,17 @@ const setFlag = (flag: string) => { see source {{ props.msg?.flags }} - - - - - - - - + + + + + + - diff --git a/front/src/components/tooltip/Tooltip.ts b/front/src/components/tooltip/Tooltip.ts index cc5da5d..171cc55 100644 --- a/front/src/components/tooltip/Tooltip.ts +++ b/front/src/components/tooltip/Tooltip.ts @@ -16,14 +16,6 @@ const VTooltip: ObjectDirective = { createPopper(el, tooltip, { placement: "top", - modifiers: [ - { - name: "offset", - options: { - offset: [0, 14], - }, - }, - ], }); el.addEventListener("mouseenter", () => { diff --git a/front/src/components/tooltip/Tooltip.vue b/front/src/components/tooltip/Tooltip.vue index b588bc3..a163623 100644 --- a/front/src/components/tooltip/Tooltip.vue +++ b/front/src/components/tooltip/Tooltip.vue @@ -1,7 +1,6 @@ diff --git a/front/src/components/utils/SvgLoader.vue b/front/src/components/utils/SvgLoader.vue index 59c5792..e1e5bde 100644 --- a/front/src/components/utils/SvgLoader.vue +++ b/front/src/components/utils/SvgLoader.vue @@ -4,21 +4,57 @@ import { defineProps } from "vue"; const props = defineProps({ svg: { type: String, required: true }, isDisabled: Boolean, + classes: String, + loading: { type: Boolean, default: false }, }); +console.log(props.loading); const pathSvg = () => require(`@/assets/svg/${props.svg}.svg`); -console.log(props.isDisabled); - - + + +