Update SCSS for statuses public view

This commit is contained in:
Thibaut Girka 2018-05-11 14:43:26 +02:00
parent 4a1040c4cb
commit 8860f14ef0
1 changed files with 23 additions and 15 deletions

View File

@ -6,7 +6,8 @@
background: $simple-background-color; background: $simple-background-color;
.detailed-status.light, .detailed-status.light,
.status.light { .status.light,
.more.light {
border-bottom: 1px solid $ui-secondary-color; border-bottom: 1px solid $ui-secondary-color;
animation: none; animation: none;
} }
@ -65,6 +66,10 @@
} }
} }
.media-gallery__gifv__label {
bottom: 9px;
}
.status.light { .status.light {
padding: 14px 14px 14px (48px + 14px * 2); padding: 14px 14px 14px (48px + 14px * 2);
position: relative; position: relative;
@ -145,10 +150,10 @@
a.status__content__spoiler-link { a.status__content__spoiler-link {
color: $primary-text-color; color: $primary-text-color;
background: $ui-primary-color; background: $ui-base-color;
&:hover { &:hover {
background: lighten($ui-primary-color, 8%); background: lighten($ui-base-color, 8%);
} }
} }
} }
@ -215,10 +220,10 @@
a.status__content__spoiler-link { a.status__content__spoiler-link {
color: $primary-text-color; color: $primary-text-color;
background: $ui-primary-color; background: $ui-base-color;
&:hover { &:hover {
background: lighten($ui-primary-color, 8%); background: lighten($ui-base-color, 8%);
} }
} }
} }
@ -261,16 +266,8 @@
} }
.media-spoiler { .media-spoiler {
background: $ui-primary-color; background: $ui-base-color;
color: $inverted-text-color; color: $darker-text-color;
transition: all 100ms linear;
&:hover,
&:active,
&:focus {
background: darken($ui-primary-color, 5%);
color: unset;
}
} }
.pre-header { .pre-header {
@ -299,6 +296,17 @@
text-decoration: underline; text-decoration: underline;
} }
} }
.more {
color: $darker-text-color;
display: block;
padding: 14px;
text-align: center;
&:not(:hover) {
text-decoration: none;
}
}
} }
.embed { .embed {