From 81737fd0acebe05ca6e6043635b15b68ee708f96 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Mon, 25 Nov 2024 21:29:45 -0500 Subject: [PATCH] feat(ags osk): add press anim --- .../config/widgets/on-screen-keyboard/_index.scss | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/nixosModules/ags/config/widgets/on-screen-keyboard/_index.scss b/nixosModules/ags/config/widgets/on-screen-keyboard/_index.scss index 4f5f093a..e36fa32f 100644 --- a/nixosModules/ags/config/widgets/on-screen-keyboard/_index.scss +++ b/nixosModules/ags/config/widgets/on-screen-keyboard/_index.scss @@ -38,6 +38,15 @@ transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out; + box-shadow: 2px 1px 2px gray; + margin: 4px 10px 4px 10px; + + &.active { + box-shadow: 0 0 0 white; + margin: 6px 10px 2px 10px; + background-color: color.adjust(colors.$window_bg_color, $lightness: -3%); + } + &.normal, &.Super { min-width: 3rem; @@ -66,10 +75,6 @@ min-width: 3.2rem; } - &.active { - background-color: color.adjust(colors.$window_bg_color, $lightness: -3%); - } - &.altgr { border: 0.08rem solid blue; }