css: Use SCSS nesting in zulip.scss for `.messagebox`.

This commit is contained in:
majordwarf 2020-05-16 17:55:42 +05:30 committed by Tim Abbott
parent fab0263e70
commit 6b06a23783
1 changed files with 16 additions and 16 deletions

View File

@ -755,26 +755,26 @@ td.pointer {
cursor: pointer; cursor: pointer;
vertical-align: top; vertical-align: top;
border: none; border: none;
}
.messagebox:hover .message_controls { &:hover .message_controls {
.empty-star { .empty-star {
opacity: 0.4; opacity: 0.4;
}
.empty-star:hover {
cursor: pointer;
opacity: 1;
}
> div {
opacity: 1;
pointer-events: all;
}
} }
.empty-star:hover { .message_top_line {
cursor: pointer; position: relative;
opacity: 1;
} }
> div {
opacity: 1;
pointer-events: all;
}
}
.messagebox .message_top_line {
position: relative;
} }
.message_header { .message_header {