diff options
author | bionel <ionel.busuioc@gmail.com> | 2015-08-02 16:36:07 +0300 |
---|---|---|
committer | bionel <ionel.busuioc@gmail.com> | 2015-08-02 16:36:07 +0300 |
commit | bdb577079097c17e842a40fa0de8b4bea1ce8c16 (patch) | |
tree | afb94e1edbc7e3436a721665c47e69b6ccb0df84 /Kogaion-nighttime/gtk-2.0/gtkrc | |
parent | 190ee64b6bc6c1fac4cca313203a11a0f719397d (diff) |
preparing for pixmap check/radio
Diffstat (limited to 'Kogaion-nighttime/gtk-2.0/gtkrc')
-rwxr-xr-x | Kogaion-nighttime/gtk-2.0/gtkrc | 210 |
1 files changed, 196 insertions, 14 deletions
diff --git a/Kogaion-nighttime/gtk-2.0/gtkrc b/Kogaion-nighttime/gtk-2.0/gtkrc index 13e5e0f..20c1851 100755 --- a/Kogaion-nighttime/gtk-2.0/gtkrc +++ b/Kogaion-nighttime/gtk-2.0/gtkrc @@ -659,20 +659,202 @@ style "checkradio" { 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] = shade (0.70, @base_color) # toggle button selected + bg[NORMAL] = shade (0.91, @base_color) # toggle button normal + bg[PRELIGHT] = shade (1.00, @theme_bg_color) # toggle button prelight + bg[INSENSITIVE] = shade (0.97, @theme_bg_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} -# lightborderstyle = 0 -# lightborder_shade = 0.90 - textstyle = 2 - text_shade = 0.1 - + border_shades = {0.9, 1.0} + contrast = 1.20 + gradient_shades = {1.1,1.0,1.0,1.1} + lightborderstyle = 0 + lightborder_shade = 0.90 + textstyle = 0 + } +} + +#Add pixmap style for check/radiobuttons + +style "checkradio-pixmap" { + engine "pixmap" + { + + # Check Buttons + + image + { + function = CHECK + recolorable = TRUE + state = NORMAL + shadow = OUT + overlay_file = "Check-Radio/checkbox-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = PRELIGHT + shadow = OUT + overlay_file = "Check-Radio/checkbox-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = ACTIVE + shadow = OUT + overlay_file = "Check-Radio/checkbox-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = SELECTED + shadow = OUT + overlay_file = "Check-Radio/checkbox-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = INSENSITIVE + shadow = OUT + overlay_file = "Check-Radio/checkbox-unchecked-insensitive.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = NORMAL + shadow = IN + overlay_file = "Check-Radio/checkbox-checked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = PRELIGHT + shadow = IN + overlay_file = "Check-Radio/checkbox-checked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = ACTIVE + shadow = IN + overlay_file = "Check-Radio/checkbox-checked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = SELECTED + shadow = IN + overlay_file = "Check-Radio/checkbox-checked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = INSENSITIVE + shadow = IN + overlay_file = "Check-Radio/checkbox-checked-insensitive.svg" + overlay_stretch = FALSE + } + + # Radio Buttons + + image + { + function = OPTION + state = NORMAL + shadow = OUT + overlay_file = "Check-Radio/option-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = PRELIGHT + shadow = OUT + overlay_file = "Check-Radio/option-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = ACTIVE + shadow = OUT + overlay_file = "Check-Radio/option-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = SELECTED + shadow = OUT + overlay_file = "Check-Radio/option-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = INSENSITIVE + shadow = OUT + overlay_file = "Check-Radio/option-unchecked-insensitive.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = NORMAL + shadow = IN + overlay_file = "Check-Radio/option-checked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = PRELIGHT + shadow = IN + overlay_file = "Check-Radio/option-checked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = ACTIVE + shadow = IN + overlay_file = "Check-Radio/option-checked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = SELECTED + shadow = IN + overlay_file = "Check-Radio/option-checked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = INSENSITIVE + shadow = IN + overlay_file = "Check-Radio/option-checked-insensitive.svg" + overlay_stretch = FALSE + } } } @@ -793,8 +975,8 @@ widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header" widget "gtk-tooltip*" style "tooltips" -widget_class "*<GtkCheckButton>*" style "checkradio" -widget_class "*<GtkRadioButton>*" style "checkradio" +widget_class "*<GtkCheckButton>*" style "checkradio-pixmap" +widget_class "*<GtkRadioButton>*" style "checkradio-pixmap" widget_class "*<GtkCheckButton>*<GtkLabel>" style:highest "checkradio_label" widget_class "*<GtkRadioButton>*<GtkLabel>" style:highest "checkradio_label" |