chuckya/app/assets/stylesheets/stream_entries.scss

132 lines
2.1 KiB
SCSS
Raw Normal View History

.activity-stream {
clear: both;
2016-02-27 05:11:52 +09:00
box-shadow: 4px 3px 0 rgba(0, 0, 0, 0.1);
.entry {
border-bottom: 1px solid $darker-background-color;
background: $background-color;
border-left: 2px solid $primary-color;
2016-02-27 05:11:52 +09:00
&.entry-reblog {
border-left: 2px solid $tertiary-color;
.content {
a {
color: $tertiary-color;
}
}
}
&.entry-predecessor, &.entry-successor {
border-left: 2px solid $lighter-text-color;
background: darken($background-color, 5%);
.content {
a {
color: $lighter-text-color;
}
}
}
2016-02-28 23:46:29 +09:00
&.entry-follow, &.entry-favourite {
.content {
padding-top: 10px;
padding-bottom: 10px;
}
}
&:last-child {
border-bottom: 0;
}
}
.entry__container {
display: flex;
}
.avatar {
width: 48px;
padding: 10px;
padding-left: 8px;
padding-right: 0;
padding-top: 12px;
img {
width: 48px;
height: 48px;
display: block;
border-radius: 5px;
}
}
.entry__container__container {
flex-grow: 1;
}
.header {
margin-bottom: 5px;
2016-02-27 05:11:52 +09:00
padding: 10px;
padding-bottom: 0;
padding-left: 8px;
2016-02-27 05:11:52 +09:00
.name {
text-decoration: none;
color: $lighter-text-color;
2016-02-27 05:11:52 +09:00
strong {
color: $text-color;
2016-02-27 05:11:52 +09:00
}
&:hover {
strong {
text-decoration: underline;
}
}
}
}
2016-02-27 05:11:52 +09:00
.pre-header {
border-bottom: 1px solid darken($background-color, 5%);
color: $tertiary-color;
2016-02-27 05:11:52 +09:00
padding: 5px 10px;
padding-left: 8px;
clear: both;
2016-02-27 05:11:52 +09:00
.name {
color: $tertiary-color;
2016-02-27 05:11:52 +09:00
font-weight: bold;
text-decoration: none;
2016-02-27 05:11:52 +09:00
&:hover {
text-decoration: underline;
}
}
}
.content {
font-size: 14px;
2016-02-27 05:11:52 +09:00
padding: 0 10px;
padding-left: 8px;
padding-bottom: 25px;
2016-02-28 23:46:29 +09:00
a {
color: $primary-color;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
.time {
text-decoration: none;
color: $lighter-text-color;
&:hover {
text-decoration: underline;
}
}
}