[gtk+] Adwaita: shrink back big standalone osd buttons
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: shrink back big standalone osd buttons
- Date: Wed, 16 Mar 2016 17:07:52 +0000 (UTC)
commit 1ae5643f597bf445e4456ce80b164985bf6b6311
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Mar 16 18:06:56 2016 +0100
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 e97d269..c84951e 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 9891522..9d96821 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 846f082..48c6ce4 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]