discourse/app/assets/stylesheets/common/select-kit/period-chooser.scss
Penar Musaraj 3116591dc6
DEV: Refactor dark-light-choose() usage in SCSS
Covers most, but not all, cases.
2020-07-29 09:09:37 -04:00

78 lines
1.6 KiB
SCSS

.select-kit {
&.dropdown-select-box {
&.period-chooser {
display: inline-flex;
position: relative;
.select-kit-collection {
padding: 5px;
}
.period-chooser-header {
background: none;
border: none;
justify-content: flex-start;
width: auto;
height: auto;
padding: 0;
h2.selected-name {
color: $secondary;
display: inline-block;
box-sizing: border-box;
.date-section {
color: $primary;
margin-right: 5px;
}
.top-date-string {
font-size: $font-down-1;
color: $primary-med-or-secondary-high;
font-weight: normal;
text-transform: uppercase;
}
}
.d-icon {
color: $primary;
opacity: 1;
margin: 5px 0 10px 5px;
font-size: $font-up-3;
}
&.is-focused,
&:hover {
background: none;
border: none;
outline: none;
}
}
.period-chooser-row {
font-weight: bold;
padding: 5px;
font-size: $font-up-1;
align-items: center;
display: flex;
.period-title {
flex: 1 0 0px;
}
.date-section {
color: $primary;
}
.top-date-string {
font-weight: normal;
font-size: $font-down-1;
color: $primary-med-or-secondary-high;
text-transform: uppercase;
margin-left: 5px;
}
}
}
}
}