Update highlights for master

This commit is contained in:
Pavel Djundik 2018-06-24 00:19:25 +03:00
parent 25f364ddc6
commit 5704f93178
1 changed files with 6 additions and 17 deletions

View File

@ -18,6 +18,9 @@
--link-color: #268bd2; --link-color: #268bd2;
--background-dark-color: #051114; --background-dark-color: #051114;
--background-light-color: #002b36; --background-light-color: #002b36;
--highlight-bg-color: #002b36;
--highlight-border-color: #268bd2;
} }
::placeholder { ::placeholder {
@ -310,18 +313,6 @@ body {
border-bottom: 1px dotted #555; border-bottom: 1px dotted #555;
} }
#chat .channel .highlight {
background: linear-gradient(to right, var(--link-color) 5px, var(--background-light-color) 5px);
}
#chat .channel .highlight .time {
color: #fff;
}
#chat .channel .highlight .text {
color: inherit;
}
#chat .channel .highlight .toggle-content { #chat .channel .highlight .toggle-content {
background-color: var(--background-dark-color); background-color: var(--background-dark-color);
} }
@ -364,15 +355,13 @@ body {
content: ">"; content: ">";
} }
/* expand highlight background to edges of the screen */ /* expand self message background to edges of the screen */
#chat .self .time, #chat .self .time {
#chat .channel .highlight .time {
margin-left: -10px; margin-left: -10px;
padding-left: 10px; padding-left: 10px;
} }
#chat .self, #chat .self {
#chat .channel .highlight {
margin: 0 -10px; margin: 0 -10px;
padding: 0 10px; padding: 0 10px;
} }