From bbaa2223e63e86361ec563c55b8475d2fda4a96d Mon Sep 17 00:00:00 2001 From: bionel Date: Fri, 31 Jul 2015 18:56:17 +0300 Subject: gtkrc code cleaning --- Kogaion-nighttime/gtk-2.0/gtkrc | 585 +++++++++++++++++++++------------------- 1 file changed, 301 insertions(+), 284 deletions(-) (limited to 'Kogaion-nighttime/gtk-2.0/gtkrc') diff --git a/Kogaion-nighttime/gtk-2.0/gtkrc b/Kogaion-nighttime/gtk-2.0/gtkrc index 5ed32f9..f4c4a8f 100755 --- a/Kogaion-nighttime/gtk-2.0/gtkrc +++ b/Kogaion-nighttime/gtk-2.0/gtkrc @@ -1,6 +1,3 @@ -# TODO -# Match menu and toolbar with decorations - gtk-color-scheme = "base_color:#383838\nbg_color:#2e2e2e" gtk-color-scheme = "text_color:#d4d4d4\nfg_color:#bababa" gtk-color-scheme = "selected_bg_color:#496490\nselected_fg_color:#f3f3f3" @@ -10,7 +7,7 @@ gtk-color-scheme = "theme_bg_dark_color:#4f5e76\ntheme_fg_dark_color:#dfdfdf\nth gtk-color-scheme = "sidebar_background:#313233" gtk_color_scheme = "window_active_color:#496490\nwindow_inactive_color:#626262" #Windows decorations -gtk_color_scheme = "test1:#f30f0f\ntest2:#f1c30b" #debug colors +gtk_color_scheme = "test1:#ff0000\ntest2:#00ff00" #debug colors gtk-auto-mnemonics = 1 @@ -22,88 +19,88 @@ style "default" { # Style Properties ####################### GtkButton ::child-displacement-x = 0 - GtkButton ::child-displacement-y = 0 - GtkButton ::default-border = {0, 0, 0, 0} - GtkButton ::image-spacing = 4 + GtkButton ::child-displacement-y = 0 + GtkButton ::default-border = {0, 0, 0, 0} + GtkButton ::image-spacing = 4 GtkToolButton ::icon-spacing = 4 GtkCheckButton ::indicator-size = 16 GtkRadioButton ::indicator-size = 16 - GtkEntry ::honors-transparent-bg-hint = 1 - GtkEntry ::invisible-char = 0x2022 - GtkEntry ::progress-border = {2, 2, 2, 2} - GtkEntry ::state-hint = 0 + GtkEntry ::honors-transparent-bg-hint = 1 + GtkEntry ::invisible-char = 0x2022 + GtkEntry ::progress-border = {2, 2, 2, 2} + GtkEntry ::state-hint = 0 GtkProgressBar ::min-vertical-bar-width = 13 GtkProgressBar ::min-horizontal-bar-height = 13 - GtkExpander ::expander-size = 8 + GtkExpander ::expander-size = 8 GtkMenuBar ::internal-padding = 0 GtkMenuBar ::window-dragging = 1 - GtkMenuBar ::shadow-type = GTK_SHADOW_NONE - GtkMenu ::horizontal-padding = 0 - GtkMenu ::vertical-padding = 0 - GtkSeparatorMenuItem ::horizontal-padding = 7 + GtkMenuBar ::shadow-type = GTK_SHADOW_NONE + GtkMenu ::horizontal-padding = 0 + GtkMenu ::vertical-padding = 0 + GtkSeparatorMenuItem ::horizontal-padding = 7 - GtkNotebook ::tab-overlap = 2 # Default = 2 - GtkNotebook ::tab-curvature = 1 # Default = 1 + GtkNotebook ::tab-overlap = 2 # Default = 2 + GtkNotebook ::tab-curvature = 1 # Default = 1 - GtkPaned ::handle-size = 4 + GtkPaned ::handle-size = 4 - GtkRange ::trough-border = 0 - GtkRange ::slider-width = 15 - GtkRange ::stepper-size = 1 + GtkRange ::trough-border = 0 + GtkRange ::slider-width = 15 + GtkRange ::stepper-size = 1 - GtkScale ::slider-length = 14 - GtkScale ::slider-width = 14 - GtkScale ::trough-side-details = 1 + GtkScale ::slider-length = 14 + GtkScale ::slider-width = 14 + GtkScale ::trough-side-details = 1 - GtkScrollbar ::has-backward-stepper = 0 - GtkScrollbar ::has-forward-stepper = 0 + GtkScrollbar ::has-backward-stepper = 0 + GtkScrollbar ::has-forward-stepper = 0 GtkScrollbar ::min-slider-length = 30 GtkScrollbar ::slider-width = 6 GtkScrollbar ::trough-border = 3 GtkScrollbar ::activate-slider = 1 - GtkScrollbar ::trough-side-details = 0 - GtkScrollbar ::stepper-size = 1 + GtkScrollbar ::trough-side-details = 0 + GtkScrollbar ::stepper-size = 1 GtkScrolledWindow ::scrollbar-spacing = 0 GtkScrolledWindow ::scrollbars-within-bevel = 1 - GtkToolbar ::internal-padding = 0 - GtkToolbar ::window-dragging = 1 + GtkToolbar ::internal-padding = 0 + GtkToolbar ::window-dragging = 1 - GtkTreeView ::expander-size = 13 - GtkTreeView ::odd_row_color = shade (1.05, @base_color) + GtkTreeView ::expander-size = 8 + GtkTreeView ::odd_row_color = shade (1.05, @base_color) - # en eclipse afecta backcolor de "Quick Type Hierarchy (CTRL+T)" #GtkTreeView ::even_row_color = shade (1.05, @base_color) - GtkWidget ::link-color = @link_color - GtkWidget ::focus-padding = 0 + GtkWidget ::link-color = @link_color + GtkWidget ::focus-padding = 0 WnckTasklist ::fade-overlay-rect = 0 - GtkWindow ::resize-grip-height = 0 # Ocultar resize-grip - GtkWindow ::resize-grip-width = 0 - GtkImage ::x-ayatana-indicator-dynamic = 1 + GtkWindow ::resize-grip-height = 0 + GtkWindow ::resize-grip-width = 0 + GtkImage ::x-ayatana-indicator-dynamic = 1 #################### # Color Definitions #################### - bg[NORMAL] = @theme_bg_color + + bg[NORMAL] = @theme_bg_color bg[PRELIGHT] = shade (1.02, @theme_bg_color) bg[SELECTED] = @selected_bg_color bg[INSENSITIVE] = shade (1.20, @theme_bg_color) bg[ACTIVE] = @theme_bg_color - fg[NORMAL] = @fg_color + fg[NORMAL] = @fg_color fg[PRELIGHT] = @text_color fg[SELECTED] = shade (1.10, @selected_fg_color) fg[INSENSITIVE] = shade (1.85, @bg_color) - fg[ACTIVE] = @fg_color + fg[ACTIVE] = @fg_color text[NORMAL] = @fg_color text[PRELIGHT] = @text_color @@ -118,117 +115,140 @@ style "default" { base[ACTIVE] = @selected_bg_color engine "murrine" { - animation = FALSE - arrowstyle = 1 # arrowstyle = 1 to draw filled arrows. - # arrowstyle = 2 to draw fat filled arrows. - colorize_scrollbar = TRUE - contrast = 0.7 + animation = FALSE + arrowstyle = 1 # arrowstyle = 1 to draw filled arrows. + # arrowstyle = 2 to draw fat filled arrows. + colorize_scrollbar = TRUE + contrast = 0.7 # default_button_color = shade (0.88, @base_color) -# expanderstyle = 2 # expanderstyle = 0 to draw arrows. - # expanderstyle = 1 to draw circles with plus and minus. - # expanderstyle = 2 to draw buttons with plus and minus. - focusstyle = 2 # 0 to disable focus drawing. - # 1 to use dots. - # 2 to use a small colored rectangle. - # 3 to use a colored rectangle that touches the borders. - focus_color = shade (0.9, @selected_bg_color) - glazestyle = 0 # 0 = flat highlight, - # 1 = curved highlight - # 2 = concave style, - # 3 = top curved highlight, - # 4 = beryl highlight - glowstyle = 0 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = horizontal, 4 = centered glow - gradient_shades = {1.00, 0.92, 0.92, 0.81} - handlestyle = 0 - highlight_shade = 1.0 - lightborder_shade = 1.0 - lightborderstyle = 1 # 0 = top side, 1 = all sides - listviewstyle = 0 # 0 = nothing, 1 = dotted, 2 = line - menubaritemstyle = 0 # 0 = menuitem look, 1 = button look - menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped - menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped - menustyle = 3 # 0 = no vertical menu stripe, 1 = display vertical menu stripe, 2 = faint? 3 = borderless - progressbarstyle = 0 - reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient - rgba = FALSE # alpha transparency - roundness = 1 # 0 = square - scrollbarstyle = 0 # 0 = nothing - separatorstyle = 1 # 0 = Hard seperators 1 = Smooth seperators - shadow_shades = {0.95, 1.0} - sliderstyle = 0 # 0 = nothing added - stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown - - toolbarstyle = 1 # 0 = flat, 1 = glassy, 2 = gradient - trough_shades = {0.85, 1.0} + expanderstyle = 0 # expanderstyle = 0 to draw arrows. + # expanderstyle = 1 to draw circles with plus and minus. + # expanderstyle = 2 to draw buttons with plus and minus. + focusstyle = 2 # 0 to disable focus drawing. + # 1 to use dots. + # 2 to use a small colored rectangle. + # 3 to use a colored rectangle that touches the borders. + focus_color = shade (0.9, @selected_bg_color) + glazestyle = 0 # 0 = flat highlight, + # 1 = curved highlight + # 2 = concave style, + # 3 = top curved highlight, + # 4 = beryl highlight + glowstyle = 0 # 0 = top + # 1 = bottom + # 2 = top and bottom + # 3 = horizontal + # 4 = centered glow + gradient_shades = {1.00, 0.92, 0.92, 0.81} + handlestyle = 0 + highlight_shade = 1.0 + lightborder_shade = 1.0 + lightborderstyle = 1 # 0 = top side + # 1 = all sides + listviewstyle = 0 # 0 = nothing + # 1 = dotted + # 2 = line + menubaritemstyle = 0 # 0 = menuitem look + # 1 = button look + menubarstyle = 0 # 0 = flat + # 1 = glassy + # 2 = gradient + # 3 = striped + menuitemstyle = 0 # 0 = flat + # 1 = glassy + # 2 = striped + menustyle = 3 # 0 = no vertical menu stripe + # 1 = display vertical menu stripe + # 2 = faint? + # 3 = borderless + progressbarstyle = 0 + reliefstyle = 0 # 0 = flat + # 1 = inset + # 2 = shadow + # 3 = shadow with gradient + # 4 = stronger shadow with gradient + rgba = FALSE # alpha transparency + roundness = 0 # 0 = square + scrollbarstyle = 0 # 0 = nothing + separatorstyle = 1 # 0 = Hard separators + # 1 = Smooth separators + shadow_shades = {0.95, 1.0} + sliderstyle = 0 # 0 = nothing added + stepperstyle = 1 # 0 = standard + # 1 = integrated stepper handles + # 2 = unknown + toolbarstyle = 1 # 0 = flat + # 1 = glassy + # 2 = gradient + trough_shades = {0.85, 1.0} } } style "test" = "default" { - fg[NORMAL] = "#00FF00" - fg[ACTIVE] = "#00FF00" - fg[PRELIGHT] = "#00FF00" - fg[SELECTED] = "#00FF00" - fg[INSENSITIVE] = "#00FF00" - - bg[NORMAL] = "#FF0000" - bg[ACTIVE] = "#FF0000" - bg[PRELIGHT] = "#FF0000" - bg[SELECTED] = "#FF0000" - bg[INSENSITIVE] = "#FF0000" - - text[NORMAL] = "#0000FF" - text[ACTIVE] = "#0000FF" - text[PRELIGHT] = "#0000FF" - text[SELECTED] = "#0000FF" - text[INSENSITIVE] = "#0000FF" - - base[NORMAL] = "#FFFF00" - base[ACTIVE] = "#FFFF00" - base[PRELIGHT] = "#FFFF00" - base[SELECTED] = "#FFFF00" - base[INSENSITIVE] = "#FFFF00" + fg[NORMAL] = "#00FF00" + fg[ACTIVE] = "#00FF00" + fg[PRELIGHT] = "#00FF00" + fg[SELECTED] = "#00FF00" + fg[INSENSITIVE] = "#00FF00" + + bg[NORMAL] = "#FF0000" + bg[ACTIVE] = "#FF0000" + bg[PRELIGHT] = "#FF0000" + bg[SELECTED] = "#FF0000" + bg[INSENSITIVE] = "#FF0000" + + text[NORMAL] = "#0000FF" + text[ACTIVE] = "#0000FF" + text[PRELIGHT] = "#0000FF" + text[SELECTED] = "#0000FF" + text[INSENSITIVE] = "#0000FF" + + base[NORMAL] = "#FFFF00" + base[ACTIVE] = "#FFFF00" + base[PRELIGHT] = "#FFFF00" + base[SELECTED] = "#FFFF00" + base[INSENSITIVE] = "#FFFF00" } style "wide" { xthickness = 2 ythickness = 2 } style "wider" { xthickness = 3 ythickness = 3 } style "button" { - xthickness = 3 - ythickness = 3 + xthickness = 3 + ythickness = 3 - bg[NORMAL] = shade (0.90, @button_base) - bg[PRELIGHT] = shade (0.70, @selected_bg_color) - bg[ACTIVE] = shade (0.90, @selected_bg_color) + bg[NORMAL] = shade (0.90, @button_base) + bg[PRELIGHT] = shade (0.70, @selected_bg_color) + bg[ACTIVE] = shade (0.90, @selected_bg_color) bg[SELECTED] = shade (1.00, @selected_bg_color) bg[INSENSITIVE] = shade (0.92, @button_base) engine "murrine" { border_shades = {0.9, 0.7} contrast = 0.72 - roundness = 0 # 0 = square + roundness = 0 # 0 = square gradient_shades = {1.20,1.10,1.10,0.95} - - lightborderstyle = 1 # 0 = top side, 1 = all sides + lightborderstyle = 1 # 0 = top side, 1 = all sides lightborder_shade = 1.3 - highlight_shade = 1.0 - focusstyle = 3 - glowstyle = 0 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = horizontal, 4 = centered glow - glow_shade = 1.5 - reliefstyle = 0 + highlight_shade = 1.0 + focusstyle = 3 + glowstyle = 0 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = horizontal, 4 = centered glow + glow_shade = 1.5 + reliefstyle = 0 textstyle = 1 - text_shade = 0.7 + text_shade = 0.7 } } -style "button_label" { fg[ACTIVE] = "#ffffff" } +style "button_label" { fg[ACTIVE] = @test2 } # Force text color on radiobutton-eclipse style "checkradio_label" { fg[ACTIVE] = @fg_color } style "entry-1" { # text - xthickness = 2 - ythickness = 2 + xthickness = 2 + ythickness = 2 bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color) fg[SELECTED] = @text_color @@ -236,9 +256,9 @@ style "entry-1" { # text engine "murrine" { #border_shades = {1.9, 0.8} contrast = 1.00 - roundness = 0 - focusstyle = 2 - lightborderstyle = 1 + roundness = 0 + focusstyle = 2 + lightborderstyle = 1 lightborder_shade = 1.90 } } @@ -250,30 +270,29 @@ style "entry" { GtkWidget ::focus-line-width = 1 GtkWidget ::focus-padding = 1 -# bg[ACTIVE] = @bg_color - bg[NORMAL] = @bg_color -# bg[PRELIGHT] = shade (1.13, @selected_bg_color) -# bg[SELECTED] = shade (1.08, @selected_bg_color) -# bg[INSENSITIVE] = @bg_color +# bg[ACTIVE] = @bg_color + bg[NORMAL] = @test1 +# bg[PRELIGHT] = shade (1.13, @selected_bg_color) +# bg[SELECTED] = shade (1.08, @selected_bg_color) +# bg[INSENSITIVE] = @bg_color engine "murrine" { - contrast = 0.7 - border_shades = {1.0, 1.0} - lightborderstyle = 1 -# lightborder_shade = 1.65 + contrast = 0.7 + border_shades = {1.0, 1.0} + lightborderstyle = 1 +# lightborder_shade = 1.65 reliefstyle = 0 - roundness = 0 + roundness = 0 } } style "expander" { - bg[NORMAL] = "#FFF" - fg[NORMAL] = shade (2.0, @text_color) + bg[NORMAL] = "#FFF" + fg[NORMAL] = shade (2.0, @text_color) fg[PRELIGHT] = shade (2.0, @text_color) engine "murrine" { - expanderstyle = 2 - contrast = 1.2 + contrast = 1.2 gradient_shades = {1.0, 1.0, 1.0, 1.0} } } @@ -290,31 +309,31 @@ style "menubar" { ythickness = 0 fg[PRELIGHT] = @selected_fg_color - fg[ACTIVE] = @selected_fg_color + fg[ACTIVE] = @selected_fg_color fg[SELECTED] = @selected_fg_color - bg[NORMAL] = shade (1.00, @theme_bg_dark_color) engine "murrine" { gradient_shades = {1.00, 1.00, 1.00, 1.00} - border_shades = {1.1, 0.9} + border_shades = {1.1, 0.9} contrast = 0.90 - lightborderstyle = 1 + lightborderstyle = 1 textstyle = 1 - text_shade = 0.7 + text_shade = 0.7 } } style "menu" { xthickness = 0 ythickness = 0 + GtkMenuItem::arrow-scaling = 0.6 - bg[NORMAL] = shade (1.00, @bg_color) + bg[NORMAL] = shade (1.00, @bg_color) engine "murrine" { gradient_shades = {1.00, 1.00, 1.00, 1.00} - roundness = 0 # 0 = squared + roundness = 0 # 0 = squared } } @@ -322,23 +341,23 @@ style "menu_item_white" { xthickness = 2 ythickness = 3 - fg[NORMAL] = shade (1.00, @fg_color) # menu item normal - fg[INSENSITIVE] = mix(0.60, @fg_color, @theme_bg_color) # menu item deshabilitados - fg[PRELIGHT] = @selected_fg_color # menu item seleccionado + fg[NORMAL] = shade (1.00, @fg_color) # menu item normal + fg[INSENSITIVE] = mix(0.60, @fg_color, @theme_bg_color) # menu item disabled + fg[PRELIGHT] = @selected_fg_color # menu item selected - text[NORMAL] = shade (1.00, @fg_color) # Color check/radio menu + text[NORMAL] = shade (1.00, @fg_color) # Color check/radio menu text[INSENSITIVE] = mix(0.60, @text_color, @bg_color) - text[PRELIGHT] = @selected_fg_color # Color check/radio menu + text[PRELIGHT] = @selected_fg_color # Color check/radio menu - bg[PRELIGHT] = shade (1.00, @selected_bg_color) - bg[SELECTED] = shade (1.00, @selected_bg_color) + bg[PRELIGHT] = shade (1.00, @selected_bg_color) + bg[SELECTED] = shade (1.00, @selected_bg_color) engine "murrine" { gradient_shades = {0.90, 0.95, 0.95, 1.00} - border_shades = {1.40, 1.0} - roundness = 1 - contrast = 0.8 # Contraste separadores - #textstyle = 2 + border_shades = {1.40, 1.0} + roundness = 1 + contrast = 0.8 # separators contrast + #textstyle = 2 #text_shade = 0.4 } } @@ -347,19 +366,19 @@ style "menubar_menuitem" { xthickness = 2 ythickness = 3 - fg[NORMAL] = shade (1.00, @theme_fg_dark_color) # menu item normal - fg[INSENSITIVE] = mix(0.60, @theme_fg_dark_color, @theme_bg_dark_color) # menu item deshabilitados - fg[PRELIGHT] = @selected_fg_color # menu item seleccionado + fg[NORMAL] = shade (1.00, @theme_fg_dark_color) # menu item normal + fg[INSENSITIVE] = mix(0.60, @theme_fg_dark_color, @theme_bg_dark_color) # menu item disabled + fg[PRELIGHT] = @selected_fg_color # menu item selected - bg[PRELIGHT] = shade (0.94, @selected_bg_color) - bg[SELECTED] = shade (1.2, @selected_bg_color) + bg[PRELIGHT] = shade (0.94, @selected_bg_color) + bg[SELECTED] = shade (1.2, @selected_bg_color) engine "murrine" { gradient_shades = {1.03, 1.00, 1.00, 1.00} - roundness = 1 - contrast = 0.5 - textstyle = 1 - text_shade = 0.7 + roundness = 1 + contrast = 0.5 + textstyle = 1 + text_shade = 0.7 } } @@ -367,21 +386,22 @@ style "notebook" { xthickness = 8 ythickness = 2 - bg[NORMAL] = @base_color # selected tab entire + bg[NORMAL] = @base_color # selected tab entire bg[ACTIVE] = shade (0.90, @window_active_color) # unselected tab - bg[INSENSITIVE] = shade (0.95, @base_color) # disabled controls + bg[INSENSITIVE] = shade (0.95, @base_color) # disabled controls - fg[NORMAL] = shade (1.00, @fg_color) # text selected tab - fg[ACTIVE] = shade (0.95, @fg_color) # text unselected tab - fg[INSENSITIVE] = shade (0.90, @fg_color) + fg[NORMAL] = shade (1.00, @fg_color) # text selected tab + fg[ACTIVE] = shade (0.95, @fg_color) # text unselected tab + fg[INSENSITIVE] = shade (0.90, @fg_color) engine "murrine" { # gradient_shades = {1.0,1.0,1.0,1.0} - contrast = 0.8 + contrast = 0.8 # highlight_shade = 0.95 - roundness = 1 - focusstyle = 0 - reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient + roundness = 1 + focusstyle = 0 + reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow + # 3 = shadow with gradient, 4 = stronger shadow with gradient } } @@ -391,14 +411,14 @@ style "notebook-background" { bg[ACTIVE] = shade (0.95, @window_active_color) # unselected tab - fg[NORMAL] = @text_color - fg[ACTIVE] = @text_color - fg[INSENSITIVE] = @fg_color + fg[NORMAL] = @text_color + fg[ACTIVE] = @text_color + fg[INSENSITIVE] = @fg_color engine "murrine" { gradient_shades = {0.90,0.98,0.92,0.90} - contrast = 1.0 - roundness = 1 + contrast = 1.0 + roundness = 1 } } @@ -406,50 +426,50 @@ style "progressbar" { xthickness = 0 ythickness = 0 - bg[ACTIVE] = shade (1.85, @base_color) - bg[SELECTED] = shade (1.00, @selected_bg_color) + bg[ACTIVE] = shade (1.85, @base_color) + bg[SELECTED] = shade (1.00, @selected_bg_color) engine "murrine" { - gradient_shades = {1.2, 1.00, 1.00, 0.85} - border_shades = {1.0, 1.1} - roundness = 1 - contrast = 0.9 - reliefstyle = 0 - lightborder_shade = 1.05 - lightborderstyle = 1 # 0 = top side, 1 = all sides + gradient_shades = {1.2, 1.00, 1.00, 0.85} + border_shades = {1.0, 1.1} + roundness = 1 + contrast = 0.9 + reliefstyle = 0 + lightborder_shade = 1.05 + lightborderstyle = 1 # 0 = top side, 1 = all sides trough_border_shades = {1.0, 1.1} } } style "scale" { # slider - GtkScale::trough-border = 1 - GtkScale::slider-width = 8 - GtkScale::slider-length = 15 - GtkScale::trough-side-details = 1 + GtkScale::trough-border = 1 + GtkScale::slider-width = 8 + GtkScale::slider-length = 15 + GtkScale::trough-side-details = 1 xthickness = 2 ythickness = 2 - bg[NORMAL] = shade (0.95, @selected_bg_color) - bg[SELECTED] = shade (1.25, @selected_bg_color) - bg[PRELIGHT] = shade (0.82, @selected_bg_color) + bg[NORMAL] = shade (0.95, @selected_bg_color) + bg[SELECTED] = shade (1.25, @selected_bg_color) + bg[PRELIGHT] = shade (0.82, @selected_bg_color) engine "murrine" { - sliderstyle = 0 # forma del slider - contrast = 1.1 # borde de todos los elementos - gradient_shades = {1.1, 1.0, 1.0, 0.9} # gradiente del slider - border_shades = {0.8, 0.9} # borde del slider - roundness = 0 - lightborderstyle = 1 # inner-stroke progress-higlight y slider - lightborder_shade = 1.1 - - trough_shades = {0.7, 0.8} + sliderstyle = 0 # slider shape + contrast = 1.1 # elements border + gradient_shades = {1.1, 1.0, 1.0, 0.9} # slider gradient + border_shades = {0.8, 0.9} # slider border + roundness = 0 + lightborderstyle = 1 # inner-stroke progress-higlight y slider + lightborder_shade = 1.1 + + trough_shades = {0.7, 0.8} trough_border_shades = {1.0, 1.7} - #trough_border_shades = {0.9, 1.20} - glow_shade = 1.0 - reliefstyle = 0 -# shadow_shades = { 1.0, 0.9 } + #trough_border_shades = {0.9, 1.20} + glow_shade = 1.0 + reliefstyle = 0 +# shadow_shades = { 1.0, 0.9 } } } @@ -457,12 +477,10 @@ style "scale-1" { # slider xthickness = 2 ythickness = 2 - bg[NORMAL] = shade (0.75, @button_base) - bg[SELECTED] = shade (1.35, @selected_bg_color) - bg[PRELIGHT] = shade (0.82, @button_base) - - - bg[ACTIVE] = shade (0.85, @theme_bg_color) + bg[NORMAL] = shade (0.75, @button_base) + bg[SELECTED] = shade (1.35, @selected_bg_color) + bg[PRELIGHT] = shade (0.82, @button_base) + bg[ACTIVE] = shade (0.85, @theme_bg_color) engine "murrine" { border_shades = {0.8, 0.6} @@ -476,42 +494,41 @@ style "scale-1" { # slider } style "scrollbar" { - bg[NORMAL] = @selected_bg_color + bg[NORMAL] = @selected_bg_color bg[SELECTED] = shade (1.1, @selected_bg_color) - bg[ACTIVE] = @selected_bg_color + bg[ACTIVE] = @selected_bg_color bg[PRELIGHT] = shade (1.25, @selected_bg_color) engine "murrine" { - roundness = 0 + roundness = 0 border_shades = {1.0, 1.0} - contrast = 0.0 + contrast = 0.0 } } style "overlay_scrollbar" { - bg[SELECTED] = shade (1.0, @selected_bg_color) - bg[INSENSITIVE] = shade (0.85, @theme_bg_color) - bg[ACTIVE] = shade (0.6, @theme_bg_color) + bg[SELECTED] = shade (1.0, @selected_bg_color) + bg[INSENSITIVE] = shade (0.85, @theme_bg_color) + bg[ACTIVE] = shade (0.6, @theme_bg_color) } style "spinbutton" = "button" { # input/stepper #bg[NORMAL] = "#FFF" engine "murrine" { - contrast = 1.0 - lightborder_shade = 1.00 + contrast = 1.0 + lightborder_shade = 1.00 } } style "toolbar" = "wider" { - # Modificado bg[NORMAL] = shade (1.00, @theme_bg_dark_color) engine "murrine" { - separatorstyle = 0 - lightborderstyle = 0 - contrast = 0.9 # Regula el contraste del borde inferior de la toolbar - lightborder_shade = 1.0 # Regula el contraste del borde de la toolbar - gradient_shades = {1.00, 0.98, 0.97, 0.95} + separatorstyle = 0 + lightborderstyle = 0 + contrast = 0.9 + lightborder_shade = 1.0 + gradient_shades = {1.00, 0.98, 0.97, 0.95} } } @@ -519,19 +536,19 @@ style "toolbar_button" { xthickness = 3 ythickness = 3 - bg[PRELIGHT] = shade (0.95, @theme_bg_dark_color) - bg[ACTIVE] = shade (0.80, @theme_bg_dark_color) - bg[SELECTED] = shade (0.85, @theme_bg_dark_color) - bg[INSENSITIVE] = shade (0.98, @theme_bg_dark_color) + bg[PRELIGHT] = shade (0.95, @theme_bg_dark_color) + bg[ACTIVE] = shade (0.80, @theme_bg_dark_color) + bg[SELECTED] = shade (0.85, @theme_bg_dark_color) + bg[INSENSITIVE] = shade (0.98, @theme_bg_dark_color) engine "murrine" { - gradient_shades = {1.00,0.96,0.96,0.90} - border_shades = {1.10, 0.90} - contrast = 1.00 + gradient_shades = {1.00,0.96,0.96,0.90} + border_shades = {1.10, 0.90} + contrast = 1.00 lightborderstyle = 1 # lightborder_shade = 1.80 - textstyle = 1 - text_shade = 0.7 + textstyle = 1 + text_shade = 0.7 } } @@ -542,8 +559,8 @@ style "toolbar_separator" { bg[NORMAL] = shade (0.80, @theme_bg_color) engine "murrine" { - border_shades = {1.00, 1.00} - contrast = 0.5 + border_shades = {1.00, 1.00} + contrast = 0.5 } } @@ -560,8 +577,8 @@ style "separator_menu_item" { GtkWidget::separator-height = 7 engine "murrine" { - contrast = 0.5 - separatorstyle = 0 + contrast = 0.5 + separatorstyle = 0 } } @@ -595,71 +612,72 @@ style "tooltips" { } style "treeview" { - bg[SELECTED] = @base_color # backcolor list-minicheck - text[NORMAL] = shade (1.05, @fg_color) # indicador normal + bg[SELECTED] = @base_color # backcolor list-minicheck + text[NORMAL] = shade (1.05, @fg_color) # normal indicator + engine "murrine" { - gradient_shades = {1.00, 1.04, 1.06, 1.10} - separatorstyle = 1 + gradient_shades = {1.00, 1.04, 1.06, 1.10} + separatorstyle = 1 contrast = 1.7 } } style "treeview_header" { ythickness = 0 - GtkWidget ::focus-padding = 1 + GtkWidget ::focus-padding = 1 bg[NORMAL] = shade (1.00, @base_color) - bg[PRELIGHT] = shade (1.20, @base_color) - bg[INSENSITIVE] = shade (0.92, @base_color) + bg[PRELIGHT] = shade (1.20, @base_color) + bg[INSENSITIVE] = shade (0.92, @base_color) bg[ACTIVE] = shade( 1.15, @selected_bg_color) engine "murrine" { border_shades = {1.0, 1.4} - gradient_shades = {1.00,1.00,1.00,1.00} - contrast = 1.20 - lightborderstyle = 0 - roundness = 0 - textstyle = 1 - text_shade = 0.7 - glow_shade = 1.0 + gradient_shades = {1.00,1.00,1.00,1.00} + contrast = 1.20 + lightborderstyle = 0 + roundness = 0 + textstyle = 1 + text_shade = 0.7 + glow_shade = 1.0 prelight_shade = 1.9 - focusstyle = 0 + focusstyle = 0 } } style "checkradio" { xthickness = 3 ythickness = 3 - GtkCheckButton ::indicator-size = 16 - GtkCheckButton ::indicator-spacing = 2 +# GtkCheckButton ::indicator-size = 16 +# GtkCheckButton ::indicator-spacing = 2 - bg[NORMAL] = @theme_bg_color # toggle button normal - base[NORMAL] = @base_color # radiocheck normal + base[NORMAL] = @base_color # radiocheck normal + bg[SELECTED] = @base_color # radiocheck color checked - text[NORMAL] = @selected_bg_color # indicador normal - text[PRELIGHT] = shade (1.4, @selected_bg_color) # indicador hover - text[ACTIVE] = @selected_bg_color # indicador click + text[NORMAL] = @selected_bg_color # indicador normal + text[PRELIGHT] = shade (1.4, @selected_bg_color) # indicador hover + text[ACTIVE] = @selected_bg_color # indicador click - bg[ACTIVE] = @base_color # toggle button selected - bg[SELECTED] = @base_color # radiocheck color checked - bg[PRELIGHT] = @base_color # toggle button prelight - bg[INSENSITIVE] = @base_color # toggle button disabled + bg[ACTIVE] = @base_color # toggle button selected + bg[SELECTED] = @base_color # radiocheck color checked + bg[PRELIGHT] = @base_color # toggle button prelight + bg[INSENSITIVE] = @base_color # toggle button disabled engine "murrine" { - border_shades = {1.4, 1.0} - contrast = 1.2 -# gradient_shades = {0.90, 0.95, 0.95, 1.00} + border_shades = {1.4, 1.0} + contrast = 1.2 +# gradient_shades = {0.90, 0.95, 0.95, 1.00} # lightborderstyle = 0 -# lightborder_shade = 0.90 - textstyle = 2 - text_shade = 0.1 +# lightborder_shade = 0.90 + textstyle = 2 + text_shade = 0.1 } } style "separator" = "wide" { engine "murrine" { - contrast = 0.4 + contrast = 0.4 } } class "GtkSeparator" style "separator" @@ -729,16 +747,16 @@ class "GtkScale" style "scale" class "GtkVScale" style "scale" class "GtkHScale" style "scale" class "GtkScrollbar" style "scrollbar" + # Overlay scrollbar widget_class "*" style "overlay_scrollbar" widget_class "*" style "overlay_scrollbar" + # General matching follows. The order is choosen so that the right styles override # each other. EG. progressbar needs to be more important than the menu match. widget_class "*" style "button" widget_class "**" style "button_label" - - widget_class "*" style "notebook" widget_class "**" style "notebook" widget_class "**" style "notebook" @@ -770,7 +788,6 @@ widget_class "*.." style "treeview_header" widget_class "*.." style "treeview_header" widget_class "*.." style "treeview_header" - # The window of the tooltip is called "gtk-tooltip" widget "gtk-tooltip*" style "tooltips" @@ -786,12 +803,12 @@ widget_class "**" style:highest "checkradio_label" # For Google Chrome/Chromium integration. style "chrome-gtk-frame" { ChromeGtkFrame::frame-gradient-size = 120 - ChromeGtkFrame::frame-gradient-color = shade (1.06, @theme_bg_dark_color) + ChromeGtkFrame::frame-gradient-color = shade (1.06, @theme_bg_dark_color) ChromeGtkFrame::inactive-frame-gradient-color = shade (1.06, @theme_bg_dark_color) - ChromeGtkFrame::frame-color = shade (0.64, @theme_bg_dark_color) - ChromeGtkFrame::inactive-frame-color = shade (0.64, @theme_bg_dark_color) + ChromeGtkFrame::frame-color = shade (0.64, @theme_bg_dark_color) + ChromeGtkFrame::inactive-frame-color = shade (0.64, @theme_bg_dark_color) - ChromeGtkFrame::scrollbar-trough-color = shade (0.99, @bg_color) + ChromeGtkFrame::scrollbar-trough-color = shade (0.99, @bg_color) ChromeGtkFrame::scrollbar-slider-prelight-color = shade (0.87, @bg_color) ChromeGtkFrame::scrollbar-slider-normal-color = shade (0.80, @bg_color) } -- cgit v1.2.3