BetterDiscordApp-v2/client/src/styles/partials/generic/autocomplete.scss

77 lines
2.0 KiB
SCSS
Raw Normal View History

2018-03-10 04:05:12 +01:00
.bd-autocomplete {
border-radius: 5px 5px 0 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
z-index: 3;
bottom: 100%;
left: 0;
position: absolute;
right: 0;
background-color: #2f3136;
.bd-autocomplete-inner {
padding-bottom: 8px;
white-space: nowrap;
2018-03-30 02:03:04 +02:00
.bd-autocomplete-row {
2018-03-10 04:05:12 +01:00
padding: 0 8px;
font-size: 14px;
line-height: 16px;
2018-03-30 02:03:04 +02:00
.bd-autocomplete-selector {
2018-03-10 04:05:12 +01:00
border-radius: 3px;
padding: 8px;
&.bd-selectable {
cursor: pointer;
}
&.bd-selected {
background-color: #36393f;
}
2018-03-30 02:03:04 +02:00
.bd-autocomplete-title {
2018-03-10 04:05:12 +01:00
color: #72767d;
padding: 4px 0;
text-transform: uppercase;
font-weight: 600;
line-height: 16px;
font-size: 12px;
strong {
color: #fff;
text-transform: none;
font-weight: 500;
}
}
2018-03-30 02:03:04 +02:00
.bd-autocomplete-field {
2018-03-10 04:05:12 +01:00
display: flex;
flex: 1 1 auto;
color: #f6f6f7;
min-height: 16px;
-webkit-box-direction: normal;
-webkit-box-orient: horizontal;
flex-direction: row;
flex-wrap: nowrap;
-webkit-box-pack: start;
justify-content: flex-start;
-webkit-box-align: center;
align-items: center;
img {
min-width: 16px;
width: 16px;
}
div {
margin-left: 8px;
color: #f6f6f7;
}
}
}
}
}
}