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

138 lines
3.2 KiB
SCSS
Raw Normal View History

@import "variables";
@import "commons";
@import "panel";
2019-08-10 19:40:08 +02:00
.stream-edition {
2020-04-20 08:37:00 +02:00
display: block;
width: $stream-column-width;
position: absolute;
z-index: 50;
}
.stream-column {
position: relative;
2018-09-19 07:03:07 +02:00
width: $stream-column-width;
height: calc(100%);
2019-08-11 02:40:51 +02:00
overflow: hidden;
2018-10-14 00:23:09 +02:00
background-color: $column-color;
2018-09-19 07:03:07 +02:00
margin: 0 0 0 $stream-column-separator;
2019-08-11 02:40:51 +02:00
&__stream-header {
2019-08-11 02:40:51 +02:00
position: relative;
width: $stream-column-width;
border-bottom: 1px solid #222736;
2019-01-28 07:10:18 +01:00
}
2019-01-29 04:20:07 +01:00
&__open-menu {
width: $stream-header-height - 10px;
height: $stream-header-height - 10px;
2019-02-24 04:40:22 +01:00
position: absolute;
top: 5px;
right: 5px;
2019-01-29 04:20:07 +01:00
&:hover &--icon {
color: darken(whitesmoke, 30);
2019-01-29 04:20:07 +01:00
}
&--icon {
color: whitesmoke; // float: left;
2019-02-24 04:40:22 +01:00
// position: relative;
position: absolute;
top: 4px;
2019-01-29 04:20:07 +01:00
left: 8px;
}
}
2019-01-28 07:10:18 +01:00
&__stream-selector {
display: block;
2019-08-11 02:40:51 +02:00
width: $stream-column-width;
2019-09-28 21:52:04 +02:00
height: calc(#{$stream-header-height} - 1px);
background-color: $column-header-background-color;
2019-02-24 04:40:22 +01:00
text-decoration: none;
color: whitesmoke;
position: relative;
&--avatar {
width: 20px;
float: left;
margin-left: 11px;
position: relative;
// left: 11px;
top: 9px;
}
2019-01-29 04:01:09 +01:00
&--icon {
float: left;
margin-left: 11px;
2019-01-29 04:01:09 +01:00
position: relative;
// left: 11px;
2019-01-29 04:01:09 +01:00
top: 9px;
2019-01-28 07:10:18 +01:00
}
&--text {
float: left;
margin-left: 9px;
}
2019-01-29 04:01:09 +01:00
&--title {
2018-09-19 07:03:07 +02:00
font-size: 0.8em;
2019-02-24 04:40:22 +01:00
font-weight: normal;
// float: left;
// margin-left: 10px;
// position: absolute;
position: relative;
2019-02-24 04:40:22 +01:00
top: 9px;
2020-04-29 06:22:27 +02:00
margin: 0;
// left: 35px;
&--only {
top: 13px;
}
}
2019-02-24 04:40:22 +01:00
&--subtitle {
color: $font-link-primary-hover;
font-size: 0.7em;
font-weight: normal;
font-style: italic;
// position: absolute;
position: relative;
2020-04-29 06:22:27 +02:00
top: 6px;
// top: 21px;
// top: 10px;
// left: 35px;;
// outline: 1px solid greenyellow;
display: inline-block;
white-space: nowrap;
max-width: 240px;
text-overflow: ellipsis;
overflow: hidden;
padding-right: 5px;
2018-09-19 07:03:07 +02:00
}
}
}
2018-03-16 04:48:30 +01:00
.stream-statuses {
display: block;
2019-01-28 07:10:18 +01:00
height: calc(100% - #{$stream-header-height});
2018-09-19 07:03:07 +02:00
width: 320px;
2018-03-16 04:48:30 +01:00
}
2018-09-16 19:11:22 +02:00
// .stream-overlay {
// float: right;
// width: $stream-column-width;
// height: calc(100%);
// }
// .stream-toots {
// height: calc(100% - 30px);
// width: 320px;
// overflow: auto;
// &__status:not(:last-child) {
// border: solid #06070b;
// border-width: 0 0 1px 0;
// }
// }
// .stream-overlay {
// // position: absolute;
// float: right;
// //z-index: 100;
// width: $stream-column-width;
// height: calc(100%);
// }