diff options
author | beatrix <beatrix.bitrot@gmail.com> | 2018-01-14 17:48:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-14 17:48:02 -0500 |
commit | cd6674606fe07dbecdfb0c49a6968ff58188bfd8 (patch) | |
tree | 0183edc9d55bbd8870618bcb8c334ccfb1574473 /app/javascript/flavours/glitch/styles/landing_strip.scss | |
parent | 39f231f3da1ffe7e8a75df924790005fde5fe7fa (diff) | |
parent | f9b08e2142f552ed2873a014b78869df04c614e3 (diff) |
Merge pull request #329 from KnzkDev/scss-refactor
SCSS Refactor
Diffstat (limited to 'app/javascript/flavours/glitch/styles/landing_strip.scss')
-rw-r--r-- | app/javascript/flavours/glitch/styles/landing_strip.scss | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/landing_strip.scss b/app/javascript/flavours/glitch/styles/landing_strip.scss index 0bf9daafd..ffa1e149d 100644 --- a/app/javascript/flavours/glitch/styles/landing_strip.scss +++ b/app/javascript/flavours/glitch/styles/landing_strip.scss @@ -12,6 +12,12 @@ strong, a { font-weight: 500; + + @each $lang in $cjk-langs { + &:lang(#{$lang}) { + font-weight: 700; + } + } } a { @@ -34,3 +40,72 @@ .memoriam-strip { background: rgba($base-shadow-color, 0.7); } + +.moved-strip { + padding: 14px; + border-radius: 4px; + background: rgba(darken($ui-base-color, 7%), 0.8); + color: $ui-secondary-color; + font-weight: 400; + margin-bottom: 20px; + + strong, + a { + font-weight: 500; + + @each $lang in $cjk-langs { + &:lang(#{$lang}) { + font-weight: 700; + } + } + } + + a { + color: inherit; + text-decoration: underline; + + &.mention { + text-decoration: none; + + span { + text-decoration: none; + } + + &:focus, + &:hover, + &:active { + text-decoration: none; + + span { + text-decoration: underline; + } + } + } + } + + &__message { + margin-bottom: 15px; + + .fa { + margin-right: 5px; + color: $ui-primary-color; + } + } + + &__card { + .detailed-status__display-avatar { + position: relative; + cursor: pointer; + } + + .detailed-status__display-name { + margin-bottom: 0; + text-decoration: none; + + span { + color: $ui-highlight-color; + font-weight: 400; + } + } + } +} |