2020-12-20 14:17:12 +03:00
|
|
|
@import '../utils/base';
|
2020-03-08 13:16:57 +03:00
|
|
|
@import '../utils/mixins/vertical-align';
|
2020-12-20 14:25:17 +03:00
|
|
|
@import '../utils/mixins/thin-scroll';
|
2020-03-08 13:16:57 +03:00
|
|
|
|
2020-12-20 14:17:12 +03:00
|
|
|
.servers-list__list-group.servers-list__list-group {
|
2020-03-08 13:16:57 +03:00
|
|
|
width: 100%;
|
2020-12-20 14:17:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.servers-list__list-group:not(.servers-list__list-group--embedded) {
|
2020-03-08 13:16:57 +03:00
|
|
|
max-width: 400px;
|
2020-12-12 12:56:10 +03:00
|
|
|
box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
|
2020-03-08 13:16:57 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.servers-list__server-item.servers-list__server-item {
|
|
|
|
text-align: left;
|
|
|
|
position: relative;
|
|
|
|
padding: .75rem 2.5rem .75rem 1rem;
|
|
|
|
}
|
|
|
|
|
2020-12-20 14:17:12 +03:00
|
|
|
.servers-list__server-item:hover {
|
2021-01-29 01:09:09 +03:00
|
|
|
background-color: var(--secondary-color);
|
2020-12-20 14:17:12 +03:00
|
|
|
}
|
|
|
|
|
2020-03-08 13:16:57 +03:00
|
|
|
.servers-list__server-item-icon {
|
|
|
|
@include vertical-align();
|
2020-03-08 14:49:52 +03:00
|
|
|
|
2020-03-08 13:16:57 +03:00
|
|
|
right: 1rem;
|
|
|
|
}
|
2020-12-20 14:17:12 +03:00
|
|
|
|
|
|
|
.servers-list__list-group--embedded.servers-list__list-group--embedded {
|
|
|
|
border-radius: 0;
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, .125);
|
|
|
|
|
|
|
|
@media (min-width: $mdMin) {
|
|
|
|
max-height: 220px;
|
|
|
|
overflow-x: auto;
|
2020-12-20 14:25:17 +03:00
|
|
|
|
|
|
|
@include thin-scroll();
|
2020-12-20 14:17:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.servers-list__server-item {
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, .125);
|
|
|
|
}
|
|
|
|
}
|