tootlab-mastodon/app/assets/stylesheets/stream_entries.scss

134 lines
2.0 KiB
SCSS
Raw Normal View History

.activity-stream {
clear: both;
2016-02-26 15:11:52 -05:00
box-shadow: 4px 3px 0 rgba(0, 0, 0, 0.1);
.entry {
border-bottom: 1px solid #d9e1e8;
background: #fff;
border-left: 2px solid #fff;
2016-02-26 15:11:52 -05:00
&.entry-reblog {
border-left-color: #2b90d9;
}
&.entry-predecessor, &.entry-successor {
background: #d9e1e8;
border-left-color: #d9e1e8;
}
2016-02-28 09:46:29 -05:00
&.entry-follow, &.entry-favourite {
.content {
padding-top: 10px;
padding-bottom: 10px;
strong {
font-weight: 500;
}
2016-02-28 09:46:29 -05:00
}
}
&:last-child {
border-bottom: 0;
border-radius: 0 0 4px 4px;
}
}
&.activity-stream-headless {
.entry:first-child {
border-radius: 4px 4px 0 0;
&:last-child {
border-radius: 4px;
}
}
}
.entry__container {
display: flex;
}
.avatar {
width: 48px;
padding: 15px;
img {
width: 48px;
height: 48px;
display: block;
border-radius: 48px;
}
}
.entry__container__container {
flex-grow: 1;
}
.header {
margin-bottom: 5px;
padding: 15px;
2016-02-26 15:11:52 -05:00
padding-bottom: 0;
padding-left: 8px;
2016-02-26 15:11:52 -05:00
.name {
text-decoration: none;
color: #9baec8;
2016-02-26 15:11:52 -05:00
strong {
color: #282c37;
font-weight: 500;
2016-02-26 15:11:52 -05:00
}
&:hover {
strong {
text-decoration: underline;
}
}
}
}
2016-02-26 15:11:52 -05:00
.pre-header {
border-bottom: 1px solid #d9e1e8;
color: #2b90d9;
2016-02-26 15:11:52 -05:00
padding: 5px 10px;
padding-left: 8px;
clear: both;
2016-02-26 15:11:52 -05:00
.name {
color: #2b90d9;
font-weight: 500;
2016-02-26 15:11:52 -05:00
text-decoration: none;
2016-02-26 15:11:52 -05:00
&:hover {
text-decoration: underline;
}
}
}
.content {
font-size: 14px;
2016-02-26 15:11:52 -05:00
padding: 0 10px;
padding-left: 8px;
padding-bottom: 25px;
color: #282c37;
2016-02-28 09:46:29 -05:00
a {
color: #2b90d9;
2016-02-28 09:46:29 -05:00
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
.time {
text-decoration: none;
color: #9baec8;
&:hover {
text-decoration: underline;
}
}
}