summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2014-08-04 13:55:09 +0200
committerJakub Steiner <jimmac@gmail.com>2014-08-04 13:55:09 +0200
commit56588c1b3812583263f19bc60f3c728967a76e9d (patch)
tree69ab486f1a77c4512a58c60efcf092f329b96362
parentd9832ac4a6bb267df9f6e874fd2f00a6e114b0d8 (diff)
HC: flat OSD
-rw-r--r--themes/HighContrast/gtk-3.0/_common.scss2
-rw-r--r--themes/HighContrast/gtk-3.0/_drawing.scss18
2 files changed, 5 insertions, 15 deletions
diff --git a/themes/HighContrast/gtk-3.0/_common.scss b/themes/HighContrast/gtk-3.0/_common.scss
index 4010ac93..2d7be22a 100644
--- a/themes/HighContrast/gtk-3.0/_common.scss
+++ b/themes/HighContrast/gtk-3.0/_common.scss
@@ -267,7 +267,7 @@ GtkLabel {
//overlay / OSD style
.osd & {
padding: 6px;
- border-width: 1px;
+ border-width: 1px 1px 2px 1px;
@include button(osd);
@extend %linked_buttons;
&:hover {
diff --git a/themes/HighContrast/gtk-3.0/_drawing.scss b/themes/HighContrast/gtk-3.0/_drawing.scss
index 4e827c9f..9145334a 100644
--- a/themes/HighContrast/gtk-3.0/_drawing.scss
+++ b/themes/HighContrast/gtk-3.0/_drawing.scss
@@ -261,10 +261,8 @@ $widget_edge: 0 1px $borders_edge; //outer hilight "used" on
//
// normal osd button
//
- background-image: linear-gradient(to bottom,
- transparentize(#fff,0.9),
- transparentize(#fff,0.95),
- transparentize(#000,0.99));
+ background-image: none;
+ background-color: $osd_bg_color;
border-color: $osd_borders_color;
box-shadow: none;
}
@@ -272,10 +270,7 @@ $widget_edge: 0 1px $borders_edge; //outer hilight "used" on
//
// active osd button
//
- background-image: linear-gradient(to bottom,
- transparentize(#fff,0.85),
- transparentize(#fff,0.9),
- transparentize(#000,0.99));
+ background-color: transparentize(#fff,0.99);
border-color: $osd_borders_color;
box-shadow: none;
}
@@ -283,10 +278,7 @@ $widget_edge: 0 1px $borders_edge; //outer hilight "used" on
//
// active osd button
//
- background-image: linear-gradient(to bottom,
- transparentize(#000,0.95),
- transparentize(#fff,0.95),
- transparentize(#fff,0.9));
+ background-color: transparentize(#fff,0.97));
border-color: $osd_borders_color;
box-shadow: none;
}
@@ -294,8 +286,6 @@ $widget_edge: 0 1px $borders_edge; //outer hilight "used" on
//
// insensitive osd button
//
- background-image: linear-gradient(to bottom,
- $osd_bg_color);
border-color: $osd_borders_color;
color: $insensitive_fg_color;
}