Em 27-07-2008 15:49:51 briareoh escreveu:
> Hi all
>
> I've redone my gNS old-Murrina-based theme improving some elements.
> The
> result, attached.
> Any suggestion is welcome.
> Please, replace the old theme with the new one ;)
>
> Cheers.
>
> --
> My GnuPG key: B2A889ED
> Import my key: gpg --keyserver pgp.rediris.es --recv-keys B2A889ED
> Fingerprint: 60E3 F0A2 C40F AC0D 4BCF 5AE4 39A8 F908 B2A8 89ED
>
>
I've hacked a bit the theme. I send the gtkrc so anyone can test it or
just look at it
gtk-button-images = 1
style "theme-default"
{
GtkButton ::default_border = { 0, 0, 0, 0 }
GtkRange ::trough_border = 0
GtkPaned ::handle_size = 6
GtkRange ::slider_width = 15
GtkRange ::stepper_size = 15
GtkScrollbar ::min_slider_length = 20
GtkCheckButton ::indicator_size = 14
GtkMenuBar ::internal-padding = 0
GtkTreeView ::expander_size = 12
GtkExpander ::expander_size = 14
GtkScale ::slider-length = 24
xthickness = 1
ythickness = 1
fg[NORMAL] = "#474747"
fg[PRELIGHT] = "#222222"
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#000000"
fg[INSENSITIVE] = "#B3AFAB"
bg[NORMAL] = "#DEDEDC"
bg[PRELIGHT] = "#efefef"
bg[SELECTED] = "#5096E3" # progressbar & handles background
bg[INSENSITIVE] = "#E8E8E8" # widget insensitive
bg[ACTIVE] = "#f5f5f5" # this (strangely) controls inactive tab BGs
base[NORMAL] = "#ffffff"
base[PRELIGHT] = "#5096E3" # checkbuttons & menus
base[ACTIVE] = "#5096E3"
base[SELECTED] = "#5096E3"
base[INSENSITIVE] = "#e8e8e8"
text[NORMAL] = "#000000"
text[PRELIGHT] = "#000000"
text[ACTIVE] = "#ffffff"
text[SELECTED] = "#ffffff"
text[INSENSITIVE] = "#777777"
engine "murrine"
{
gradients = TRUE
menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped
#colorize_scrollbar = TRUE
scrollbar_color = "#5096E3"
scrollbarstyle = 0
contrast = 0.5
# sliderstyle = 1
glazestyle = 0 # 0 = flat hilight, 1 = curved hilight, 2 = concave style
menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
listviewheaderstyle = 0 # 0 = flat, 1 = glassy
roundness = 2 # 0 = rounded theme, 1 = squared theme
animation = TRUE # FALSE = disabled, TRUE = enabled
hilight_ratio = 1.0
}
}
style "theme-wide" = "theme-default"
{
xthickness = 2
ythickness = 2
}
style "theme-wider" = "theme-default"
{
xthickness = 3
ythickness = 3
}
style "theme-entry" = "theme-wider"
{
bg[SELECTED] = "#5096E3"
}
style "theme-button" = "theme-wider"
{
bg[NORMAL] = "#E2E4E7"
bg[INSENSITIVE] = "#f0f0f0"
bg[PRELIGHT] = "#F8F8FF"
bg[ACTIVE] = "#B3B3B3"
}
style "theme-notebook" = "theme-wide"
{
bg[NORMAL] = "#eeeeec"
bg[INSENSITIVE] = "#efefef"
bg[SELECTED] = "#5096E3"
engine "clearlooks" {
style = GUMMY
}
}
style "theme-tasklist" = "theme-default"
{
xthickness = 5
ythickness = 3
}
style "theme-menu" = "theme-default"
{
xthickness = 3
ythickness = 1
}
style "theme-menu-item" = "theme-default"
{
ythickness = 3
fg[NORMAL] = "#000000"
text[PRELIGHT] = "#000000"
}
style "theme-menubar-item"
{
ythickness = 4
fg[PRELIGHT] = "#000000"
bg[PRELIGHT] = "#5096E3"
}
style "theme-tree" = "theme-default"
{
xthickness = 2
ythickness = 2
bg[NORMAL] = "#f2f2f2"
}
style "theme-frame-title" = "theme-default"
{
fg[NORMAL] = "#000000"
}
style "theme-tooltips" = "theme-default"
{
xthickness = 4
ythickness = 4
bg[NORMAL] = { 1.0,1.0,0.75 }
}
style "theme-progressbar" = "theme-wide"
{
xthickness = 2
ythickness = 2
#fg[PRELIGHT] = "#ffffff"
}
style "theme-combo" = "theme-button"
{
}
style "metacity-frame"
{
fg[PRELIGHT] = "#FFFFFF"
bg[SELECTED] = "#40A7FF"
}
class "MetaFrames" style "metacity-frame"
class "GtkWindow" style "metacity-frame"
# widget styles
class "GtkWidget" style "theme-default"
class "GtkButton" style "theme-button"
class "GtkScale" style "theme-button"
class "GtkCombo" style "theme-button"
class "GtkRange" style "theme-wide"
class "GtkFrame" style "theme-wide"
class "GtkMenu" style "theme-menu"
class "GtkEntry" style "theme-entry"
class "GtkMenuItem" style "theme-menu-item"
class "GtkNotebook" style "theme-notebook"
class "GtkProgressBar" style "theme-progressbar"
class "*MenuBar*" style "theme-menubar"
widget_class "*MenuItem.*" style "theme-menu-item"
widget_class "*MenuBar.*" style "theme-menubar-item"
# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "theme-combo"
widget_class "*.GtkCombo.GtkButton" style "theme-combo"
# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "theme-tasklist"
widget "gtk-tooltips" style "theme-tooltips"
# treeview stuff
widget_class "*.GtkTreeView.GtkButton" style "theme-tree"
widget_class "*.GtkCTree.GtkButton" style "theme-tree"
widget_class "*.GtkList.GtkButton" style "theme-tree"
widget_class "*.GtkCList.GtkButton" style "theme-tree"
widget_class "*.GtkFrame.GtkLabel" style "theme-frame-title"
# notebook stuff
widget_class "*.GtkNotebook.*.GtkEventBox" style "theme-notebook"
widget_class "*.GtkNotebook.*.GtkViewport" style "theme-notebook"