[gnome-themes-standard/wip/css] all: adapt to GTK wip/css changes
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/wip/css] all: adapt to GTK wip/css changes
- Date: Tue, 17 Jan 2012 19:12:01 +0000 (UTC)
commit e4e0345676d0b60c084e3a64a06e45a0e33c7b4a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jan 17 14:10:49 2012 -0500
all: adapt to GTK wip/css changes
We need to specify the unit of measure for border widths and radiuses.
themes/Adwaita/gtk-3.0/gnome-applications.css | 74 +++++-----
.../Adwaita/gtk-3.0/gtk-widgets-borders-dark.css | 44 +++---
themes/Adwaita/gtk-3.0/gtk-widgets-borders.css | 44 +++---
.../Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css | 4 +-
themes/Adwaita/gtk-3.0/gtk-widgets.css | 144 ++++++++++----------
5 files changed, 155 insertions(+), 155 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index da67003..d3def4e 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -41,7 +41,7 @@ TerminalScreen {
/* nautilus */
.nautilus-canvas-item {
- border-radius: 5;
+ border-radius: 5px;
}
.nautilus-desktop.nautilus-canvas-item {
@@ -102,7 +102,7 @@ NautilusSearchBar .entry:focus {
border-image: none;
border-color: darker(@nautilus_cluebar_color);
border-style: solid;
- border-width: 1;
+ border-width: 1px;
padding-left: 4;
padding-right: 4;
@@ -115,7 +115,7 @@ NautilusSearchBar .entry:focus {
/*NautilusPlacesSidebar .cell:selected { FUNGE, ci vuole una border image qui
- border-radius: 0 100 100 0;
+ border-radius: 0 100 1px00 0;
box-shadow: 0 1 inset alpha(black, 0.2), 0 -1 inset alpha(white, 0.5);
}*/
@@ -131,7 +131,7 @@ NautilusFloatingBar {
border-color: darker(@info_bg_color);
border-radius: 0;
- border-width: 1;
+ border-width: 1px;
border-style: solid;
}
@@ -152,21 +152,21 @@ NautilusFloatingBar .button {
}
NautilusWindow .sidebar .frame {
- border-width: 1 0 0 0;
+ border-width: 1px 0 0 0;
border-style: solid;
border-color: @borders;
border-radius: 0;
}
NautilusWindow > GtkGrid > .pane-separator {
- border-width: 1 1 0 0;
+ border-width: 1px 1px 0 0;
border-style: solid;
border-color: @borders;
}
NautilusWindow > GtkGrid > .pane-separator,
NautilusWindow > GtkGrid > .pane-separator:hover {
- border-width: 1 1 0 0;
+ border-width: 1px 1px 0 0;
border-style: solid;
border-color: @borders;
background-color: @sidebar_bg;
@@ -175,7 +175,7 @@ NautilusWindow > GtkGrid > .pane-separator:hover {
NautilusWindow > GtkGrid > .pane-separator:backdrop,
NautilusWindow > GtkGrid > .pane-separator:hover:backdrop {
- border-width: 1 1 0 0;
+ border-width: 1px 1px 0 0;
border-style: solid;
border-color: @unfocused_borders;
background-color: @sidebar_bg_unfocused;
@@ -186,7 +186,7 @@ NautilusWindow > GtkGrid > .pane-separator:hover:backdrop {
GeditWindow .pane-separator,
GeditWindow .pane-separator:hover {
- border-width: 0 1 1 1;
+ border-width: 0 1px 1px 1px;
border-style: solid;
border-color: @borders;
background-color: shade(@theme_bg_color, 0.95);
@@ -204,7 +204,7 @@ GeditPanel .toolbar {
GeditWindow .sidebar {
background-color: @theme_base_color;
- border-width: 0 0 1 0;
+ border-width: 0 0 1px 0;
border-style: solid;
border-color: @borders;
@@ -212,16 +212,16 @@ GeditWindow .sidebar {
GeditPanel .notebook {
padding: 2;
- border-width: 1 0;
+ border-width: 1px 0;
}
GeditWindow .notebook {
- border-width: 1 0 1 0;
+ border-width: 1px 0 1px 0;
}
GeditStatusbar {
padding: 1 0 0 0;
- border-width: 1 0 0 0;
+ border-width: 1px 0 0 0;
border-style: solid;
border-color: @borders;
}
@@ -233,9 +233,9 @@ GeditStatusbar {
}
.documents-dropdown .frame {
- border-width: 0 1 1 1;
+ border-width: 0 1px 1px 1px;
border-style: solid;
- border-radius: 0 0 5 5;
+ border-radius: 0 0 5px 5px;
}
.documents-dropdown .radio,
@@ -267,11 +267,11 @@ GeditStatusbar {
.documents-load-more.button {
border-image-width: 0 2 2 2;
- border-width: 0 1 1 1;
+ border-width: 0 1px 1px 1px;
}
.documents-scrolledwin.frame {
- border-width: 1 0;
+ border-width: 1px 0;
border-radius: 0;
}
@@ -284,7 +284,7 @@ GeditStatusbar {
from(@documents_selection_toolbar_a),
to(@documents_selection_toolbar_b));
color: @theme_base_color;
- border-width: 1 0 0 0;
+ border-width: 1px 0 0 0;
border-color: @documents_selection_toolbar_border;
border-style: solid;
}
@@ -302,7 +302,7 @@ GeditStatusbar {
border-color: @documents_selection_toolbar_border;
border-image: none;
border-style: solid;
- border-width: 1;
+ border-width: 1px;
color: @theme_base_color;
@@ -326,7 +326,7 @@ GeditStatusbar {
border-color: @documents_selection_toolbar_border;
border-image: none;
border-style: solid;
- border-width: 1;
+ border-width: 1px;
}
.documents-selection-mode.toolbar .button *:hover {
@@ -335,14 +335,14 @@ GeditStatusbar {
.documents-icon-bg {
background-color: @documents_emblem_bg;
- border-radius: 4;
+ border-radius: 4px;
color: @theme_base_color;
}
.documents-collection-icon {
background-color: @documents_collection_bg;
- border-radius: 8;
+ border-radius: 8px;
}
.documents-osd {
@@ -353,7 +353,7 @@ GeditStatusbar {
.documents-osd .toolbar {
padding: 16;
border-style: none;
- border-radius: 5;
+ border-radius: 5px;
border-width: 0;
background-image: -gtk-gradient(linear, left top, left bottom,
@@ -372,7 +372,7 @@ GeditStatusbar {
from(alpha(@documents_osd_button_a, 0.16)),
color-stop(0.68, alpha(@documents_osd_button_b, 0.05)),
to(alpha(@documents_osd_button_a, 0.12)));
- border-width: 1 0;
+ border-width: 1px 0;
border-style: solid;
border-image: none;
border-color: alpha(@documents_osd_button_a, 0.50);
@@ -392,20 +392,20 @@ GeditStatusbar {
}
.documents-osd .toolbar .button:nth-child(first) {
- border-radius: 4 0 0 4;
- border-left-width: 1;
+ border-radius: 4px 0 0 4px;
+ border-left-width: 1px;
box-shadow: -1 0 inset @documents_osd_button_inset;
}
.documents-osd .toolbar .button:nth-child(last) {
box-shadow: none;
- border-radius: 0 4 4 0;
- border-right-width: 1;
+ border-radius: 0 4px 4px 0;
+ border-right-width: 1px;
}
.documents-osd .toolbar .button:only-child {
- border-width: 1;
- border-radius: 4;
+ border-width: 1px;
+ border-radius: 4px;
border-style: solid;
}
@@ -441,7 +441,7 @@ GeditStatusbar {
background-color: @documents_emblem_bg;
color: @theme_base_color;
- border-radius: 4;
+ border-radius: 4px;
border-width: 0;
margin: 2;
@@ -482,7 +482,7 @@ EphyToolbar .entry,
EphyToolbar .entry:focus,
EphyToolbar .entry:backdrop {
border-image-width: 3 0 4 3;
- border-width: 1 0 2 1;
+ border-width: 1px 0 2px 1px;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
padding-left: 4;
@@ -496,7 +496,7 @@ EphyToolbar .location-entry .button {
EphyToolbar .location-entry .button:last-child {
border-image: url("borders/generic-border.svg") 3 3 4 3 / 3 3 4 0 stretch;
- border-width: 1 1 2 0;
+ border-width: 1px 1px 2px 0;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
padding-left: 4;
@@ -535,12 +535,12 @@ EphyToolbar .location-entry .button:hover:backdrop {
background-color: @theme_unfocused_base_color;
box-shadow: none;
border-image: url("borders/generic-border-unfocused.svg") 3 3 4 3 / 3 3 4 0 stretch;
- border-radius: 3;
- border-width: 1 1 2 0;
+ border-radius: 3px;
+ border-width: 1px 1px 2px 0;
}
EphyNotebook.notebook {
- border-width: 1 0 1 0;
+ border-width: 1px 0 1px 0;
}
EphyToolbar.toolbar .button {
@@ -554,6 +554,6 @@ EphyToolbar.toolbar .button {
border-image: none;
border-color: @menu_bg_color;
- border-radius: 4 4 0 0;
+ border-radius: 4px 4px 0 0;
}
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 0b63d48..e89b226 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
@@ -11,8 +11,8 @@ GtkComboBox.combobox-entry .button,
.trough row,
GtkSwitch.trough {
border-image: url("borders/generic-border-dark.svg") 3 3 4 3 / 3 3 4 3 stretch;
- border-radius: 3;
- border-width: 1 1 2 1;
+ border-radius: 3px;
+ border-width: 1px 1px 2px 1px;
}
/* focused element borders */
@@ -22,23 +22,23 @@ GtkComboBox.combobox-entry .entry:focus,
.button.default:active,
GtkSwitch.trough:active {
border-image: url("borders/generic-border-focused-dark.svg") 3 3 4 3 / 3 3 4 3 stretch;
- border-radius: 3;
- border-width: 1 1 2 1;
+ border-radius: 3px;
+ border-width: 1px 1px 2px 1px;
}
/* generic button borders */
.button {
border-image: url("borders/button-border-dark.svg") 3 3 4 3 / 3 3 4 3 stretch;
- border-radius: 3;
- border-width: 1 1 2 1;
+ border-radius: 3px;
+ border-width: 1px 1px 2px 1px;
}
/* focused button borders */
.button:focus,
.button.default {
border-image: url("borders/button-border-focused-dark.svg") 3 3 4 3 / 3 3 4 3 stretch;
- border-radius: 3;
- border-width: 1 1 2 1;
+ border-radius: 3px;
+ border-width: 1px 1px 2px 1px;
}
/* primary toolbar - generic element borders */
@@ -59,8 +59,8 @@ GtkSwitch.trough:active {
.primary-toolbar GtkComboBox .button:active,
.primary-toolbar GtkComboBox .button:insensitive {
border-image: url("borders/primary-toolbar-generic-border-dark.svg") 4 / 4 stretch;
- border-radius: 3;
- border-width: 2;
+ border-radius: 3px;
+ border-width: 2px;
border-style: solid;
border-color: transparent;
}
@@ -77,8 +77,8 @@ GtkSwitch.trough:active {
.inline-toolbar.toolbar .button.default:active,
.primary-toolbar GtkComboBox .button:active:focus {
border-image: url("borders/primary-toolbar-generic-border-focused-dark.svg") 4 / 4 stretch;
- border-radius: 3;
- border-width: 2;
+ border-radius: 3px;
+ border-width: 2px;
border-style: solid;
border-color: transparent;
}
@@ -89,8 +89,8 @@ GtkSwitch.trough:active {
.inline-toolbar.toolbar .button,
.primary-toolbar GtkComboBox .button {
border-image: url("borders/primary-toolbar-button-border-dark.svg") 4 / 4 stretch;
- border-radius: 3;
- border-width: 2;
+ border-radius: 3px;
+ border-width: 2px;
border-style: solid;
border-color: transparent;
}
@@ -104,8 +104,8 @@ GtkSwitch.trough:active {
.inline-toolbar.toolbar .button.default,
.primary-toolbar GtkComboBox .button:focus {
border-image: url("borders/primary-toolbar-button-border-focused-dark.svg") 4 / 4 stretch;
- border-radius: 3;
- border-width: 2;
+ border-radius: 3px;
+ border-width: 2px;
border-style: solid;
border-color: transparent;
}
@@ -125,7 +125,7 @@ column-header .button:active:focus {
left top, left bottom,
from (@borders),
to (@theme_base_color)) 0 1 0 0;
- border-width: 0 1 0 0;
+ border-width: 0 1px 0 0;
border-radius: 0;
}
@@ -135,7 +135,7 @@ column-header .button:backdrop {
left top, left bottom,
from (@unfocused_borders),
to (@theme_unfocused_base_color)) 0 1 0 0;
- border-width: 0 1 0 0;
+ border-width: 0 1px 0 0;
border-radius: 0;
}
@@ -164,8 +164,8 @@ GtkComboBox *:backdrop,
GtkSwitch.trough:backdrop,
.trough:backdrop {
border-image: url("borders/generic-border-unfocused-dark.svg") 3 3 4 3 / 3 3 4 3 stretch;
- border-radius: 3;
- border-width: 1 1 2 1;
+ border-radius: 3px;
+ border-width: 1px 1px 2px 1px;
}
/* unfocused window: primary toolbar generic element borders */
@@ -175,8 +175,8 @@ GtkSwitch.trough:backdrop,
.primary-toolbar .entry:backdrop,
.inline-toolbar.toolbar .button:backdrop {
border-image: url("borders/primary-toolbar-generic-border-unfocused-dark.svg") 4 / 4 stretch;
- border-radius: 3;
- border-width: 2;
+ border-radius: 3px;
+ border-width: 2px;
border-style: solid;
border-color: transparent;
}
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
index 4cc6e1c..d4b4327 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
@@ -11,8 +11,8 @@ GtkComboBox.combobox-entry .button,
.trough row,
GtkSwitch.trough {
border-image: url("borders/generic-border.svg") 3 3 4 3 / 3 3 4 3 stretch;
- border-radius: 3;
- border-width: 1 1 2 1;
+ border-radius: 3px;
+ border-width: 1px 1px 2px 1px;
}
/* focused element borders */
@@ -22,23 +22,23 @@ GtkComboBox.combobox-entry .entry:focus,
.button.default:active,
GtkSwitch.trough:active {
border-image: url("borders/generic-border-focused.svg") 3 3 4 3 / 3 3 4 3 stretch;
- border-radius: 3;
- border-width: 1 1 2 1;
+ border-radius: 3px;
+ border-width: 1px 1px 2px 1px;
}
/* generic button borders */
.button {
border-image: url("borders/button-border.svg") 3 3 4 3 / 3 3 4 3 stretch;
- border-radius: 3;
- border-width: 1 1 2 1;
+ border-radius: 3px;
+ border-width: 1px 1px 2px 1px;
}
/* focused button borders */
.button:focus,
.button.default {
border-image: url("borders/button-border-focused.svg") 3 3 4 3 / 3 3 4 3 stretch;
- border-radius: 3;
- border-width: 1 1 2 1;
+ border-radius: 3px;
+ border-width: 1px 1px 2px 1px;
}
/* primary toolbar - generic element borders */
@@ -59,8 +59,8 @@ GtkSwitch.trough:active {
.primary-toolbar GtkComboBox .button:active,
.primary-toolbar GtkComboBox .button:insensitive {
border-image: url("borders/primary-toolbar-generic-border.svg") 4 / 4 stretch;
- border-radius: 3;
- border-width: 2;
+ border-radius: 3px;
+ border-width: 2px;
border-style: solid;
border-color: transparent;
}
@@ -77,8 +77,8 @@ GtkSwitch.trough:active {
.inline-toolbar.toolbar .button.default:active,
.primary-toolbar GtkComboBox .button:active:focus {
border-image: url("borders/primary-toolbar-generic-border-focused.svg") 4 / 4 stretch;
- border-radius: 3;
- border-width: 2;
+ border-radius: 3px;
+ border-width: 2px;
border-style: solid;
border-color: transparent;
}
@@ -89,8 +89,8 @@ GtkSwitch.trough:active {
.inline-toolbar.toolbar .button,
.primary-toolbar GtkComboBox .button {
border-image: url("borders/primary-toolbar-button-border.svg") 4 / 4 stretch;
- border-radius: 3;
- border-width: 2;
+ border-radius: 3px;
+ border-width: 2px;
border-style: solid;
border-color: transparent;
}
@@ -104,8 +104,8 @@ GtkSwitch.trough:active {
.inline-toolbar.toolbar .button.default,
.primary-toolbar GtkComboBox .button:focus {
border-image: url("borders/primary-toolbar-button-border-focused.svg") 4 / 4 stretch;
- border-radius: 3;
- border-width: 2;
+ border-radius: 3px;
+ border-width: 2px;
border-style: solid;
border-color: transparent;
}
@@ -125,7 +125,7 @@ column-header .button:active:focus {
left top, left bottom,
from (@borders),
to (@theme_base_color)) 0 1 0 0;
- border-width: 0 1 0 0;
+ border-width: 0 1px 0 0;
border-radius: 0;
}
@@ -135,7 +135,7 @@ column-header .button:backdrop {
left top, left bottom,
from (@unfocused_borders),
to (@theme_unfocused_base_color)) 0 1 0 0;
- border-width: 0 1 0 0;
+ border-width: 0 1px 0 0;
border-radius: 0;
}
@@ -164,8 +164,8 @@ GtkComboBox *:backdrop,
GtkSwitch.trough:backdrop,
.trough:backdrop {
border-image: url("borders/generic-border-unfocused.svg") 3 3 4 3 / 3 3 4 3 stretch;
- border-radius: 3;
- border-width: 1 1 2 1;
+ border-radius: 3px;
+ border-width: 1px 1px 2px 1px;
}
/* unfocused window: primary toolbar generic element borders */
@@ -175,8 +175,8 @@ GtkSwitch.trough:backdrop,
.primary-toolbar .entry:backdrop,
.inline-toolbar.toolbar .button:backdrop {
border-image: url("borders/primary-toolbar-generic-border-unfocused.svg") 4 / 4 stretch;
- border-radius: 3;
- border-width: 2;
+ border-radius: 3px;
+ border-width: 2px;
border-style: solid;
border-color: transparent;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
index ba431f1..08273bf 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
@@ -3,8 +3,8 @@ GtkIconView.view.cell:selected:focus {
background-color: alpha(@theme_base_color, 0.0);
border-style: solid;
- border-radius: 10;
- border-width: 3;
+ border-radius: 10px;
+ border-width: 3px;
border-color: #d3d7cf;
/* FIXME: this probably needs to be better;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 8d47450..3b2e76e 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -105,7 +105,7 @@ GtkWindow:backdrop {
.tooltip {
padding: 4;
border-style: none;
- border-radius: 5;
+ border-radius: 5px;
background-color: alpha(@theme_tooltip_bg_color, 0.90);
color: @theme_tooltip_fg_color;
@@ -130,8 +130,8 @@ GtkWindow:backdrop {
border-color: @theme_selected_bg_color;
border-style: solid;
- border-width: 1;
- border-radius: 2;
+ border-width: 1px;
+ border-radius: 2px;
}
GtkStatusbar {
@@ -141,7 +141,7 @@ GtkStatusbar {
}
.dnd {
- border-width: 1;
+ border-width: 1px;
border-style: solid;
border-color: @theme_selected_bg_color;
border-radius: 0;
@@ -284,12 +284,12 @@ GtkTreeView .separator:backdrop,
}
.spinbutton .button:first-child {
- border-radius: 2 0 0 2;
+ border-radius: 2px 0 0 2px;
box-shadow: none;
}
.spinbutton .button:last-child {
- border-radius: 0 2 2 0;
+ border-radius: 0 2px 2px 0;
}
/* Add back the glowy effect from the entry covered by the pushed button background*/
@@ -325,8 +325,8 @@ GtkTreeView .separator:backdrop,
color-stop (0.75, @progressbar_background_b),
to (shade(@progressbar_background_a, 0.85)));
- border-radius: 3;
- border-width: 1;
+ border-radius: 3px;
+ border-width: 1px;
border-style: solid;
border-color: @progressbar_border;
box-shadow: 1 1 alpha(white, 0.2) inset, -1 -1 alpha(white, 0.1) inset;
@@ -419,7 +419,7 @@ GtkScale.trough,
GtkScale.trough.highlight,
GtkScale.trough.vertical,
GtkScale.trough:backdrop {
- border-width: 1;
+ border-width: 1px;
border-image: none;
border-style: solid;
}
@@ -492,8 +492,8 @@ GtkScale.trough:insensitive:backdrop {
GtkScrolledWindow.frame {
border-style: solid;
border-color: @borders;
- border-width: 1;
- border-radius: 2;
+ border-width: 1px;
+ border-radius: 2px;
padding: 0;
}
@@ -543,7 +543,7 @@ GtkComboBox.combobox-entry .button {
* we set in gtk-widget-borders.css to zero.
*/
border-style: solid;
- border-width: 2;
+ border-width: 2px;
border-color: transparent;
text-shadow: @primary_toolbar_button_text_shadow 0 1;
@@ -745,10 +745,10 @@ GtkComboBox.combobox-entry .button {
.linked .button:focus:only-child,
.linked .button:focus:active:only-child,
.linked .button:insensitive:only-child {
- border-right-width: 1;
- border-left-width: 1;
+ border-right-width: 1px;
+ border-left-width: 1px;
border-image-width: 3 3 4 3;
- border-radius: 3;
+ border-radius: 3px;
}
/* Linked buttons on primary toolbars */
@@ -809,7 +809,7 @@ GtkComboBox.combobox-entry .button {
.inline-toolbar.toolbar GtkToolButton:first-child .button:focus:active,
.inline-toolbar.toolbar GtkToolButton:first-child .button:insensitive,
.inline-toolbar.toolbar GtkToolButton:first-child .button:backdrop {
- border-left-width: 2;
+ border-left-width: 2px;
border-right-width: 0;
border-image-width: 4 0 4 4;
border-bottom-right-radius: 0;
@@ -842,7 +842,7 @@ GtkComboBox.combobox-entry .button {
.inline-toolbar.toolbar GtkToolButton:last-child .button:insensitive,
.inline-toolbar.toolbar GtkToolButton:last-child .button:backdrop {
border-left-width: 0;
- border-right-width: 2;
+ border-right-width: 2px;
border-image-width: 4 4 4 0;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
@@ -861,10 +861,10 @@ GtkComboBox.combobox-entry .button {
.inline-toolbar.toolbar GtkToolButton:only-child .button:focus:active,
.inline-toolbar.toolbar GtkToolButton:only-child .button:insensitive,
.inline-toolbar.toolbar GtkToolButton:only-child .button:backdrop {
- border-right-width: 2;
- border-left-width: 2;
+ border-right-width: 2px;
+ border-left-width: 2px;
border-image-width: 4;
- border-radius: 3;
+ border-radius: 3px;
}
GtkLinkButton * {
@@ -880,7 +880,7 @@ GtkLinkButton * {
border-color: @borders;
border-style: solid;
- border-width: 1;
+ border-width: 1px;
background-color: @theme_base_color;
@@ -963,26 +963,26 @@ GtkLinkButton * {
}
.notebook tab.top {
- padding: 4 2 0;
+ padding: 4px 2px 0;
}
.notebook tab.top:active {
- padding: 7 2 0;
+ padding: 7px 2px 0;
}
.notebook tab.bottom {
- padding: 0 2 4;
+ padding: 0 2px 4px;
}
.notebook tab.bottom:active {
- padding: 0 2 7;
+ padding: 0 2px 7px;
}
.notebook tab.left,
.notebook tab.right {
background-image: none;
background-color: @theme_bg_color;
- padding: 3;
+ padding: 3px;
}
.notebook tab.left:active,
@@ -993,26 +993,26 @@ GtkLinkButton * {
}
.notebook tab.left {
- border-radius: 3 0 0 3;
+ border-radius: 3px 0 0 3px;
}
.notebook tab.left:active {
- padding: 3 3 3 5;
- border-width: 1;
+ padding: 3px 3px 3px 5px;
+ border-width: 1px;
}
.notebook tab.right {
- border-radius: 0 3 3 0;
+ border-radius: 0 3px 3px 0;
}
.notebook tab.right:active {
- padding: 3 5 3 3;
+ padding: 3px 5px 3px 3px;
}
.notebook tab .button,
.notebook tab .button:hover,
.notebook tab .button:hover:active {
- padding: 1;
+ padding: 1px;
border-style: none;
border-image: none;
@@ -1069,28 +1069,28 @@ GtkComboBox.combobox-entry .button:last-child {
GtkComboBox.combobox-entry .entry:first-child,
GtkComboBox.combobox-entry .button:first-child {
border-image-width: 3 0 4 3;
- border-radius: 3 0 0 3;
+ border-radius: 3px 0 0 3px;
border-right-width: 0;
}
GtkComboBox.combobox-entry .entry:last-child,
GtkComboBox.combobox-entry .button:last-child {
border-image-width: 3 3 4 0;
- border-radius: 0 3 3 0;
+ border-radius: 0 3px 3px 0;
border-left-width: 0;
}
.primary-toolbar GtkComboBox.combobox-entry .entry:first-child,
.primary-toolbar GtkComboBox.combobox-entry .button:first-child {
border-image-width: 4 0 4 4;
- border-radius: 3 0 0 3;
+ border-radius: 3px 0 0 3px;
border-right-width: 0;
}
.primary-toolbar GtkComboBox.combobox-entry .entry:last-child,
.primary-toolbar GtkComboBox.combobox-entry .button:last-child {
border-image-width: 4 4 4 0;
- border-radius: 0 3 3 0;
+ border-radius: 0 3px 3px 0;
border-left-width: 0;
}
@@ -1226,7 +1226,7 @@ GtkComboBox .button *:hover {
border-style: solid;
border-image: none;
border-color: transparent;
- border-width: 3;
+ border-width: 3px;
}
.scrollbar.trough:backdrop {
@@ -1249,11 +1249,11 @@ GtkComboBox .button *:hover {
.scrollbar.slider {
background-image: none;
background-color: @scrollbar_slider;
- border-radius: 20;
+ border-radius: 20px;
border-style: solid;
border-image: none;
border-color: transparent;
- border-width: 3;
+ border-width: 3px;
}
.scrollbar.slider:hover {
@@ -1263,7 +1263,7 @@ GtkComboBox .button *:hover {
border-style: solid;
border-image: none;
border-color: transparent;
- border-width: 3;
+ border-width: 3px;
}
.scrollbar.slider:prelight:active {
@@ -1272,7 +1272,7 @@ GtkComboBox .button *:hover {
border-style: solid;
border-image: none;
border-color: transparent;
- border-width: 3;
+ border-width: 3px;
}
.scrollbar.slider:insensitive {
@@ -1280,7 +1280,7 @@ GtkComboBox .button *:hover {
border-style: solid;
border-image: none;
border-color: transparent;
- border-width: 3;
+ border-width: 3px;
}
.scrollbar.slider:backdrop {
@@ -1288,7 +1288,7 @@ GtkComboBox .button *:hover {
border-style: solid;
border-image: none;
border-color: transparent;
- border-width: 3;
+ border-width: 3px;
}
/*********
@@ -1303,7 +1303,7 @@ GtkTreeMenu .menuitem {
padding: 2;
border-style: solid;
- border-width: 1 0;
+ border-width: 1px 0;
border-color: @menu_combobox_border;
}
@@ -1363,7 +1363,7 @@ GtkTreeMenu .menuitem * {
background-image: none;
background-color: @menu_bg_color;
- border-radius: 4 4 0 0;
+ border-radius: 4px 4px 0 0;
}
.menubar .menuitem *:hover {
@@ -1479,9 +1479,9 @@ GtkTreeMenu .menuitem * {
background-image: none;
background-color: @menu_bg_color;
- border-radius: 5 5 0 0;
+ border-radius: 5px 5px 0 0;
border-image: none;
- border-width: 1 1 0 1;
+ border-width: 1px 1px 0 1px;
border-color: shade(@borders, 1.30);
border-style: solid;
}
@@ -1512,7 +1512,7 @@ GtkCheckButton:selected:focus {
.toolbar {
border-style: none;
border-color: darker (@theme_bg_color);
-/* border-width: 1 0 1 0; */
+/* border-width: 1 0 1px 0; */
padding: 4;
}
@@ -1546,7 +1546,7 @@ GtkCheckButton:selected:focus {
*/
.primary-toolbar .toolbar,
.primary-toolbar.toolbar {
- border-width: 1 0 1 0;
+ border-width: 1px 0 1px 0;
border-radius: 0;
border-style: solid;
border-top-color: @toolbar_border_top;
@@ -1579,8 +1579,8 @@ GtkCheckButton:selected:focus {
from (@trough_bg_color_a),
to (@trough_bg_color_b));
- border-width: 1;
- border-radius: 2;
+ border-width: 1px;
+ border-radius: 2px;
border-style: solid;
border-color: shade(@internal_element_color, 1.10);
border-image: none;
@@ -1595,7 +1595,7 @@ GtkCheckButton:selected:focus {
*******************/
.inline-toolbar.toolbar {
- border-width: 1;
+ border-width: 1px;
border-radius: 0;
border-style: solid;
@@ -1605,8 +1605,8 @@ GtkCheckButton:selected:focus {
}
.inline-toolbar.toolbar:last-child {
- border-width: 0 1 1 1;
- border-radius: 0 0 3 3;
+ border-width: 0 1px 1px 1px;
+ border-radius: 0 0 3px 3px;
}
/***********
@@ -1625,9 +1625,9 @@ GtkCheckButton:selected:focus {
.sidebar .scrollbar.trough,
.sidebar .scrollbar.trough:backdrop {
box-shadow: none;
- border-radius: 100;
+ border-radius: 100px;
border-style: solid;
- border-width: 2;
+ border-width: 2px;
border-color: transparent;
}
@@ -1670,8 +1670,8 @@ GtkAssistant .sidebar .highlight {
GtkAssistant .sidebar {
padding: 12;
- border-width: 1;
- border-radius: 2;
+ border-width: 1px;
+ border-radius: 2px;
border-style: solid;
border-color: @inactive_frame_color;
@@ -1714,8 +1714,8 @@ GtkSwitch.trough:insensitive:backdrop {
}
GtkSwitch.slider {
- border-width: 1;
- border-radius: 2;
+ border-width: 1px;
+ border-radius: 2px;
border-style: solid;
border-color: mix (@borders, @theme_text_color, 0.4);
@@ -1762,7 +1762,7 @@ GtkSwitch.slider:insensitive:backdrop {
GtkViewport,
GtkIconView {
- border-radius: 3;
+ border-radius: 3px;
padding: 0;
background-color: @theme_base_color;
}
@@ -1775,7 +1775,7 @@ GtkIconView:backdrop {
GtkIconView.view.cell:selected,
GtkIconView.view.cell:selected:focus {
background-color: @theme_selected_bg_color;
- border-radius: 4;
+ border-radius: 4px;
/* FIXME: this probably needs to be better;
* see https://bugzilla.gnome.org/show_bug.cgi?id=644157
@@ -1912,8 +1912,8 @@ row:selected {
.expander {
border-style: solid;
- border-width: 1;
- border-radius: 2;
+ border-width: 1px;
+ border-radius: 2px;
border-color: shade (@internal_element_color, 1.40);
color: @internal_element_color;
@@ -1922,7 +1922,7 @@ row:selected {
.expander:active {
border-style: solid;
- border-width: 1;
+ border-width: 1px;
color: @internal_element_color;
border-color: shade (@internal_element_color, 1.40);
@@ -1932,7 +1932,7 @@ row:selected {
.expander:hover {
border-style: solid;
- border-width: 1;
+ border-width: 1px;
color: @internal_element_color;
border-color: shade (@internal_element_color, 1.40);
@@ -1943,7 +1943,7 @@ row:selected {
.expander row:selected,
.expander row:selected:focus {
border-style: solid;
- border-width: 1;
+ border-width: 1px;
border-color: @expander_row_selected_color;
color: @expander_row_selected_color;
@@ -1956,9 +1956,9 @@ GtkCalendar {
}
GtkCalendar.view {
- border-radius: 3;
+ border-radius: 3px;
border-style: solid;
- border-width: 1;
+ border-width: 1px;
padding: 2;
}
@@ -2029,7 +2029,7 @@ GtkInfoBar .button:active:focus,
border-color: shade(@borders, 0.9);
border-style: solid;
- border-width: 1;
+ border-width: 1px;
}
GtkInfoBar .entry:backdrop,
@@ -2056,7 +2056,7 @@ GtkInfoBar .button:active:backdrop,
border-color: @unfocused_borders;
border-style: solid;
- border-width: 1;
+ border-width: 1px;
}
GtkInfoBar,
@@ -2085,7 +2085,7 @@ GtkInfoBar:last-child,
.error:last-child {
/* only apply a border on the last infobar if
* there's more than one packed in */
- border-bottom-width: 1;
+ border-bottom-width: 1px;
border-style: solid;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]