2016-02-26 11:48:20 -08:00
|
|
|
.activity-stream {
|
|
|
|
clear: both;
|
2017-05-08 06:57:49 -07:00
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
2016-02-26 11:48:20 -08:00
|
|
|
|
|
|
|
.entry {
|
2017-05-08 06:57:49 -07:00
|
|
|
background: $simple-background-color;
|
2016-12-20 15:13:13 -08:00
|
|
|
|
2017-05-07 11:47:31 -07:00
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
2017-05-08 06:57:49 -07:00
|
|
|
border-bottom: 1px solid $ui-secondary-color;
|
2017-08-16 08:12:58 -07:00
|
|
|
animation: none;
|
2016-12-18 10:47:11 -08:00
|
|
|
}
|
2016-02-26 11:48:20 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
&:last-child {
|
2017-05-07 11:47:31 -07:00
|
|
|
&,
|
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
2016-12-18 10:47:11 -08:00
|
|
|
border-bottom: 0;
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
2016-02-26 11:48:20 -08:00
|
|
|
}
|
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
&:first-child {
|
2017-05-07 11:47:31 -07:00
|
|
|
&,
|
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
2016-12-18 10:47:11 -08:00
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
}
|
2016-03-12 07:09:46 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
&:last-child {
|
2017-05-07 11:47:31 -07:00
|
|
|
&,
|
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
2016-12-18 10:47:11 -08:00
|
|
|
border-radius: 4px;
|
2016-03-12 07:09:46 -08:00
|
|
|
}
|
|
|
|
}
|
2016-02-28 05:02:53 -08:00
|
|
|
}
|
2017-08-16 08:12:58 -07:00
|
|
|
|
|
|
|
@media screen and (max-width: 740px) {
|
|
|
|
&,
|
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2016-12-18 10:47:11 -08:00
|
|
|
}
|
2016-02-28 05:02:53 -08:00
|
|
|
|
2017-07-24 08:56:50 -07:00
|
|
|
&.with-header {
|
|
|
|
.entry {
|
|
|
|
&:first-child {
|
|
|
|
&,
|
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2017-08-16 08:12:58 -07:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
&,
|
|
|
|
.detailed-status.light,
|
|
|
|
.status.light {
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
|
|
|
}
|
2017-07-24 08:56:50 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.status.light {
|
2017-05-07 11:47:31 -07:00
|
|
|
padding: 14px 14px 14px (48px + 14px * 2);
|
2016-12-18 10:47:11 -08:00
|
|
|
position: relative;
|
|
|
|
min-height: 48px;
|
|
|
|
cursor: default;
|
2016-03-26 06:42:05 -07:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.status__header {
|
|
|
|
font-size: 15px;
|
2016-03-06 03:34:39 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.status__meta {
|
|
|
|
float: right;
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
.status__relative-time {
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-primary-color;
|
2016-03-06 03:34:39 -08:00
|
|
|
}
|
2016-02-28 06:46:29 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.status__display-name {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
padding-right: 25px;
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-base-color;
|
2016-03-06 03:34:39 -08:00
|
|
|
}
|
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.status__avatar {
|
|
|
|
position: absolute;
|
|
|
|
left: 14px;
|
|
|
|
top: 14px;
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2016-03-06 03:34:39 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
& > div {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2016-02-26 11:48:20 -08:00
|
|
|
}
|
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.display-name {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2016-03-12 07:09:46 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-base-color;
|
2016-10-03 07:10:17 -07:00
|
|
|
}
|
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
span {
|
|
|
|
font-size: 14px;
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-primary-color;
|
2016-12-18 10:47:11 -08:00
|
|
|
}
|
|
|
|
}
|
2016-10-02 15:26:00 -07:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.status__content {
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-base-color;
|
2016-12-18 10:47:11 -08:00
|
|
|
|
|
|
|
a {
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-highlight-color;
|
2016-10-02 15:26:00 -07:00
|
|
|
}
|
2017-03-31 04:54:36 -07:00
|
|
|
|
|
|
|
a.status__content__spoiler-link {
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $primary-text-color;
|
|
|
|
background: $ui-primary-color;
|
2017-03-31 04:54:36 -07:00
|
|
|
|
|
|
|
&:hover {
|
2017-05-08 06:57:49 -07:00
|
|
|
background: lighten($ui-primary-color, 8%);
|
2017-03-31 04:54:36 -07:00
|
|
|
}
|
|
|
|
}
|
2016-03-12 07:09:46 -08:00
|
|
|
}
|
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.status__attachments {
|
|
|
|
margin-top: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2017-03-04 13:17:10 -08:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.status__attachments__inner {
|
|
|
|
display: flex;
|
|
|
|
height: 214px;
|
|
|
|
}
|
2016-12-18 10:47:11 -08:00
|
|
|
}
|
2016-02-27 15:51:05 -08:00
|
|
|
}
|
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.detailed-status.light {
|
|
|
|
padding: 14px;
|
2017-05-08 06:57:49 -07:00
|
|
|
background: $simple-background-color;
|
2016-12-18 10:47:11 -08:00
|
|
|
cursor: default;
|
2016-02-27 15:51:05 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.detailed-status__display-name {
|
2016-02-27 15:51:05 -08:00
|
|
|
display: block;
|
2016-12-18 10:47:11 -08:00
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: 15px;
|
2016-02-27 15:51:05 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
& > div {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2016-02-27 15:51:05 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.display-name {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-base-color;
|
2016-12-18 10:47:11 -08:00
|
|
|
}
|
2016-03-06 08:52:23 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
span {
|
|
|
|
font-size: 14px;
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-primary-color;
|
2016-12-18 10:47:11 -08:00
|
|
|
}
|
|
|
|
}
|
2016-03-06 08:52:23 -08:00
|
|
|
}
|
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.avatar {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2016-03-06 08:52:23 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2016-03-06 08:52:23 -08:00
|
|
|
}
|
2016-02-26 12:11:52 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.status__content {
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-base-color;
|
2016-12-18 10:47:11 -08:00
|
|
|
|
|
|
|
a {
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-highlight-color;
|
2016-12-18 10:47:11 -08:00
|
|
|
}
|
2017-03-31 04:54:36 -07:00
|
|
|
|
|
|
|
a.status__content__spoiler-link {
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $primary-text-color;
|
|
|
|
background: $ui-primary-color;
|
2017-03-31 04:54:36 -07:00
|
|
|
|
|
|
|
&:hover {
|
2017-05-08 06:57:49 -07:00
|
|
|
background: lighten($ui-primary-color, 8%);
|
2017-03-31 04:54:36 -07:00
|
|
|
}
|
|
|
|
}
|
2016-12-18 10:47:11 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.detailed-status__meta {
|
|
|
|
margin-top: 15px;
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-primary-color;
|
2016-12-18 10:47:11 -08:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
2016-02-26 12:11:52 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
a {
|
|
|
|
color: inherit;
|
2016-02-26 12:11:52 -08:00
|
|
|
}
|
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
span > span {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 12px;
|
|
|
|
margin-left: 6px;
|
|
|
|
display: inline-block;
|
2016-02-26 12:11:52 -08:00
|
|
|
}
|
|
|
|
}
|
2016-02-26 11:48:20 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.detailed-status__attachments {
|
|
|
|
margin-top: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2017-03-04 13:17:10 -08:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.status__attachments__inner {
|
|
|
|
display: flex;
|
|
|
|
height: 360px;
|
|
|
|
}
|
2016-12-18 10:47:11 -08:00
|
|
|
}
|
2016-02-26 11:48:20 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.video-player {
|
|
|
|
margin-top: 8px;
|
|
|
|
height: 300px;
|
|
|
|
overflow: hidden;
|
2017-04-13 07:00:56 -07:00
|
|
|
position: relative;
|
2016-12-18 10:47:11 -08:00
|
|
|
|
|
|
|
video {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
2016-02-26 11:48:20 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-07 11:47:31 -07:00
|
|
|
.media-item,
|
|
|
|
.video-item {
|
2016-12-18 10:47:11 -08:00
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
left: auto;
|
|
|
|
top: auto;
|
|
|
|
right: auto;
|
|
|
|
bottom: auto;
|
|
|
|
float: left;
|
|
|
|
border: medium none;
|
|
|
|
display: block;
|
|
|
|
flex: 1 1 auto;
|
2017-07-25 10:12:57 -07:00
|
|
|
width: 100%;
|
2016-12-18 10:47:11 -08:00
|
|
|
height: 100%;
|
2017-07-25 10:12:57 -07:00
|
|
|
overflow: hidden;
|
2016-12-18 10:47:11 -08:00
|
|
|
margin-right: 2px;
|
2016-09-10 01:14:36 -07:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
2016-09-10 01:14:36 -07:00
|
|
|
}
|
|
|
|
|
2016-02-28 06:46:29 -08:00
|
|
|
a {
|
2016-12-18 10:47:11 -08:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: no-repeat scroll center center / cover;
|
2016-02-28 06:46:29 -08:00
|
|
|
text-decoration: none;
|
2016-12-18 10:47:11 -08:00
|
|
|
cursor: zoom-in;
|
|
|
|
}
|
2017-03-04 13:17:10 -08:00
|
|
|
|
|
|
|
video {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
2016-12-18 10:47:11 -08:00
|
|
|
}
|
2016-02-28 06:46:29 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.video-item {
|
|
|
|
a {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2016-03-06 08:52:23 -08:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.video-item__play {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
font-size: 36px;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 100px;
|
2017-05-08 06:57:49 -07:00
|
|
|
color: rgba($primary-text-color, 0.8);
|
2017-01-24 15:49:08 -08:00
|
|
|
z-index: 1;
|
2016-02-28 06:46:29 -08:00
|
|
|
}
|
2016-02-26 11:48:20 -08:00
|
|
|
}
|
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
.media-spoiler {
|
2017-05-08 06:57:49 -07:00
|
|
|
background: $ui-primary-color;
|
2016-12-18 10:47:11 -08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
cursor: pointer;
|
2017-03-04 13:17:10 -08:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2016-12-18 10:47:11 -08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
flex-direction: column;
|
|
|
|
text-align: center;
|
|
|
|
transition: all 100ms linear;
|
2017-01-24 15:49:08 -08:00
|
|
|
z-index: 2;
|
2016-02-26 11:48:20 -08:00
|
|
|
|
|
|
|
&:hover {
|
2017-05-08 06:57:49 -07:00
|
|
|
background: darken($ui-primary-color, 5%);
|
2016-02-26 11:48:20 -08:00
|
|
|
}
|
2016-09-07 16:24:26 -07:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
span {
|
2016-09-07 16:24:26 -07:00
|
|
|
display: block;
|
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
&:first-child {
|
|
|
|
font-size: 14px;
|
2016-09-07 16:24:26 -07:00
|
|
|
}
|
2016-10-06 13:00:56 -07:00
|
|
|
|
2016-12-18 10:47:11 -08:00
|
|
|
&:last-child {
|
|
|
|
font-size: 11px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2016-10-06 13:00:56 -07:00
|
|
|
}
|
|
|
|
}
|
2016-12-20 15:13:13 -08:00
|
|
|
|
2017-07-06 12:31:03 -07:00
|
|
|
.media-spoiler-wrapper {
|
|
|
|
&.media-spoiler-wrapper__visible {
|
|
|
|
.media-spoiler {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spoiler-button {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-20 15:13:13 -08:00
|
|
|
.pre-header {
|
2017-05-07 11:47:31 -07:00
|
|
|
padding: 14px 0;
|
|
|
|
padding-left: (48px + 14px * 2);
|
2016-12-20 15:13:13 -08:00
|
|
|
padding-bottom: 0;
|
|
|
|
margin-bottom: -4px;
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-primary-color;
|
2016-12-20 15:13:13 -08:00
|
|
|
font-size: 14px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.pre-header__icon {
|
|
|
|
position: absolute;
|
2017-05-07 11:47:31 -07:00
|
|
|
left: (48px + 14px * 2 - 30px);
|
2016-12-20 15:13:13 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__display-name.muted strong {
|
2017-05-08 06:57:49 -07:00
|
|
|
color: $ui-primary-color;
|
2016-12-20 15:13:13 -08:00
|
|
|
}
|
|
|
|
}
|
2017-01-30 14:01:37 -08:00
|
|
|
|
|
|
|
.open-in-web-link {
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2016-02-26 11:48:20 -08:00
|
|
|
}
|
2016-12-18 06:20:39 -08:00
|
|
|
|
|
|
|
.embed {
|
|
|
|
.activity-stream {
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
.entry {
|
|
|
|
&:last-child {
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-30 01:23:43 -07:00
|
|
|
|
|
|
|
.button.button-secondary.logo-button {
|
|
|
|
position: absolute;
|
|
|
|
right: 14px;
|
|
|
|
top: 14px;
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 20px;
|
|
|
|
height: auto;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
|
|
path:first-child {
|
|
|
|
fill: $ui-primary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
path:last-child {
|
|
|
|
fill: $simple-background-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
svg path:first-child {
|
|
|
|
fill: lighten($ui-primary-color, 4%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|