[libgda] Windows packaging: use CSS theming



commit 5ba95ae3830b0f386f10c836c8b16f5d48c78559
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sat Aug 25 16:54:25 2012 +0200

    Windows packaging: use CSS theming

 installers/Windows/etc/gtk-3.0/gtkrc               |   67 --
 installers/Windows/etc/gtk-3.0/settings.ini        |    7 +
 installers/Windows/make-zip-setup.sh               |    9 +-
 .../themes/Adwaita/gtk-3.0/gtk-win32-base.css      |  836 ++++++++++++++++++++
 .../share/themes/Adwaita/gtk-3.0/gtk-win32-xp.css  |   72 ++
 .../share/themes/Adwaita/gtk-3.0/gtk-win32.css     |   84 ++
 .../Windows/share/themes/Adwaita/gtk-3.0/gtk.css   |    1 +
 .../Windows/share/themes/Adwaita/index.theme       |  134 ++++
 8 files changed, 1142 insertions(+), 68 deletions(-)
---
diff --git a/installers/Windows/etc/gtk-3.0/settings.ini b/installers/Windows/etc/gtk-3.0/settings.ini
new file mode 100644
index 0000000..aa23544
--- /dev/null
+++ b/installers/Windows/etc/gtk-3.0/settings.ini
@@ -0,0 +1,7 @@
+[Settings]
+gtk-theme-name = Adwaita
+gtk-icon-theme-name = gnome
+gtk-cursor-theme-name = Adwaita
+gtk-button-images = 0
+gtk-menu-images = 0
+gtk-auto-mnemonics = 0
diff --git a/installers/Windows/make-zip-setup.sh b/installers/Windows/make-zip-setup.sh
index 19bbcd6..13b9171 100755
--- a/installers/Windows/make-zip-setup.sh
+++ b/installers/Windows/make-zip-setup.sh
@@ -486,10 +486,17 @@ files=(gtk.immodules)
 add_files_to_zip $archive_ext "${depend_path}" etc/gtk-3.0 $files
 add_found_files_to_nsh core etc/gtk-3.0
 
-files=(gtkrc)
+files=(settings.ini)
 add_files_to_zip $archive_ext . etc/gtk-3.0 $files
 add_found_files_to_nsh core etc/gtk-3.0
 
+files=(index.theme)
+add_files_to_zip $archive_ext . share/themes/Adwaita $files
+add_found_files_to_nsh core share/themes/Adwaita
+
+add_all_files_to_zip $archive . share/themes/Adwaita/gtk-3.0
+add_found_files_to_nsh core share/themes/Adwaita/gtk-3.0
+
 files=(pango.modules)
 add_files_to_zip $archive_ext "${depend_path}" etc/pango $files
 add_found_files_to_nsh core etc/pango
diff --git a/installers/Windows/share/themes/Adwaita/gtk-3.0/gtk-win32-base.css b/installers/Windows/share/themes/Adwaita/gtk-3.0/gtk-win32-base.css
new file mode 100644
index 0000000..0c86bbb
--- /dev/null
+++ b/installers/Windows/share/themes/Adwaita/gtk-3.0/gtk-win32-base.css
@@ -0,0 +1,836 @@
+ define-color bg_color -gtk-win32-color(button, 15);
+ define-color text_color -gtk-win32-color(button, 18);
+ define-color base_color #fff;
+ define-color selected_bg_color -gtk-win32-color(button, 13);
+ define-color selected_fg_color -gtk-win32-color(button, 14);
+ define-color info_fg_color rgb (181, 171, 156);
+ 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);
+ define-color question_fg_color rgb (97, 122, 214);
+ define-color question_bg_color rgb (138, 173, 212);
+ define-color error_fg_color rgb (166, 38, 38);
+ define-color error_bg_color rgb (237, 54, 54);
+
+GtkWindow,
+GtkViewport {
+    background-color: @bg_color;
+}
+
+* {
+    color: -gtk-win32-color(button, 18);
+    -GtkWidget-link-color: -gtk-win32-color(button, 26);
+    -GtkWidget-visited-link-color: -gtk-win32-color(button, 26);
+    border-color: shade (@bg_color, 0.6);
+
+    -GtkScrolledWindow-scrollbars-within-bevel: 1;
+    -GtkScrolledWindow-scrollbars-spacing: 0;
+}
+
+GtkFrame {
+    border-width: 2px;
+    border-style: solid;
+    background-color: transparent;
+    border-image: -gtk-win32-theme-part(button, 4 1) 2 2 2 2 stretch;
+}
+
+*:insensitive {
+    color: -gtk-win32-color(button, 17);
+}
+
+*:selected,
+*:selected:focus {
+    background-color: @selected_bg_color;
+    color: @selected_fg_color;
+}
+
+.info {
+    background-color: @info_bg_color;
+    color: @info_fg_color;
+}
+
+.warning {
+    background-color: @warning_bg_color;
+    color: @warning_fg_color;
+}
+
+.question {
+    background-color: @question_bg_color;
+    color: @question_fg_color;
+}
+
+.error {
+    background-color: @error_bg_color;
+    color: @error_fg_color;
+}
+
+.highlight {
+    background-color: @selected_bg_color;
+    color: @selected_fg_color;
+}
+
+.light-area-focus {
+    color: #000;
+}
+
+.dark-area-focus {
+    color: #fff;
+}
+
+.notebook > GtkScrolledWindow.frame {
+    border-style: none;
+}
+
+GtkScrolledWindow.frame {
+  border-style: solid;
+  border-width: 2px;
+  border-image: -gtk-win32-theme-part(listview, 5 1) 2 2 2 2 stretch;
+}
+
+.view {
+  border-width: 0;
+  border-radius: 0;
+  background-color: @base_color;
+  color: @text_color;
+}
+
+.view:selected {
+  background-color: shade (@bg_color, 0.9);
+  color: @fg_color;
+}
+
+.view:selected:focused {
+  background-color: @selected_bg_color;
+  color: @selected_fg_color;
+}
+
+.tooltip {
+    background-color: -gtk-win32-color(button, 24);
+    color: -gtk-win32-color(button, 23);
+    border-width: 1px;
+    border-style: solid;
+}
+
+.tooltip * {
+    color: -gtk-win32-color(button, 23);
+}
+
+GtkAssistant .sidebar .highlight {
+    font: bold;
+    color:  -gtk-win32-color(button, 9);
+}
+
+/* Buttons */
+
+.button {
+    color: -gtk-win32-color(button, 18);
+    background-color: transparent;
+    background-image: -gtk-win32-theme-part(button, 1 1);
+    border-width: 0;
+    -GtkWidget-focus-line-width: 1;
+    -GtkWidget-focus-padding: 3;
+    -GtkButton-interior-focuse: true;
+    padding: 3px;
+}
+
+.button:insensitive {
+    background-image: -gtk-win32-theme-part(button, 1 4);
+}
+
+.button:focused {
+    background-image: -gtk-win32-theme-part(button, 1 5);
+}
+
+.button:prelight, .button:prelight:focused {
+    background-image: -gtk-win32-theme-part(button, 1 2);
+    color: #000000;
+}
+
+.button:active, .button:active:focused, .button:active:focused:prelight {
+    background-image: -gtk-win32-theme-part(button, 1 3);
+}
+
+/* Check buttons */
+
+.check {
+    background-color: transparent;
+    background-image: -gtk-win32-theme-part(button, 3 1);
+    border-width: 0;
+}
+
+.check:insensitive {
+    background-image: -gtk-win32-theme-part(button, 3 4);
+}
+
+/* The GtkButton here is to avoid problems with checkboxes
+   in a listview where all checkboxes in a row gets prelighted
+   whenever the row is prelighted */
+
+GtkButton.check:prelight {
+    background-image: -gtk-win32-theme-part(button, 3 2);
+}
+
+.check:active {
+    background-image: -gtk-win32-theme-part(button, 3 5);
+}
+
+.check:active:insensitive {
+    background-image: -gtk-win32-theme-part(button, 3 8);
+}
+
+GtkButton.check:active:prelight {
+    background-image: -gtk-win32-theme-part(button, 3 6);
+}
+
+.check:inconsistent {
+    background-image: -gtk-win32-theme-part(button, 3 9);
+}
+
+.check:inconsistent:insensitive {
+    background-image: -gtk-win32-theme-part(button, 3 12);
+}
+
+.check:inconsistent:prelight {
+    background-image: -gtk-win32-theme-part(button, 3 10);
+}
+
+/* Radio buttons */
+
+.radio {
+    background-color: transparent;
+    background-image: -gtk-win32-theme-part(button, 2 1);
+    border-width: 0;
+}
+
+.radio:insensitive {
+    background-image: -gtk-win32-theme-part(button, 2 4);
+}
+
+.radio:prelight {
+    background-image: -gtk-win32-theme-part(button, 2 2);
+}
+
+.radio:active {
+    background-image: -gtk-win32-theme-part(button, 2 5);
+}
+
+.radio:active:insensitive {
+    background-image: -gtk-win32-theme-part(button, 2 8);
+}
+
+.radio:active:prelight {
+    background-image: -gtk-win32-theme-part(button, 2 6);
+}
+
+.radio:inconsistent {
+    background-image: -gtk-win32-theme-part(button, 2 1, over (2 5, 0.3));
+}
+
+.radio:inconsistent:insensitive {
+    background-image: -gtk-win32-theme-part(button, 2 4, over (2 8, 0.3));
+}
+
+.radio:inconsistent:prelight {
+    background-image: -gtk-win32-theme-part(button, 2 4, over(2 6, 0.3));
+}
+
+/* Scrollbars */
+
+/* TODO: Win32 has different concept for upper and lower trough, we
+   don't use this atm */
+
+.scrollbar {
+    background-color: transparent;
+    -GtkRange-trough-border: 0;
+    -GtkRange-arrow-scaling: 0.0;
+    -GtkRange-slider-width: -gtk-win32-size(scrollbar, 3);
+}
+
+.scrollbar.vertical {
+    -GtkRange-slider-width: -gtk-win32-size(scrollbar, 2);
+}
+
+.scrollbar.button.bottom {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 5);
+}
+
+.scrollbar.button.bottom:prelight {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 6);
+}
+
+.scrollbar.button.bottom:active,
+.scrollbar.button.bottom:active:prelight {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 7);
+}
+
+.scrollbar.button.bottom:insensitive {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 8);
+}
+
+.scrollbar.button.top {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 1);
+}
+
+.scrollbar.button.top:prelight {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 2);
+}
+
+.scrollbar.button.top:active,
+.scrollbar.button.top:active:prelight {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 3);
+}
+
+.scrollbar.button.top:insensitive {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 4);
+}
+
+.scrollbar.button.left {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 9);
+}
+
+.scrollbar.button.left:prelight {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 10);
+}
+
+.scrollbar.button.left:active,
+.scrollbar.button.left:active:prelight {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 11);
+}
+
+.scrollbar.button.left:insensitive {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 12);
+}
+
+.scrollbar.button.right {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 13);
+}
+
+.scrollbar.button.right:prelight {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 14);
+}
+
+.scrollbar.button.right:active,
+.scrollbar.button.right:active:prelight {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 15);
+}
+
+.scrollbar.button.right:insensitive {
+    background-image: -gtk-win32-theme-part(scrollbar, 1 16);
+}
+
+.scrollbar.trough {
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(scrollbar, 2 1, over (4 1));
+}
+
+.scrollbar.trough.vertical {
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(scrollbar, 2 1, over (6 1));
+}
+
+.scrollbar.slider {
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(scrollbar, 2 1, over (8 1));
+}
+
+.scrollbar.slider:prelight {
+    background-image: -gtk-win32-theme-part(scrollbar, 2 2, over (8 2));
+}
+
+.scrollbar.slider.vertical {
+    background-image: -gtk-win32-theme-part(scrollbar, 3 1, over (9 1));
+}
+
+.scrollbar.slider.vertical:prelight {
+    background-image: -gtk-win32-theme-part(scrollbar, 3 2, over (9 2));
+}
+
+/* Entry */
+
+/* We apply the border as a border combined with the background so that
+   gtk_entry_set_has_frame works */
+
+.entry {
+    border-width: 1px;
+    border-style: solid;
+    border-image: -gtk-win32-theme-part(edit, 6 1)  1 1 1 1 stretch;
+    background-image: -gtk-win32-theme-part(edit, 6 1, margins(-1 -1 -1 -1));
+    padding: 2px;
+}
+.entry:insensitive {
+    border-image: -gtk-win32-theme-part(edit, 6 4)  1 1 1 1 stretch;
+    background-image: -gtk-win32-theme-part(edit, 6 4, margins(-1 -1 -1 -1));
+    color: #a7aba7;
+}
+.entry:prelight {
+    border-image: -gtk-win32-theme-part(edit, 6 2)  1 1 1 1 stretch;
+    background-image: -gtk-win32-theme-part(edit, 6 2, margins(-1 -1 -1 -1));
+}
+.entry:focused {
+    border-image: -gtk-win32-theme-part(edit, 6 3)  1 1 1 1 stretch;
+    background-image: -gtk-win32-theme-part(edit, 6 3, margins(-1 -1 -1 -1));
+}
+
+/* Spinbuttons */
+
+.spinbutton .button,
+.spinbutton .button:focused {
+    background-color: transparent;
+    background-image: -gtk-win32-theme-part(spin, 1 1, margins(-1 -1 0 -1));
+    color: rgba(0, 0, 0, 0);
+}
+
+.spinbutton .button:last-child {
+    background-image: -gtk-win32-theme-part(spin, 1 1, margins(-1 -1 0 -2));
+}
+
+.spinbutton .button:prelight,
+.spinbutton .button:prelight:focused {
+    background-image: -gtk-win32-theme-part(spin, 1 2, margins(-1 -1 0 -1));
+}
+
+.spinbutton .button:active,
+.spinbutton .button:active:prelight,
+.spinbutton .button:active:focused,
+.spinbutton .button:active:prelight:focused {
+    background-image: -gtk-win32-theme-part(spin, 1 3, margins(-1 -1 0 -1));
+}
+
+.spinbutton .button:insensitive {
+    background-image: -gtk-win32-theme-part(spin, 1 4, margins(-1 -1 0 -1));
+}
+
+.spinbutton .button:insensitive:last-child {
+    background-image: -gtk-win32-theme-part(spin, 1 4, margins(-1 -1 0 -2));
+}
+
+.spinbutton .button.bottom,
+.spinbutton .button.bottom:focused {
+    background-image: -gtk-win32-theme-part(spin, 2 1);
+}
+
+.spinbutton .button.bottom:prelight,
+.spinbutton .button.bottom:prelight:focused {
+    background-image: -gtk-win32-theme-part(spin, 2 2);
+}
+
+.spinbutton .button.bottom:active,
+.spinbutton .button.bottom:active:prelight {
+    background-image: -gtk-win32-theme-part(spin, 2 3);
+}
+
+.spinbutton .button.bottom:insensitive {
+    background-image: -gtk-win32-theme-part(spin, 2 4);
+}
+
+/* Ranges */
+
+/* TODO: The trough is not quite right, it covers everything,
+   but in win32 the slider 'sticks out' on the sides of the
+   trough */
+
+.scale {
+    background-color: transparent;
+    -GtkScale-value-spacing: 0;
+    -GtkScale-slider-length: 9;
+    -GtkRange-slider-width: 20;
+    -GtkRange-trough-border: 0;
+}
+
+.scale.trough {
+    border-style: none;
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(trackbar, 1 1, margins (2 0 2 0));
+}
+
+.scale.trough.vertical {
+    background-image: -gtk-win32-theme-part(trackbar, 1 1, margins (0 2 0 2));
+}
+
+.scale.slider {
+    background-color: transparent;
+    border-width: 0;
+    color: rgba(0,0,0,0);
+    background-image: -gtk-win32-theme-part(trackbar, 3 1);
+}
+
+.scale.slider:prelight {
+    background-image: -gtk-win32-theme-part(trackbar, 3 2);
+}
+
+.scale.slider:active,
+.scale.slider:prelight:active {
+    background-image: -gtk-win32-theme-part(trackbar, 3 3);
+}
+
+.scale.slider:focus {
+    background-image: -gtk-win32-theme-part(trackbar, 3 4);
+}
+
+.scale.slider:insensitive {
+    background-image: -gtk-win32-theme-part(trackbar, 3 5);
+}
+
+.scale.slider.vertical {
+    background-image: -gtk-win32-theme-part(trackbar, 6 1);
+}
+
+.scale.slider.vertical:prelight {
+    background-image: -gtk-win32-theme-part(trackbar, 6 2);
+}
+
+.scale.slider.vertical:active,
+.scale.slider.vertical:prelight:active {
+    background-image: -gtk-win32-theme-part(trackbar, 6 3);
+}
+
+.scale.slider.vertical:focus {
+    background-image: -gtk-win32-theme-part(trackbar, 6 4);
+}
+
+.scale.slider.vertical:insensitive {
+    background-image: -gtk-win32-theme-part(trackbar, 6 5);
+}
+
+.scale.slider.scale-has-marks-below {
+    background-image: -gtk-win32-theme-part(trackbar, 4 1);
+}
+
+.scale.slider.scale-has-marks-below:prelight {
+    background-image: -gtk-win32-theme-part(trackbar, 4 2);
+}
+
+.scale.slider.scale-has-marks-below:active,
+.scale.slider.scale-has-marks-below:prelight:active {
+    background-image: -gtk-win32-theme-part(trackbar, 4 3);
+}
+
+.scale.slider.scale-has-marks-below:focus {
+    background-image: -gtk-win32-theme-part(trackbar, 4 4);
+}
+
+.scale.slider.scale-has-marks-below:insensitive {
+    background-image: -gtk-win32-theme-part(trackbar, 4 5);
+}
+
+.scale.slider.scale-has-marks-below.vertical {
+    background-image: -gtk-win32-theme-part(trackbar, 8 1);
+}
+
+.scale.slider.scale-has-marks-below.vertical:prelight {
+    background-image: -gtk-win32-theme-part(trackbar, 8 2);
+}
+
+.scale.slider.scale-has-marks-below.vertical:active,
+.scale.slider.scale-has-marks-below.vertical:prelight:active {
+    background-image: -gtk-win32-theme-part(trackbar, 8 3);
+}
+
+.scale.slider.scale-has-marks-below.vertical:focus {
+    background-image: -gtk-win32-theme-part(trackbar, 8 4);
+}
+
+.scale.slider.scale-has-marks-below.vertical:insensitive {
+    background-image: -gtk-win32-theme-part(trackbar, 8 5);
+}
+
+
+
+.scale.slider.scale-has-marks-above {
+    background-image: -gtk-win32-theme-part(trackbar, 5 1);
+}
+
+.scale.slider.scale-has-marks-above:prelight {
+    background-image: -gtk-win32-theme-part(trackbar, 5 2);
+}
+
+.scale.slider.scale-has-marks-above:active,
+.scale.slider.scale-has-marks-above:prelight:active {
+    background-image: -gtk-win32-theme-part(trackbar, 5 3);
+}
+
+.scale.slider.scale-has-marks-above:focus {
+    background-image: -gtk-win32-theme-part(trackbar, 5 4);
+}
+
+.scale.slider.scale-has-marks-above:insensitive {
+    background-image: -gtk-win32-theme-part(trackbar, 5 5);
+}
+
+.scale.slider.scale-has-marks-above.vertical {
+    background-image: -gtk-win32-theme-part(trackbar, 7 1);
+}
+
+.scale.slider.scale-has-marks-above.vertical:prelight {
+    background-image: -gtk-win32-theme-part(trackbar, 7 2);
+}
+
+.scale.slider.scale-has-marks-above.vertical:active,
+.scale.slider.scale-has-marks-above.vertical:prelight:active {
+    background-image: -gtk-win32-theme-part(trackbar, 7 3);
+}
+
+.scale.slider.scale-has-marks-above.vertical:focus {
+    background-image: -gtk-win32-theme-part(trackbar, 7 4);
+}
+
+.scale.slider.scale-has-marks-above.vertical:insensitive {
+    background-image: -gtk-win32-theme-part(trackbar, 7 5);
+}
+
+/* Progress bars */
+
+GtkProgressBar {
+    background-color: transparent;
+    padding: 0;
+}
+
+GtkProgressBar.trough {
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(progress, 1 1);
+}
+
+GtkProgressBar.progressbar,
+GtkEntry.progressbar,
+GtkEntry.progressbar:focused {
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(progress, 5 1);
+}
+
+GtkProgressBar.progressbar.pulse,
+GtkEntry.progressbar.pulse,
+GtkEntry.progressbar.pulse:focused {
+    background-color: transparent;
+    background-image: -gtk-win32-theme-part(progress, 8 1);
+}
+
+GtkProgressBar.trough.vertical {
+    background-image: -gtk-win32-theme-part(progress, 2 1);
+}
+
+.progressbar.vertical {
+    background-image: -gtk-win32-theme-part(progress, 6 1);
+}
+
+.progressbar.pulse.vertical {
+    background-image: -gtk-win32-theme-part(progress, 10 1);
+}
+
+/* Combobox */
+
+GtkComboBox.combobox-entry .button {
+    background-color: transparent;
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(combobox, 1 1);
+    color: rgba(0, 0, 0, 0);
+}
+
+GtkComboBox.combobox-entry .button:prelight,
+GtkComboBox.combobox-entry .button:focused,
+GtkComboBox.combobox-entry .button:prelight:focused {
+    background-image: -gtk-win32-theme-part(combobox, 1 2);
+}
+GtkComboBox.combobox-entry .button:active,
+GtkComboBox.combobox-entry .button:active:focused,
+GtkComboBox.combobox-entry .button:active:prelight,
+GtkComboBox.combobox-entry .button:active:focused:prelight {
+    background-image: -gtk-win32-theme-part(combobox, 1 3);
+}
+GtkComboBox.combobox-entry .button:insensitive {
+    background-image: -gtk-win32-theme-part(combobox, 1 4);
+}
+
+GtkComboBox .separator {
+    /* always disable separators */
+    -GtkWidget-wide-separators: true;
+    -GtkWidget-horizontal-separator: 0;
+    -GtkWidget-vertical-separator: 0;
+}
+
+/* Notebook */
+
+.notebook {
+    background-color: #ffffff;
+    border-width: 1px 1px 1px 1px;
+    border-style: solid;
+    background-origin: padding-box;
+    background-clip: border-box;
+    background-image: -gtk-win32-theme-part(tab, 9 1, margins(-1 -3 -2 -1));
+    border-image: -gtk-win32-theme-part(tab, 9 1, margins(0 -2 -1 0)) 1 1 1 1 repeat;
+    -GtkNotebook-tab-overlap: 1;
+    -GtkNotebook-tab-curvature: 0;
+}
+
+.notebook tab {
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(tab, 1 1);
+    padding: 0px 4px 0px 4px;
+}
+
+.notebook tab.left, .notebook tab.right {
+    padding: 4px 0px 4px 0px;
+}
+
+.notebook tab:active {
+    background-image: -gtk-win32-theme-part(tab, 1 3, margins(0 0 -1 0));
+}
+.notebook tab:active.top {
+    padding: 2px 4px 1px 4px;
+}
+
+.notebook tab:active.bottom {
+    padding: 1px 4px 2px 4px;
+}
+
+.notebook tab:active.right {
+    padding: 4px 4px 4px 1px;
+}
+
+.notebook tab:active.left {
+    padding: 4px 1px 4px 4px;
+}
+
+/* Toolbar */
+
+.toolbar {
+    background-color: transparent;
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(rebar, 6 1);
+}
+
+.toolbar .button,
+.toolbar .button:focused {
+    background-color: transparent;
+    background-image: -gtk-win32-theme-part(toolbar, 1 1);
+}
+
+.toolbar .button:prelight,
+.toolbar .button:prelight:focused {
+    background-image: -gtk-win32-theme-part(toolbar, 1 2);
+}
+
+.toolbar .button:active {
+    background-image: -gtk-win32-theme-part(toolbar, 1 3);
+}
+
+.toolbar .button:active:prelight {
+    background-image: -gtk-win32-theme-part(toolbar, 1 6);
+}
+
+.toolbar .button:insensitive {
+    background-image: -gtk-win32-theme-part(toolbar, 1 4);
+}
+
+/* Column headers */
+
+column-header .button,
+column-header .button:focus {
+    background-color: transparent;
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(header, 1 1);
+}
+
+column-header .button:prelight,
+column-header .button:prelight:focus {
+    background-image: -gtk-win32-theme-part(header, 1 2);
+}
+
+column-header .button:active,
+column-header .button:active:prelight,
+column-header .button:active:focus,
+column-header .button:active:prelight:focus {
+    background-image: -gtk-win32-theme-part(header, 1 3);
+}
+
+GtkSwitch {
+    font: bold condensed 10;
+    color: -gtk-win32-color(button, 18);
+}
+
+GtkSwitch.slider {
+    padding: 4px;
+    background-color: transparent;
+    background-image: -gtk-win32-theme-part(scrollbar, 2 1, over (8 1));
+    border-width: 0;
+}
+
+GtkSwitch.trough:insensitive {
+    background-image: -gtk-win32-theme-part(button, 1 4);
+}
+
+GtkSwitch.trough {
+    background-image: -gtk-win32-theme-part(button, 1 1);
+}
+
+GtkSwitch.trough:active {
+    background-image: -gtk-win32-theme-part(button, 1 2);
+}
+
+/* Menus */
+
+.menu {
+    background-color: -gtk-win32-color(button, 4);
+    border-color: shade (-gtk-win32-color(button, 4), 0.6);
+    border-style: solid;
+    border-width: 1px;
+    padding: 2px;
+}
+
+.menuitem {
+    color: -gtk-win32-color(button, 7);
+}
+
+.menubar .menuitem *:backdrop {
+    color: mix (-gtk-win32-color(button, 7), white, 0.5);
+}
+
+.menubar > .menuitem {
+    padding: 3px 5px;
+}
+
+/* Assistant */
+
+GtkAssistant .sidebar .highlight {
+    background-color: blue;
+    font: bold;
+}
+
+GtkAssistant .sidebar {
+    padding: 12px;
+
+    background-color: white;
+
+    border-image: none;
+    border-width: 0 1px 0 0;
+    border-style: solid;
+}
+
+GtkColorSwatch {
+    border-style: solid;
+    border-width: 1px;
+}
+
+GtkColorSwatch:prelight {
+    border-color: shade (@bg_color, 0.2);
+}
+
+.separator,
+.separator:prelight {
+    color: shade (@bg_color, 0.6);
+}
+
+GtkStatusbar > GtkFrame {
+    border-width: 1px 1px 1px 1px;
+    border-style: solid;
+    border-image:  -gtk-win32-theme-part(status, 0 0, margins (-1 0 0 0))  2 1 1 1 stretch;
+    background-image: none;
+}
+
+/*
+ This doesn't quite look right with no background (i.e. when not on a statusbar
+
+.grip {
+    background-color: transparent;
+    background-image:  -gtk-win32-theme-part(status, 3 1);
+}
+*/
diff --git a/installers/Windows/share/themes/Adwaita/gtk-3.0/gtk-win32-xp.css b/installers/Windows/share/themes/Adwaita/gtk-3.0/gtk-win32-xp.css
new file mode 100644
index 0000000..70ee862
--- /dev/null
+++ b/installers/Windows/share/themes/Adwaita/gtk-3.0/gtk-win32-xp.css
@@ -0,0 +1,72 @@
+ import url("gtk-win32-base.css");
+
+.menubar {
+    background-color: #f7f7f7;
+    /*background-color: -gtk-win32-color(button, 30);*/
+
+    border-width: 0 0 1px 0;
+    border-style: solid;
+    border-color: #ded3bd;
+}
+
+.menu > .menuitem:prelight {
+    background-color: -gtk-win32-color(button, 29);
+}
+
+.menubar > .menuitem:prelight,
+.menubar > .menuitem:prelight:focused {
+    background-image: -gtk-win32-theme-part(toolbar, 1 2);
+}
+
+.notebook {
+    background-image: -gtk-win32-theme-part(tab, 9 1, margins(-1 -3 -3 -1));
+    border-image: -gtk-win32-theme-part(tab, 9 1, margins(0 -2 -2 0)) 1 1 1 1 repeat;
+}
+
+.menuitem.check,
+.menuitem.check:prelight,
+.menuitem.check:insensitive,
+.menuitem.check:active,
+.menuitem.check:active:prelight,
+.menuitem.check:inconsistent,
+.menuitem.check:inconsistent:insensitive,
+.menuitem.check:inconsistent:prelight,
+.menuitem.check:inconsistent:active,
+.menuitem.check:inconsistent:active:prelight,
+.menuitem.check:insensitive:active,
+.menuitem.check:insensitive:active:prelight {
+    background-image: none;
+    border-width: 0;
+}
+
+.menuitem.radio,
+.menuitem.radio:prelight,
+.menuitem.radio:insensitive,
+.menuitem.radio:active,
+.menuitem.radio:active:prelight,
+.menuitem.radio:inconsistent,
+.menuitem.radio:inconsistent:insensitive,
+.menuitem.radio:inconsistent:prelight,
+.menuitem.radio:inconsistent:active,
+.menuitem.radio:inconsistent:active:prelight,
+.menuitem.radio:insensitive:active,
+.menuitem.radio:insensitive:active:prelight {
+    background-image: none;
+    border-width: 0;
+}
+
+.spinbutton .button {
+    border-width: 1px;
+    border-style: solid;
+    border-color: #7b9ebd;
+}
+
+.spinbutton .button:last-child {
+    border-width: 1px 1px 1px 0px;
+}
+
+GtkProgressBar.progressbar {
+    border-width: 2px;
+    border-style: solid;
+    border-color: transparent;
+}
diff --git a/installers/Windows/share/themes/Adwaita/gtk-3.0/gtk-win32.css b/installers/Windows/share/themes/Adwaita/gtk-3.0/gtk-win32.css
new file mode 100644
index 0000000..f8d774f
--- /dev/null
+++ b/installers/Windows/share/themes/Adwaita/gtk-3.0/gtk-win32.css
@@ -0,0 +1,84 @@
+ import url("gtk-win32-base.css");
+
+/* Menus */
+
+.menubar {
+    background-color: transparent;
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(menu, 7 1);
+}
+
+.menubar > .menuitem {
+    background-color: transparent;
+    border-width: 0;
+    background-image: -gtk-win32-theme-part(menu, 8 1);
+}
+
+.menubar > .menuitem:prelight {
+    background-image: -gtk-win32-theme-part(menu, 8 3);
+}
+
+.menuitem:prelight {
+    background-image: -gtk-win32-theme-part(menu, 14 2);
+}
+
+.menuitem:prelight:insensitive {
+    background-image: -gtk-win32-theme-part(menu, 14 4);
+}
+
+.menuitem.radio,
+.menuitem.radio:prelight,
+.menuitem.radio:insensitive {
+    background-color: transparent;
+    background-image: none;
+    border-width: 0;
+}
+
+.menuitem.radio:active, 
+.menuitem.radio:active:prelight {
+    background-image: -gtk-win32-theme-part(menu, 11 3);
+    border-width: 0;
+}
+
+.menuitem.radio:inconsistent,
+.menuitem.radio:inconsistent:insensitive,
+.menuitem.radio:inconsistent:prelight,
+.menuitem.radio:inconsistent:active,
+.menuitem.radio:inconsistent:active:prelight {
+    background-image: none; /* Fall back to default, this state is not in win32 */
+    border-width: 0;
+}
+
+.menuitem.radio:insensitive:active,
+.menuitem.radio:insensitive:active:prelight {
+    background-image: -gtk-win32-theme-part(menu, 11 4);
+    border-width: 0;
+}
+
+.menuitem.check,
+.menuitem.check:prelight,
+.menuitem.check:insensitive {
+    background-image: none;
+    border-width: 0;
+}
+
+.menuitem.check:active, 
+.menuitem.check:active:prelight {
+    background-image: -gtk-win32-theme-part(menu, 11 1);
+    border-width: 0;
+}
+
+.menuitem.check:inconsistent,
+.menuitem.check:inconsistent:insensitive,
+.menuitem.check:inconsistent:prelight,
+.menuitem.check:inconsistent:active,
+.menuitem.check:inconsistent:active:prelight {
+    background-image: none; /* Fall back to default, this state is not in win32 */
+    border-width: 0;
+}
+
+.menuitem.check:insensitive:active,
+.menuitem.check:insensitive:active:prelight{
+    background-image: -gtk-win32-theme-part(menu, 11 2);
+    border-width: 0;
+}
diff --git a/installers/Windows/share/themes/Adwaita/gtk-3.0/gtk.css b/installers/Windows/share/themes/Adwaita/gtk-3.0/gtk.css
new file mode 120000
index 0000000..a89d3a5
--- /dev/null
+++ b/installers/Windows/share/themes/Adwaita/gtk-3.0/gtk.css
@@ -0,0 +1 @@
+gtk-win32.css
\ No newline at end of file
diff --git a/installers/Windows/share/themes/Adwaita/index.theme b/installers/Windows/share/themes/Adwaita/index.theme
new file mode 100644
index 0000000..fcafae8
--- /dev/null
+++ b/installers/Windows/share/themes/Adwaita/index.theme
@@ -0,0 +1,134 @@
+[X-GNOME-Metatheme]
+Name=Adwaita
+Name[af]=Adwaita
+Name[an]=Adwaita
+Name[ar]=ØØÙØÙØØ
+Name[as]=Adwaita
+Name[be]=Adwaita
+Name[bg]=ÐÐÐÐÐÑÐ
+Name[bn_IN]=àààà
+Name[ca]=Adwaita
+Name[ca valencia]=Adwaita
+Name[cs]=Adwaita
+Name[da]=Adwaita
+Name[de]=Adwaita
+Name[el]=Adwaita
+Name[en_CA]=Adwaita
+Name[en_GB]=Adwaita
+Name[eo]=Adwaita
+Name[es]=Adwaita
+Name[et]=Adwaita
+Name[eu]=Adwaita
+Name[fa]=ØØÙØÛØØ
+Name[fi]=Adwaita
+Name[fr]=Adwaita
+Name[fy]=Adwaita
+Name[gl]=Adwaita
+Name[gu]=Adwaita
+Name[he]=Adwaita
+Name[hi]=Adwaita
+Name[hu]=Adwaita
+Name[id]=Adwaita
+Name[it]=Adwaita
+Name[ja]=ãããããã
+Name[km]=Adwaita
+Name[kn]=àààààà
+Name[ko]=ìëììí
+Name[lt]=Adwaita
+Name[lv]=Adwaita
+Name[ml]=ààààààà
+Name[nb]=Adwaita
+Name[nl]=Adwaita
+Name[or]=Adwaita
+Name[pa]=àààààà
+Name[pl]=Adwaita
+Name[pt]=Adwaita
+Name[pt_BR]=Adwaita
+Name[ro]=Adwaita
+Name[ru]=ÐÐÐÐÐÑÐ
+Name[sk]=Adwaita
+Name[sl]=Adwaita
+Name[sr]=ÐÐÐÐÑÑÐ
+Name[sr latin]=Advajta
+Name[sv]=Adwaita
+Name[ta]=ààààààà
+Name[te]=àààààà
+Name[th]=ààààààà
+Name[tr]=Sadece bir tane
+Name[ug]=Adwaita
+Name[uk]=ÐÐÐÐÐÑÐ
+Name[uz cyrillic]=ÐÐÐÐÐÑÐ
+Name[vi]=Adwaita
+Name[zh_CN]=Adwaita
+Name[zh_HK]=åä
+Name[zh_TW]=åä
+Type=X-GNOME-Metatheme
+Comment=There is only one
+Comment[af]=Daar is slegs een
+Comment[an]=Solo bi ha que uno
+Comment[ar]=ÙÙØÙ ÙØØØØ ÙÙØ
+Comment[as]=àààà àààà ààà
+Comment[be]=ÐÐÐÑÐÑ Ñ ÐÐÐÐÑÑÐÑÐÑ
+Comment[bg]=ÐÐÐÐ ÐÐÐÐÑÑÐÐÐ ÐÐÐ ÑÐÐÐ
+Comment[bn_IN]=ààààààààà àààà ààààà
+Comment[ca]=NomÃs n'hi ha un
+Comment[ca valencia]=NomÃs n'hi ha un
+Comment[cs]=Je jen jedna
+Comment[da]=Der er kun en
+Comment[de]=Es gibt nur eines
+Comment[el]=ÎÏÎÏÏÎÎ ÎÏÎÎ ÎÎÎ
+Comment[en_CA]=There is only one
+Comment[en_GB]=There is only one
+Comment[eo]=Tie nur unu estas
+Comment[es]=Solo existe uno
+Comment[et]=Ainult Ãks ongi
+Comment[eu]=Bat bakarrik dago
+Comment[fa]=ÙÙØ ÛÚÛ ÙØÙØ ØØØØ
+Comment[fi]=On vain yksi
+Comment[fr]=Il n'y en a qu'un seul
+Comment[fy]=Der is inkeld ien
+Comment[gl]=SÃ existe un
+Comment[gu]=ààààà àààà àà àà
+Comment[he]=×××× ××××××
+Comment[hi]=àà àà àà
+Comment[hu]=Csak egy van
+Comment[id]=Hanya ada satu
+Comment[it]=Il solo e l'unico
+Comment[ja]=åäçä
+Comment[km]=áááâááâáááâááá
+Comment[kn]=àààà àààà ààààà ààà
+Comment[ko]=ìì íë ë!
+Comment[lt]=Yra vienintelÄ
+Comment[lv]=Ir tikai viena
+Comment[ml]=ààààààà ààààààà ààààà
+Comment[nb]=Det finnes bare Ãn
+Comment[nl]=Er is er maar ÃÃn
+Comment[or]=àààààà àààà ààààà ààà
+Comment[pa]=ààààà ààà àà àà
+Comment[pl]=MoÅe byÄ tylko jeden
+Comment[pt]=Apenas existe um
+Comment[pt_BR]=HÃ apenas um
+Comment[ro]=ExistÄ doar unul singur
+Comment[ru]=ÐÐÐÐÑÑÐÐÐÐÐÑ
+Comment[sk]=Je len jedinÃ
+Comment[sl]=Lahko je le eden
+Comment[sr]=ÐÐÑÑÐÑÐ ÑÐÐÐ ÑÐÐÐÐ
+Comment[sr latin]=Postoji samo jedna
+Comment[sv]=Det finns bara en
+Comment[ta]=ààààà ààààà àààààà
+Comment[te]=ààààà àààà àààààà
+Comment[th]=àààààààààààààààààà
+Comment[tr]=Sadece bir tane var
+Comment[ug]=ÙÛÙÛØ ØÙØÙÙØ ØØØ
+Comment[uk]=ÐÑÐÑÑ ÐÐÑÐ ÐÐÐÐ
+Comment[uz cyrillic]=ÐÐÒÐÑ ÐÐÑÑÐ ÐÐÑ
+Comment[vi]=Chá cà mát
+Comment[zh_CN]=åæää
+Comment[zh_HK]=åæåääå
+Comment[zh_TW]=åæåääå
+Encoding=UTF-8
+GtkTheme=Adwaita
+MetacityTheme=Adwaita
+IconTheme=gnome
+CursorTheme=Adwaita
+CursorSize=24



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