diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-14 01:47:41 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:18 -0500 |
commit | d97a574b07cb60e9c2bdd98ace5049e73ee9b861 (patch) | |
tree | 2cb5b9d4780f035cf85a208c696708d7c03ef349 /app/javascript/flavours/glitch/styles | |
parent | b3b87b63f6a6f9cf84af220ed29c8eb85fa34c19 (diff) |
[UI] Move notice headers inside a wrapper; add styling for local-only posts
Diffstat (limited to 'app/javascript/flavours/glitch/styles')
-rw-r--r-- | app/javascript/flavours/glitch/styles/monsterfork/components/status.scss | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss b/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss index 17b950651..6c14e2b49 100644 --- a/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss +++ b/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss @@ -1,6 +1,12 @@ -.status__edit-notice, .status__unpublished-notice { +.status__notice-wrapper { margin-bottom: 1em; +} + +.status__notice-wrapper:empty { + display: none; +} +.status__notice { & > span { color: $dark-text-color; line-height: normal; @@ -8,7 +14,7 @@ font-size: 12px; padding-left: 8px; position: relative; - bottom: 0.25em; + bottom: 0.2em; } & > i { @@ -66,6 +72,10 @@ background: lighten($ui-base-color, 4%); } } + + &[data-local-only="true"] { + background: lighten($ui-base-color, 4%); + } } div[data-nest-level] { |