diff options
author | Starfall <us@starfall.systems> | 2022-11-28 16:41:29 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2022-11-28 16:41:29 -0600 |
commit | cb9dad90b01c9f53d1910cf128eb22200bdb9884 (patch) | |
tree | 1935d74f49853ed371e36cfac2d44ac33d2e8a2e /app/javascript/flavours/glitch/styles/components | |
parent | c3c3b6953f37462f26f011b6c6cbd1655d5dcbea (diff) | |
parent | 1a7aa37b60769a10077c585fa76ec848b6866d9a (diff) |
Merge remote-tracking branch 'glitch/main'
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/columns.scss | 35 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/index.scss | 10 |
2 files changed, 13 insertions, 32 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/columns.scss b/app/javascript/flavours/glitch/styles/components/columns.scss index c61815e07..71edf7fb3 100644 --- a/app/javascript/flavours/glitch/styles/components/columns.scss +++ b/app/javascript/flavours/glitch/styles/components/columns.scss @@ -558,6 +558,7 @@ $ui-header-height: 55px; border-radius: 4px; margin-bottom: 10px; align-items: stretch; + gap: 2px; } .pillbar-button { @@ -565,7 +566,6 @@ $ui-header-height: 55px; color: #fafafa; padding: 2px; margin: 0; - margin-left: 2px; font-size: inherit; flex: auto; background-color: $ui-base-color; @@ -578,43 +578,20 @@ $ui-header-height: 55px; } &:not([disabled]) { - &:hover { - background-color: darken($ui-base-color, 10%); - } - + &:hover, &:focus { - background-color: darken($ui-base-color, 15%); - } - - &:active { - background-color: darken($ui-base-color, 20%); + background-color: darken($ui-base-color, 10%); } &.active { - background-color: $ui-highlight-color; - box-shadow: inset 0 5px darken($ui-highlight-color, 20%); - - &:hover { - background-color: lighten($ui-highlight-color, 10%); - box-shadow: inset 0 5px darken($ui-highlight-color, 10%); - } + background-color: darken($ui-highlight-color, 2%); + &:hover, &:focus { - background-color: lighten($ui-highlight-color, 15%); - box-shadow: inset 0 5px darken($ui-highlight-color, 5%); - } - - &:active { - background-color: lighten($ui-highlight-color, 20%); - box-shadow: inset 0 5px $ui-highlight-color; + background-color: $ui-highlight-color; } } } - - /* TODO: check RTL? */ - &:first-child { - margin-left: 0; - } } .limited-account-hint { diff --git a/app/javascript/flavours/glitch/styles/components/index.scss b/app/javascript/flavours/glitch/styles/components/index.scss index b00038afd..80b0598a5 100644 --- a/app/javascript/flavours/glitch/styles/components/index.scss +++ b/app/javascript/flavours/glitch/styles/components/index.scss @@ -1051,12 +1051,16 @@ margin-top: 10px; h4 { + border-bottom: 1px solid lighten($ui-base-color, 8%); + padding: 10px; font-size: 12px; text-transform: uppercase; - color: $darker-text-color; - padding: 10px; font-weight: 500; - border-bottom: 1px solid lighten($ui-base-color, 8%); + + a { + color: $darker-text-color; + text-decoration: none; + } } @media screen and (max-height: 810px) { |