diff options
Diffstat (limited to 'scss/navbar.scss')
| -rw-r--r-- | scss/navbar.scss | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/scss/navbar.scss b/scss/navbar.scss deleted file mode 100644 index 72ace59..0000000 --- a/scss/navbar.scss +++ /dev/null @@ -1,65 +0,0 @@ -@use "sass:color"; -@use "scheme"; -@use "lib"; -@use "font"; - -.navbar { - @include font.mono; - - background-color: scheme.$base; - - button { - color: scheme.$subtext1; - - &:hover, - &:focus { - color: scheme.$subtext0; - } - - &:active { - color: color.change(scheme.$overlay2, $alpha: 1); - } - - &.current { - .nav-button { - background-color: scheme.$primary; - color: color.change(scheme.$base, $alpha: 1); - } - - &:hover .nav-button, - &:focus .nav-button { - background-color: color.mix(scheme.$primary, scheme.$base, 80%); - } - - &:active .nav-button { - background-color: color.mix(scheme.$primary, scheme.$base, 70%); - } - } - - &:first-child .nav-button { - margin-top: lib.s(10); - } - - &:last-child .nav-button { - margin-bottom: lib.s(10); - } - } - - .nav-button { - @include lib.rounded(20); - @include lib.element-decel; - - padding: lib.s(10) lib.s(8); - margin: lib.s(5) lib.s(8); - min-width: lib.s(40); - - .icon { - font-size: lib.s(28); - } - - .label { - font-size: lib.s(12); - margin-bottom: lib.s(5); - } - } -} |