src/styles/list.scss
/**
* @license
* Copyright (c) La Vía Óntica SC, Ontica LLC and contributors. All rights reserved.
*
* See LICENSE.txt in the project root for complete license information.
*/
$box-shadow: 0 3px 1px -2px rgba(44, 57, 66, 0.1),
0 2px 2px 0 rgba(44, 57, 66, 0.07), 0 1px 5px 0 rgba(44, 57, 66, 0.05);
.list-header {
@include row;
justify-content: space-between;
font-size: 8pt;
width: 100%;
margin-left: 4pt;
padding: 4pt 16pt 4pt 8pt;
border-bottom: 1pt solid $primary-color-light;
}
.list-selection-header {
background: $list-selection-header-background-color;
box-shadow: $box-shadow;
padding: 5px;
margin: 3px 1px;
> span {
padding: 8px;
}
}
.list-selection-header.slim {
margin-right: 8px !important;
}
.list-container {
background: #fafafa;
margin-right: 8px;
padding: 2px;
max-height: 400px;
overflow-y: auto;
}
.list-item {
@include row;
margin: 4px;
align-items: flex-start;
background-color: $grid-even-background-color;
border-bottom: 1px $border-color solid;
min-height: 38px;
padding: 8px;
font-size: 8pt;
}
.list-item:hover {
.ghost-icon {
color: $icon-color;
}
}
.list-item.slim {
.list-container {
margin: 0;
padding: 3px;
width: 100%
}
}
.list-item-selected {
background-color: $selected-control-background-color;
box-shadow: $box-shadow;
}
.list-item-checkbox {
margin: auto;
padding: 0 4px 0 8px;
}
.list-item-container {
margin-left: 4pt;
padding: 4pt 8pt 8pt 8pt;
width: 100%;
font-size: 8pt;
}
.list-item-columns {
@include row;
justify-content: space-between;
font-size: 8pt;
width: 100%;
}
.list-item-column {
padding-right: 36px;
}
.list-item-right-column {
justify-content: flex-end;
padding-right: 8pt;
text-align: right;
}
.list-item-group-name {
vertical-align: -webkit-baseline-bottom;
font-size: 11pt;
font-weight: 500;
margin-top: 36px;
margin-bottom: 2px;
padding-left: 8px;
}
.list-item-name {
vertical-align: -webkit-baseline-middle;
font-size: 9pt;
font-weight: 400;
}
.list-item-name a:hover {
text-decoration: underline;
}
.simple-list-container {
max-height: 392px;
overflow: auto;
}
.simple-list-item {
padding: 4px 1px 4px 8px;
border-radius: 2px;
border-left: 4px solid $primary-color;
background: $simple-list-background-color;
}
.simple-list-item:not(:last-child).margin {
margin-bottom: 0.5rem;
}
.simple-list-item .detail {
font-family: $font-family-secondary;
}