From 4329502422d67cfaae521337b2f1cb041fcac954 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 7 Dec 2025 17:00:21 +0200 Subject: [PATCH] second pass of reorganizing emoji tab --- src/App.scss | 14 +- src/components/checkbox/checkbox.vue | 4 +- src/components/registration/registration.vue | 2 +- src/components/select/select.vue | 8 +- .../settings_modal/admin_tabs/emoji_tab.js | 11 +- .../settings_modal/admin_tabs/emoji_tab.scss | 39 +- .../settings_modal/admin_tabs/emoji_tab.vue | 351 +++++++++--------- 7 files changed, 235 insertions(+), 194 deletions(-) diff --git a/src/App.scss b/src/App.scss index 02500c661..1a08fbae8 100644 --- a/src/App.scss +++ b/src/App.scss @@ -513,6 +513,12 @@ nav { } } +label { + &.-disabled { + color: var(--textFaint); + } +} + input, textarea { border: none; @@ -554,6 +560,7 @@ textarea { &.disabled { cursor: not-allowed; color: var(--textFaint); + background-color: transparent; } &[type="range"] { @@ -579,6 +586,8 @@ textarea { & + label::before { opacity: 0.5; } + + background-color: var(--background); } + label::before { @@ -694,13 +703,16 @@ option { display: inline-flex; vertical-align: middle; + .Select select { + line-height: 1; + } + > *, > * .button-default { --_roundness-left: 0; --_roundness-right: 0; position: relative; - flex: 1 1 auto; } > *:first-child, diff --git a/src/components/checkbox/checkbox.vue b/src/components/checkbox/checkbox.vue index c8bba4c44..1e0f5ad05 100644 --- a/src/components/checkbox/checkbox.vue +++ b/src/components/checkbox/checkbox.vue @@ -1,7 +1,7 @@