diff options
author | ThibG <thib@sitedethib.com> | 2020-01-25 20:31:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-25 20:31:22 +0100 |
commit | 3591621edc4cc3658199527b0847e997ad1ce0a4 (patch) | |
tree | f1f6fcf0ecf1092db7f74bc787a6024ae5967e0d /app/javascript/styles | |
parent | 5bd752081fd72c9899780eaa4b8ce2bd277b1ff0 (diff) | |
parent | 5e4d1f699e9f2ea6954a6d2647412f98ed2ca203 (diff) |
Merge pull request #1268 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index adaed2826..cdb932749 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -3224,13 +3224,16 @@ a.status-card.compact:hover { .column-header__wrapper { position: relative; flex: 0 0 auto; + z-index: 1; &.active { + box-shadow: 0 1px 0 rgba($highlight-text-color, 0.3); + &::before { display: block; content: ""; position: absolute; - top: 35px; + bottom: -13px; left: 0; right: 0; margin: 0 auto; @@ -3241,6 +3244,11 @@ a.status-card.compact:hover { background: radial-gradient(ellipse, rgba($ui-highlight-color, 0.23) 0%, rgba($ui-highlight-color, 0) 60%); } } + + .announcements { + z-index: 1; + position: relative; + } } .column-header { @@ -3273,8 +3281,6 @@ a.status-card.compact:hover { } &.active { - box-shadow: 0 1px 0 rgba($highlight-text-color, 0.3); - .column-header__icon { color: $highlight-text-color; text-shadow: 0 0 10px rgba($highlight-text-color, 0.4); @@ -3330,6 +3336,8 @@ a.status-card.compact:hover { color: $darker-text-color; transition: max-height 150ms ease-in-out, opacity 300ms linear; opacity: 1; + z-index: 1; + position: relative; &.collapsed { max-height: 0; @@ -6632,7 +6640,6 @@ noscript { .announcements { background: lighten($ui-base-color, 8%); - border-top: 1px solid $ui-base-color; font-size: 13px; display: flex; align-items: flex-end; |