diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-01-28 19:15:03 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-01-28 19:15:03 +0100 |
commit | 44744e3ce14938b4cc826d1d8612aaa7095aa3ef (patch) | |
tree | 6e95e682138ff39de8e558d56c78d6b814e8ae05 /app/javascript/styles | |
parent | 67b8af34b3df55ba74a53af731f275d0a4c6d9f8 (diff) | |
parent | 1051de0165e6e6555e8d27b90bb622cb0c4908b2 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon/admin.scss | 43 | ||||
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 2 |
2 files changed, 44 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/admin.scss b/app/javascript/styles/mastodon/admin.scss index 9f7ffe47a..fb136d1a3 100644 --- a/app/javascript/styles/mastodon/admin.scss +++ b/app/javascript/styles/mastodon/admin.scss @@ -919,3 +919,46 @@ a.name-tag, .center-text { text-align: center; } + +.announcements-list { + border: 1px solid lighten($ui-base-color, 4%); + border-radius: 4px; + + &__item { + padding: 15px 0; + background: $ui-base-color; + border-bottom: 1px solid lighten($ui-base-color, 4%); + + &__title { + padding: 0 15px; + display: block; + font-weight: 500; + font-size: 18px; + line-height: 1.5; + color: $secondary-text-color; + text-decoration: none; + margin-bottom: 10px; + + &:hover, + &:focus, + &:active { + color: $primary-text-color; + } + } + + &__meta { + padding: 0 15px; + color: $dark-text-color; + } + + &__action-bar { + display: flex; + justify-content: space-between; + align-items: center; + } + + &:last-child { + border-bottom: 0; + } + } +} diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index ee1908e3e..85b3b0cec 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -5761,8 +5761,8 @@ a.status-card.compact:hover { text-align: center; text-decoration: none; position: relative; - overflow: hidden; width: 100%; + white-space: nowrap; &.active { color: $secondary-text-color; |