2016-03-11 00:48:53 +00:00
|
|
|
.listview {
|
2020-11-20 13:03:31 +00:00
|
|
|
border: 1px solid @border-regular-control;
|
2020-09-27 11:40:27 +00:00
|
|
|
.border-radius(@border-radius-small);
|
2020-04-09 13:29:04 +00:00
|
|
|
line-height: 15px;
|
2016-03-11 00:48:53 +00:00
|
|
|
|
|
|
|
&.inner {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.empty-text {
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2020-11-20 13:03:31 +00:00
|
|
|
color: @text-tertiary;
|
2020-02-27 10:31:31 +00:00
|
|
|
td {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-15 16:28:45 +00:00
|
|
|
&:not(.no-focus):focus {
|
2020-11-17 15:56:16 +00:00
|
|
|
border-color: @border-preview-select;
|
2020-10-15 16:28:45 +00:00
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
& > .item {
|
|
|
|
// display: block;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
padding: 3px 6px;
|
|
|
|
cursor: pointer;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
2020-11-20 13:03:31 +00:00
|
|
|
background-color: @background-normal;
|
|
|
|
border-color: @border-regular-control;
|
2016-03-11 00:48:53 +00:00
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px 0;
|
2020-11-20 13:03:31 +00:00
|
|
|
border-top-color: transparent;
|
2017-10-11 12:21:31 +00:00
|
|
|
}
|
2016-03-11 00:48:53 +00:00
|
|
|
|
2017-10-11 12:21:31 +00:00
|
|
|
&:not(.disabled) > .item {
|
2016-03-11 00:48:53 +00:00
|
|
|
&:hover {
|
2020-11-18 15:58:41 +00:00
|
|
|
background-color: @highlight-button-hover;
|
|
|
|
border-color: @highlight-button-hover;
|
2017-10-11 12:21:31 +00:00
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px 0;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
2020-11-18 17:08:12 +00:00
|
|
|
background-color: @highlight-button-pressed;
|
2020-11-20 13:03:31 +00:00
|
|
|
color: @text-inverse;
|
2020-11-18 17:08:12 +00:00
|
|
|
border-color: @highlight-button-pressed;
|
2017-10-11 12:21:31 +00:00
|
|
|
border-style: solid;
|
|
|
|
border-width: 1px 0;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ps-container {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2017-10-11 12:21:31 +00:00
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
> .item {
|
|
|
|
cursor: default;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
2019-12-19 14:14:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-borders > .listview .item {
|
|
|
|
border-color: transparent;
|
|
|
|
border-top-color: transparent;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|