summaryrefslogtreecommitdiff
path: root/desktop-themes/TraditionalGreen
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2014-10-19 15:17:32 +0200
committerraveit65 <[email protected]>2014-10-19 15:17:32 +0200
commita506e577ac1aef4ecda18f5e28325c80470b0a40 (patch)
treed1decb2e58f18727f2f6cb323abc7418ddb2ecae /desktop-themes/TraditionalGreen
parente777d24143d4022abcb6b1b324c045fe194a68c2 (diff)
downloadmate-themes-a506e577ac1aef4ecda18f5e28325c80470b0a40.tar.bz2
mate-themes-a506e577ac1aef4ecda18f5e28325c80470b0a40.tar.xz
Traditional themes GTK3: update to support GTK3-3.10
Diffstat (limited to 'desktop-themes/TraditionalGreen')
-rw-r--r--desktop-themes/TraditionalGreen/COPYING1
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/applications.css34
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets-img.css1
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css147
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/img/Makefile.am1
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/img/border-error.svg104
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/settings.ini2
7 files changed, 136 insertions, 154 deletions
diff --git a/desktop-themes/TraditionalGreen/COPYING b/desktop-themes/TraditionalGreen/COPYING
index 10926e87..94a9ed02 100644
--- a/desktop-themes/TraditionalGreen/COPYING
+++ b/desktop-themes/TraditionalGreen/COPYING
@@ -672,4 +672,3 @@ may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
-
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/applications.css b/desktop-themes/TraditionalGreen/gtk-3.0/applications.css
index 029a5495..00cecdbb 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/applications.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/applications.css
@@ -24,8 +24,38 @@
* gedit *
*********/
-GeditFloatingSlider .entry.not-found:focus {
- border-image: url("img/border-error.svg") 3 3 4 3 / 3px 3px 4px 3px repeat;
+GeditMultiNotebook .notebook {
+ border-width: 0px 0px 1px 1px;
+}
+
+GeditPanel.horizontal .notebook {
+ border-width: 0px 1px 1px 1px;
+}
+
+GeditPanel.vertical .notebook {
+ border-width: 0px 1px 1px 1px;
+}
+
+GeditViewFrame .gedit-search-slider {
+ padding: 4px;
+ border-image: url("img/border-focused.svg") 3 3 4 3 / 3px 3px 4px 3px repeat;
+}
+
+GeditViewFrame .gedit-search-slider .not-found {
+ background-color: @error_bg_color;
+ color: @error_fg_color;
+}
+
+GeditViewFrame .gedit-search-slider .not-found:selected {
+ background-color: @theme_selected_bg_color;
+ color: @theme_selected_fg_color;
+}
+
+.gedit-search-entry-occurrences-tag {
+ color: @theme_text_color;
+ background-color: @theme_bg_color;
+ margin: 2px 0px 2px 2px;
+ padding: 2px;
}
/*******************
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets-img.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets-img.css
index f3ea71fb..eeff8574 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets-img.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets-img.css
@@ -386,6 +386,7 @@ GtkComboBox.combobox-entry .button,
GtkSwitch.trough,
/* generic button borders */
.button,
+.titlebar .titlebutton:hover,
.primary-toolbar .button.raised,
.primary-toolbar .raised .button,
.primary-toolbar GtkComboBox .button,
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
index 5c86551e..ac8c220f 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
@@ -63,7 +63,11 @@ GtkWindow {
GtkImage,
GtkImage:insensitive,
GtkLabel,
-GtkLabel:insensitive {
+GtkLabel:insensitive,
+GtkBox,
+GtkBox:insensitive,
+GtkGrid,
+GtkGrid:insensitive {
background-color: transparent;
}
@@ -416,7 +420,7 @@ GtkScale.mark {
border-color: @border_color;
border-style: solid;
border-radius: 3px;
- background-color: @theme_base_color;
+ background-color: @theme_bg_color;
padding: 0;
}
@@ -454,7 +458,13 @@ GtkComboBox.combobox-entry .button {
border-color: transparent;
}
+/* We want anything inside the buttons to use their background */
+.button * {
+ background-color: transparent;
+}
+
/* We may want a background for focused buttons, but in the meantime let's remove it too */
+GtkMenuToolButton *,
.primary-toolbar .button,
.primary-toolbar .button:insensitive {
background-image: none;
@@ -535,6 +545,7 @@ GtkComboBox.combobox-entry .button {
.toolbar GtkComboBox .button:focus,
GtkComboBox.combobox-entry .button,
.primary-toolbar GtkComboBox.combobox-entry .button,
+.titlebar .titlebutton:hover,
GtkColorChooserWidget #add-color-button {
background-image: -gtk-gradient (linear,
left top,
@@ -591,7 +602,7 @@ GtkComboBox.combobox-entry .button:active,
@trough_gradient_b 4px);
}
-/* Prelit button background */
+/* Prelight button background */
.button:hover,
.spinbutton .button:hover,
.toolbar .button:hover,
@@ -604,8 +615,8 @@ GtkComboBox.combobox-entry .button:hover,
GtkColorChooserWidget #add-color-button:hover {
background-color: transparent;
background-image: linear-gradient(to bottom,
- @button_hover_gradient_a 50%,
- @button_hover_gradient_b 50%,
+ @button_hover_gradient_a 5%,
+ @button_hover_gradient_b 95%,
@button_hover_gradient_c);
}
@@ -680,6 +691,7 @@ GtkComboBox.combobox-entry .button:insensitive {
border-radius: 3px;
border-style: solid;
border-width: 1px;
+ background-color: transparent;
}
.notebook tab.top {
@@ -770,6 +782,10 @@ GtkComboBox.combobox-entry .button:insensitive {
@notebook_active_tab_gradient_b);
}
+.notebook tab * {
+ background-color: transparent;
+}
+
/* close button styling */
.notebook tab .button,
.notebook tab .button:active,
@@ -1042,22 +1058,20 @@ GtkComboBox .button *:hover {
*********/
/* combobox menus */
-GtkTreeMenu.menu {
- background-color: @theme_base_color;
+GtkTreeMenu.menu,
+GtkTreeMenu.menu * {
+ background-color: @menu_bg_color;
}
GtkTreeMenu .menuitem {
padding: 2px;
}
-GtkTreeMenu .menuitem * {
- color: @theme_text_color;
-}
-
.menu {
+ font: normal;
background-color: @menu_bg_color;
color: @menu_fg_color;
- padding: 0;
+ padding: 1px;
border-style: solid;
border-width: 1px;
border-color: @menu_border_color;
@@ -1065,7 +1079,7 @@ GtkTreeMenu .menuitem * {
.menu.button {
background-image: none;
- background-color: @theme_base_color;
+ background-color: @menu_bg_color;
color: @internal_element_color;
border-image: none;
@@ -1092,7 +1106,7 @@ GtkTreeMenu .menuitem * {
/* this controls the general appearance of the menubar */
.menubar {
border-style: none;
- padding: 0px;
+ padding: 1px;
-GtkWidget-window-dragging: true;
-GtkMenuBar-internal-padding: 1;
background-image: -gtk-gradient (linear,
@@ -1115,6 +1129,7 @@ GtkTreeMenu .menuitem * {
border-width: 1px 1px 0px;
border-color: @menubar_menuitem_hover_border_color;
border-radius: 3px 3px 0 0;
+ color: @menubar_menuitem_hover_color;
background-image: -gtk-gradient (linear,
left top,
left bottom,
@@ -1132,6 +1147,11 @@ GtkTreeMenu .menuitem * {
.menu .menuitem {
-GtkMenuItem-arrow-scaling: 0.5;
padding: 4px;
+ background-color: @menu_bg_color;
+}
+
+.menu .menuitem > * {
+ background-color: transparent;
}
.menu .menuitem:hover {
@@ -1144,13 +1164,6 @@ GtkTreeMenu .menuitem:hover,
border-style: solid;
border-width: 1px;
border-color: @menubar_menuitem_hover_border_color;
- background-image: -gtk-gradient (linear,
- left top,
- left bottom,
- from (@menubar_menuitem_hover_gradient_a),
- color-stop (0.50, @menubar_menuitem_hover_gradient_b),
- color-stop (0.50, @menubar_menuitem_hover_gradient_c),
- to (@menubar_menuitem_hover_gradient_d));
}
GtkTreeMenu .menuitem *:hover,
@@ -1159,6 +1172,13 @@ GtkTreeMenu .menuitem *:hover,
.menu .menuitem:hover,
.menu .menuitem *:hover {
color: @theme_selected_fg_color;
+ background-image: -gtk-gradient (linear,
+ left top,
+ left bottom,
+ from (@menubar_menuitem_hover_gradient_a),
+ color-stop (0.50, @menubar_menuitem_hover_gradient_b),
+ color-stop (0.50, @menubar_menuitem_hover_gradient_c),
+ to (@menubar_menuitem_hover_gradient_d));
}
.menu .menuitem:insensitive,
@@ -1185,6 +1205,7 @@ GtkTreeMenu .menuitem *:hover,
.menuitem.separator {
color: @menu_separator_color;
+ padding: 3px 1px 3px 1px;
-GtkMenuItem-horizontal-padding: 0;
}
@@ -1348,29 +1369,11 @@ GtkCheckButton:selected:focus {
***********/
.sidebar,
-.sidebar .view {
- background-color: @sidebar_bg_color;
-}
-
-.sidebar .scrollbar.trough {
- border-radius: 100px;
- border-style: solid;
- border-width: 2px;
- border-color: transparent;
-}
-
-.sidebar .scrollbar.trough {
- background-color: shade(@sidebar_bg_color, 0.8);
-}
-
-.sidebar .scrollbar.slider {
+.sidebar .view,
+.sidebar GtkScrolledWindow {
background-color: @sidebar_bg_color;
}
-.sidebar .scrollbar.slider:hover {
- background-color: @theme_base_color;
-}
-
.sidebar .radio,
.sidebar .radio:focus,
.sidebar .radio:selected {
@@ -1719,25 +1722,25 @@ GtkInfoBar:last-child,
border-style: solid;
}
-.info {
+.info > * {
background-color: @info_bg_color;
color: @info_fg_color;
border-color: darker(@info_bg_color);
}
-.warning {
+.warning > * {
background-color: @warning_bg_color;
color: @warning_fg_color;
border-color: darker(@warning_bg_color);
}
-.question {
+.question > * {
background-color: @question_bg_color;
color: @question_fg_color;
border-color: darker(@question_bg_color);
}
-.error {
+.error > * {
background-color: @error_bg_color;
color: @error_fg_color;
border-color: darker(@error_bg_color);
@@ -1763,3 +1766,57 @@ GtkInfoBar:last-child,
background-color: transparent;
}
+/************
+ * Titlebar *
+ ************/
+
+.titlebar {
+ background-image: linear-gradient(to bottom,
+ @theme_base_color,
+ @theme_bg_color);
+ background-color: transparent;
+ border-radius: 7px 7px 0px 0px;
+ border-bottom: 1px solid;
+ border-color: shade(@border_color, 1.30);
+}
+
+.titlebar > * {
+ background: none;
+}
+
+.tiled .titlebar {
+ border-radius: 0;
+}
+
+.maximized .titlebar {
+ border-radius: 0;
+}
+
+.titlebar .title {
+ font: Bold;
+}
+
+.titlebar .titlebutton {
+ background: none;
+ border-image: none;
+ padding: 5px 5px 6px 5px;
+}
+
+.window-frame {
+ border-width: 0px;
+ border-radius: 7px 7px 0 0;
+ border-style: solid;
+ margin: 0px;
+}
+
+/************
+ * Popovers *
+ ************/
+
+GtkPopover {
+ border: 1px solid;
+ border-radius: 7px;
+ border-color: @border_color;
+ background-clip: border-box;
+}
+
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/img/Makefile.am b/desktop-themes/TraditionalGreen/gtk-3.0/img/Makefile.am
index f3414644..5c09a356 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/img/Makefile.am
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/img/Makefile.am
@@ -3,7 +3,6 @@ THEME_NAME=TraditionalGreen
themedir = $(datadir)/themes/$(THEME_NAME)/gtk-3.0/img
theme_DATA = \
- border-error.svg \
border-focused-ptb.svg \
border-focused.svg \
border-focused-switch.svg \
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/img/border-error.svg b/desktop-themes/TraditionalGreen/gtk-3.0/img/border-error.svg
deleted file mode 100644
index 6532d220..00000000
--- a/desktop-themes/TraditionalGreen/gtk-3.0/img/border-error.svg
+++ /dev/null
@@ -1,104 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="16px"
- height="16px"
- id="svg33222"
- version="1.1"
- inkscape:version="0.48.3.1 r9886"
- sodipodi:docname="border-error.svg">
- <defs
- id="defs33224">
- <linearGradient
- id="linearGradient3837">
- <stop
- style="stop-color:#ffffff;stop-opacity:1;"
- offset="0"
- id="stop3839" />
- <stop
- style="stop-color:#ffffff;stop-opacity:0;"
- offset="1"
- id="stop3841" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#8e8e8e"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="33.768656"
- inkscape:cx="7.9987245"
- inkscape:cy="7.9987245"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:grid-bbox="true"
- inkscape:document-units="px"
- inkscape:window-width="1280"
- inkscape:window-height="951"
- inkscape:window-x="0"
- inkscape:window-y="0"
- inkscape:window-maximized="1"
- inkscape:snap-nodes="false"
- inkscape:snap-bbox="true"
- inkscape:showpageshadow="false"
- showborder="false">
- <inkscape:grid
- type="xygrid"
- id="grid2992"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata33227">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- id="layer1"
- inkscape:label="Layer 1"
- inkscape:groupmode="layer">
- <path
- style="color:#000000;fill:none;stroke:#ffffff;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.6"
- d="m 15.5,4 0,8.999999 c 0,1.385 -1.115,2.5 -2.5,2.5 l -9.9999995,0 c -1.3850003,0 -2.5000005,-1.115 -2.5000005,-2.5 L 0.5,4"
- id="rect17861-5"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="cssssc" />
- <rect
- ry="2.5"
- rx="2.5000005"
- y="0.5"
- x="0.5"
- height="13.999999"
- width="15"
- id="rect17861"
- style="color:#000000;fill:none;stroke:#9b3636;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
- <rect
- ry="1.5"
- rx="1.5"
- y="1.5"
- x="1.5"
- height="12"
- width="13.000001"
- id="rect17861-6"
- style="color:#000000;fill:none;stroke:#9b3636;stroke-width:0.99999994000000003;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.25000000000000000" />
- </g>
-</svg>
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/settings.ini b/desktop-themes/TraditionalGreen/gtk-3.0/settings.ini
index cc3237c1..80923690 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/settings.ini
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/settings.ini
@@ -2,4 +2,4 @@
gtk-color-scheme = "base_color:#ffffff\nbg_color:#edeceb\nfg_color:#000000\nselected_bg_color:#B9C0A9\nselected_fg_color:#42453E\ntooltip_bg_color:#EAF5B5\ntooltip_fg_color:#000000\ntext_color:#1a1a1a\nlink_color:#0000ee\nvisited_link_color:#551a8b"
gtk-auto-mnemonics = 0
gtk-visible-focus = automatic
-
+gtk-primary-button-warps-slider = false