[gnome-builder] css: adjust commandbar styling to only stay dark on entry box
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] css: adjust commandbar styling to only stay dark on entry box
- Date: Fri, 19 Dec 2014 06:31:59 +0000 (UTC)
commit 5ad5c08076f829aa9e4b6a2db4dab6ec71b2e5cf
Author: Christian Hergert <christian hergert me>
Date: Thu Dec 18 22:31:53 2014 -0800
css: adjust commandbar styling to only stay dark on entry box
src/resources/css/builder.Adwaita.css | 6 +++---
src/resources/ui/gb-command-bar.ui | 6 ++++++
2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/src/resources/css/builder.Adwaita.css b/src/resources/css/builder.Adwaita.css
index 311519c..44742c6 100644
--- a/src/resources/css/builder.Adwaita.css
+++ b/src/resources/css/builder.Adwaita.css
@@ -116,17 +116,17 @@ GbPreferencesPageLanguage GtkScrolledWindow {
/*
* Command Bar styling.
*/
-GbCommandBar GtkBox {
+GtkBox.gb-command-bar-box {
border: none;
background-image: linear-gradient(to bottom, #2e3436, #555753 10%);
box-shadow: inset 0px 3px 6px #2e3436;
}
-GbCommandBar GtkLabel {
+GtkBox.gb-command-bar-box GtkLabel {
color: #eeeeec;
}
-GbCommandBar GtkEntry {
+GtkEntry.gb-command-bar-entry {
font-family: Monospace;
background-image: none;
padding: 6px 6px 6px 6px;
diff --git a/src/resources/ui/gb-command-bar.ui b/src/resources/ui/gb-command-bar.ui
index e52362b..0419db4 100644
--- a/src/resources/ui/gb-command-bar.ui
+++ b/src/resources/ui/gb-command-bar.ui
@@ -55,6 +55,9 @@
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="spacing">3</property>
+ <style>
+ <class name="gb-command-bar-box"/>
+ </style>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
@@ -68,6 +71,9 @@
<property name="hexpand">True</property>
<property name="valign">end</property>
<property name="has_frame">False</property>
+ <style>
+ <class name="gb-command-bar-entry"/>
+ </style>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]