Pages : 1
#1 Le 30/06/2007, à 12:41
- Jean-lux
Aidez-moi pour l'élaboration de mon thème parfait
Bonjours,
Depuis quelques temps, je m'intéresse au moteur GTK 2 nommée "Murrine" . Je l'adore surtout pour les effets à la KDE et "Stripped". Mais je voudrais encore + le personnaliser, notamment pour les boutons :
J'aimerais donner aux boutons le style "Stripped", "Aplati" ou "UbuntuLooks", est-ce possible ?
Voici le gtkrc du thème :
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 = 15GtkScrollbar ::min_slider_length = 30
GtkCheckButton ::indicator_size = 14
GtkMenuBar ::internal-padding = 0
GtkTreeView ::expander_size = 14
GtkExpander ::expander_size = 16
GtkScale ::slider-length = 24GtkTreeView::odd_row_color = "#F5F2ED"
GtkTreeView::even_row_color = "#FAF9F7"
xthickness = 1
ythickness = 1fg[NORMAL] = "#101010"
fg[PRELIGHT] = "#000000"
fg[ACTIVE] = "#000000"
fg[SELECTED] = "#ffffff"
fg[INSENSITIVE] = "#b5b3ac"bg[NORMAL] = "#efebe7"
bg[PRELIGHT] = "#f5f3f0"
bg[ACTIVE] = "#d0c8c1"
bg[SELECTED] = "#3f70c9" #"#80a1c9"
bg[INSENSITIVE] = "#efebe7"base[NORMAL] = "#ffffff"
base[PRELIGHT] = "#4b74bf"
base[ACTIVE] = "#d0c8c1"
base[SELECTED] = "#3f70d9" #"#5881B6"
base[INSENSITIVE] = "#efebe7"text[NORMAL] = "#101010"
text[PRELIGHT] = "#000000"
text[ACTIVE] = "#333333"
text[SELECTED] = "#ffffff"
text[INSENSITIVE] = "#b5b3ac"engine "murrine"
{
scrollbar_color = "#8088FF"
contrast = 1.0
menubarstyle = 3 # 0 = flat, 1 = glass, 2 = gradient
menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
listviewheaderstyle = 2 # 0 = flat, 1 = glass
squaredstyle = 0 # 0 = default (rounded), 1 = squared
animation = TRUE
glazestyle = 4
menuitemstyle = 2
listviewstyle = 0
scrollbarstyle = 3
roundness = 8
hilight_ratio = 1.0
gradients = TRUE
menustyle = 1
}
}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] = "#3f70c9"
}style "theme-button" = "theme-wider"
{
bg[NORMAL] = "#efebe7"
bg[INSENSITIVE] = "#efebe7"
bg[PRELIGHT] = "#86abf0" #"#96b9fa"
bg[ACTIVE] = "#739be6"
}style "theme-notebook" = "theme-wide"
{
bg[NORMAL] = "#efebe7"
bg[ACTIVE] = "#d0c8c1"
bg[INSENSITIVE] = "#efebe7"
}style "theme-tasklist" = "theme-default"
{
xthickness = 5
ythickness = 3
}style "theme-menu" = "theme-default"
{
xthickness = 2
ythickness = 1
}style "theme-menu-item" = "theme-default"
{
xthickness = 2
ythickness = 3
bg[SELECTED] = "#86abf0" #"#739be6" #"#96b9fa" #"#FFD799"
fg[PRELIGHT] = "#000000"
text[PRELIGHT] = "#000000"
}style "theme-menubar" = "theme-default"
{
bg[NORMAL] = "#efebe7"
fg[NORMAL] = "#000000"
fg[ACTIVE] = "#000000"
text[NORMAL] = "#000000"
text[PRELIGHT] = "#000000"
#base[PRELIGHT] = "#63E62E"
#base[SELECTED] = "#4DB224"
}style "theme-menubar-item"
{
ythickness = 4
fg[PRELIGHT] = "#000000"
bg[PRELIGHT] = "#96b9fa" #"#ffd799"
}style "theme-tree" = "theme-default"
{
xthickness = 2
ythickness = 2
}style "theme-frame-title" = "theme-default"
{
fg[NORMAL] = "#333333" #"#3f70c9" #"#404040"
}style "theme-tooltips" = "theme-default"
{
xthickness = 4
ythickness = 4
bg[NORMAL] = { 1.0,1.0,0.75 }
}style "theme-progressbar" = "theme-wide"
{
xthickness = 1
ythickness = 1
fg[PRELIGHT] = "#ffffff"
}style "theme-combo" = "theme-button"
{
}style "metacity-frame"
{
# Normal base color
#bg[NORMAL] = "#bbbbbb"# Unfocused title background color
#bg[INSENSITIVE] = { 0.8, 0.8, 0.8 }# Unfocused title text color
#fg[INSENSITIVE] = { 1.55, 1.55, 1.55 }# Focused icon color
#fg[NORMAL] = { 0.2, 0.2, 0.2 }# Focused title background color
#bg[SELECTED] = "#444444"
#base[ACTIVE] = "#f2f2f2"# Focused title text color
fg[SELECTED] = "#ffffff"
bg[SELECTED] = "#3f70c9" #"#CC863E"
}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"
Et encore pour finir la personnalisation, je voudrais aussi savoir si quelqu'un connait un paquet (ou archive ou un site) qui contient, les meilleurs polices du monde ?
Merci beaucoup de votre aide
Un jour... Le manchot cassera la fenêtre !
Remboursez votre forfait non utilisé sur http://goo.gl/uQyCq NOFAKE.
Hors ligne
Pages : 1