mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 11:53:44 +08:00
ba5e17a7a9
IE11 requires a unit on the third parameter (flex-basis) of the flex property
78 lines
1.6 KiB
SCSS
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: dark-light-choose($primary-medium, $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: dark-light-choose($primary-medium, $secondary-high);
|
|
text-transform: uppercase;
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|