mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-03 13:33:32 +01:00
77 lines
1.4 KiB
SCSS
77 lines
1.4 KiB
SCSS
@import "variables.scss";
|
|
|
|
.list > a {
|
|
display: block;
|
|
padding: 3px 10px;
|
|
background-color: white;
|
|
text-decoration: none;
|
|
color: $text-color;
|
|
position: relative;
|
|
z-index: 1;
|
|
|
|
&:after {
|
|
content: "";
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
|
|
&:before {
|
|
content: "";
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 1px;
|
|
width: calc(100% - 10px);
|
|
border-bottom: 1px solid $border-color;
|
|
}
|
|
|
|
&:last-child:before {
|
|
border: none;
|
|
height: 0;
|
|
}
|
|
|
|
&:hover, &:focus, &.active {
|
|
background-color: $list-item-hover;
|
|
}
|
|
|
|
&.active {
|
|
border-left: 5px solid $brand-primary;
|
|
padding-left: 5px;
|
|
}
|
|
|
|
&:focus:not(.active) {
|
|
border-left: 5px solid $text-muted;
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.text, .detail {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: block;
|
|
color: $text-color;
|
|
}
|
|
|
|
.detail {
|
|
font-size: $font-size-small;
|
|
color: $gray-light;
|
|
}
|
|
|
|
.icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
float: left;
|
|
height: 36px;
|
|
width: 34px;
|
|
margin-left: -5px;
|
|
color: $text-muted;
|
|
|
|
img {
|
|
border-radius: $border-radius;
|
|
max-height: 20px;
|
|
max-width: 20px;
|
|
}
|
|
}
|
|
}
|