add selection css

pull/9399/head
alxd 2018-11-30 11:31:24 +01:00
parent a7965d4358
commit 44e62a40cf
1 changed files with 15 additions and 3 deletions

View File

@ -1488,22 +1488,34 @@ a.account__display-name {
flex-wrap: nowrap; flex-wrap: nowrap;
justify-content: space-between; justify-content: space-between;
background: $ui-base-color; background: $ui-base-color;
padding: 0 5px;
& > button { & > button {
display: inline; flex-grow: 1;
color: $primary-text-color; color: $primary-text-color;
background: transparent; background: transparent;
border: 0; border: 0;
padding: 5px 5px 10px; padding: 5px 5px 4px;
border-bottom: 4px solid transparent;
text-decoration: none; text-decoration: none;
font-weight: 400; font-weight: 400;
font-size: 15px; font-size: 15px;
line-height: 18px; line-height: 18px;
&:first-child {
padding-left: 10px;
}
&:last-child {
padding-right: 10px;
}
&:hover { &:hover {
background: lighten($ui-base-color, 4%); background: lighten($ui-base-color, 4%);
} }
&:active {
border-bottom-color: $highlight-text-color;
}
} }
} }