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>
pull/10/head
Mavridis Philippe 9 months ago committed by TDE Gitea
parent bb0a8ec627
commit bf94b5f4d8

@ -51,6 +51,7 @@ option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden"
option( BUILD_ALL "Build all" ON )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
option( BUILD_GTK_ENGINE "Build GTK+2.0 engine" ${BUILD_ALL} )
##### configure checks

@ -23,3 +23,19 @@ tde_setup_largefiles( )
if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( )
endif( WITH_GCC_VISIBILITY )
if( BUILD_GTK_ENGINE )
pkg_search_module( GTK gtk+-2.0 )
if( NOT GTK_FOUND )
tde_message_fatal( "The GTK+2 engine was selected for build, but GTK+2 headers were not found on your system." )
endif( )
pkg_get_variable( GTK_BIN_VERSION gtk+-2.0 gtk_binary_version )
set( INSTALL_PATH_GTK_ENGINES "${GTK_LIBDIR}/gtk-2.0/${GTK_BIN_VERSION}/engines"
CACHE PATH "The directory in which to install the theme engine library" )
message( STATUS " theme engine lib directory: ${INSTALL_PATH_GTK_ENGINES}" )
set( INSTALL_PATH_GTK_THEMES "${GTK_PREFIX}/share/themes"
CACHE PATH "The directory in which to install the theme data" )
message( STATUS " theme engine data directory: ${INSTALL_PATH_GTK_THEMES}" )
endif( BUILD_GTK_ENGINE )

@ -1,2 +1,3 @@
add_subdirectory( widget )
add_subdirectory( twin )
tde_conditional_add_subdirectory( BUILD_GTK_ENGINE gtk )

@ -0,0 +1,2 @@
add_subdirectory(engine)
add_subdirectory(styles)

@ -0,0 +1,21 @@
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${GTK_INCLUDE_DIRS}
)
link_directories(
${GTK_LIBDIR}
)
tde_add_library(ia_ora SHARED
SOURCES
ia_ora_theme_draw.c
ia_ora_theme_main.c
ia_ora_rc_style.c
LINK ${GTK_LIBRARIES}
DESTINATION ${INSTALL_PATH_GTK_ENGINES}
)

@ -0,0 +1,217 @@
/* Ia Ora theme
* Copyright (C) 2006 Frederic Crozat - Mandriva
* 1999 Olivier Fourdan (fourdan@xfce.org) for XFCE code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "ia_ora_rc_style.h"
#include "ia_ora_style.h"
static void ia_ora_rc_style_init(Ia_OraRcStyle * style);
static void ia_ora_rc_style_class_init(Ia_OraRcStyleClass * klass);
static void ia_ora_rc_style_finalize(GObject * object);
static guint ia_ora_rc_style_parse(GtkRcStyle * rc_style, GtkSettings * settings, GScanner * scanner);
static void ia_ora_rc_style_merge(GtkRcStyle * dest, GtkRcStyle * src);
static GtkStyle *ia_ora_rc_style_create_style(GtkRcStyle * rc_style);
static GtkRcStyleClass *ia_ora_parent_rc_class;
GType ia_ora_type_rc_style = 0;
enum
{
TOKEN_GRADIENT = G_TOKEN_LAST + 1,
TOKEN_CROSS,
TOKEN_BLACK_CHECK,
TOKEN_TRUE,
TOKEN_FALSE,
};
static struct
{
const gchar *name;
guint token;
}
ia_ora_rc_symbols[] =
{
{ "enable_gradient", TOKEN_GRADIENT },
{ "use_cross", TOKEN_CROSS},
{ "black_check", TOKEN_BLACK_CHECK},
{ "TRUE", TOKEN_TRUE},
{ "FALSE", TOKEN_FALSE},
};
void ia_ora_rc_style_register_type(GTypeModule * module)
{
static const GTypeInfo object_info = {
sizeof(Ia_OraRcStyleClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) ia_ora_rc_style_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof(Ia_OraRcStyle),
0, /* n_preallocs */
(GInstanceInitFunc) ia_ora_rc_style_init,
NULL
};
ia_ora_type_rc_style = g_type_module_register_type(module,
GTK_TYPE_RC_STYLE,
"Ia_OraRcStyle",
&object_info, 0);
}
static void ia_ora_rc_style_init(Ia_OraRcStyle * ia_ora_rc_style)
{
ia_ora_rc_style->enable_gradient = TRUE;
ia_ora_rc_style->use_cross = FALSE;
ia_ora_rc_style->black_check = FALSE;
}
static void ia_ora_rc_style_class_init(Ia_OraRcStyleClass * klass)
{
GtkRcStyleClass *rc_style_class = GTK_RC_STYLE_CLASS(klass);
GObjectClass *object_class = G_OBJECT_CLASS(klass);
ia_ora_parent_rc_class = g_type_class_peek_parent(klass);
rc_style_class->parse = ia_ora_rc_style_parse;
rc_style_class->merge = ia_ora_rc_style_merge;
rc_style_class->create_style = ia_ora_rc_style_create_style;
}
static guint ia_ora_parse_boolean(GScanner * scanner, GTokenType wanted_token, guint * retval)
{
guint token;
token = g_scanner_get_next_token(scanner);
if(token != wanted_token)
return wanted_token;
token = g_scanner_get_next_token(scanner);
if(token != G_TOKEN_EQUAL_SIGN)
return G_TOKEN_EQUAL_SIGN;
token = g_scanner_get_next_token(scanner);
if(token == TOKEN_TRUE)
*retval = TRUE;
else if(token == TOKEN_FALSE)
*retval = FALSE;
else
return TOKEN_TRUE;
return G_TOKEN_NONE;
}
static guint ia_ora_rc_style_parse(GtkRcStyle * rc_style, GtkSettings * settings, GScanner * scanner)
{
static GQuark scope_id = 0;
Ia_OraRcStyle *ia_ora_rc_style = IA_ORA_RC_STYLE(rc_style);
guint old_scope;
guint token;
guint i;
/* Set up a new scope in this scanner. */
if(!scope_id)
scope_id = g_quark_from_string("ia_ora_theme_engine");
/* If we bail out due to errors, we *don't* reset the scope, so the
* error messaging code can make sense of our tokens.
*/
old_scope = g_scanner_set_scope(scanner, scope_id);
/* Now check if we already added our symbols to this scope
* (in some previous call to clearlooks_rc_style_parse for the
* same scanner.
*/
if(!g_scanner_lookup_symbol(scanner, ia_ora_rc_symbols[0].name)) {
for(i = 0; i < G_N_ELEMENTS (ia_ora_rc_symbols); i++)
{
g_scanner_scope_add_symbol(scanner, scope_id, ia_ora_rc_symbols[i].name,
GINT_TO_POINTER(ia_ora_rc_symbols[i].token));
}
}
/* We're ready to go, now parse the top level */
token = g_scanner_peek_next_token(scanner);
while(token != G_TOKEN_RIGHT_CURLY)
{
switch (token)
{
case TOKEN_GRADIENT:
token = ia_ora_parse_boolean(scanner, TOKEN_GRADIENT, &ia_ora_rc_style->enable_gradient);
break;
case TOKEN_CROSS:
token = ia_ora_parse_boolean(scanner, TOKEN_CROSS, &ia_ora_rc_style->use_cross);
break;
case TOKEN_BLACK_CHECK:
token = ia_ora_parse_boolean(scanner, TOKEN_BLACK_CHECK, &ia_ora_rc_style->black_check);
break;
default:
g_scanner_get_next_token(scanner);
token = G_TOKEN_RIGHT_CURLY;
break;
}
if(token != G_TOKEN_NONE)
return token;
token = g_scanner_peek_next_token(scanner);
}
g_scanner_get_next_token(scanner);
g_scanner_set_scope(scanner, old_scope);
return G_TOKEN_NONE;
}
static void ia_ora_rc_style_merge(GtkRcStyle * dest, GtkRcStyle * src)
{
Ia_OraRcStyle *dest_w, *src_w;
ia_ora_parent_rc_class->merge (dest, src);
if (!IA_ORA_IS_RC_STYLE (src))
return;
src_w = IA_ORA_RC_STYLE (src);
dest_w = IA_ORA_RC_STYLE (dest);
dest_w->enable_gradient = src_w->enable_gradient;
dest_w->use_cross = src_w->use_cross;
dest_w->black_check= src_w->black_check;
}
/* Create an empty style suitable to this RC style
*/
static GtkStyle *ia_ora_rc_style_create_style(GtkRcStyle * rc_style)
{
return GTK_STYLE(g_object_new(IA_ORA_TYPE_STYLE, NULL));
}

@ -0,0 +1,51 @@
/* Ia Ora
* Copyright (C) 2006 Frederic Crozat - Mandriva
* 1999 Olivier Fourdan (fourdan@xfce.org) for XFCE code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <gtk/gtkrc.h>
typedef struct _Ia_OraRcStyle Ia_OraRcStyle;
typedef struct _Ia_OraRcStyleClass Ia_OraRcStyleClass;
__attribute__((__visibility__("internal"))) extern GType ia_ora_type_rc_style;
#define IA_ORA_TYPE_RC_STYLE ia_ora_type_rc_style
#define IA_ORA_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), IA_ORA_TYPE_RC_STYLE, Ia_OraRcStyle))
#define IA_ORA_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), IA_ORA_TYPE_RC_STYLE, Ia_OraRcStyleClass))
#define IA_ORA_IS_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), IA_ORA_TYPE_RC_STYLE))
#define IA_ORA_IS_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), IA_ORA_TYPE_RC_STYLE))
#define IA_ORA_RC_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), IA_ORA_TYPE_RC_STYLE, Ia_OraRcStyleClass))
struct _Ia_OraRcStyle
{
GtkRcStyle parent_instance;
gboolean enable_gradient;
gboolean use_cross;
gboolean black_check;
};
struct _Ia_OraRcStyleClass
{
GtkRcStyleClass parent_class;
};
__attribute__((__visibility__("internal"))) void ia_ora_rc_style_register_type(GTypeModule * module);

@ -0,0 +1,59 @@
/* Ia Ora
* Copyright (C) 2003 Frederic Crozat - Mandriva
* 1999 Olivier Fourdan (fourdan@xfce.org) for XFCE code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <gtk/gtkstyle.h>
typedef struct _Ia_OraStyle Ia_OraStyle;
typedef struct _Ia_OraStyleClass Ia_OraStyleClass;
__attribute__((__visibility__("internal"))) extern GType ia_ora_type_style;
#define IA_ORA_TYPE_STYLE ia_ora_type_style
#define IA_ORA_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), IA_ORA_TYPE_STYLE, Ia_OraStyle))
#define IA_ORA_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), IA_ORA_TYPE_STYLE, Ia_OraStyleClass))
#define IA_ORA_IS_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), IA_ORA_TYPE_STYLE))
#define IA_ORA_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), IA_ORA_TYPE_STYLE))
#define IA_ORA_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), IA_ORA_TYPE_STYLE, Ia_OraStyleClass))
#define N_BLUE_COLORS 5
#define N_GRAY_COLORS 7
struct _Ia_OraStyle
{
GtkStyle parent_instance;
GdkColor gray[N_GRAY_COLORS]; /* from light to dark */
GdkColor blue[N_BLUE_COLORS]; /* from light to dark */
GdkColor check_color;
GdkGC *gray_gc[N_GRAY_COLORS]; /* from light to dark */
GdkGC *blue_gc[N_BLUE_COLORS]; /* from light to dark */
GdkGC *check_gc;
GdkPixmap *radio_pixmap_circle[5];
GdkBitmap *radio_pixmap_mask; /* All masks are the same */
};
struct _Ia_OraStyleClass
{
GtkStyleClass parent_class;
};
__attribute__((__visibility__("internal"))) void ia_ora_style_register_type(GTypeModule * module);

File diff suppressed because it is too large Load Diff

@ -0,0 +1,54 @@
/* Ia Ora theme
* Copyright (C) 2006 Frederic Crozat - Mandriva
* 1999 Olivier Fourdan (fourdan@xfce.org) for XFCE code
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <gmodule.h>
#include <gtk/gtk.h>
#include "ia_ora_rc_style.h"
#include "ia_ora_style.h"
G_MODULE_EXPORT void theme_init(GTypeModule * module)
{
ia_ora_rc_style_register_type(module);
ia_ora_style_register_type(module);
}
G_MODULE_EXPORT void theme_exit(void)
{
}
G_MODULE_EXPORT GtkRcStyle *theme_create_rc_style(void)
{
return GTK_RC_STYLE(g_object_new(IA_ORA_TYPE_RC_STYLE, NULL));
}
/* The following function will be called by GTK+ when the module
* is loaded and checks to see if we are compatible with the
* version of GTK+ that loads us.
*/
/*
G_MODULE_EXPORT const gchar* g_module_check_init (GModule *module);
const gchar*
g_module_check_init (GModule *module)
{
return gtk_check_version (GTK_MAJOR_VERSION,
GTK_MINOR_VERSION,
GTK_MICRO_VERSION - GTK_INTERFACE_AGE);
}
*/

@ -0,0 +1,6 @@
foreach( THEME orange blue gray arctic smooth night steel )
install(
FILES "${THEME}/gtkrc"
DESTINATION "${INSTALL_PATH_GTK_THEMES}/Ia Ora ${THEME}/gtk-2.0"
)
endforeach()

@ -0,0 +1,169 @@
# 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:#8EC7FF\nselected_fg_color:#000\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"
# arctic
color["blue0"]= mix(0.1, @selected_bg_color, "#F8F8F8") # "#EFF7FF"
color["blue1"]= mix(0.4, @selected_bg_color, "#E8ECF8") # "#C7DFFF"
color["blue2"]= @selected_bg_color # "#8EC7FF"
color["blue3"]= mix(0.5, @selected_bg_color, "#70B0F8") # "#79BEFF"
color["blue4"]= mix(0.5, @selected_bg_color, "#50A0F8") # "#69B6FF"
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" {
black_check=TRUE
}
}
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"

@ -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:#4965AE\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"
# blue
color["blue0"]= mix(0.3, @selected_bg_color, "#C8D8F8") # "#A6B6E7"
color["blue1"]= mix(0.5, @selected_bg_color, "#C8E0E8") #"#8EA2CF"
color["blue2"]= @selected_bg_color # "#4965AE"
color["blue3"]= mix(0.5, @selected_bg_color, "#405595") #"#415DA6"
color["blue4"]= mix(0.5, @selected_bg_color, "#012888") #"#21459C"
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"

@ -0,0 +1,169 @@
# 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:#C7D3DF\nselected_fg_color:#000\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"
# pwp+
color["blue0"]= mix(0.3, @selected_bg_color, "#E8ECF0") # gray1 #DFE7EF
color["blue1"]= mix(0.5, @selected_bg_color, "#C8D8D0") # gray2 #CFD7DF
color["blue2"]= @selected_bg_color # gray3 #C7D3DF
color["blue3"]= mix(0.5, @selected_bg_color, "#8090A0") # gray5 #A6B2C7
color["blue4"]= mix(0.5, @selected_bg_color, "#405060") # gray6 #8692A6
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" {
black_check=TRUE
}
}
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"

@ -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"

@ -0,0 +1,169 @@
# 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:#F7B610\nselected_fg_color:#000\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"
# orange
color["blue0"]= mix(0.3, @selected_bg_color, "#FFF018") # "#FFDF10"
color["blue1"]= mix(0.5, @selected_bg_color, "#FFE018") #"#FFCB10"
color["blue2"]= @selected_bg_color # "#F7B610"
color["blue3"]= mix(0.5, @selected_bg_color, "#FF9008") # "#FFA208"
color["blue4"]= mix(0.1, @selected_bg_color, "#EF9000") # "#F79600"
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" {
black_check=TRUE
}
}
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"

@ -0,0 +1,168 @@
# 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:#7BAAE7\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"
# smooth
color["blue0"] = mix(0.3, @selected_bg_color, "#E8F8FF") # "#cee3ff"
color["blue1"] = mix(0.3, @selected_bg_color, "#C0DAFF") # "#adcfff"
color["blue2"] = @selected_bg_color # "#7BAAE7"
color["blue3"] = mix(0.5, @selected_bg_color, "#396AC5" ) # "#5A8AD6"
color["blue4"] = mix(0.5, @selected_bg_color, "#0C50a0") # "#427dc6"
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" {
black_check=TRUE
}
}
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"

@ -0,0 +1,167 @@
# 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:#158CCD\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"
# steel
color["blue0"]= mix(0.3, @selected_bg_color, "#DEFCEC") # "#A2DBE3"
color["blue1"]= mix(0.4, @selected_bg_color, "#55DFD0") # "#3BBECF"
color["blue2"]= @selected_bg_color # "#158CCD"
color["blue3"]= mix(0.1, @selected_bg_color, "#046B9E") # "#056EA3"
color["blue4"]= mix(0.1, @selected_bg_color, "#092A46") # "#0A3453"
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"
Loading…
Cancel
Save