summaryrefslogtreecommitdiff
path: root/themes/Adwaita
diff options
context:
space:
mode:
authorLapo Calamandrei <calamandrei@gmail.com>2012-11-26 12:29:50 +0100
committerLapo Calamandrei <calamandrei@gmail.com>2012-11-26 12:29:50 +0100
commit72df0a155ceceba82c64556b8f2bd201e21c0665 (patch)
tree7049330544f3325ccc8ea22b89a0d5e971bd9fc0 /themes/Adwaita
parent068766fdf3ccf69f5dcfb2e421b21424a7b152ba (diff)
parent979375bb742660b1063488d14adab7f7fde3db9b (diff)
downloadgnome-themes-standard-72df0a155ceceba82c64556b8f2bd201e21c0665.tar.gz
Merge branch 'master' into wip/toolbars-reworkwip/toolbars-rework
Diffstat (limited to 'themes/Adwaita')
-rw-r--r--themes/Adwaita/gtk-3.0/assets/Makefile.am2
-rw-r--r--themes/Adwaita/gtk-3.0/assets/noise-texture-dark.pngbin0 -> 69136 bytes
-rw-r--r--themes/Adwaita/gtk-3.0/assets/noise-texture-light.pngbin0 -> 69136 bytes
-rw-r--r--themes/Adwaita/gtk-3.0/gtk-widgets-assets-dark.css11
-rw-r--r--themes/Adwaita/gtk-3.0/gtk-widgets-assets.css7
-rw-r--r--themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css9
-rw-r--r--themes/Adwaita/gtk-3.0/gtk-widgets-borders.css10
-rw-r--r--themes/Adwaita/gtk-3.0/gtk-widgets.css125
-rw-r--r--themes/Adwaita/gtk-3.0/gtk.gresource.xml2
9 files changed, 77 insertions, 89 deletions
diff --git a/themes/Adwaita/gtk-3.0/assets/Makefile.am b/themes/Adwaita/gtk-3.0/assets/Makefile.am
index 9ba79aa6..ca078609 100644
--- a/themes/Adwaita/gtk-3.0/assets/Makefile.am
+++ b/themes/Adwaita/gtk-3.0/assets/Makefile.am
@@ -47,6 +47,8 @@ EXTRA_DIST = \
menuitem-radio-checked.png \
menuitem-radio-checked-insensitive.png \
menuitem-radio-checked-selected.png \
+ noise-texture-dark.png \
+ noise-texture-light.png \
pane-separator-grip.svg \
pane-separator-grip-vertical.svg \
radio-checked.png \
diff --git a/themes/Adwaita/gtk-3.0/assets/noise-texture-dark.png b/themes/Adwaita/gtk-3.0/assets/noise-texture-dark.png
new file mode 100644
index 00000000..f73293ef
--- /dev/null
+++ b/themes/Adwaita/gtk-3.0/assets/noise-texture-dark.png
Binary files differ
diff --git a/themes/Adwaita/gtk-3.0/assets/noise-texture-light.png b/themes/Adwaita/gtk-3.0/assets/noise-texture-light.png
new file mode 100644
index 00000000..f73293ef
--- /dev/null
+++ b/themes/Adwaita/gtk-3.0/assets/noise-texture-light.png
Binary files differ
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-assets-dark.css b/themes/Adwaita/gtk-3.0/gtk-widgets-assets-dark.css
index 1e765277..7121070e 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-assets-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-assets-dark.css
@@ -14,6 +14,8 @@
/* draw regular check and radio items using our SVG assets */
.check {
background-image: url("assets/checkbox-unchecked-dark.png");
+ background-repeat: no-repeat;
+ background-position: center;
}
.check row:selected,
@@ -105,6 +107,8 @@
.radio {
background-image: url("assets/radio-unchecked-dark.png");
+ background-repeat: no-repeat;
+ background-position: center;
}
.radio row:selected,
@@ -405,3 +409,10 @@
.cursor-handle.top {
background-image: url("assets/scale-slider-down-backdrop-dark.png");
}
+
+/****************
+ * Content view *
+ ****************/
+.content-view.view {
+ background-image: url("assets/noise-texture-dark.png");
+}
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css b/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css
index c47b67dd..40d2dd25 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css
@@ -409,3 +409,10 @@
.cursor-handle.top {
background-image: url("assets/scale-slider-down-backdrop.png");
}
+
+/****************
+ * Content view *
+ ****************/
+.content-view.view {
+ background-image: url("assets/noise-texture-light.png");
+}
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
index dfeae08c..54fb55a5 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
@@ -200,15 +200,6 @@ column-header:last-child .button:backdrop {
border-right-width: 0;
}
-column-header.button:last-child,
-column-header:last-child .button,
-column-header.button:last-child:active,
-column-header:last-child .button:active,
-column-header.button:last-child:active:hover,
-column-header:last-child .button:active:hover {
- border-image-slice: 0 0 1 0;
-}
-
/* unfocused window: generic element borders */
.selection-mode.toolbar .suggested-action.button:backdrop,
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
index 3682b2ab..a844cd65 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
@@ -201,16 +201,6 @@ column-header:last-child .button:backdrop {
border-right-width: 0;
}
-column-header.button:last-child,
-column-header:last-child .button,
-column-header.button:last-child:active,
-column-header:last-child .button:active,
-column-header.button:last-child:active:hover,
-column-header:last-child .button:active:hover {
- border-image-slice: 0 0 1 0;
-}
-
-
/* unfocused window: generic element borders */
.selection-mode.toolbar .suggested-action.button:backdrop,
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index d7af17ff..44efb783 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1119,6 +1119,14 @@ GtkScrolledWindow GtkViewport.frame {
border-style: none;
}
+GtkViewport {
+ background-color: @theme_base_color;
+}
+
+GtkViewport:backdrop {
+ background-color: @theme_unfocused_base_color;
+}
+
/***********
* Buttons *
***********/
@@ -3126,18 +3134,12 @@ GtkTreeView.dnd {
border-style: solid;
}
-GtkViewport {
- background-color: @theme_base_color;
-}
-
-GtkViewport:backdrop {
- background-color: @theme_unfocused_base_color;
+GtkTreeView:selected:focus {
+ outline-color: mix(@theme_selected_fg_color, @theme_selected_bg_color, 0.30);
}
GtkIconView.view.cell:selected,
GtkIconView.view.cell:selected:focus {
- background-color: @theme_selected_bg_color;
- color: @theme_selected_fg_color;
border-radius: 4px;
/* FIXME: this probably needs to be better;
@@ -3148,40 +3150,35 @@ GtkIconView.view.cell:selected:focus {
outline-offset: 3px;
}
-.view,
-GtkTreeView {
+.view {
background-color: @theme_base_color;
color: @theme_text_color;
}
-.view:selected,
-GtkTreeView:selected {
- background-color: @theme_selected_bg_color;
- color: @theme_selected_fg_color;
-}
-
-.view:insensitive,
-GtkTreeView:insensitive {
+.view:insensitive {
background-color: @insensitive_bg_color;
color: @insensitive_fg_color;
}
-.view:backdrop,
-GtkTreeView:backdrop {
+.view:backdrop {
background-color: @theme_unfocused_base_color;
color: @theme_unfocused_text_color;
}
-.cell:backdrop:selected,
-GtkIconView.view.cell:backdrop:selected,
-.view:backdrop:selected,
-GtkTreeView:backdrop:selected {
- background-color: @theme_unfocused_selected_bg_color;
- color: @theme_unfocused_selected_fg_color;
+.cell {
+ color: @theme_text_color;
+ padding: 2px;
}
-GtkTreeView:selected:focus {
- outline-color: mix(@theme_selected_fg_color, @theme_selected_bg_color, 0.30);
+.cell:selected,
+.cell:selected:focus {
+ background-color: @theme_selected_bg_color;
+ color: @theme_selected_fg_color;
+}
+
+.cell:backdrop:selected {
+ background-color: @theme_unfocused_selected_bg_color;
+ color: @theme_unfocused_selected_fg_color;
}
column-header.button,
@@ -3235,34 +3232,6 @@ column-header .button.dnd {
border-image-slice: 0 1;
}
-row:hover {
- border-width: 0;
-}
-
-row:insensitive {
- border-width: 0;
-}
-
-row:selected:focus {
- border-width: 0;
- background-color: @theme_selected_bg_color;
-}
-
-row:selected {
- border-width: 0;
-}
-
-.cell {
- color: @theme_text_color;
- padding: 2px;
- border-width: 0;
-}
-
-.cell:selected {
- background-color: @theme_selected_bg_color;
- color: @theme_selected_fg_color;
-}
-
.expander {
border-style: solid;
border-width: 1px;
@@ -3320,30 +3289,42 @@ row:selected {
background-color: @content_view_bg;
}
-.content-view.view:hover {
- background-color: @theme_bg_color;
- color: @theme_text_color;
+.content-view.view:insensitive {
+ background-color: @theme_unfocused_base_color;
+ background-image: none;
}
-.content-view.view:selected,
-.content-view.view:active {
- background-color: @theme_selected_bg_color;
+.content-view.view:backdrop {
+ background-color: @sidebar_bg_unfocused;
+ background-image: none;
}
-.content-view.view:insensitive {
- background-color: @theme_unfocused_base_color;
+/* FIXME: EggListBox should set the .cell style class on
+ * the background it renders for the children, like
+ * GtkIconView and GtkTreeView do */
+.content-view.cell {
+ background-color: transparent;
+ background-image: none;
}
-.content-view.view:backdrop,
-.content-view.view:hover:backdrop {
- background-color: @sidebar_bg_unfocused;
+EggListBox.content-view:hover,
+.content-view.cell:hover {
+ background-color: @theme_bg_color;
}
-.content-view.view:selected:backdrop {
- background-color: @theme_unfocused_selected_bg_color;
+EggListBox.content-view:selected,
+EggListBox.content-view:active,
+.content-view.cell:selected,
+.content-view.cell:active {
+ background-color: @theme_selected_bg_color;
+ background-image: none;
}
-.content-view.view .separator:backdrop { color: @theme_unfocused_bg_color; }
+EggListBox.content-view:selected:backdrop,
+.content-view.cell:selected:backdrop {
+ background-color: @theme_unfocused_selected_bg_color;
+ background-image: none;
+}
GdMainIconView.content-view {
-GdMainIconView-icon-size: 40;
@@ -3364,6 +3345,10 @@ GtkIconView.content-view.check:active {
background-color: transparent;
}
+.content-view.view .separator:backdrop {
+ color: @theme_unfocused_bg_color;
+}
+
GtkIconView.content-view.check:hover,
GtkIconView.content-view.check:insensitive,
GtkIconView.content-view.check:backdrop,
diff --git a/themes/Adwaita/gtk-3.0/gtk.gresource.xml b/themes/Adwaita/gtk-3.0/gtk.gresource.xml
index d8eba613..84b6bc1d 100644
--- a/themes/Adwaita/gtk-3.0/gtk.gresource.xml
+++ b/themes/Adwaita/gtk-3.0/gtk.gresource.xml
@@ -49,6 +49,8 @@
<file preprocess="to-pixdata">assets/menuitem-radio-checked-insensitive.png</file>
<file preprocess="to-pixdata">assets/menuitem-radio-checked.png</file>
<file preprocess="to-pixdata">assets/menuitem-radio-checked-selected.png</file>
+ <file preprocess="to-pixdata">assets/noise-texture-dark.png</file>
+ <file preprocess="to-pixdata">assets/noise-texture-light.png</file>
<file preprocess="to-pixdata">assets/pane-separator-grip.svg</file>
<file preprocess="to-pixdata">assets/pane-separator-grip-vertical.svg</file>
<file preprocess="to-pixdata">assets/radio-checked-alt-dark.png</file>