From 10290bc427acc3f7fc1331cc3cb3ea8c2118180c Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 8 Apr 2025 16:52:38 +1000 Subject: navbar: add special workspace toggles --- scss/navbar.scss | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'scss') diff --git a/scss/navbar.scss b/scss/navbar.scss index 213fc48..4888618 100644 --- a/scss/navbar.scss +++ b/scss/navbar.scss @@ -21,36 +21,37 @@ } &.current { - .pane-button { + .nav-button { background-color: scheme.$primary; color: color.change(scheme.$base, $alpha: 1); } - &:hover .pane-button, - &:focus .pane-button { + &:hover .nav-button, + &:focus .nav-button { background-color: color.mix(scheme.$primary, scheme.$base, 80%); } - &:active .pane-button { + &:active .nav-button { background-color: color.mix(scheme.$primary, scheme.$base, 70%); } } - &:first-child .pane-button { + &:first-child .nav-button { margin-top: lib.s(10); } - &:last-child .pane-button { + &:last-child .nav-button { margin-bottom: lib.s(10); } } - .pane-button { + .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); -- cgit v1.2.3-freya