From c1af3784abaa1322fa5ee51776320b1491e0134d Mon Sep 17 00:00:00 2001 From: tista500 Date: Mon, 20 Aug 2018 00:34:37 +0900 Subject: [PATCH] Cinnamon: [Keyboard] Update spacing factors Fork the recent changes from Gnome-shell theming. --- shell/sass/cinnamon/_common.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/shell/sass/cinnamon/_common.scss b/shell/sass/cinnamon/_common.scss index 2afc441ee..e2d479263 100644 --- a/shell/sass/cinnamon/_common.scss +++ b/shell/sass/cinnamon/_common.scss @@ -1181,16 +1181,15 @@ $ws_thumb_spacing: 32px; .keyboard { &-layout { - spacing: 12px; - padding: 12px; + spacing: $ref_size * 0.3; + padding: $ref_size * 0.3; } - &-row { spacing: 12px; } + &-row { spacing: $ref_size * 0.3; } &-key { - @include fontscaling($ref_size * 2.0); - min-height: 2em; - min-width: 2em; + min-height: $ref_size * 2; + min-width: $ref_size * 2; border-radius: 2px; border: none; background-color: $osd_bg_color; @@ -1198,6 +1197,7 @@ $ws_thumb_spacing: 32px; box-shadow: $empty_shadow; text-shadow: none; icon-shadow: none; + font-size: $ref_size * 2; // use unscalable unit font-weight: 700; transition-timing-function: $slope_slow; &:focus, @@ -1228,7 +1228,7 @@ $ws_thumb_spacing: 32px; -arrow-border-color: transparent; -arrow-base: 0; -arrow-rise: 0; - -boxpointer-gap: 12px; + -boxpointer-gap: $ref_size * 0.3; background-color: $suggested_color; color: $selected_fg_color; box-shadow: $z-depth-2;