[gnome-builder] css: GtkBox → box css name transi tion



commit 8e95058dbdcf12027c79e7894f96dab7b62ba2e9
Author: Christian Hergert <christian hergert me>
Date:   Mon Nov 23 14:36:22 2015 -0800

    css: GtkBox → box css name transition

 data/theme/Adwaita-dark.css   |   10 ++++----
 data/theme/Adwaita-shared.css |   44 ++++++++++++++++++++--------------------
 data/theme/Adwaita.css        |   10 ++++----
 data/theme/shared.css         |   18 ++++++++--------
 4 files changed, 41 insertions(+), 41 deletions(-)
---
diff --git a/data/theme/Adwaita-dark.css b/data/theme/Adwaita-dark.css
index 426f2bf..0a1bcb7 100644
--- a/data/theme/Adwaita-dark.css
+++ b/data/theme/Adwaita-dark.css
@@ -56,24 +56,24 @@ GbAccelLabel .frame {
 }
 
 
-GtkBox.horizontal.search-bar {
+box.horizontal.search-bar {
   background: none;
   background-color: #303535;
   box-shadow: inset 0 2px 3px -1px #242828, 0 1px rgba(238, 238, 236, 0.1);
   border: none;
   border-bottom: 1px solid #1c1f1f;
 }
-GtkBox.horizontal.search-bar:backdrop {
+box.horizontal.search-bar:backdrop {
   border-color: #1f2222;
   background-color: #303535;
   box-shadow: none;
 }
 
 
-workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child {
+workbench > GtkOverlay > stack > box > stackswitcher.vertical:first-child {
   background: #313434;
 }
-workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child button {
+workbench > GtkOverlay > stack > box > stackswitcher.vertical:first-child button {
   padding: 8px 10px 8px 10px;
   color: #979a99;
   background: transparent;
@@ -81,6 +81,6 @@ workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child but
   border: none;
   border-radius: 0px;
 }
-workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child button:checked {
+workbench > GtkOverlay > stack > box > stackswitcher.vertical:first-child button:checked {
   color: #babdb6;
 }
diff --git a/data/theme/Adwaita-shared.css b/data/theme/Adwaita-shared.css
index 0404a90..80a8814 100644
--- a/data/theme/Adwaita-shared.css
+++ b/data/theme/Adwaita-shared.css
@@ -12,20 +12,20 @@ GbEditorTweakWidget GtkScrolledWindow {
 /*
  * View stack styling.
  */
-layoutstack > GtkBox.vertical > GtkBox.header.notebook {
+layoutstack > box.vertical > box.header.notebook {
   background-color: shade (@theme_bg_color, 0.95);
   border-bottom: 1px solid @borders;
 }
-layoutstack.focused > GtkBox.vertical > GtkBox.header.notebook,
-layoutstack.backdrop.focused > GtkBox.vetical > GtkBox.header.notebook {
+layoutstack.focused > box.vertical > box.header.notebook,
+layoutstack.backdrop.focused > box.vetical > box.header.notebook {
     background-color: shade (@theme_bg_color, 0.90);
 }
-layoutpane.focused > GtkBox.vertical > GtkBox.horizontal.notebook.header,
-layoutpane.focused > GtkBox.vertical > GtkBox.horizontal.notebook.header.backdrop {
+layoutpane.focused > box.vertical > box.horizontal.notebook.header,
+layoutpane.focused > box.vertical > box.horizontal.notebook.header.backdrop {
     background-color: shade (@theme_bg_color, 0.90);
 }
-layoutstack > GtkBox.vertical > GtkBox.header.notebook.horizontal > GtkEventBox > GtkBox.horizontal > button,
-layoutstack > GtkBox.vertical > GtkBox.header.notebook.horizontal > GtkEventBox > GtkBox.horizontal > GtkBox 
GtkBox > button {
+layoutstack > box.vertical > box.header.notebook.horizontal > GtkEventBox > box.horizontal > button,
+layoutstack > box.vertical > box.header.notebook.horizontal > GtkEventBox > box.horizontal > box > box > 
button {
   background-image: none;
   border-bottom: 1px solid transparent;
   border-radius: 0px;
@@ -35,7 +35,7 @@ layoutstack > GtkBox.vertical > GtkBox.header.notebook.horizontal > GtkEventBox
   opacity: 0.55;
   padding: 3px 8px 4px;
 }
-layoutstack > GtkBox.vertical > GtkBox.header.notebook.horizontal > GtkEventBox > GtkBox.horizontal > 
GtkBox.navigation > button {
+layoutstack > box.vertical > box.header.notebook.horizontal > GtkEventBox > box.horizontal > box.navigation 
button {
   background-image: none;
   border-bottom: 1px solid transparent;
   border-radius: 0px;
@@ -45,7 +45,7 @@ layoutstack > GtkBox.vertical > GtkBox.header.notebook.horizontal > GtkEventBox
   opacity: 0.55;
   padding: 6px 4px;
 }
-layoutpane > GtkBox.vertical > GtkBox.notebook.header > stackswitcher > button {
+layoutpane > box.vertical > box.notebook.header > stackswitcher > button {
   background-image: none;
   border-bottom: 1px solid transparent;
   border-radius: 0px;
@@ -55,27 +55,27 @@ layoutpane > GtkBox.vertical > GtkBox.notebook.header > stackswitcher > button {
   opacity: 0.55;
   padding: 3px 0px 3px;
 }
-layoutpane > GtkBox.vertical > GtkBox.horizontal.notebook.header > stackswitcher button:checked,
-layoutstack > GtkBox.vertical > GtkBox.header.notebook.horizontal > GtkEventBox > GtkBox.horizontal > GtkBox 
GtkBox > button:checked,
-layoutstack > GtkBox.vertical > GtkBox.header.notebook.horizontal > GtkEventBox > GtkBox.horizontal > 
button:checked {
+layoutpane > box.vertical > box.horizontal.notebook.header > stackswitcher button:checked,
+layoutstack > box.vertical > box.header.notebook.horizontal > GtkEventBox > box.horizontal > box > box > 
button:checked,
+layoutstack > box.vertical > box.header.notebook.horizontal > GtkEventBox > box.horizontal > button:checked {
   box-shadow: 0px 2px 0px @theme_fg_color;
   color: @theme_fg_color;
 }
-layoutpane > GtkBox.vertical > GtkBox.notebook.header.horizontal > stackswitcher > button:hover,
-layoutstack > GtkBox.vertical > GtkBox.header.notebook.horizontal > GtkEventBox > GtkBox.horizontal > 
GtkBox.navigation > button:hover,
-layoutstack > GtkBox.vertical > GtkBox.header.notebook.horizontal > GtkEventBox > GtkBox.horizontal > 
button:hover,
-layoutstack > GtkBox.vertical > GtkBox.header.notebook.horizontal > GtkEventBox > GtkBox.horizontal > GtkBox 
GtkBox > button:hover {
+layoutpane > box.vertical > box.notebook.header.horizontal > stackswitcher > button:hover,
+layoutstack > box.vertical > box.header.notebook.horizontal > GtkEventBox > box.horizontal > box.navigation 
button:hover,
+layoutstack > box.vertical > box.header.notebook.horizontal > GtkEventBox > box.horizontal > button:hover,
+layoutstack > box.vertical > box.header.notebook.horizontal > GtkEventBox > box.horizontal > box > box > 
button:hover {
   border: 1px solid transparent;
   box-shadow: 0px 2px 0px mix(@theme_fg_color, @theme_bg_color, 0.25);
 }
-layoutstack > GtkBox.vertical > GtkBox.header.notebook > GtkEventBox > GtkBox.horizontal > GtkBox.navigation 
button {
+layoutstack > box.vertical > box.header.notebook > GtkEventBox > box.horizontal > box.navigation > button {
   padding-left: 4px;
   padding-right: 4px;
 }
-layoutstack > GtkBox.vertical > GtkBox.header.notebook.horizontal > GtkEventBox > GtkBox.horizontal > 
button.document-button {
+layoutstack > box.vertical > box.header.notebook.horizontal > GtkEventBox > box.horizontal > 
button.document-button {
   padding: 0px;
 }
-layoutstack > GtkBox.vertical > GtkBox.header.notebook.horizontal > GtkEventBox > GtkBox.horizontal > 
button.document-button > GtkBox > GtkArrow {
+layoutstack > box.vertical > box.header.notebook.horizontal > GtkEventBox > box.horizontal > 
button.document-button > box > GtkArrow {
   opacity: 0.35;
   padding-right: 0px;
   margin-right: 0px;
@@ -91,10 +91,10 @@ GbNewProjectDialog button.linked-on-right button {
 /*
  * layout pane header styling.
  */
-layoutpane GtkBox.header.notebook {
+layoutpane box.header.notebook {
   border-bottom: 1px solid @borders;
 }
-layoutpane:not(.focused) GtkBox.header.notebook
+layoutpane:not(.focused) box.header.notebook
 {
   background-color: shade (@theme_bg_color, 0.95);
 }
@@ -110,7 +110,7 @@ layoutpane stackswitcher button {
 layoutpane stackswitcher button:checked {
   opacity: 1.0;
 }
-layoutpane layoutstack GtkBox.header.notebook GtkSeparator.vertical {
+layoutpane layoutstack box.header.notebook GtkSeparator.vertical {
   opacity: 0.75;
 }
 
diff --git a/data/theme/Adwaita.css b/data/theme/Adwaita.css
index c8278de..a06d9dc 100644
--- a/data/theme/Adwaita.css
+++ b/data/theme/Adwaita.css
@@ -55,24 +55,24 @@ GbAccelLabel .frame {
 }
 
 
-GtkBox.horizontal.search-bar {
+box.horizontal.search-bar {
   background: none;
   background-color: #d6d6d6;
   box-shadow: inset 0 2px 3px -1px #b6b6b6, 0 1px white;
   border: none;
   border-bottom: 1px solid #a1a1a1;
 }
-GtkBox.horizontal.search-bar:backdrop {
+box.horizontal.search-bar:backdrop {
   border-color: darkgrey;
   background-color: #d5d5d5;
   box-shadow: none;
 }
 
 
-workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child {
+workbench > GtkOverlay > stack > box > stackswitcher.vertical:first-child {
   background: #f4f4f4;
 }
-workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child button {
+workbench > GtkOverlay > stack > box > stackswitcher.vertical:first-child button {
   padding: 8px 10px 8px 10px;
   color: #bebebe;
   background: transparent;
@@ -80,6 +80,6 @@ workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child but
   border: none;
   border-radius: 0px;
 }
-workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child button:checked {
+workbench > GtkOverlay > stack > box > stackswitcher.vertical:first-child button:checked {
   color: #2e3436;
 }
diff --git a/data/theme/shared.css b/data/theme/shared.css
index 97dbd3f..775250c 100644
--- a/data/theme/shared.css
+++ b/data/theme/shared.css
@@ -56,12 +56,12 @@ GdTaggedEntry {
 /*
  * Command Bar styling.
  */
-GtkBox.gb-command-bar-box {
+box.gb-command-bar-box {
   border: none;
   background-image: linear-gradient(to bottom, #2e3436, #555753 10%);
   box-shadow: inset 0px 3px 6px #2e3436;
 }
-GtkBox.gb-command-bar-box label {
+box.gb-command-bar-box label {
   color: #eeeeec;
 }
 entry.gb-command-bar-entry {
@@ -101,7 +101,7 @@ greeter .frame {
     border-bottom: none;
 }
 /* remove viewport frame */
-greeter > GtkBox.vertical > scrolledwindow > viewport.frame {
+greeter > box.vertical > scrolledwindow > viewport.frame {
   border: none;
 }
 
@@ -146,7 +146,7 @@ GbEditorFrame textview {
 
 /* Workbench perspective selection bar */
 /*
-IdeWorkbench > GtkStack > GtkBox.horizontal > GtkStackSwitcher > button {
+IdeWorkbench > GtkStack > box.horizontal > GtkStackSwitcher > button {
   background-image: none;
   background-color: transparent;
   border: none;
@@ -154,15 +154,15 @@ IdeWorkbench > GtkStack > GtkBox.horizontal > GtkStackSwitcher > button {
   box-shadow: none;
   border-radius: 0px;
 }
-IdeWorkbench > GtkStack > GtkBox.horizontal > GtkStackSwitcher > button:active:hover,
-IdeWorkbench > GtkStack > GtkBox.horizontal > GtkStackSwitcher > button:active:checked,
-IdeWorkbench > GtkStack > GtkBox.horizontal > GtkStackSwitcher > button:active {
+IdeWorkbench > GtkStack > box.horizontal > GtkStackSwitcher > button:active:hover,
+IdeWorkbench > GtkStack > box.horizontal > GtkStackSwitcher > button:active:checked,
+IdeWorkbench > GtkStack > box.horizontal > GtkStackSwitcher > button:active {
   background-color: mix(@theme_bg_color, @borders, 0.75);
 }
-IdeWorkbench > GtkStack > GtkBox.horizontal > GtkStackSwitcher > button:checked {
+IdeWorkbench > GtkStack > box.horizontal > GtkStackSwitcher > button:checked {
   background-color: mix(@theme_bg_color, @borders, 0.5);
 }
-IdeWorkbench > GtkStack > GtkBox.horizontal > GtkStackSwitcher > button:hover {
+IdeWorkbench > GtkStack > box.horizontal > GtkStackSwitcher > button:hover {
   background-color: mix(@theme_bg_color, @borders, 0.25);
 }
 */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]