mastodon/app/javascript/styles/bliss/statuses.scss

213 lines
3.4 KiB
SCSS
Raw Normal View History

2019-08-27 13:55:47 +02:00
.activity-stream {
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
border-radius: 4px;
overflow: hidden;
margin-bottom: 10px;
&--under-tabs {
border-radius: 0 0 4px 4px;
}
@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;
2020-08-15 17:12:00 +02:00
.detailed-status,
.status {
border-radius: 0 !important;
2019-08-27 13:55:47 +02:00
}
}
2020-07-24 17:04:16 +02:00
2020-08-15 17:12:00 +02:00
div[data-component] {
width: 100%;
2019-08-27 13:55:47 +02:00
}
2020-08-15 17:12:00 +02:00
.entry {
background: $ui-base-color;
2019-08-27 13:55:47 +02:00
.detailed-status,
.status,
.load-more {
2020-08-15 17:12:00 +02:00
animation: none;
2019-08-27 13:55:47 +02:00
}
2020-08-15 17:12:00 +02:00
&:last-child {
.detailed-status,
.status,
.load-more {
border-bottom: 0;
border-radius: 0 0 4px 4px;
}
2019-08-27 13:55:47 +02:00
}
2020-08-15 17:12:00 +02:00
&:first-child {
2019-08-27 13:55:47 +02:00
.detailed-status,
.status,
.load-more {
2020-08-15 17:12:00 +02:00
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;
2019-08-27 13:55:47 +02:00
}
}
}
&--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;
2021-05-24 12:10:49 +02:00
line-height: 1.2;
2019-08-27 13:55:47 +02:00
height: auto;
2021-05-24 12:10:49 +02:00
min-height: 36px;
min-width: 88px;
white-space: normal;
overflow-wrap: break-word;
hyphens: auto;
padding: 0 15px;
2019-08-27 13:55:47 +02:00
border: 0;
svg {
width: 20px;
height: auto;
vertical-align: middle;
margin-right: 5px;
fill: $primary-text-color;
}
&:active,
&:focus,
&:hover {
2020-08-15 17:12:00 +02:00
background: lighten($ui-highlight-color, 10%);
2019-08-27 13:55:47 +02:00
}
2020-08-15 17:12:00 +02:00
2019-08-27 13:55:47 +02:00
&: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;
}
}
}
2021-05-24 12:10:49 +02:00
a.button.logo-button {
display: inline-flex;
align-items: center;
justify-content: center;
}
2019-08-27 13:55:47 +02:00
.embed,
.public-layout {
2020-08-15 17:12:00 +02:00
.status__content[data-spoiler=folded] {
.e-content {
display: none;
}
p:first-child {
margin-bottom: 0;
}
}
2019-08-27 13:55:47 +02:00
.detailed-status {
padding: 15px;
2020-07-24 17:04:16 +02:00
2020-08-15 17:12:00 +02:00
.detailed-status__display-avatar .account__avatar {
width: 48px;
height: 48px;
2020-07-24 17:04:16 +02:00
}
2019-08-27 13:55:47 +02:00
}
.status {
padding: 15px 15px 15px (48px + 15px * 2);
min-height: 48px + 2px;
&__avatar {
left: 15px;
top: 17px;
2020-08-15 17:12:00 +02:00
.account__avatar {
width: 48px;
height: 48px;
}
2019-08-27 13:55:47 +02:00
}
&__content {
padding-top: 5px;
}
&__prepend {
margin-left: 48px + 15px * 2;
padding-top: 15px;
}
&__prepend-icon-wrapper {
left: -32px;
}
.media-gallery,
&__action-bar,
.video-player {
margin-top: 10px;
}
2020-08-15 17:12:00 +02:00
&__action-bar-button {
font-size: 18px;
width: 23.1429px;
height: 23.1429px;
line-height: 23.15px;
}
2019-08-27 13:55:47 +02:00
}
2021-05-24 12:10:49 +02:00
.status__content a , .hashtag.status-link{
color: #528dc8 !important;
display: inline-block;
padding: .5em;
text-decoration: none;
&:hover {
color: $gold-star !important;
background: rgba(0,0,0,0.5);
}
}
2019-08-27 13:55:47 +02:00
}