diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-07-07 16:16:51 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-07-19 18:27:26 +0200 |
commit | bf3ab44e7788264783d58f89721539183ecddb4d (patch) | |
tree | 8baa6686b322a20fbda378605650de36e91e06e0 /app/javascript/flavours/glitch/styles/stream_entries.scss | |
parent | 249991c498a37b25ef4d35f5d0898ff05d4dd1de (diff) |
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id`
Port SCSS changes from b8514561394767a10d3cf40132ada24d938c1680 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/stream_entries.scss')
-rw-r--r-- | app/javascript/flavours/glitch/styles/stream_entries.scss | 224 |
1 files changed, 0 insertions, 224 deletions
diff --git a/app/javascript/flavours/glitch/styles/stream_entries.scss b/app/javascript/flavours/glitch/styles/stream_entries.scss deleted file mode 100644 index 611d5185b..000000000 --- a/app/javascript/flavours/glitch/styles/stream_entries.scss +++ /dev/null @@ -1,224 +0,0 @@ -.activity-stream { - box-shadow: 0 0 15px rgba($base-shadow-color, 0.2); - border-radius: 4px; - overflow: hidden; - margin-bottom: 10px; - - @media screen and (max-width: $no-gap-breakpoint) { - margin-bottom: 0; - border-radius: 0; - box-shadow: none; - } - - &--headless { - border-radius: 0; - margin: 0; - box-shadow: none; - - .detailed-status, - .status { - border-radius: 0 !important; - } - } - - div[data-component] { - width: 100%; - } - - .entry { - background: $ui-base-color; - - .detailed-status, - .status, - .load-more { - animation: none; - } - - &:last-child { - .detailed-status, - .status, - .load-more { - border-bottom: 0; - border-radius: 0 0 4px 4px; - } - } - - &:first-child { - .detailed-status, - .status, - .load-more { - border-radius: 4px 4px 0 0; - } - - &:last-child { - .detailed-status, - .status, - .load-more { - border-radius: 4px; - } - } - } - - @media screen and (max-width: 740px) { - .detailed-status, - .status, - .load-more { - border-radius: 0 !important; - } - } - } - - &--highlighted .entry { - background: lighten($ui-base-color, 8%); - } -} - -.button.logo-button { - flex: 0 auto; - font-size: 14px; - background: $ui-highlight-color; - color: $primary-text-color; - text-transform: none; - line-height: 36px; - height: auto; - padding: 3px 15px; - border: 0; - - svg { - width: 20px; - height: auto; - vertical-align: middle; - margin-right: 5px; - fill: $primary-text-color; - } - - &:active, - &:focus, - &:hover { - background: lighten($ui-highlight-color, 10%); - } - - &:disabled, - &.disabled { - &:active, - &:focus, - &:hover { - background: $ui-primary-color; - } - } - - &.button--destructive { - &:active, - &:focus, - &:hover { - background: $error-red; - } - } - - @media screen and (max-width: $no-gap-breakpoint) { - svg { - display: none; - } - } -} - -.embed, -.public-layout { - .detailed-status { - padding: 15px; - } - - .status { - padding: 15px 15px 15px (48px + 15px * 2); - min-height: 48px + 2px; - - &__avatar { - left: 15px; - top: 17px; - } - - &__content { - padding-top: 5px; - } - - &__prepend { - padding: 8px 0; - padding-bottom: 2px; - margin: initial; - margin-left: 48px + 15px * 2; - padding-top: 15px; - } - - &__prepend-icon-wrapper { - position: absolute; - margin: initial; - float: initial; - width: auto; - left: -32px; - } - - .media-gallery, - &__action-bar, - .video-player { - margin-top: 10px; - } - } -} - -// Styling from upstream's WebUI, as public pages use the same layout -.embed, -.public-layout { - .status { - .status__info { - font-size: 15px; - display: initial; - } - - .status__relative-time { - color: $dark-text-color; - float: right; - font-size: 14px; - width: auto; - margin: initial; - padding: initial; - } - - .status__info .status__display-name { - display: block; - max-width: 100%; - padding: 6px 0; - padding-right: 25px; - margin: initial; - - .display-name strong { - display: inline; - } - } - - .status__avatar { - height: 48px; - position: absolute; - width: 48px; - margin: initial; - } - } -} - -.rtl { - .embed, - .public-layout { - .status { - padding-left: 10px; - padding-right: 68px; - - .status__info .status__display-name { - padding-left: 25px; - padding-right: 0; - } - - .status__relative-time { - float: left; - } - } - } -} |