css: Use SCSS nesting for `.stream-row .sub-info-box`.

This commit is contained in:
Vaibhav 2019-07-10 21:20:06 +05:30 committed by Tim Abbott
parent b5bd0fd4f4
commit 95dbe28aeb
1 changed files with 37 additions and 37 deletions

View File

@ -649,51 +649,51 @@ form#add_new_subscription {
.stream-row .sub-info-box { .stream-row .sub-info-box {
width: calc(100% - 90px); width: calc(100% - 90px);
}
.stream-row .sub-info-box .top-bar, .top-bar,
.stream-row .sub-info-box .bottom-bar { .bottom-bar {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
position: relative; position: relative;
} }
.stream-row .sub-info-box .top-bar .stream-name, .top-bar .stream-name,
.stream-row .sub-info-box .bottom-bar .description { .bottom-bar .description {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.stream-row .sub-info-box .top-bar .subscriber-count, .top-bar .subscriber-count,
.stream-row .sub-info-box .bottom-bar .stream-message-count { .bottom-bar .stream-message-count {
white-space: nowrap; white-space: nowrap;
color: hsl(0, 0%, 67%); color: hsl(0, 0%, 67%);
} }
.stream-row .sub-info-box .top-bar .subscriber-count-text, .top-bar .subscriber-count-text,
.stream-row .sub-info-box .top-bar .subscriber-count-lock, .top-bar .subscriber-count-lock,
.stream-row .sub-info-box .bottom-bar .stream-message-count-text { .bottom-bar .stream-message-count-text {
margin-right: 5px; margin-right: 5px;
} }
.stream-row .sub-info-box .top-bar > div { .top-bar > div {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
} }
.stream-row .sub-info-box .top-bar .stream-name { .top-bar .stream-name {
font-weight: 600; font-weight: 600;
} }
.stream-row .sub-info-box .bottom-bar { .bottom-bar {
margin-top: 2px; margin-top: 2px;
line-height: 1.5; line-height: 1.5;
} }
.stream-row .sub-info-box .bottom-bar > div { .bottom-bar > div {
display: inline-block; display: inline-block;
vertical-align: bottom; vertical-align: bottom;
}
} }
.stream-row.active { .stream-row.active {