summaryrefslogtreecommitdiffstats
path: root/src/gtk/styles/night/gtkrc
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-03-10 18:36:50 +0200
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2024-03-28 15:13:46 +0000
commitbf94b5f4d80f9bdcc70d929664d935b56c324c85 (patch)
tree9e52bc5d5853c9959d8f16060f394588e2138f0d /src/gtk/styles/night/gtkrc
parentbb0a8ec627425405bae2c4289c14ef12ca525e86 (diff)
downloadtde-style-ia-ora-bf94b5f4d80f9bdcc70d929664d935b56c324c85.tar.gz
tde-style-ia-ora-bf94b5f4d80f9bdcc70d929664d935b56c324c85.zip
Added GTK+2.0 engine
Ia Ora was created by Mandriva so that Qt and GTK applications could have a uniform look. It only seems fair to include the GTK style with the TDE style. Source: https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/SRPMS/core/release/ia_ora-gnome-1.0.25-12.mga9.src.rpm Licence: GNU GPL v2 or later Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/gtk/styles/night/gtkrc')
-rw-r--r--src/gtk/styles/night/gtkrc166
1 files changed, 166 insertions, 0 deletions
diff --git a/src/gtk/styles/night/gtkrc b/src/gtk/styles/night/gtkrc
new file mode 100644
index 0000000..a691366
--- /dev/null
+++ b/src/gtk/styles/night/gtkrc
@@ -0,0 +1,166 @@
+# Set GtkSettings color scheme property.
+# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
+gtk_color_scheme = "fg_color:#000\nbg_color:#EFF3F7\nbase_color:#fff\ntext_color:#000\nselected_bg_color:#5D658E\nselected_fg_color:#fff\ntooltip_fg_color:#000\ntooltip_bg_color:#FFFF94"
+gtk-auto-mnemonics = 1
+
+style "ia_ora-default"
+{
+
+ color["gray0"]= @bg_color # "#EFF3F7"
+ color["gray1"]= mix(0.5,@bg_color, "#C8D8D8") #"#DFE7EF"
+ color["gray2"]= mix(0.5,@bg_color, "#A8B8B8") #"#CFD7DF"
+ color["gray3"]= mix(0.5,@bg_color, "#90B0B8") # "#C7D3DF"
+ color["gray4"]= mix(0.5,@bg_color, "#709098") # "#B6C3CF"
+ color["gray5"]= mix(0.5,@bg_color, "#507088") # "#A6B2C7"
+ color["gray6"]= mix(0.5,@bg_color, "#183050") #"#8692A6"
+
+# night
+ color["blue0"]= mix(0.1, @selected_bg_color, "#B5C2F4") # "#ACB9EA"
+ color["blue1"]= mix(0.5, @selected_bg_color, "#A3B5F3") #"#808DC6"
+ color["blue2"]= @selected_bg_color # "#5D658E"
+ color["blue3"]= mix(0.5, @selected_bg_color, "#1E2440") #"#3D4467"
+ color["blue4"]= mix(0.3, @selected_bg_color, "#101834") #"#272F4F"
+
+ GtkButton::default-border = {1, 1, 1, 1}
+ GtkWidget::interior-focus = 1
+ GtkButton::default-spacing = 6
+ GtkCheckButton::indicator-size = 13
+ GtkPaned::handle-size = 6
+ GtkRange::trough-border = 0
+ GtkRange::slider-width = 8
+ GtkRange::stepper-size = 15
+ GtkRange::stepper-spacing = 0
+ GtkRange::trough-side-details = 1
+ GtkScrollbar::min-slider-length = 20
+ GtkScrollbar::slider-width = 15
+ GtkScrollbar::trough-side-details = 0
+ GtkTreeView::even-row-color = @base_color
+ GtkTreeView::odd-row-color = @bg_color
+
+ # Glow the tasklist by changing the color, instead of overlaying it with a rectangle
+ WnckTasklist ::fade-overlay-rect = 0
+
+
+ fg[NORMAL] = @fg_color
+ fg[ACTIVE] = @fg_color
+ fg[INSENSITIVE] = @gray4
+ fg[PRELIGHT] = @fg_color
+ fg[SELECTED] = @selected_fg_color
+
+ bg[NORMAL] = @bg_color
+ bg[ACTIVE] = @gray1
+ bg[INSENSITIVE] = @gray2
+ bg[PRELIGHT] = @gray1
+ bg[SELECTED] = @selected_bg_color
+
+ base[NORMAL] = @base_color
+ base[ACTIVE] = @blue1
+ base[INSENSITIVE] = @bg_color
+ base[PRELIGHT] = @base_color
+ base[SELECTED] = @selected_bg_color
+
+ text[NORMAL] = @text_color
+ text[ACTIVE] = @selected_fg_color
+ text[INSENSITIVE] = @gray4
+ text[PRELIGHT] = @fg_color
+ text[SELECTED] = @selected_fg_color
+
+ engine "ia_ora" {}
+}
+
+style "ia_ora-button" = "ia_ora-default"
+{
+ xthickness = 2
+ ythickness = 2
+}
+
+style "ia_ora-thin" = "ia_ora-default"
+{
+ xthickness = 1
+ ythickness = 1
+}
+
+style "ia_ora-treeview-header" = "ia_ora-default"
+{
+ xthickness = 0
+ ythickness = 0
+}
+
+
+style "ia_ora-menu" = "ia_ora-default"
+{
+ fg[PRELIGHT]=@selected_fg_color
+ text[PRELIGHT]=@selected_fg_color
+}
+
+style "ia_ora-bar" = "ia_ora-menu"
+{
+ xthickness = 0
+ ythickness = 0
+}
+
+
+style "ia_ora-tasklist" = "ia_ora-default"
+{
+ xthickness = 2
+ ythickness = 2
+ GtkWidget::focus-line-width = 0
+ GtkWidget::focus-padding = 0
+}
+
+style "ia_ora-comboboxtext" = "ia_ora-default"
+{
+ text[PRELIGHT] = @fg_color
+ # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
+ text[NORMAL] = @fg_color
+}
+
+style "ia_ora-tooltips" = "ia_ora-default"
+{
+ bg[NORMAL] = @tooltip_bg_color
+ fg[NORMAL] = @tooltip_fg_color
+ bg[SELECTED] = darker(@tooltip_bg_color)
+ GtkWidget::new-tooltip-style = 1
+ xthickness = 8
+ ythickness = 4
+}
+
+style "ia_ora-tree" = "ia_ora-default"
+{
+ bg[ACTIVE] = @blue1
+}
+
+style "ia_ora-menubar" = "ia_ora-default"
+{
+ GtkWidget::window-dragging = 1
+}
+
+class "GtkWidget" style "ia_ora-default"
+class "ECanvas" style "ia_ora-thin"
+class "GtkButton" style "ia_ora-button"
+class "EComboButton" style "ia_ora-thin"
+widget_class "*Item.GtkAccelLabel" style "ia_ora-menu"
+widget_class "*GtkComboBox.GtkCellView" style "ia_ora-comboboxtext"
+widget_class "*BaconCdSelection.GtkCellView" style "ia_ora-comboboxtext"
+widget_class "*NautilusBurnDriveSelection.GtkCellView" style "ia_ora-comboboxtext"
+widget_class "*Gimp*Combo*.GtkCellView" style "ia_ora-comboboxtext"
+widget_class "*.EShortcutsView.GtkButton" style "ia_ora-thin"
+widget_class "*.GtkHTMLEmbedded.*GtkButton" style "ia_ora-thin"
+
+# Treeview header
+widget_class "*.<GtkTreeView>.<GtkButton>" style "ia_ora-treeview-header"
+widget_class "*.<GtkList>.<GtkButton>" style "ia_ora-treeview-header"
+widget_class "*.<GtkCList>.<GtkButton>" style "ia_ora-treeview-header"
+widget_class "*.<GtkCTree>.<GtkButton>" style "ia_ora-treeview-header"
+
+class "GtkScrolledWindow" style "ia_ora-thin"
+class "GtkProgressBar" style "ia_ora-bar"
+widget_class "*<GtkMenuBar>*" style "ia_ora-menubar"
+widget_class "*MenuItem*" style "ia_ora-menu"
+widget_class "*.PanelApplet.*" style "ia_ora-tasklist"
+widget "*.tasklist-button" style "ia_ora-tasklist"
+class "GtkNotebook" style "ia_ora-thin"
+widget "gtk-tooltip*" style "ia_ora-tooltips"
+widget_class "*GtkPathBar*" style "ia_ora-thin"
+widget_class "*Tree*" style "ia_ora-tree"
+widget_class "*ETable*" style "ia_ora-tree"