diff options
| author | bobzel <zzzman@gmail.com> | 2025-02-25 01:03:25 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-02-25 01:03:25 -0500 |
| commit | 515707c4561eb526426b8fa07dd50bd499fb91cc (patch) | |
| tree | f4cbc69387da19add6dbc88acecbcdbdca575039 /src/client/views/topbar | |
| parent | 30b07ed24fbe5e6d49741bc63031807408cd4a0c (diff) | |
added a hideUI option to hide buttons. fixed a mess of runtime warnings mostly related to how scss files can be included in each other
Diffstat (limited to 'src/client/views/topbar')
| -rw-r--r-- | src/client/views/topbar/TopBar.scss | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/client/views/topbar/TopBar.scss b/src/client/views/topbar/TopBar.scss index 20245104e..35a3da312 100644 --- a/src/client/views/topbar/TopBar.scss +++ b/src/client/views/topbar/TopBar.scss @@ -1,4 +1,5 @@ -@import '../global/globalCssVariables.module.scss'; +@use 'sass:color'; +@use '../global/globalCssVariables.module.scss' as global; .topbar-container { flex-direction: column; @@ -6,13 +7,13 @@ line-height: 1; overflow-y: auto; overflow-x: visible; - background: $dark-gray; + background: global.$dark-gray; overflow: visible; z-index: 1000; align-items: center; - height: $topbar-height; - background-color: $dark-gray; - border-bottom: $standard-border; + height: global.$topbar-height; + background-color: global.$dark-gray; + border-bottom: global.$standard-border; padding: 0px 10px; cursor: default; display: flex; @@ -34,7 +35,7 @@ } .topbar-button-text { - color: $white; + color: global.$white; padding: 10px; size: 15; @@ -54,16 +55,16 @@ align-self: center; padding: 5px; transition: linear 0.2s; - color: $white; + color: global.$white; &:hover { - background-color: darken($color: $light-gray, $amount: 20); + background-color: color.adjust(global.$light-gray, $lightness: -20%); font-weight: 500; } } .topbar-title { - color: $white; + color: global.$white; font-size: 17; font-weight: 500; } @@ -119,7 +120,7 @@ } .topBar-icon:hover { - background-color: $close-red; + background-color: global.$close-red; } .topbar-lozenge-user, @@ -180,7 +181,7 @@ &.topbar-input { margin: 5px; border-radius: 20px; - border: $dark-gray; + border: global.$dark-gray; display: block; width: 130px; -webkit-transition: width 0.4s; @@ -212,8 +213,8 @@ } &.topbar-close { - color: $white; - max-height: $topbar-height; + color: global.$white; + max-height: global.$topbar-height; } } } @@ -229,7 +230,7 @@ .no-result { width: 500px; - background: $light-gray; + background: global.$light-gray; padding: 10px; height: 50px; text-transform: uppercase; |
