From 1ae5643f597bf445e4456ce80b164985bf6b6311 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Wed, 16 Mar 2016 18:06:56 +0100 Subject: [PATCH] Adwaita: shrink back big standalone osd buttons --- gtk/theme/Adwaita/_common.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++-- gtk/theme/Adwaita/gtk-contained.css | 5 +++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index e97d26935b..c84951e507 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -528,10 +528,10 @@ button { // big standalone buttons like in Documents pager &.osd { - &.image-button { - min-height: 48px; - min-width: 48px; - } + min-width: 24px; + min-height: 32px; + + &.image-button { min-width: 32px; } color: $osd_fg_color; border-radius: 5px; diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 98915224a6..9d96821ed6 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -552,6 +552,8 @@ row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(di row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(disabled):backdrop, row:selected button.flat:not(:active):not(:checked):not(:hover):not(disabled):backdrop { color: #949796; } button.osd { + min-width: 24px; + min-height: 32px; color: #eeeeec; border-radius: 5px; outline-color: rgba(238, 238, 236, 0.3); @@ -566,8 +568,7 @@ button.osd { border: none; box-shadow: none; } button.osd.image-button { - min-height: 48px; - min-width: 48px; } + min-width: 32px; } button.osd:hover { color: white; border-color: rgba(0, 0, 0, 0.7); diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 846f082c39..48c6ce4423 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -554,6 +554,8 @@ row:selected button { row:selected button.sidebar-button:not(:active):not(:checked):not(:hover):not(disabled):backdrop, row:selected button.flat:not(:active):not(:checked):not(:hover):not(disabled):backdrop { color: white; } button.osd { + min-width: 24px; + min-height: 32px; color: #eeeeec; border-radius: 5px; outline-color: rgba(238, 238, 236, 0.3); @@ -568,8 +570,7 @@ button.osd { border: none; box-shadow: none; } button.osd.image-button { - min-height: 48px; - min-width: 48px; } + min-width: 32px; } button.osd:hover { color: white; border-color: rgba(0, 0, 0, 0.7);