# HG changeset patch # User Christophe Lincoln # Date 1490557990 -7200 # Node ID 9b9c9f353af6afa4f10dd74d006b1f6839064cdf # Parent fd0d3485c8a72861867f8fc8e38207754071eb6a New Openbox theme with rounded corner, update SliTaz GTK theme diff -r fd0d3485c8a7 -r 9b9c9f353af6 rootfs/etc/skel/.config/lxsession/LXDE/desktop.conf --- a/rootfs/etc/skel/.config/lxsession/LXDE/desktop.conf Thu Mar 16 20:06:28 2017 +0000 +++ b/rootfs/etc/skel/.config/lxsession/LXDE/desktop.conf Sun Mar 26 21:53:10 2017 +0200 @@ -18,7 +18,7 @@ iXft/Hinting=1 sXft/HintStyle=hintfull sXft/RGBA=rgb -sNet/ThemeName=Clearlooks Human +sNet/ThemeName=SliTaz sNet/IconThemeName=SliTaz-Faenza-Dark iNet/EnableEventSounds=0 iNet/EnableInputFeedbackSounds=0 diff -r fd0d3485c8a7 -r 9b9c9f353af6 rootfs/etc/skel/.profile --- a/rootfs/etc/skel/.profile Thu Mar 16 20:06:28 2017 +0000 +++ b/rootfs/etc/skel/.profile Sun Mar 26 21:53:10 2017 +0200 @@ -21,11 +21,10 @@ # Environnement variables and prompt for Ash SHell # or Bash. Default is a classic prompt. # -PS1='\u@\h:\w\$ ' +#PS1='\u@\h:\w\$ ' # colored prompt #PS1='\[\e[0;32m\]\u@\h\[\e[0m\]:\[\e[0;33m\]\w\[\e[0m\]\$ ' - EDITOR='nano' PAGER='less -EM' diff -r fd0d3485c8a7 -r 9b9c9f353af6 rootfs/etc/xdg/openbox/rc.xml --- a/rootfs/etc/xdg/openbox/rc.xml Thu Mar 16 20:06:28 2017 +0000 +++ b/rootfs/etc/xdg/openbox/rc.xml Sun Mar 26 21:53:10 2017 +0200 @@ -50,6 +50,7 @@ --> yes yes + 4 Sans 8 diff -r fd0d3485c8a7 -r 9b9c9f353af6 rootfs/usr/share/themes/SliTaz-cleargrey/gtk-2.0/gtkrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rootfs/usr/share/themes/SliTaz-cleargrey/gtk-2.0/gtkrc Sun Mar 26 21:53:10 2017 +0200 @@ -0,0 +1,179 @@ +style "clearlooks-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 = 30 + GtkCheckButton ::indicator_size = 12 + GtkMenuBar ::internal-padding = 3 + GtkTreeView ::expander_size = 14 + GtkTreeView ::odd_row_color = "#f1f1f1" + GtkExpander ::expander_size = 16 + GtkToolbar ::internal-padding = 0 + GtkToolbar ::shadow_type = GTK_SHADOW_NONE + GtkMenuBar ::shadow-type = GTK_SHADOW_NONE + GtkFrame ::shadow_type = GTK_SHADOW_NONE + + #GtkNotebook ::show-bodrer = 1 + + GtkScrollbar ::has_secondary_backward_stepper = 1 + GtkScrollbar ::has_secondary_forward_stepper = 0 + + xthickness = 0 + ythickness = 0 + + fg[NORMAL] = "#111111" # very dark grey + fg[PRELIGHT] = "#000000" # black + fg[SELECTED] = "#ffffff" # white + fg[ACTIVE] = "#333333" # very dark grey + fg[INSENSITIVE] = "#444444" # medium grey + + bg[NORMAL] = "#ededed" # light grey + bg[PRELIGHT] = "#ffffff" # white + bg[SELECTED] = "#d66018" # orange + bg[INSENSITIVE] = "#ededed" # very light grey + bg[ACTIVE] = "#d9d4ce" # light grey + + base[NORMAL] = "#ffffff" # white + base[PRELIGHT] = "#d66018" # orange + base[ACTIVE] = "#dadada" # light beige + base[SELECTED] = "#d66018" # orange + base[INSENSITIVE] = "#ededed" # dark grey orange + + text[NORMAL] = "#000000" # black + text[PRELIGHT] = "#000000" # black + text[ACTIVE] = "#ffffff" # white + text[SELECTED] = "#ffffff" # white + text[INSENSITIVE] = "#dadada" # light grey + + engine "clearlooks" + { + #menubarstyle = 1 # 0 = flat, 1 = sunken, 2 = flat gradient + #sunkenmenubar = 0 # 0 = disable, 1 = enable + #menuitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button) + #listviewitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient) + #progressbarstyle = 0 # 0 = candy bar, 1 = flat + } +} + +style "clearlooks-wide" = "clearlooks-default" +{ + xthickness = 2 + ythickness = 2 +} + +style "clearlooks-button" = "clearlooks-default" +{ + bg[PRELIGHT] = "#ffffff" + xthickness = 2 + ythickness = 1 +} + +style "clearlooks-notebook" = "clearlooks-wide" +{ + bg[NORMAL] = "#ededed" + bg[INSENSITIVE] = "#ededed" +} + +style "clearlooks-tasklist" = "clearlooks-default" +{ + xthickness = 4 + ythickness = 3 +} + +style "clearlooks-menu" = "clearlooks-default" +{ + xthickness = 2 + ythickness = 1 + bg[NORMAL] = "#f1f1f1" +} + +style "clearlooks-menu-item" = "clearlooks-default" +{ + xthickness = 2 + ythickness = 3 + fg[PRELIGHT] = "#ffffff" + text[PRELIGHT] = "#ffffff" +} + +style "clearlooks-menu-itembar" = "clearlooks-default" +{ + xthickness = 3 + ythickness = 3 +} + +style "clearlooks-tree" = "clearlooks-default" +{ + xthickness = 2 + ythickness = 2 +} + +style "clearlooks-frame-title" = "clearlooks-default" +{ + fg[NORMAL] = "#111111" +} + +style "clearlooks-tooltips" = "clearlooks-default" +{ + bg[NORMAL] = "#ededed" + fg[NORMAL] = "#111111" + xthickness = 12 + ythickness = 10 +} + +style "clearlooks-progressbar" = "clearlooks-default" +{ + xthickness = 1 + ythickness = 1 + fg[PRELIGHT] = "#ffffff" +} + +style "clearlooks-combo" = "clearlooks-default" +{ + xthickness = 2 + ythickness = 2 +} + +style "clearlooks-scrollbar" = "clearlooks-default" +{ + fg[ACTIVE] = "#ffffff" + bg[NORMAL] = "#ededed" + bg[PRELIGHT] = "#ffffff" +} + +# widget styles +class "GtkWidget" style "clearlooks-default" +class "GtkButton" style "clearlooks-button" +class "GtkCombo" style "clearlooks-button" +class "GtkRange" style "clearlooks-wide" +class "GtkFrame" style "clearlooks-wide" +class "GtkMenu" style "clearlooks-menu" +class "GtkEntry" style "clearlooks-button" +class "GtkMenuItem" style "clearlooks-menu-item" +class "GtkNotebook" style "clearlooks-notebook" +class "GtkScrollbar" style "clearlooks-scrollbar" +class "GtkProgressBar" style "clearlooks-progressbar" +class "GtkStatusbar" style "clearlooks-wide" + +widget_class "*MenuItem.*" style "clearlooks-menu-item" + +# combobox stuff +widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo" +widget_class "*.GtkCombo.GtkButton" style "clearlooks-combo" + +# tooltips stuff +widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist" +widget "gtk-tooltip*" style "clearlooks-tooltips" + +# treeview stuff +widget_class "*.GtkTreeView.GtkButton" style "clearlooks-tree" +widget_class "*.GtkCTree.GtkButton" style "clearlooks-tree" +widget_class "*.GtkList.GtkButton" style "clearlooks-tree" +widget_class "*.GtkCList.GtkButton" style "clearlooks-tree" +widget_class "*.GtkFrame.GtkLabel" style "clearlooks-frame-title" + +# notebook stuff +widget_class "*.GtkNotebook.*.GtkEventBox" style "clearlooks-notebook" +widget_class "*.GtkNotebook.*.GtkViewport" style "clearlooks-notebook" diff -r fd0d3485c8a7 -r 9b9c9f353af6 rootfs/usr/share/themes/SliTaz-cleargrey/openbox-3/themerc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rootfs/usr/share/themes/SliTaz-cleargrey/openbox-3/themerc Sun Mar 26 21:53:10 2017 +0200 @@ -0,0 +1,70 @@ +# SliTaz GNU/Linux Openbox theme. Images are from the Natura theme +# and colors match SliTaz current style. Name: Sunset + +# General +border.width: 1 +padding.width: 6 +padding.height: 4 +window.handle.width: 2 +window.client.padding.width: 0 +menu.overlap: 0 +*.justify: left +*.bg.highlight: 50 +*.bg.shadow: 01 +*.title.bg: flat +*.title.bg.color: #dddddd +*.title.bg.colorTo: #f1f1f1 + +# Menu settings (match SliTaz GTK/Clearlooks colors) +menu.title.text.color: #444444 +menu.items.bg: flat +menu.items.bg.color: #f1f1f1 +#menu.items.bg.colorTo: #cfcfcf +menu.separator.color: #dcd8cf +menu.border.color: #9e9e9e +menu.border.width: 1 +menu.items.active.bg: Gradient Vertical Flat +menu.items.active.bg.color: #d66018 +menu.items.active.bg.colorTo: #9d5122 +menu.items.active.text.color: white +menu.items.text.color: #000000 +menu.items.disabled.text.color: #cfcfcf + +# Window +window.active.border.color: #9e9e9e +window.active.title.bg: Gradient Vertical Flat +window.active.title.bg.color: #dadada +window.active.title.bg.colorTo: #ededed +window.active.title.bg.highlight: 00 +window.active.title.bg.shadow: 00 +window.active.title.separator.color: #ededed +window.active.label.bg: Parentrelative +window.active.label.text.color: #444444 +window.active.button.*.bg: Parentrelative +window.active.button.*.image.color: #444444 +window.active.button.hover.bg: Parentrelative +window.active.button.hover.image.color: #222222 + +window.inactive.border.color: #d9d4ce +window.inactive.border.width: 10 +window.inactive.title.separator.color: #ededed +window.inactive.title.bg: Gradient Vertical Flat +window.inactive.title.bg.color: #ededed +window.inactive.title.bg.colorTo: #ededed +window.inactive.label.bg: Parentrelative +window.inactive.label.text.color: #888888 +window.inactive.button.*.bg: Parentrelative +window.inactive.button.*.image.color: #888888 +window.inactive.button.hover.image.color: #222222 + +window.*.handle.bg: Raised Raised +window.*.handle.bg.color: #d66018 +window.*.grip.bg: Raised Raised +window.active.grip.bg.color: #443b31 +window.inactive.grip.bg.color: #d9d4ce + +# OSD +osd.bg: Gradient Vertical Flat +osd.bg.color: #d9d4ce +osd.bg.colorTo: #ededed +osd.border.color: #443b31 diff -r fd0d3485c8a7 -r 9b9c9f353af6 rootfs/usr/share/themes/SliTaz/gtk-2.0/gtkrc --- a/rootfs/usr/share/themes/SliTaz/gtk-2.0/gtkrc Thu Mar 16 20:06:28 2017 +0000 +++ b/rootfs/usr/share/themes/SliTaz/gtk-2.0/gtkrc Sun Mar 26 21:53:10 2017 +0200 @@ -7,7 +7,7 @@ GtkRange ::stepper_size = 15 GtkScrollbar ::min_slider_length = 30 GtkCheckButton ::indicator_size = 12 - GtkMenuBar ::internal-padding = 3 + GtkMenuBar ::internal-padding = 4 GtkTreeView ::expander_size = 14 GtkTreeView ::odd_row_color = "#f1f1f1" GtkExpander ::expander_size = 16 @@ -16,37 +16,37 @@ GtkMenuBar ::shadow-type = GTK_SHADOW_NONE GtkFrame ::shadow_type = GTK_SHADOW_NONE - #GtkNotebook ::show-bodrer = 1 + GtkNotebook ::show-bodrer = 1 GtkScrollbar ::has_secondary_backward_stepper = 1 GtkScrollbar ::has_secondary_forward_stepper = 0 - xthickness = 0 - ythickness = 0 + xthickness = 1 + ythickness = 1 fg[NORMAL] = "#111111" # very dark grey fg[PRELIGHT] = "#000000" # black fg[SELECTED] = "#ffffff" # white fg[ACTIVE] = "#333333" # very dark grey - fg[INSENSITIVE] = "#444444" # medium grey + fg[INSENSITIVE] = "#666666" # medium grey bg[NORMAL] = "#ededed" # light grey bg[PRELIGHT] = "#ffffff" # white - bg[SELECTED] = "#d66018" # orange - bg[INSENSITIVE] = "#ededed" # very light grey - bg[ACTIVE] = "#d9d4ce" # light grey + bg[SELECTED] = "#fcaf3e" # orange + bg[INSENSITIVE] = "#ededed" # light grey + bg[ACTIVE] = "#ededed" # light grey base[NORMAL] = "#ffffff" # white - base[PRELIGHT] = "#d66018" # orange - base[ACTIVE] = "#dadada" # light beige - base[SELECTED] = "#d66018" # orange - base[INSENSITIVE] = "#ededed" # dark grey orange + base[PRELIGHT] = "#fcaf3e" # orange + base[ACTIVE] = "#ededed" # light beige + base[SELECTED] = "#fcaf3e" # orange + base[INSENSITIVE] = "#ededed" # light grey text[NORMAL] = "#000000" # black text[PRELIGHT] = "#000000" # black text[ACTIVE] = "#ffffff" # white text[SELECTED] = "#ffffff" # white - text[INSENSITIVE] = "#dadada" # light grey + text[INSENSITIVE] = "#ededed" # light grey engine "clearlooks" { @@ -66,15 +66,19 @@ style "clearlooks-button" = "clearlooks-default" { + bg[NORMAL] = "#f1f1f1" bg[PRELIGHT] = "#ffffff" - xthickness = 2 + xthickness = 1 ythickness = 1 } style "clearlooks-notebook" = "clearlooks-wide" { - bg[NORMAL] = "#ededed" + bg[NORMAL] = "#f1f1f1" + bg[ACTIVE] = "#ededed" bg[INSENSITIVE] = "#ededed" + xthickness = 3 # Width of tabs and notebook borders. + ythickness = 3 # Height of tabs and notebook borders. } style "clearlooks-tasklist" = "clearlooks-default" diff -r fd0d3485c8a7 -r 9b9c9f353af6 rootfs/usr/share/themes/SliTaz/openbox-3/themerc --- a/rootfs/usr/share/themes/SliTaz/openbox-3/themerc Thu Mar 16 20:06:28 2017 +0000 +++ b/rootfs/usr/share/themes/SliTaz/openbox-3/themerc Sun Mar 26 21:53:10 2017 +0200 @@ -1,39 +1,34 @@ # SliTaz GNU/Linux Openbox theme. Images are from the Natura theme -# and colors match SliTaz current style. Name: Sunset +# and colors match SliTaz current GTK style. # General -border.width: 1 +border.width: 0 padding.width: 6 -padding.height: 4 +padding.height: 8 window.handle.width: 2 window.client.padding.width: 0 menu.overlap: 0 -*.justify: left +*.justify: center *.bg.highlight: 50 *.bg.shadow: 01 *.title.bg: flat -*.title.bg.color: #dddddd -*.title.bg.colorTo: #f1f1f1 -# Menu settings (match SliTaz GTK/Clearlooks colors) +# Menu settings menu.title.text.color: #444444 -menu.items.bg: flat -menu.items.bg.color: #f1f1f1 -#menu.items.bg.colorTo: #cfcfcf -menu.separator.color: #dcd8cf -menu.border.color: #9e9e9e -menu.border.width: 1 -menu.items.active.bg: Gradient Vertical Flat -menu.items.active.bg.color: #d66018 -menu.items.active.bg.colorTo: #9d5122 +menu.title.bg.color: #ededed +menu.items.bg: flat solid +menu.items.bg.color: #ededed +menu.separator.color: #cfcfcf +menu.border.width: 0 +menu.items.active.bg: flat solid +menu.items.active.bg.color: #fcaf3e menu.items.active.text.color: white -menu.items.text.color: #000000 +menu.items.text.color: #222222 menu.items.disabled.text.color: #cfcfcf -# Window -window.active.border.color: #9e9e9e -window.active.title.bg: Gradient Vertical Flat -window.active.title.bg.color: #dadada +# Active window +window.active.title.bg: Gradient Vertical flat +window.active.title.bg.color: #e0e0e0 window.active.title.bg.colorTo: #ededed window.active.title.bg.highlight: 00 window.active.title.bg.shadow: 00 @@ -41,30 +36,27 @@ window.active.label.bg: Parentrelative window.active.label.text.color: #444444 window.active.button.*.bg: Parentrelative -window.active.button.*.image.color: #444444 -window.active.button.hover.bg: Parentrelative -window.active.button.hover.image.color: #222222 +window.active.button.unpressed.image.color: #444444 +window.active.button.hover.color: Parentrelative -window.inactive.border.color: #d9d4ce -window.inactive.border.width: 10 +window.*.button.hover.image.color: #fcaf3e +window.*.button.pressed.image.color: #fcaf3e + +# Inactive window's window.inactive.title.separator.color: #ededed -window.inactive.title.bg: Gradient Vertical Flat +window.inactive.title.bg: flat window.inactive.title.bg.color: #ededed -window.inactive.title.bg.colorTo: #ededed window.inactive.label.bg: Parentrelative -window.inactive.label.text.color: #888888 +window.inactive.label.text.color: #999999 window.inactive.button.*.bg: Parentrelative -window.inactive.button.*.image.color: #888888 -window.inactive.button.hover.image.color: #222222 +window.inactive.button.unpressed.image.color: #999999 -window.*.handle.bg: Raised Raised -window.*.handle.bg.color: #d66018 -window.*.grip.bg: Raised Raised -window.active.grip.bg.color: #443b31 -window.inactive.grip.bg.color: #d9d4ce +window.*.handle.bg: flat +window.*.handle.bg.color: #ededed +window.*.grip.bg: flat +window.active.grip.bg.color: #ededed +window.inactive.grip.bg.color: #ededed # OSD -osd.bg: Gradient Vertical Flat -osd.bg.color: #d9d4ce -osd.bg.colorTo: #ededed -osd.border.color: #443b31 +osd.bg: flat +osd.bg.color: #ededed