Better background-color for notifications and user menu

pull/1/head
yflory 5 years ago
parent 39120c689a
commit 21423a47dd

@ -725,13 +725,13 @@
.cp-toolbar-notifications { .cp-toolbar-notifications {
text-align: center; text-align: center;
font-size: 32px; font-size: 32px;
margin-left: 10px;
&> button { &> button {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: @toolbar_top-height; width: @toolbar_top-height;
font-size: 1em; font-size: 1em;
color: inherit;
height: @toolbar_top-height; height: @toolbar_top-height;
padding: 0px; padding: 0px;
margin: 0; margin: 0;
@ -742,6 +742,7 @@
} }
&:hover { &:hover {
border-color: transparent; border-color: transparent;
background-color: rgba(50,50,50,0.1);
} }
span { span {
vertical-align: top; vertical-align: top;
@ -750,9 +751,6 @@
color: inherit; color: inherit;
} }
} }
}
.cp-toolbar-notifications {
margin-left: 10px;
.cp-notifications-empty { .cp-notifications-empty {
color: black; color: black;
padding: 5px; padding: 5px;
@ -847,6 +845,10 @@
height: @toolbar_top-height; height: @toolbar_top-height;
width: @toolbar_top-height; width: @toolbar_top-height;
padding: 0; padding: 0;
&:hover {
border-color: transparent;
background-color: rgba(50,50,50,0.1);
}
span { span {
text-align: center; text-align: center;
width: 100%; width: 100%;

Loading…
Cancel
Save