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