diff --git a/app/javascript/dashboard/assets/scss/_foundation-settings.scss b/app/javascript/dashboard/assets/scss/_foundation-settings.scss index 52fa64ba2..c342b0c31 100644 --- a/app/javascript/dashboard/assets/scss/_foundation-settings.scss +++ b/app/javascript/dashboard/assets/scss/_foundation-settings.scss @@ -249,7 +249,7 @@ $button-background-hover: scale-color($button-background, $lightness: -15%); $button-color: $white; $button-color-alt: $white; $button-radius: var(--border-radius-normal); -$button-sizes: (tiny: var(--font-size-micro), +$button-sizes: (tiny: var(--font-size-mini), small: var(--font-size-mini), default: var(--font-size-small), large: var(--font-size-medium)); diff --git a/app/javascript/dashboard/assets/scss/widgets/_buttons.scss b/app/javascript/dashboard/assets/scss/widgets/_buttons.scss index 13fd0ce73..15f344ddf 100644 --- a/app/javascript/dashboard/assets/scss/widgets/_buttons.scss +++ b/app/javascript/dashboard/assets/scss/widgets/_buttons.scss @@ -155,7 +155,6 @@ $default-button-height: 4.0rem; // Sizes &.tiny { height: var(--space-medium); - letter-spacing: 0.15px; .icon+.button__content { padding-left: var(--space-micro); @@ -199,6 +198,10 @@ $default-button-height: 4.0rem; height: auto; margin: 0; padding: 0; + + &:hover { + text-decoration: underline; + } } } diff --git a/app/javascript/dashboard/assets/scss/widgets/_conversation-card.scss b/app/javascript/dashboard/assets/scss/widgets/_conversation-card.scss index d59769711..c5fbb037d 100644 --- a/app/javascript/dashboard/assets/scss/widgets/_conversation-card.scss +++ b/app/javascript/dashboard/assets/scss/widgets/_conversation-card.scss @@ -3,12 +3,10 @@ 0%, 100% { transform: translateX(0); - opacity: 1; } 50% { transform: translateX(-1px); - opacity: .8; } } @@ -21,7 +19,7 @@ position: relative; &.active { - animation: left-shift-animation 0.3s linear; + animation: left-shift-animation 0.25s ease-in-out; box-shadow: var(--shadow-small); +.conversation::after { diff --git a/app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss b/app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss index b67932e6d..c402eb2d2 100644 --- a/app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss +++ b/app/javascript/dashboard/assets/scss/widgets/_conversation-view.scss @@ -90,6 +90,7 @@ align-items: center; justify-content: space-between; padding: $zero $zero $space-micro; + margin-left: var(--space-small); .page-title { margin-bottom: $zero; diff --git a/app/javascript/dashboard/assets/scss/widgets/_tabs.scss b/app/javascript/dashboard/assets/scss/widgets/_tabs.scss index 9a6f6951c..1fd8042ad 100644 --- a/app/javascript/dashboard/assets/scss/widgets/_tabs.scss +++ b/app/javascript/dashboard/assets/scss/widgets/_tabs.scss @@ -34,6 +34,7 @@ // Tab chat type .tab--chat-type { @include flex; + margin-left: var(--space-minus-small); .tabs-title { a { @@ -47,7 +48,7 @@ .tabs-title { flex-shrink: 0; - margin: $zero $space-slab; + margin: $zero $space-small; .badge { background: $color-background; diff --git a/app/javascript/dashboard/components/ChatList.vue b/app/javascript/dashboard/components/ChatList.vue index cf76062b6..865b57841 100644 --- a/app/javascript/dashboard/components/ChatList.vue +++ b/app/javascript/dashboard/components/ChatList.vue @@ -780,7 +780,6 @@ export default { } .conversations-list { - padding-top: var(--space-small); // Prevent the list from scrolling if the submenu is opened &.is-context-menu-open { overflow: hidden !important; diff --git a/app/javascript/dashboard/components/ui/Label.vue b/app/javascript/dashboard/components/ui/Label.vue index cb1dd010d..8ea5ebebb 100644 --- a/app/javascript/dashboard/components/ui/Label.vue +++ b/app/javascript/dashboard/components/ui/Label.vue @@ -4,7 +4,7 @@ @@ -125,6 +125,9 @@ export default { .label--icon { cursor: pointer; + } + + .label-color-dot { margin-right: var(--space-smaller); } @@ -143,10 +146,10 @@ export default { /* Color Schemes */ &.primary { background: var(--w-100); - color: var(--w-900); + color: var(--w-800); border: 1px solid var(--w-200); a { - color: var(--w-900); + color: var(--w-800); } .label-color-dot { background: var(--w-600); @@ -154,10 +157,10 @@ export default { } &.secondary { background: var(--s-100); - color: var(--s-900); + color: var(--s-800); border: 1px solid var(--s-200); a { - color: var(--s-900); + color: var(--s-800); } .label-color-dot { background: var(--s-600); @@ -165,10 +168,10 @@ export default { } &.success { background: var(--g-100); - color: var(--g-900); + color: var(--g-800); border: 1px solid var(--g-200); a { - color: var(--g-900); + color: var(--g-800); } .label-color-dot { background: var(--g-600); @@ -176,10 +179,10 @@ export default { } &.alert { background: var(--r-100); - color: var(--r-900); + color: var(--r-800); border: 1px solid var(--r-200); a { - color: var(--r-900); + color: var(--r-800); } .label-color-dot { background: var(--r-600); @@ -187,13 +190,13 @@ export default { } &.warning { background: var(--y-100); - color: var(--y-900); + color: var(--y-800); border: 1px solid var(--y-200); a { - color: var(--y-900); + color: var(--y-800); } .label-color-dot { - background: var(--y-900); + background: var(--y-800); } } @@ -221,7 +224,8 @@ export default { } .label-action--button { - margin-bottom: var(--space-minus-micro); + display: flex; + margin-right: var(--space-smaller); } .label-color-dot { @@ -230,11 +234,13 @@ export default { height: var(--space-one); border-radius: var(--border-radius-small); margin-right: var(--space-smaller); + box-shadow: var(--shadow-small); } .label.small .label-color-dot { width: var(--space-small); height: var(--space-small); border-radius: var(--border-radius-small); - margin-right: var(--space-smaller); + margin-right: var(--space-micro); + box-shadow: var(--shadow-small); } diff --git a/app/javascript/dashboard/components/widgets/InboxName.vue b/app/javascript/dashboard/components/widgets/InboxName.vue index c9f8a63bf..e787a5e13 100644 --- a/app/javascript/dashboard/components/widgets/InboxName.vue +++ b/app/javascript/dashboard/components/widgets/InboxName.vue @@ -1,12 +1,12 @@