2018-01-27 19:12:06 +01:00
|
|
|
|
@import "variables.scss";
|
|
|
|
|
|
|
|
|
|
.list > a {
|
|
|
|
|
display: block;
|
|
|
|
|
padding: 3px 10px;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
|
2018-05-30 21:21:41 +02:00
|
|
|
|
@include themify($themes) {
|
|
|
|
|
color: themed('textColor');
|
|
|
|
|
background-color: themed('listItemBackgroundColor');
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-27 19:12:06 +01:00
|
|
|
|
&:after {
|
|
|
|
|
content: "";
|
|
|
|
|
display: table;
|
|
|
|
|
clear: both;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
height: 1px;
|
|
|
|
|
width: calc(100% - 10px);
|
2018-05-30 21:21:41 +02:00
|
|
|
|
border-bottom: 1px solid #000000;
|
|
|
|
|
|
|
|
|
|
@include themify($themes) {
|
2018-06-01 22:58:24 +02:00
|
|
|
|
border-bottom-color: themed('listItemBorderColor');
|
2018-05-30 21:21:41 +02:00
|
|
|
|
}
|
2018-01-27 19:12:06 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:last-child:before {
|
|
|
|
|
border: none;
|
|
|
|
|
height: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover, &:focus, &.active {
|
2018-05-30 21:21:41 +02:00
|
|
|
|
@include themify($themes) {
|
|
|
|
|
background-color: themed('listItemBackgroundHoverColor');
|
|
|
|
|
}
|
2018-01-27 19:12:06 +01:00
|
|
|
|
}
|
|
|
|
|
|
2018-01-29 23:57:58 +01:00
|
|
|
|
&.active {
|
2018-05-30 21:21:41 +02:00
|
|
|
|
border-left: 5px solid #000000;
|
2018-01-27 19:12:06 +01:00
|
|
|
|
padding-left: 5px;
|
2018-05-30 21:21:41 +02:00
|
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
|
border-left-color: themed('primaryColor');
|
|
|
|
|
}
|
2018-01-27 19:12:06 +01:00
|
|
|
|
}
|
|
|
|
|
|
2018-01-29 23:57:58 +01:00
|
|
|
|
&:focus:not(.active) {
|
2018-05-30 21:21:41 +02:00
|
|
|
|
border-left: 5px solid #000000;
|
2018-01-29 23:57:58 +01:00
|
|
|
|
padding-left: 5px;
|
2018-05-30 21:21:41 +02:00
|
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
|
border-left-color: themed('mutedColor');
|
|
|
|
|
}
|
2018-01-29 23:57:58 +01:00
|
|
|
|
}
|
|
|
|
|
|
2018-01-27 19:12:06 +01:00
|
|
|
|
.text, .detail {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
display: block;
|
2018-05-30 21:21:41 +02:00
|
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
|
color: themed('textColor');
|
|
|
|
|
}
|
2018-01-27 19:12:06 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.detail {
|
|
|
|
|
font-size: $font-size-small;
|
2018-05-30 21:21:41 +02:00
|
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
|
color: themed('mutedColor');
|
|
|
|
|
}
|
2018-01-27 19:12:06 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
float: left;
|
|
|
|
|
height: 36px;
|
|
|
|
|
width: 34px;
|
|
|
|
|
margin-left: -5px;
|
2018-05-30 21:21:41 +02:00
|
|
|
|
|
|
|
|
|
@include themify($themes) {
|
|
|
|
|
color: themed('mutedColor');
|
|
|
|
|
}
|
2018-01-27 19:12:06 +01:00
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
border-radius: $border-radius;
|
|
|
|
|
max-height: 20px;
|
|
|
|
|
max-width: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|