Guest User

Untitled

a guest
Jan 5th, 2012
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.62 KB | None | 0 0
  1. gtk-color-scheme =
  2. "bg_color:#808080\nfg_color:#000000\nbase_color:#A0A0A0\ntext_color:#000000\nselected_fg_color:#ffffff\nselected_bg_color:#606060\ntooltip_fg_color:#ffffff\ntooltip_bg_color:#000000"
  3.  
  4. style "default"
  5. {
  6. fg[NORMAL] = @fg_color
  7. fg[ACTIVE] = @fg_color
  8. fg[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
  9. fg[PRELIGHT] = @fg_color
  10. fg[SELECTED] = @selected_fg_color
  11.  
  12. bg[ACTIVE] = shade (0.8, @bg_color)
  13. bg[NORMAL] = @bg_color
  14. bg[INSENSITIVE] = shade (0.95, @bg_color)
  15. bg[PRELIGHT] = shade (1.1, @bg_color)
  16. bg[SELECTED] = @selected_bg_color
  17.  
  18. base[NORMAL] = @base_color
  19. base[ACTIVE] = shade (0.9, @selected_bg_color)
  20. base[INSENSITIVE] = shade (0.95, @base_color)
  21. base[PRELIGHT] = @bg_color
  22. base[SELECTED] = @selected_bg_color
  23.  
  24. text[NORMAL] = @text_color
  25. text[ACTIVE] = @text_color
  26. text[PRELIGHT] = @text_color
  27. text[SELECTED] = @selected_fg_color
  28. text[INSENSITIVE] = mix (0.5, @text_color, @base_color)
  29.  
  30.  
  31. GtkRange::trough_border = 0
  32. GtkRange::slider_width = 11
  33. GtkRange::stepper_size = 15
  34.  
  35. GtkEntry::progress-border = { 0, 0, 0, 0 }
  36.  
  37. GtkScrollbar::min_slider_length = 15
  38. GtkCheckButton::indicator_size=10
  39. GtkCheckMenuItem::indicator_size=10
  40. GtkRadioButton::indicator_size=12
  41.  
  42. GtkNotebook::tab_vborder = 1
  43. GtkNotebook::tab_hborder = 1
  44. xthickness = 1
  45. ythickness = 1
  46.  
  47. NautilusIconContainer::dark_info_color="#888888"
  48. NautilusIconContainer::light_info_color="#bbbbbb"
  49. NautilusIconContainer::highlight_alpha=200
  50.  
  51. GtkMenu::horizontal_padding=0
  52. GtkMenu::vertical_padding=0
  53.  
  54. engine "mist"
  55. {
  56. }
  57. }
  58.  
  59. style "tooltips" {
  60. xthickness = 4
  61. ythickness = 4
  62.  
  63. bg[NORMAL] = @tooltip_bg_color
  64. fg[NORMAL] = @tooltip_fg_color
  65. }
  66.  
  67. style "scrollbar" {
  68. bg[ACTIVE] = @bg_color
  69. bg[NORMAL] = @selected_bg_color
  70. bg[PRELIGHT] = shade (0.8, @selected_bg_color)
  71. }
  72.  
  73. style "menuitem"
  74. {
  75. ythickness = 2
  76. xthickness = 2
  77.  
  78. fg[PRELIGHT] = @selected_fg_color
  79. }
  80.  
  81. style "menu"
  82. {
  83. ythickness = 2
  84. xthickness = 2
  85. }
  86.  
  87. style "entry"
  88. {
  89. bg[SELECTED] = mix(0.35, @selected_bg_color, @base_color)
  90. fg[SELECTED] = @text_color
  91. }
  92.  
  93. widget "gtk-tooltip*" style "tooltips"
  94.  
  95. class "GtkRange" style "scrollbar"
  96. class "GtkWidget" style "default"
  97. class "GtkMenu" style "menu"
  98. class "GtkEntry" style "entry"
  99.  
  100. widget_class "*<GtkMenuItem>*" style "menuitem"
  101.  
  102.  
  103.  
  104. # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
  105. # Note that the work around assumes that the combobox is _not_ in
  106. # appears-as-list mode.
  107. # This style does not affect GtkComboBoxEntry, it does have an effect
  108. # on comboboxes in appears-as-list mode though.
  109. style "mist-text-is-fg-color-workaround"
  110. {
  111. text[NORMAL] = @fg_color
  112. text[ACTIVE] = @fg_color
  113. text[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
  114. text[PRELIGHT] = @fg_color
  115. text[SELECTED] = @selected_fg_color
  116. }
  117. widget_class "*.<GtkComboBox>.<GtkCellView>" style "mist-text-is-fg-color-workaround"
  118.  
  119. style "mist-menuitem-text-is-fg-color-workaround"
  120. {
  121. text[NORMAL] = @fg_color
  122. text[ACTIVE] = @fg_color
  123. text[INSENSITIVE] = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
  124. text[PRELIGHT] = @selected_fg_color
  125. text[SELECTED] = @selected_fg_color
  126. }
  127. widget "*.gtk-combobox-popup-menu.*" style "mist-menuitem-text-is-fg-color-workaround"
  128.  
  129. # Work around the usage of GtkLabel inside GtkListItems to display text.
  130. # This breaks because the label is shown on a background that is based on the
  131. # base color set.
  132. style "mist-fg-is-text-color-workaround"
  133. {
  134. fg[NORMAL] = @text_color
  135. fg[ACTIVE] = @text_color
  136. fg[PRELIGHT] = @text_color
  137. fg[SELECTED] = @selected_fg_color
  138. fg[INSENSITIVE] = mix (0.5, @text_color, @base_color)
  139. }
  140. widget_class "*<GtkListItem>*" style "mist-fg-is-text-color-workaround"
  141. # The same problem also exists for GtkCList and GtkCTree
  142. # Only match GtkCList and not the parent widgets, because that would also change the headers.
  143. widget_class "*<GtkCList>" style "mist-fg-is-text-color-workaround"
Advertisement
Add Comment
Please, Sign In to add comment