2016-02-26 20:48:20 +01:00
|
|
|
.activity-stream {
|
2017-05-08 15:57:49 +02:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
2018-07-31 22:54:18 +02:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2016-02-26 20:48:20 +01:00
|
|
|
|
2018-07-18 21:56:31 +02:00
|
|
|
div[data-component] {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2016-02-26 20:48:20 +01:00
|
|
|
.entry {
|
2018-07-31 22:54:18 +02:00
|
|
|
background: $ui-base-color;
|
2016-12-21 00:13:13 +01:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
.detailed-status,
|
|
|
|
.status,
|
|
|
|
.load-more {
|
2017-08-16 17:12:58 +02:00
|
|
|
animation: none;
|
2016-12-18 19:47:11 +01:00
|
|
|
}
|
2016-02-26 20:48:20 +01:00
|
|
|
|
2016-12-18 19:47:11 +01:00
|
|
|
&:last-child {
|
2018-07-31 22:54:18 +02:00
|
|
|
.detailed-status,
|
2018-09-05 11:42:04 +02:00
|
|
|
.status,
|
|
|
|
.load-more {
|
2016-12-18 19:47:11 +01:00
|
|
|
border-bottom: 0;
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
2016-02-26 20:48:20 +01:00
|
|
|
}
|
|
|
|
|
2016-12-18 19:47:11 +01:00
|
|
|
&:first-child {
|
2018-07-31 22:54:18 +02:00
|
|
|
.detailed-status,
|
2018-09-05 11:42:04 +02:00
|
|
|
.status,
|
|
|
|
.load-more {
|
2016-12-18 19:47:11 +01:00
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
}
|
2016-03-12 16:09:46 +01:00
|
|
|
|
2016-12-18 19:47:11 +01:00
|
|
|
&:last-child {
|
2018-07-31 22:54:18 +02:00
|
|
|
.detailed-status,
|
2018-09-05 11:42:04 +02:00
|
|
|
.status,
|
|
|
|
.load-more {
|
2016-12-18 19:47:11 +01:00
|
|
|
border-radius: 4px;
|
2016-03-12 16:09:46 +01:00
|
|
|
}
|
|
|
|
}
|
2016-02-28 14:02:53 +01:00
|
|
|
}
|
2017-08-16 17:12:58 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: 740px) {
|
2018-07-31 22:54:18 +02:00
|
|
|
.detailed-status,
|
2018-09-05 11:42:04 +02:00
|
|
|
.status,
|
|
|
|
.load-more {
|
2017-08-16 17:12:58 +02:00
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2016-12-18 19:47:11 +01:00
|
|
|
}
|
2018-09-05 11:36:24 +02:00
|
|
|
|
|
|
|
&--highlighted .entry {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
}
|
2018-07-31 22:54:18 +02:00
|
|
|
}
|
2016-02-28 14:02:53 +01:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
.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;
|
2017-07-06 21:31:03 +02:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
svg {
|
|
|
|
width: 20px;
|
|
|
|
height: auto;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 5px;
|
2016-12-21 00:13:13 +01:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
path:first-child {
|
|
|
|
fill: $primary-text-color;
|
2016-12-21 00:13:13 +01:00
|
|
|
}
|
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
path:last-child {
|
|
|
|
fill: $ui-highlight-color;
|
2016-12-21 00:13:13 +01:00
|
|
|
}
|
|
|
|
}
|
2017-01-30 23:01:37 +01:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-highlight-color, 10%);
|
2017-01-30 23:01:37 +01:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
svg path:last-child {
|
|
|
|
fill: lighten($ui-highlight-color, 10%);
|
2017-01-30 23:01:37 +01:00
|
|
|
}
|
|
|
|
}
|
2018-05-11 14:43:26 +02:00
|
|
|
|
2019-04-07 04:59:13 +02:00
|
|
|
&:disabled,
|
|
|
|
&.disabled {
|
|
|
|
svg path:last-child {
|
|
|
|
fill: $ui-primary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background: $ui-primary-color;
|
|
|
|
|
|
|
|
svg path:last-child {
|
|
|
|
fill: $ui-primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-05 11:42:54 +02:00
|
|
|
&.button--destructive {
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background: $error-red;
|
|
|
|
|
|
|
|
svg path:last-child {
|
|
|
|
fill: $error-red;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
@media screen and (max-width: $no-gap-breakpoint) {
|
|
|
|
svg {
|
|
|
|
display: none;
|
2018-05-11 14:43:26 +02:00
|
|
|
}
|
|
|
|
}
|
2016-02-26 20:48:20 +01:00
|
|
|
}
|
2016-12-18 15:20:39 +01:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
.embed,
|
|
|
|
.public-layout {
|
|
|
|
.detailed-status {
|
|
|
|
padding: 15px;
|
2018-07-11 18:06:52 +02:00
|
|
|
}
|
2016-12-18 15:20:39 +01:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
.status {
|
|
|
|
padding: 15px 15px 15px (48px + 15px * 2);
|
|
|
|
min-height: 48px + 2px;
|
2017-08-30 10:23:43 +02:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
&__avatar {
|
|
|
|
left: 15px;
|
|
|
|
top: 17px;
|
2018-07-11 18:06:52 +02:00
|
|
|
}
|
2017-08-30 10:23:43 +02:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
&__content {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
2017-08-30 10:23:43 +02:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
&__prepend {
|
2018-08-02 12:08:41 +02:00
|
|
|
padding: 8px 0;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
margin: initial;
|
2018-07-31 22:54:18 +02:00
|
|
|
margin-left: 48px + 15px * 2;
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
2017-09-05 12:31:24 +02:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
&__prepend-icon-wrapper {
|
2018-08-02 12:08:41 +02:00
|
|
|
position: absolute;
|
|
|
|
margin: initial;
|
|
|
|
float: initial;
|
|
|
|
width: auto;
|
2018-07-31 22:54:18 +02:00
|
|
|
left: -32px;
|
2017-08-30 10:23:43 +02:00
|
|
|
}
|
2018-07-11 18:06:52 +02:00
|
|
|
|
2018-07-31 22:54:18 +02:00
|
|
|
.media-gallery,
|
|
|
|
&__action-bar,
|
|
|
|
.video-player {
|
|
|
|
margin-top: 10px;
|
2018-07-11 18:06:52 +02:00
|
|
|
}
|
2017-08-30 10:23:43 +02:00
|
|
|
}
|
|
|
|
}
|
2018-07-31 23:59:17 +02:00
|
|
|
|
|
|
|
// 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%;
|
2019-03-28 15:03:54 +01:00
|
|
|
padding: 6px 0;
|
2018-07-31 23:59:17 +02:00
|
|
|
padding-right: 25px;
|
|
|
|
margin: initial;
|
2018-10-31 11:01:50 +01:00
|
|
|
|
|
|
|
.display-name strong {
|
|
|
|
display: inline;
|
|
|
|
}
|
2018-07-31 23:59:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__avatar {
|
|
|
|
height: 48px;
|
|
|
|
position: absolute;
|
|
|
|
width: 48px;
|
|
|
|
margin: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-10-31 11:10:51 +01:00
|
|
|
|
|
|
|
.rtl {
|
|
|
|
.embed, .public-layout {
|
|
|
|
.status .status__relative-time {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|