Sengi-Windows-MacOS-Linux/src/app/components/stream/status/status.component.scss

56 lines
1.1 KiB
SCSS
Raw Normal View History

2018-09-19 07:03:07 +02:00
@import "variables";
.status {
margin: 0;
padding: 0;
width: calc(100%);
min-height: 70px;
overflow: hidden;
2018-09-19 07:03:07 +02:00
position: relative;
&__avatar {
2018-09-19 07:03:07 +02:00
position: absolute;
top: 10px;
left: 10px; // margin: 10px 0 0 10px;
/* margin: 0; */
width: 50px;
2018-09-19 07:03:07 +02:00
height: 50px; // float: left;
border-radius: 2px;
}
&__fullname {
2018-09-19 07:03:07 +02:00
display: block;
color: $status-primary-color;
}
&__profile-link {
2018-09-19 07:03:07 +02:00
color: $status-secondary-color;
margin: 7px 0 0 70px;
display: block;
2018-09-19 07:03:07 +02:00
text-decoration: none;
overflow: hidden;
}
&__content {
/*width: calc(100% - 50px);*/
2018-09-19 07:03:07 +02:00
margin: 0px 10px 10px 70px;
}
&__content p {
margin: 0;
font-size: 0.85em;
}
2018-09-19 07:03:07 +02:00
&__created-at {
color: $status-secondary-color;
position: absolute;
top: 5px;
right: 10px;
}
}
2018-09-19 07:03:07 +02:00
//Mastodon styling
:host ::ng-deep .status__content {
color: $status-primary-color;
& a,
.mention,
.ellipsis {
color: $status-links-color;
}
& .invisible {
display: none;
}
}