diff --git a/app/assets/javascripts/discourse/app/components/sidebar/edit-navigation-modal-form/modal.hbs b/app/assets/javascripts/discourse/app/components/sidebar/edit-navigation-modal-form/modal.hbs index 5a8aecc81c3..e7626cf5cc5 100644 --- a/app/assets/javascripts/discourse/app/components/sidebar/edit-navigation-modal-form/modal.hbs +++ b/app/assets/javascripts/discourse/app/components/sidebar/edit-navigation-modal-form/modal.hbs @@ -11,39 +11,39 @@
{{/in-element}} + + diff --git a/app/assets/stylesheets/common/components/sidebar/edit-navigation-modal-form/modal.scss b/app/assets/stylesheets/common/components/sidebar/edit-navigation-modal-form/modal.scss index 8a6925e33ad..c013b1bc085 100644 --- a/app/assets/stylesheets/common/components/sidebar/edit-navigation-modal-form/modal.scss +++ b/app/assets/stylesheets/common/components/sidebar/edit-navigation-modal-form/modal.scss @@ -2,60 +2,59 @@ .modal-body { min-height: 50vh; } +} - .sidebar__edit-navigation-modal-form__filter { - display: flex; - flex-direction: row; - margin-bottom: 1em; - width: 100%; +.sidebar__edit-navigation-modal-form__filter { + display: flex; + flex-direction: row; + padding: 1em 1em 0 1em; - .sidebar__edit-navigation-modal-form__filter-dropdown { - margin-left: 0.5em; + .sidebar__edit-navigation-modal-form__filter-dropdown { + margin-left: 0.5em; - .select-kit-header { + .select-kit-header { + background: var(--secondary); + color: var(--primary); + border: 1px solid var(--primary-low-mid); + font-size: var(--font-0); + + &:hover, + &:focus { background: var(--secondary); color: var(--primary); - border: 1px solid var(--primary-low-mid); - font-size: var(--font-0); - &:hover, - &:focus { - background: var(--secondary); + .d-icon { color: var(--primary); - - .d-icon { - color: var(--primary); - } } } } + } - .sidebar__edit-navigation-modal-form__filter-input { - display: flex; - flex-direction: row; - margin-right: auto; - width: 100%; - position: relative; - } + .sidebar__edit-navigation-modal-form__filter-input { + display: flex; + flex-direction: row; + margin-right: auto; + width: 100%; + position: relative; + } - .sidebar__edit-navigation-modal-form__filter-input-icon { - position: absolute; - left: 0.5em; - top: 0.65em; - color: var(--primary-low-mid); - } + .sidebar__edit-navigation-modal-form__filter-input-icon { + position: absolute; + left: 0.5em; + top: 0.65em; + color: var(--primary-low-mid); + } - .sidebar__edit-navigation-modal-form__filter-input-field { - border-color: var(--primary-low-mid); - padding-left: 1.75em; - width: 100%; + .sidebar__edit-navigation-modal-form__filter-input-field { + border-color: var(--primary-low-mid); + padding-left: 1.75em; + width: 100%; - &:focus { - border-color: var(--tertiary); - outline: none; - outline-offset: 0; - box-shadow: inset 0px 0px 0px 1px var(--tertiary); - } + &:focus { + border-color: var(--tertiary); + outline: none; + outline-offset: 0; + box-shadow: inset 0px 0px 0px 1px var(--tertiary); } } } diff --git a/app/assets/stylesheets/mobile/components/sidebar/edit-navigation-modal-form/modal.scss b/app/assets/stylesheets/mobile/components/sidebar/edit-navigation-modal-form/modal.scss index fa66f27aed3..571dfe74694 100644 --- a/app/assets/stylesheets/mobile/components/sidebar/edit-navigation-modal-form/modal.scss +++ b/app/assets/stylesheets/mobile/components/sidebar/edit-navigation-modal-form/modal.scss @@ -2,13 +2,14 @@ .modal-inner-container { width: 35em; } +} - .sidebar__edit-navigation-modal-form__filter { - flex-direction: column; +.sidebar__edit-navigation-modal-form__filter { + flex-direction: column; + padding: 0.667em; - .sidebar__edit-navigation-modal-form__filter-dropdown { - margin-left: 0; - width: 100%; - } + .sidebar__edit-navigation-modal-form__filter-dropdown { + margin-left: 0; + width: 100%; } }