[gnome-themes-standard] minor fixes
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] minor fixes
- Date: Mon, 9 Jun 2014 13:09:08 +0000 (UTC)
commit 80c7eaf0216387583b1504a3dba938b9fce91cdc
Author: Jakub Steiner <jimmac gmail com>
Date: Mon May 19 13:15:57 2014 +0200
minor fixes
- headerbar bottom edge bevel
- document button extend
- move generic parts to the top
themes/Adwaita/gtk-3.0/_common.scss | 4 +-
themes/Adwaita/gtk-3.0/_drawing.scss | 29 ++++----
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 86 ------------------------
themes/Adwaita/gtk-3.0/gtk-contained-dark.scss | 1 +
themes/Adwaita/gtk-3.0/gtk-contained.css | 4 +-
5 files changed, 20 insertions(+), 104 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 823a130..0e9b8cc 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -298,7 +298,7 @@ GtkComboBox {
&:active,
&:insensitive,
&:active:insensitive {
- @extend .menuitem.button;
+ @extend .menuitem.button; /* override generic .button:* */
}
&:backdrop,
&:hover:backdrop,
@@ -393,7 +393,7 @@ GtkComboBox {
background-image: linear-gradient(to bottom,
lighten($theme_bg_color,2%),
darken($theme_bg_color,5%));
- box-shadow: inset 0 -1px $theme_shade,
+ box-shadow: inset 0 -1px transparentize($theme_shade,.4),
inset 0 1px $borders_edge;
padding: 6px;
diff --git a/themes/Adwaita/gtk-3.0/_drawing.scss b/themes/Adwaita/gtk-3.0/_drawing.scss
index 5e157e3..ecb7af9 100644
--- a/themes/Adwaita/gtk-3.0/_drawing.scss
+++ b/themes/Adwaita/gtk-3.0/_drawing.scss
@@ -6,6 +6,20 @@ $widget_bottom_hilight: 0 1px $borders_edge; //outer hilight "used" on
//most widgets, not working
//since gtk doesn't draw (yet?)
//outside the widget itself.
+ mixin _border-rounded() {
+}
+
+ mixin _border-rounded-left() {
+}
+
+ mixin _border-rounded-right() {
+}
+
+ mixin _border-rounded-top() {
+}
+
+ mixin _border-rounded-bottom() {
+}
// buttons
@@ -97,18 +111,3 @@ $widget_bottom_hilight: 0 1px $borders_edge; //outer hilight "used" on
$widget_bottom_hilight);
@include _button_text_shadow(none);
}
-
- mixin border-rounded() {
-}
-
- mixin border-rounded-left() {
-}
-
- mixin border-rounded-right() {
-}
-
- mixin border-rounded-top() {
-}
-
- mixin border-rounded-bottom() {
-}
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.scss b/themes/Adwaita/gtk-3.0/gtk-contained-dark.scss
index 6aaf68f..5e7d733 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.scss
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.scss
@@ -6,6 +6,7 @@ $theme_bg_color: #393f3f;
$theme_fg_color: #eeeeec;
$theme_selected_fg_color: lighten($theme_fg_color,10%);
$theme_selected_bg_color: darken(#4a90d9,10%);
+$borders_color: darken($theme_bg_color,20%);
$borders_edge: transparentize($theme_fg_color,.9);
$theme_shade: rgba(0,0,0,.6); //shadow seems to be a reserved word
$wm_shadow: transparentize(black, 0.55);
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index bda373a..17d2b0e 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -443,6 +443,8 @@ GtkComboBox:backdrop:insensitive {
border-image: none;
border-style: none;
box-shadow: none; }
+ .menuitem.button:active, .menuitem.button:insensitive, .menuitem.button:active:insensitive {
+ /* override generic .button:* */ }
.menuitem.button:backdrop, .menuitem.button:backdrop:active:insensitive, .menuitem.button:hover:backdrop,
.menuitem.button:insensitive:backdrop, .menuitem.button:active:insensitive:backdrop,
.menuitem.button:active:backdrop, .menuitem.button:active:hover:backdrop,
.menuitem.button:active:selected:backdrop {
text-shadow: none;
icon-shadow: none;
@@ -507,7 +509,7 @@ GtkComboBox {
border-radius: 7px 7px 0 0;
background-color: transparent;
background-image: linear-gradient(to bottom, #f2f2f2, #e0e0e0);
- box-shadow: inset 0 -1px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.05);
+ box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1), inset 0 1px rgba(255, 255, 255, 0.05);
padding: 6px; }
.header-bar:backdrop {
background-image: none;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]