[gtk+] High Contrast: don't hardcode a font-size on the switch
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] High Contrast: don't hardcode a font-size on the switch
- Date: Fri, 18 Mar 2016 18:11:09 +0000 (UTC)
commit 48fb37f3413275778049c338a9e555eb86b3d5b7
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Fri Mar 18 19:10:36 2016 +0100
High Contrast: don't hardcode a font-size on the switch
gtk/theme/HighContrast/_common.scss | 4 +++-
gtk/theme/HighContrast/gtk-contained-inverse.css | 4 +++-
gtk/theme/HighContrast/gtk-contained.css | 4 +++-
3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index a890179..e65f24d 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -1962,7 +1962,9 @@ treeview ~ scrollbar.vertical {
**********/
switch {
- font: bold condensed 9;
+ font-size: smaller;
+ font-stretch: condensed;
+ font-weight: bold;
outline-offset: -4px;
// similar to the .scale
border-width: 1px;
diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css
b/gtk/theme/HighContrast/gtk-contained-inverse.css
index bf88630..244a133 100644
--- a/gtk/theme/HighContrast/gtk-contained-inverse.css
+++ b/gtk/theme/HighContrast/gtk-contained-inverse.css
@@ -2043,7 +2043,9 @@ treeview ~ scrollbar.vertical {
* Switch *
**********/
switch {
- font: bold condensed 9;
+ font-size: smaller;
+ font-stretch: condensed;
+ font-weight: bold;
outline-offset: -4px;
border-width: 1px;
border-style: solid;
diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css
index e72e21a..53799b6 100644
--- a/gtk/theme/HighContrast/gtk-contained.css
+++ b/gtk/theme/HighContrast/gtk-contained.css
@@ -2047,7 +2047,9 @@ treeview ~ scrollbar.vertical {
* Switch *
**********/
switch {
- font: bold condensed 9;
+ font-size: smaller;
+ font-stretch: condensed;
+ font-weight: bold;
outline-offset: -4px;
border-width: 1px;
border-style: solid;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]