summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2015-01-03 17:00:01 -0800
committerVagrant Cascadian <vagrant@debian.org>2015-01-03 17:00:01 -0800
commit5d84a7ceb25b920a1da84e46583dbe6905b6572b (patch)
treeea1f942ee390e8ba21b908603b7439c83f0c1e84
parent8f34bfead4c8d14eb6b0e1fc732b1c8f2fd848dd (diff)
Add lines greeter-gtkrc based on joy with some adjusted colors.
Adjust debian/copyright accordingly.
-rw-r--r--debian/copyright5
-rw-r--r--lines/greeter-gtkrc128
2 files changed, 131 insertions, 2 deletions
diff --git a/debian/copyright b/debian/copyright
index 3202682..9f62295 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -14,11 +14,12 @@ License: GPLv2
On Debian systems, a copy of the GNU General Public License version
2 may be found in the file /usr/share/common-licenses/GPL-2.
-Files: joy/greeter-gtkrc
+Files: joy/greeter-gtkrc lines/greeter-gtkrc
Copyright: Kenneth Wimer <kwwii@ubuntu.com>
Conn O'Griofa <connogriofa@gmail.com>
Jonathan Carter <jonathan@ubuntu.com>
Dave Camp <dave@ximian.com>
+ 2015 Vagrant Cascadian <vagrant@debian.org>
License: GPLv2
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -31,7 +32,7 @@ Files: lines/background.svg
Copyright: 2014 Juliette Taka BELIN <juliettetaka.belin@gmail.com>
License: GPL-2+
-Files: lines/logo.png lines/greeter-gtkrc
+Files: lines/logo.png
Copyright: 2015 Vagrant Cascadian <vagrant@debian.org>
License: GPL-2+
diff --git a/lines/greeter-gtkrc b/lines/greeter-gtkrc
index e69de29..870d1d4 100644
--- a/lines/greeter-gtkrc
+++ b/lines/greeter-gtkrc
@@ -0,0 +1,128 @@
+gtk_color_scheme = "fg_color:#ffffff\nbg_color:#31757b\nbase_color:#FFF\ntext_color:#000000\nselected_bg_color:#7baaad\nselected_fg_color:#1A1A1A\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000"
+
+style "default"
+{
+ fg[NORMAL] = @fg_color
+ fg[ACTIVE] = @fg_color
+ fg[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
+
+ fg[PRELIGHT] = @fg_color
+ fg[SELECTED] = @selected_fg_color
+
+ bg[ACTIVE] = shade (0.9, @bg_color)
+ bg[NORMAL] = @bg_color
+ bg[INSENSITIVE] = shade (0.95, @bg_color)
+ bg[PRELIGHT] = shade (1.03, @bg_color)
+ bg[SELECTED] = @selected_bg_color
+
+ base[NORMAL] = @base_color
+ base[ACTIVE] = shade (0.9, @selected_bg_color)
+ base[INSENSITIVE] = shade (0.95, @base_color)
+ base[PRELIGHT] = @bg_color
+ base[SELECTED] = @selected_bg_color
+
+ text[NORMAL] = @text_color
+ text[ACTIVE] = @text_color
+ text[PRELIGHT] = @text_color
+ text[SELECTED] = @selected_fg_color
+ text[INSENSITIVE] = mix (0.5, @text_color, @base_color)
+
+
+ GtkRange::trough_border = 0
+ GtkRange::slider_width = 15
+ GtkRange::stepper_size = 15
+
+ GtkEntry::progress-border = { 0, 0, 0, 0 }
+
+ GtkScrollbar::min_slider_length = 15
+ GtkCheckButton::indicator_size=10
+ GtkCheckMenuItem::indicator_size=10
+ GtkRadioButton::indicator_size=12
+
+ GtkNotebook::tab_vborder = 1
+ GtkNotebook::tab_hborder = 1
+ xthickness = 1
+ ythickness = 1
+
+ NautilusIconContainer::dark_info_color="#888888"
+ NautilusIconContainer::light_info_color="#bbbbbb"
+ NautilusIconContainer::highlight_alpha=200
+
+ GtkMenu::horizontal_padding=0
+ GtkMenu::vertical_padding=0
+
+ engine "mist"
+ {
+ }
+}
+
+style "menuitem"
+{
+ ythickness = 2
+ xthickness = 2
+
+ fg[PRELIGHT] = @selected_fg_color
+}
+
+style "menu"
+{
+ ythickness = 2
+ xthickness = 2
+}
+
+style "entry"
+{
+ bg[SELECTED] = mix(0.35, @selected_bg_color, @base_color)
+ fg[SELECTED] = @text_color
+}
+
+class "GtkWidget" style "default"
+class "GtkMenu" style "menu"
+class "GtkEntry" style "entry"
+
+widget_class "*<GtkMenuItem>*" style "menuitem"
+
+
+
+# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
+# Note that the work around assumes that the combobox is _not_ in
+# appears-as-list mode.
+# This style does not affect GtkComboBoxEntry, it does have an effect
+# on comboboxes in appears-as-list mode though.
+style "mist-text-is-fg-color-workaround"
+{
+ text[NORMAL] = @fg_color
+ text[ACTIVE] = @fg_color
+ text[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
+ text[PRELIGHT] = @fg_color
+ text[SELECTED] = @selected_fg_color
+}
+widget_class "*.<GtkComboBox>.<GtkCellView>" style "mist-text-is-fg-color-workaround"
+
+style "mist-menuitem-text-is-fg-color-workaround"
+{
+ text[NORMAL] = @fg_color
+ text[ACTIVE] = @fg_color
+ text[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
+ text[PRELIGHT] = @selected_fg_color
+ text[SELECTED] = @selected_fg_color
+}
+widget "*.gtk-combobox-popup-menu.*" style "mist-menuitem-text-is-fg-color-workaround"
+
+# Work around the usage of GtkLabel inside GtkListItems to display text.
+# This breaks because the label is shown on a background that is based on the
+# base color set.
+style "mist-fg-is-text-color-workaround"
+{
+ fg[NORMAL] = @text_color
+ fg[ACTIVE] = @text_color
+ fg[PRELIGHT] = @text_color
+ fg[SELECTED] = @selected_fg_color
+ fg[INSENSITIVE] = mix (0.5, @text_color, @base_color)
+}
+widget_class "*<GtkListItem>*" style "mist-fg-is-text-color-workaround"
+# The same problem also exists for GtkCList and GtkCTree
+# Only match GtkCList and not the parent widgets, because that would also change the headers.
+widget_class "*<GtkCList>" style "mist-fg-is-text-color-workaround"
+
+