Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=artwork.git;a=commitdiff;h=3a1a58518d772842966c10f3496a27cc0e615845

commit 3a1a58518d772842966c10f3496a27cc0e615845
Author: Devil505 <devil505li...@gmail.com>
Date:   Thu Jul 21 17:38:56 2011 +0200

* updating gtk3 theme

diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/button.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/button.css
index 9b5d390..01f3901 100644
--- a/gnome-frugalware/theme/Frugalware/gtk-3.0/button.css
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/button.css
@@ -8,6 +8,7 @@
-GtkButton-default-border:                 0;
-GtkButton-image-spacing:                    0;
-GtkButton-inner-border:                    3;
+    -GtkButton-interior-focus:                  true;

background-image: -gtk-gradient (linear,
left top,
@@ -21,11 +22,13 @@
to (shade (@bg_color, 0.60)));
}

+.button:hover {
+    color:@text_color;
+}
+
.button:active,
.button:hover:active {

-    color:          #fff;
-
background-image: -gtk-gradient (linear,
left top,
left bottom,
@@ -51,12 +54,29 @@
to (shade (@bg_color, 0.70)));
}

+.toolbar.button {
+    padding: 3;
+}
+
+.button.warning {
+    background-image: -gtk-gradient (linear,
+                                    left top,
+                                    left bottom,
+                     from (#e56453),
+                     to (#bb2332));
+
+    -unico-border-gradient: -gtk-gradient (linear,
+                     left top, left bottom,
+                     from (#dd3b27),
+                     to (#791235));
+}
+
/***************************
* Secondary Toolbar Button *
***************************/

.secondary-toolbar.toolbar.button {
-        -GtkButton-inner-border:    0;
+        -GtkButton-inner-border:    -3;
-unico-outer-stroke-style:      none;
}

diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/entry.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/entry.css
index a86218d..b1548db 100644
--- a/gnome-frugalware/theme/Frugalware/gtk-3.0/entry.css
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/entry.css
@@ -6,7 +6,7 @@
padding:        4;
}

-.entry:focused {
+/*.entry:focused {

-unico-border-gradient: -gtk-gradient (linear,
left top, left bottom,
@@ -23,6 +23,7 @@
from (alpha (@selected_bg_color, 0.15)),
to (shade (@selected_bg_color, 1.55)));
}
+*/

.entry.progressbar {
background-color: @theme_selected_bg_color;
diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk-widgets.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk-widgets.css
index e21726a..21bc2e8 100644
--- a/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk-widgets.css
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk-widgets.css
@@ -1,13 +1,85 @@
* {
engine: unico;

+    -unico-inner-stroke-color: rgba (0, 0, 0, 0);
+    -unico-focus-border-color:             alpha (#fff, 0.0);
+    -unico-focus-border-radius:              2;
+    -unico-focus-fill-color:                alpha (#fff, 0.0);
+    -unico-focus-outer-stroke-color:        alpha (#fff, 0.0);
+/*
-unico-focus-border-color:             alpha (@selected_bg_color, 0.5);
-unico-focus-border-radius:              2;
-unico-focus-fill-color:                alpha (@selected_bg_color, 0.1);
-unico-focus-outer-stroke-color:        alpha (@selected_bg_color, 0.0);
+*/
+}
+
+
+/***************
+ * Base States *
+ ***************/
+
+*:hover {
+}
+
+*:selected {
+}
+
+*:selected:focused {
+}
+
+*:insensitive {
+    color: shade (@theme_bg_color, 0.6);
+}
+
+*:active {
+}
+
+.background {
+}
+
+.tooltip {
}


+/* No focus border */
+
+.button:active,
+.button:hover:active,
+PostlerMessages {
+    -unico-focus-border-color:             alpha (#fff, 0.0);
+    -unico-focus-fill-color:                alpha (#fff, 0.0);
+    -unico-focus-outer-stroke-color:        alpha (#fff, 0.0);
+}
+/*******
+* Text *
+*******/
+
+/* white text */
+
+.button:active,
+.button:hover:active,
+.button.warning,
+.menuitem:active,
+.menuitem:prelight,
+GtkSwitch.trough:active,
+TerminalScreen {
+    color: @selected_fg_color;
+}
+
+/* etched text */
+
+*:insensitive,
+.secondary-toolbar {
+    text-shadow: 0 1 alpha (#fff, 0.4);
+}
+
+/* text shadow */
+
+.button:active {
+    text-shadow: 0 1 alpha (#000, 0.3);
+}
+
/*********
* Border *
*********/
@@ -30,9 +102,11 @@ GtkProgressBar.trough,
GtkScale.trough,
GtkSwitch,
GtkSwitch.slider,
-GtkSwitch.trough {
+GtkSwitch.trough,
+PostlerMessages.view row:selected {
-unico-outer-stroke-style:               custom;
border-width:                             1;
+    border-style: solid;
}

/************
@@ -74,7 +148,9 @@ GtkScale.trough {
.button,
.menu.menuitem,
.notebook,
-GtkSwitch {
+GtkProgressBar.progressbar,
+GtkSwitch,
+PostlerMessages.view row:selected {
-unico-inner-stroke-color:                  alpha (#fff, 0.30);
}

@@ -156,7 +232,7 @@ GtkScale.slider {
.radio:insensitive,
GtkProgressBar.trough,
GtkScale.trough,
-GtkSwitch.trough:insensitive {
+GtkSwitch.trough {
background-image: -gtk-gradient (linear,
left top,
left bottom,
@@ -170,6 +246,36 @@ GtkSwitch.trough:insensitive {
to (shade (@bg_color, 0.74)));
}

+.marlin-pathbar {
+    padding: 4;
+}
+
+
+/* Postler */
+
+PostlerMessages {
+    -GtkTreeView-vertical-separator:            10;
+}
+
+
+PostlerMessages.view row:selected {
+
+    -unico-outer-stroke-style: none;
+
+    color:#333;
+
+    background-image: -gtk-gradient (linear,
+        left top, left bottom,
+        from (#DCDCDC),
+        to (#C7C7C7));
+
+    -unico-border-gradient: -gtk-gradient (linear,
+        left top, left bottom,
+        from (shade (@base_color, 0.70)),
+        to (shade (@base_color, 0.64)));
+}
+
+
@import url("button.css");

/****************************************************************************************************
@@ -216,11 +322,6 @@ GtkSwitch.trough:insensitive {

}

-.marlin-pathbar {
-    padding: 4;
-}
-
-
/*****************
* Notebooks and *
* Tabs          *
@@ -261,6 +362,8 @@ GtkSwitch.trough:insensitive {
.pane-separator,
.pane-separator:prelight,
.pane-separator:selected {
+    engine: gtk;
+
border-width:                             0;

background-image: -gtk-gradient (linear,
@@ -272,6 +375,7 @@ GtkSwitch.trough:insensitive {
to (shade (@base_color, 0.55)));
}

+
.button:active:insensitive {

background-image: -gtk-gradient (linear,
@@ -310,18 +414,18 @@ GtkSwitch.trough:insensitive {
}

.secondary-toolbar.toolbar {
-        -GtkToolbar-internal-padding:               0;
+        -GtkToolbar-internal-padding:               1;

background-image: -gtk-gradient (linear,
left top,
left bottom,
-                            from (shade (@bg_color, 0.96)),
+                            from (@bg_color),
color-stop (0.05, shade (@bg_color, 0.87)),
-                                 color-stop (0.93, shade (@bg_color, 0.82)),
+                                 color-stop (0.93, shade (@bg_color, 0.80)),
color-stop (0.94, shade (@bg_color, 0.89)),
-                                 color-stop (0.96, shade (@bg_color, 0.89)),
-                                 color-stop (0.99, shade (@bg_color, 0.55)),
-                            to (shade (@bg_color, 0.55)));
+                                 color-stop (0.95, shade (@bg_color, 0.89)),
+                                 color-stop (0.99, shade (@bg_color, 0.50)),
+                            to (shade (@bg_color, 0.50)));
}

/********
@@ -336,10 +440,6 @@ GtkSwitch.trough:insensitive {
background-color: @selected_bg_color
}

-/***********************************************************************
-* Stuff I haven't styled yet                                           *
-***********************************************************************/
-
/*
-GtkButton-interior-focus: true;
-GtkToolItemGroup-expander-size: 12;
@@ -353,30 +453,6 @@ GtkSwitch.trough:insensitive {
.grip {
}

-/***************
- * Base States *
- ***************/
-*:hover {
-}
-
-*:selected {
-}
-
-*:selected:focused {
-}
-
-*:insensitive {
-}
-
-*:active {
-}
-
-.background {
-}
-
-.tooltip {
-}
-
/*****************
* GtkSpinButton *
*****************/
@@ -465,26 +541,8 @@ GtkSwitch {
font: bold condensed 10;
}

-GtkSwitch.trough {
-
-    color:          @text_color;
-
-    background-image: -gtk-gradient (linear,
-                                    left top,
-                                    left bottom,
-                                    from (shade (@base_color, 0.54)),
-                                    to (shade (@base_color, 0.76)));
-
-
-    -unico-border-gradient: -gtk-gradient (linear,
-                     left top, left bottom,
-                     from (shade (@bg_color, 0.46)),
-                     to (shade (@bg_color, 0.58)));
-
-}

GtkSwitch.trough:active {
-    color:          #fff;

background-image: -gtk-gradient (linear,
left top,
@@ -605,7 +663,7 @@ column-header .button {

-unico-border-gradient: -gtk-gradient (linear,
left top, left bottom,
-        from (shade (@bg_color, 0.88)),
+        from (shade (@bg_color, 0.94)),
to (shade (@bg_color, 0.70)));

}
@@ -693,7 +751,6 @@ CheeseThumbView /* Cheese */
/* gnome-terminal */
TerminalScreen {
background-color: #000;
-    color: #fff;
-TerminalScreen-background-darkness: 0.85;
}

diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk.css
index e64d6e9..6120ecf 100644
--- a/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk.css
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk.css
@@ -25,7 +25,7 @@
@define-color error_color #cc0000;
@define-color success_color #4e9a06;

-@define-color info_fg_color rgb (181, 171, 156);
+@define-color info_fg_color rgb (0, 136, 204);
@define-color info_bg_color rgb (252, 252, 189);
@define-color warning_fg_color rgb (173, 120, 41);
@define-color warning_bg_color rgb (250, 173, 61);
diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/menu.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/menu.css
index 67f900b..886b145 100644
--- a/gnome-frugalware/theme/Frugalware/gtk-3.0/menu.css
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/menu.css
@@ -79,7 +79,6 @@

.menuitem:active,
.menuitem:prelight {
-    color: @selected_fg_color;
border-style: solid;

background-image: -gtk-gradient (linear,
diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/progressbar.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/progressbar.css
index 5ff26a7..7eaa355 100644
--- a/gnome-frugalware/theme/Frugalware/gtk-3.0/progressbar.css
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/progressbar.css
@@ -3,7 +3,10 @@
****************/

GtkProgressBar {
-padding:        0;
+    -GtkProgressBar-min-horizontal-bar-height: 14;
+    -GtkProgressBar-min-vertical-bar-width: 14;
+
+padding:        2;
}

GtkProgressBar.progressbar {
@@ -16,6 +19,8 @@ GtkProgressBar.progressbar {

-unico-border-gradient: -gtk-gradient (linear,
left top, left bottom,
-                    from (shade (@bg_color, 0.60)),
-                    to (shade (@bg_color, 0.78)));
+                    from (shade (@base_color, 0.94)),
+                    to (shade (@base_color, 1.06)));
+
+    -unico-inner-stroke-color: alpha (#fff, 0.0);
}
diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/scrollbar.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/scrollbar.css
index da7ee65..687f0be 100644
--- a/gnome-frugalware/theme/Frugalware/gtk-3.0/scrollbar.css
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/scrollbar.css
@@ -22,14 +22,11 @@
.scrollbar.button {
border-width:              0;
background-color:         alpha (#000, 0.4);
-    -unico-inner-stroke-color:  none;
+    -unico-inner-stroke-color:  rgba (0, 0, 0, 0);
-unico-outer-stroke-color:  alpha (#FFF, 0.4);
border-radius:              10;
}

-.scrollbar.button {
-}
-
.scrollbar.slider:insensitive {
-GtkRange-slider-width: 0;
}
diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/sidebar.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/sidebar.css
index 9d3dc64..7eac820 100644
--- a/gnome-frugalware/theme/Frugalware/gtk-3.0/sidebar.css
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/sidebar.css
@@ -5,6 +5,11 @@
color:                      shade (@bg_color, 0.55);
}

+.sidebar {
+    -GtkTreeView-horizontal-separator:          6;
+    -GtkTreeView-vertical-separator:            3;
+}
+
.sidebar.view:selected {
background-color:         shade (@bg_color, 0.85);
}
@@ -13,7 +18,9 @@
background-color:         shade (@bg_color, 1.10);
}

-GtkHCollapsablePaned {
+GtkHCollapsablePaned,
+SourceList.pane-separator {
+    engine: gtk;
border-width:            0;
-GtkPaned-handle-size:    2;
}
@@ -25,6 +32,6 @@ GtkHCollapsablePaned.pane-separator:selected {
left top,
right top,
from (shade (@bg_color, 1.30)),
-                                    to (shade (@bg_color, 0.65)));
+                                    to (shade (@bg_color, 0.55)));
background-color: alpha(#fff, 0.0);
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to