mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 06:30:15 +08:00
c937afc75e
A first step to adding automatic dark mode color scheme switching. Adds a new SCSS file at `color_definitions.scss` that serves to output all SCSS color variables as CSS custom properties. And replaces all SCSS color variables with the new CSS custom properties throughout the stylesheets. This is an alpha feature at this point, can only be enabled via console using the `default_dark_mode_color_scheme_id` site setting.
68 lines
1.1 KiB
SCSS
68 lines
1.1 KiB
SCSS
.edit-topic-timer-modal {
|
|
.modal-body {
|
|
max-height: none;
|
|
overflow: visible !important; /* inline JS styles */
|
|
}
|
|
.control-group {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
> .d-icon {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
input.date-picker,
|
|
input[type="time"] {
|
|
width: 200px;
|
|
text-align: left;
|
|
}
|
|
.radios {
|
|
margin-bottom: 10px;
|
|
}
|
|
label {
|
|
display: inline-flex;
|
|
padding-right: 5px;
|
|
margin-bottom: 0;
|
|
align-items: center;
|
|
input {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
.btn.pull-right {
|
|
margin-right: 10px;
|
|
}
|
|
.future-date-input {
|
|
input {
|
|
margin: 0;
|
|
}
|
|
.alert-info {
|
|
margin: 0 -15px -15px -15px;
|
|
}
|
|
.btn-clear {
|
|
display: none;
|
|
}
|
|
.topic-status-info {
|
|
border: none;
|
|
padding: 0;
|
|
h3 {
|
|
font-weight: normal;
|
|
font-size: $font-up-1;
|
|
}
|
|
}
|
|
|
|
input[disabled] {
|
|
background: var(--primary-low);
|
|
}
|
|
}
|
|
.pika-single {
|
|
position: absolute !important; /* inline JS styles */
|
|
}
|
|
}
|
|
|
|
// mobile styles
|
|
.mobile-view .edit-topic-timer-modal {
|
|
.select-kit.combo-box {
|
|
flex: 1 0 0px;
|
|
}
|
|
}
|