mirror of
https://github.com/discourse/discourse.git
synced 2025-04-19 17:49:05 +08:00

* composer restyle, some input normalization * style adjustments: spacing, preview background, colors * small spacing adjustments, removing default iOS input appearance, fixing merge * small width adjustment * fixing mobile link modal for small devices * FIX: more resilient allowInitiatlValueMutation implementation * Build scrollMap only on scroll. * FIX: pick date and time was not reseting state * FIX: removes auto sizing and touchstart support for now * Revert "FIX: reflects discourse icons naming scheme s/d-icon-*/d-*" This reverts commit b5ed980235722ac5104e769a139bae1192710e52. * tweak icon-library generation * FIX: regression preventing to set number of hours before closing This commit also adds a full test suite for editing topic timer. * FIX: makes allowInitialValueMutation more restrictive * FIX: invite-list expects initial value mutation * fixing tag input spacing * minor input cleanup * bump onebox version * FIX: avoids test failing at some times of the day * FIX: various issues when editing category permissions This commit also adds multiple tests
85 lines
1.9 KiB
SCSS
85 lines
1.9 KiB
SCSS
.select-box-kit, .select-kit {
|
|
&.combo-box {
|
|
|
|
.select-box-kit-body, .select-kit-body {
|
|
width: 100%;
|
|
}
|
|
|
|
.select-box-kit-row, .select-kit-row {
|
|
margin: 5px;
|
|
min-height: 1px;
|
|
padding: 5px;
|
|
}
|
|
|
|
.select-box-kit-filter, .select-kit-filter {
|
|
line-height: 18px;
|
|
padding: 6px 10px;
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
.filter-input {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
.select-box-kit-header, .select-kit-header {
|
|
background: $secondary;
|
|
border: 1px solid $primary-medium;
|
|
padding: 6px 10px;
|
|
font-weight: 500;
|
|
font-size: 0.929em;
|
|
line-height: 18px;
|
|
|
|
&.is-focused {
|
|
border: 1px solid $tertiary;
|
|
-webkit-box-shadow: $tertiary 0px 0px 6px 0px;
|
|
box-shadow: $tertiary 0px 0px 6px 0px;
|
|
}
|
|
}
|
|
|
|
&.is-disabled {
|
|
.select-kit-header {
|
|
background: #e9e9e9;
|
|
border-color: #ddd;
|
|
}
|
|
}
|
|
|
|
&.is-highlighted {
|
|
.select-kit-header {
|
|
border: 1px solid $tertiary;
|
|
-webkit-box-shadow: $tertiary 0px 0px 6px 0px;
|
|
box-shadow: $tertiary 0px 0px 6px 0px;
|
|
}
|
|
}
|
|
|
|
&.is-expanded {
|
|
.select-kit-wrapper {
|
|
display: block;
|
|
border: 1px solid $tertiary;
|
|
-webkit-box-shadow: $tertiary 0px 0px 6px 0px;
|
|
box-shadow: $tertiary 0px 0px 6px 0px;
|
|
}
|
|
|
|
.select-kit-header {
|
|
border-color: transparent;
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.select-kit-body {
|
|
border-radius: 0 0 3px 3px ;
|
|
}
|
|
}
|
|
|
|
&.is-expanded.is-above {
|
|
.select-kit-header {
|
|
border-radius: 0 0 3px 3px;
|
|
}
|
|
|
|
.select-kit-body {
|
|
border-radius: 3px 3px 0 0;
|
|
}
|
|
}
|
|
}
|
|
}
|