[gtk+] Adwaita: white search bar for the file chooser
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: white search bar for the file chooser
- Date: Tue, 15 Jul 2014 17:10:34 +0000 (UTC)
commit e201e6b230bd9d868c83c9ea4981464265f04e41
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Tue Jul 15 19:09:58 2014 +0200
Adwaita: white search bar for the file chooser
gtk/resources/theme/Adwaita/_common.scss | 17 ++++++++++++++---
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 7 +++++++
gtk/resources/theme/Adwaita/gtk-contained.css | 7 +++++++
3 files changed, 28 insertions(+), 3 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 4617f7f..64801dd 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -2114,9 +2114,20 @@ GtkCalendar {
}
}
-GtkFileChooserDialog .dialog-action-box {
- border-top: 1px solid $borders_color;
- &:backdrop { border-top-color: $backdrop_borders_color; }
+GtkFileChooserDialog {
+ .search-bar {
+ background-color: $base_color;
+ border-color: $bg_color;
+ box-shadow: none;
+ &:backdrop {
+ background-color: $backdrop_base_color;
+ border-color: $backdrop_bg_color;
+ }
+ }
+ .dialog-action-box {
+ border-top: 1px solid $borders_color;
+ &:backdrop { border-top-color: $backdrop_borders_color; }
+ }
}
/***********
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index e92daa3..7ddd9ce 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -2682,6 +2682,13 @@ GtkCalendar {
border-left-style: none;
border-bottom-left-radius: 7px; }
+GtkFileChooserDialog .search-bar {
+ background-color: #292929;
+ border-color: #393f3f;
+ box-shadow: none; }
+ GtkFileChooserDialog .search-bar:backdrop {
+ background-color: #2c2c2c;
+ border-color: #393f3f; }
GtkFileChooserDialog .dialog-action-box {
border-top: 1px solid #1c1f1f; }
GtkFileChooserDialog .dialog-action-box:backdrop {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 59ac51d..2b4503b 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -2674,6 +2674,13 @@ GtkCalendar {
border-left-style: none;
border-bottom-left-radius: 7px; }
+GtkFileChooserDialog .search-bar {
+ background-color: white;
+ border-color: #ededed;
+ box-shadow: none; }
+ GtkFileChooserDialog .search-bar:backdrop {
+ background-color: #fcfcfc;
+ border-color: #ededed; }
GtkFileChooserDialog .dialog-action-box {
border-top: 1px solid #a1a1a1; }
GtkFileChooserDialog .dialog-action-box:backdrop {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]