[gtk+] Adwaita: shade content-view
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: shade content-view
- Date: Wed, 28 Jan 2015 17:36:06 +0000 (UTC)
commit 201134b9df0c71cb729da9f3dc7410a066f3aacc
Author: Jakub Steiner <jimmac gmail com>
Date: Wed Jan 28 18:22:59 2015 +0100
Adwaita: shade content-view
https://bugzilla.gnome.org/show_bug.cgi?id=740336
gtk/theme/Adwaita/_common.scss | 7 +++++++
gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++
gtk/theme/Adwaita/gtk-contained.css | 5 +++++
3 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 44596e2..3e74a5b 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2189,6 +2189,13 @@ $asset_suffix: if($variant=='dark', '-dark', '');
&:selected, &:hover { icon-shadow: none; }
}
+//content view (grid/list)
+
+.content-view {
+ background-color: darken($bg_color,7%);
+ &:backdrop { background-color: darken($bg_color,7%); }
+}
+
//selection-mode
@each $s,$as in ('','-selectionmode'),
(':hover', '-hover-selectionmode'),
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 455cf80..fd94c6a 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2903,6 +2903,11 @@ GtkSwitch {
.list-row .check:hover, list-row .radio:selected, list-row .radio:hover {
icon-shadow: none; }
+.content-view {
+ background-color: #282c2c; }
+ .content-view:backdrop {
+ background-color: #282c2c; }
+
.view.content-view.check {
icon-shadow: none;
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-selectionmode.png"), url("assets/checkbox-selectionmode
2 png"));
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index ce7c34f..597cef6 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -3065,6 +3065,11 @@ GtkSwitch {
.list-row .check:hover, list-row .radio:selected, list-row .radio:hover {
icon-shadow: none; }
+.content-view {
+ background-color: #dbdbdb; }
+ .content-view:backdrop {
+ background-color: #dbdbdb; }
+
.view.content-view.check {
icon-shadow: none;
-gtk-icon-source: -gtk-scaled(url("assets/checkbox-selectionmode.png"), url("assets/checkbox-selectionmode
2 png"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]