Guest User

Untitled

a guest
Jan 13th, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.08 KB | None | 0 0
  1. # https://developer.gnome.org/gtk2/stable/gtk2-Resource-Files.html
  2. # http://wiki.xfce.org/howto/gtk_theme
  3.  
  4. style "gtk_widget"
  5. {
  6. engine "xfce"
  7. {
  8. smooth_edge = TRUE # FALSE
  9. # grip_style = rough # rough
  10. # boxfill
  11. # {
  12. # fill_style = plain # plain
  13. # orientation = auto # auto
  14. # shade_start = 1.50 # 1.10
  15. # shade_end = 0.50 # 0.90
  16. # }
  17. }
  18.  
  19. color["bg_color"] = "#FFE6E6"
  20. color["fg_color"] = "#4D0002"
  21. color["active_color"] = "#FF8083"
  22. color["prelight_color"] = "#FF8680"
  23.  
  24. bg[NORMAL] = @bg_color
  25. bg[ACTIVE] = @active_color
  26. bg[PRELIGHT] = @prelight_color
  27. bg[SELECTED] = @active_color
  28. bg[INSENSITIVE] = "#FFFFFF"
  29.  
  30. fg[NORMAL] = @fg_color
  31. fg[ACTIVE] = "#000000"
  32. fg[PRELIGHT] = "#FFFFFF"
  33. fg[SELECTED] = "#000000"
  34. fg[INSENSITIVE] = "#999999"
  35.  
  36. base[NORMAL] = "#FFFFFF"
  37. base[ACTIVE] = @active_color
  38. base[PRELIGHT] = @prelight_color
  39. base[SELECTED] = @active_color
  40. base[INSENSITIVE] = "#DDDDDD"
  41.  
  42. text[NORMAL] = @fg_color
  43. text[ACTIVE] = "#000000"
  44. text[PRELIGHT] = "#FFFFFF"
  45. text[SELECTED] = "#000000"
  46. text[INSENSITIVE] = "#999999"
  47.  
  48. xthickness = 2
  49. ythickness = 2
  50.  
  51. # GtkWidget::cursor-aspect-ratio = 0.04 # 0.04
  52. # GtkWidget::cursor-color =
  53. # GtkWidget::focus-line-pattern = "\001\001" # "\001\001"
  54. # GtkWidget::focus-line-width = 1 # 1
  55. GtkWidget::focus-padding = 0 # 1
  56. # GtkWidget::interior-focus = 1 # TRUE
  57. # GtkWidget::link-color =
  58. # GtkWidget::scroll-arrow-hlength = 16 # 16
  59. # GtkWidget::scroll-arrow-vlength = 16 # 16
  60. # GtkWidget::secondary-cursor-color =
  61. # GtkWidget::separator-height = 0 # 0
  62. # GtkWidget::separator-width = 0 # 0
  63. GtkWidget::tooltip-alpha = 196 # 255
  64. GtkWidget::tooltip-radius = 2 # 0
  65. # GtkWidget::isited-link-color =
  66. # GtkWidget::wide-separators = 0 # FALSE
  67. }
  68. #class "GtkWidget" style "gtk_widget"
  69. widget_class "*" style "gtk_widget"
  70.  
  71. #style "gtk_dialog"
  72. #{
  73. # GtkDialog::action-area-border = 5 # 5
  74. # GtkDialog::button-spacing = 6 # 6
  75. # GtkDialog::content-area-border = 2 # 2
  76. # GtkDialog::content-area-spacing = 0 # 0
  77. #}
  78. #class "GtkDialog" style "gtk_dialog"
  79.  
  80. #style "gtk_message_dialog"
  81. #{
  82. # GtkMessageDialog::message-border = 12 # 12
  83. #}
  84. #class "GtkMessageDialog" style "gtk_message_dialog"
  85.  
  86. #style "gtk_assistant"
  87. #{
  88. # GtkAssistant::content-padding = 1 # 1
  89. # GtkAssistant::header-padding = 6 # 6
  90. #}
  91. #class "GtkAssistant" style "gtk_assistant"
  92.  
  93. style "gtk_button"
  94. {
  95. engine "xfce"
  96. {
  97. boxfill
  98. {
  99. fill_style = gradient # plain
  100. orientation = vertical # auto
  101. shade_start = 0.90 # 1.10
  102. shade_end = 1.10 # 0.90
  103. }
  104. }
  105.  
  106. GtkButton::child-displacement-x = 1 # 0
  107. GtkButton::child-displacement-y = 1 # 0
  108. # GtkButton::default-border = {0, 0, 0, 0}
  109. # GtkButton::default-outside-border = {0, 0, 0, 0}
  110. GtkButton::displace-focus = 1 # FALSE
  111. # GtkButton::image-spacing = 2 # 2
  112. # GtkButton::inner-border = {0, 0, 0, 0}
  113. }
  114. class "GtkButton" style "gtk_button"
  115.  
  116. style "gtk_check_button"
  117. {
  118. GtkCheckButton::indicator-size = 11 # 13
  119. GtkCheckButton::indicator-spacing = 1 # 2
  120. }
  121. class "GtkCheckButton" style "gtk_check_button"
  122.  
  123. style "gtk_option_menu"
  124. {
  125. GtkOptionMenu::indicator-size = {8, 8}
  126. GtkOptionMenu::indicator-spacing = {6, 6, 0, 0}
  127. }
  128. class "GtkOptionMenu" style "gtk_option_menu"
  129.  
  130. style "gtk_item"
  131. {
  132. engine "xfce"
  133. {
  134. boxfill
  135. {
  136. fill_style = gradient # plain
  137. orientation = horizontal # auto
  138. }
  139. }
  140. }
  141. class "GtkItem" style "gtk_item"
  142.  
  143. style "gtk_menu_item"
  144. {
  145. GtkMenuItem::arrow-scaling = 0.6 # 0.8
  146. GtkMenuItem::arrow-spacing = 0 # 10
  147. GtkMenuItem::horizontal-padding = 2 # 3
  148. # GtkMenuItem::selected-shadow-type = none # GTK_SHADOW_NONE
  149. # GtkMenuItem::toggle-spacing = 5 # 5
  150. # GtkMenuItem::width-chars = 12 # 12
  151. }
  152. class "GtkMenuItem" style "gtk_menu_item"
  153.  
  154. style "gtk_check_menu_item"
  155. {
  156. GtkCheckMenuItem::indicator-size = 11 # 13
  157. }
  158. class "GtkCheckMenuItem" style "gtk_check_menu_item"
  159.  
  160. #style "gtk_combo_box"
  161. #{
  162. # GtkComboBox::appears-as-list = 0 # FALSE
  163. # GtkComboBox::arrow-size = 15 # 15
  164. # GtkComboBox::shadow-type = none # GTK_SHADOW_NONE
  165. #}
  166. #class "GtkComboBox" style "gtk_combo_box"
  167.  
  168. #style "gtk_expander"
  169. #{
  170. # GtkExpander::expander-size = 10 # 10
  171. # GtkExpander::expander-spacing = 2 # 2
  172. #}
  173. #class "GtkExpander" style "gtk_expander"
  174.  
  175. style "gtk_tool_button"
  176. {
  177. GtkToolButton::icon-spacing = 2 # 3
  178. }
  179. class "GtkToolButton" style "gtk_tool_button"
  180.  
  181. style "gtk_scrolled_window"
  182. {
  183. GtkScrolledWindow::scrollbar-spacing = 0 # 3
  184. GtkScrolledWindow::scrollbars-within-bevel = 1 # FALSE
  185. }
  186. class "GtkScrolledWindow" style "gtk_scrolled_window"
  187.  
  188. style "gtk_button_box"
  189. {
  190. GtkButtonBox::child-internal-pad-x = 0 # 4
  191. GtkButtonBox::child-internal-pad-y = 0 # 0
  192. GtkButtonBox::child-min-height = 0 # 27
  193. GtkButtonBox::child-min-width = 0 # 85
  194. }
  195. class "GtkButtonBox" style "gtk_button_box"
  196.  
  197. #style "gtk_info_bar"
  198. #{
  199. # GtkInfoBar::action-area-border = 5 # 5
  200. # GtkInfoBar::button-spacing = 6 # 6
  201. # GtkInfoBar::content-area-border = 8 # 8
  202. # GtkInfoBar::content-area-spacing = 16 # 16
  203. #}
  204. #class "GtkInfoBar" style "gtk_info_bar"
  205.  
  206. style "gtk_statusbar"
  207. {
  208. GtkStatusbar::shadow-type = none # GTK_SHADOW_IN
  209. }
  210. class "GtkStatusbar" style "gtk_statusbar"
  211.  
  212. #style "gtk_paned"
  213. #{
  214. # GtkPaned::handle-size = 5 # 5
  215. #}
  216. #class "GtkPaned" style "gtk_paned"
  217.  
  218. #style "gtk_icon_view"
  219. #{
  220. # GtkIconView::selection-box-alpha = 64 # 64
  221. # GtkIconView::selection-box-color =
  222. #}
  223. #class "GtkIconView" style "gtk_icon_view"
  224.  
  225. style "gtk_menu_shell"
  226. {
  227. engine "xfce"
  228. {
  229. boxfill
  230. {
  231. fill_style = gradient # plain
  232. orientation = horizontal # auto
  233. }
  234. }
  235. }
  236. class "GtkMenuShell" style "gtk_menu_shell"
  237.  
  238. style "gtk_menu_bar"
  239. {
  240. GtkMenuBar::internal-padding = 0 # 1
  241. # GtkMenuBar::shadow-type = out # GTK_SHADOW_OUT
  242. }
  243. class "GtkMenuBar" style "gtk_menu_bar"
  244.  
  245. style "gtk_menu"
  246. {
  247. # GtkMenu::arrow-placement = both # GTK_ARROWS_BOTH
  248. # GtkMenu::arrow-scaling = 0.7 # 0.7
  249. # GtkMenu::double-arrows = 1 # TRUE
  250. # GtkMenu::horizontal-offset = -2 # -2
  251. # GtkMenu::horizontal-padding = 0 # 0
  252. # GtkMenu::vertical-offset = 0 # 0
  253. GtkMenu::vertical-padding = 0 # 1
  254. }
  255. class "GtkMenu" style "gtk_menu"
  256.  
  257. style "gtk_notebook"
  258. {
  259. # GtkNotebook::arrow-spacing = 0 # 0
  260. # GtkNotebook::has-backward-stepper = 1 # TRUE
  261. # GtkNotebook::has-forward-stepper = 1 # TRUE
  262. # GtkNotebook::has-secondary-backward-stepper = 0 # FALSE
  263. # GtkNotebook::has-secondary-forward-stepper = 0 # FALSE
  264. GtkNotebook::tab-curvature = 0 # 1
  265. # GtkNotebook::tab-overlap = 1 # 2
  266. }
  267. class "GtkNotebook" style "gtk_notebook"
  268.  
  269. #style "gtk_text_view"
  270. #{
  271. # GtkTextView::error-underline-color =
  272. #}
  273. #class "GtkTextView" style "gtk_text_view"
  274.  
  275. style "gtk_toolbar"
  276. {
  277. engine "xfce"
  278. {
  279. boxfill
  280. {
  281. fill_style = gradient # plain
  282. orientation = horizontal # auto
  283. }
  284. }
  285.  
  286. # GtkToolbar::button-relief = none # GTK_RELIEF_NONE
  287. # GtkToolbar::internal-padding = 0 # 0
  288. # GtkToolbar::max-child-expand = 2147483647 # 2147483647
  289. # GtkToolbar::shadow-type = out # GTK_SHADOW_OUT
  290. GtkToolbar::space-size = 6 # 12
  291. # GtkToolbar::space-style = 1 # GTK_TOOLBAR_SPACE_LINE
  292. }
  293. class "GtkToolbar" style "gtk_toolbar"
  294.  
  295. style "gtk_tool_item_group"
  296. {
  297. GtkToolItemGroup::expander-size = 12 # 16
  298. # GtkToolItemGroup::header-spacing = 2 # 2
  299. }
  300. class "GtkToolItemGroup" style "gtk_tool_item_group"
  301.  
  302. style "gtk_tree_view"
  303. {
  304. # GtkTreeView::allow-rules = 1 # TRUE
  305. # GtkTreeView::even-row-color =
  306. GtkTreeView::expander-size = 10 # 12
  307. # GtkTreeView::grid-line-pattern = "\001\001" # "\001\001"
  308. # GtkTreeView::grid-line-width = 1 # 1
  309. GtkTreeView::horizontal-separator = 0 # 2
  310. # GtkTreeView::indent-expanders = 1 # TRUE
  311. # GtkTreeView::odd-row-color =
  312. # GtkTreeView::tree-line-pattern = "\001\001" # "\001\001"
  313. # GtkTreeView::tree-line-width = 1 # 1
  314. GtkTreeView::vertical-separator = 0 # 2
  315. }
  316. class "GtkTreeView" style "gtk_tree_view"
  317.  
  318. style "gtk_arrow"
  319. {
  320. GtkArrow::arrow-scaling = 0.6 # 0.7
  321. }
  322. class "GtkArrow" style "gtk_arrow"
  323.  
  324. #style "gtk_calendar"
  325. #{
  326. # GtkCalendar::horizontal-separation = 4 # 4
  327. # GtkCalendar::inner-border = 4 # 4
  328. # GtkCalendar::vertical-separation = 4 # 4
  329. #}
  330. #class "GtkCalendar" style "gtk_calendar"
  331.  
  332. #style "gtk_spinner"
  333. #{
  334. # GtkSpinner::cycle-duration = 1000 # 1000
  335. # GtkSpinner::num-steps = 12 # 12
  336. #}
  337. #class "GtkSpinner" style "gtk_spinner"
  338.  
  339. style "gtk_entry"
  340. {
  341. # GtkEntry::icon-prelight = 1 # TRUE
  342. # GtkEntry::inner-border = {0, 0, 0, 0}
  343. GtkEntry::invisible-char = 42 # 0
  344. # GtkEntry::progress-border = {0, 0, 0, 0}
  345. }
  346. class "GtkEntry" style "gtk_entry"
  347.  
  348. #style "gtk_spin_button"
  349. #{
  350. # GtkSpinButton::shadow-type = in # GTK_SHADOW_IN
  351. #}
  352. #class "GtkSpinButton" style "gtk_spin_button"
  353.  
  354. style "gtk_range"
  355. {
  356. engine "xfce"
  357. {
  358. boxfill
  359. {
  360. fill_style = gradient # plain
  361. }
  362. }
  363.  
  364. # GtkRange::arrow-displacement-x = 0 # 0
  365. # GtkRange::arrow-displacement-y = 0 # 0
  366. GtkRange::arrow-scaling = 0.7 # 0.5
  367. GtkRange::slider-width = 12 # 14
  368. GtkRange::stepper-size = 12 # 14
  369. # GtkRange::stepper-spacing = 0 # 0
  370. # GtkRange::trough-border = 1 # 1
  371. # GtkRange::trough-under-steppers = 0 # TRUE
  372. }
  373. class "GtkRange" style "gtk_range"
  374.  
  375. #style "gtk_scale"
  376. #{
  377. # GtkScale::slider-length = 31 # 31
  378. # GtkScale::value-spacing = 2 # 2
  379. #}
  380. #class "GtkScale" style "gtk_scale"
  381.  
  382. #style "gtk_scrollbar"
  383. #{
  384. # GtkScrollbar::fixed-slider-length = 0 # FALSE
  385. # GtkScrollbar::has-backward-stepper = 1 # TRUE
  386. # GtkScrollbar::has-forward-stepper = 1 # TRUE
  387. # GtkScrollbar::has-secondary-backward-stepper = 0 # FALSE
  388. # GtkScrollbar::has-secondary-forward-stepper = 0 # FALSE
  389. # GtkScrollbar::min-slider-length = 21 # 21
  390. #}
  391. #class "GtkScrollbar" style "gtk_scrollbar"
  392.  
  393. style "gtk_progress_bar"
  394. {
  395. engine "xfce"
  396. {
  397. boxfill
  398. {
  399. fill_style = gradient # plain
  400. orientation = horizontal # auto
  401. shade_start = 0.90 # 1.10
  402. shade_end = 1.10 # 0.90
  403. }
  404. }
  405.  
  406. # GtkProgressBar::min-horizontal-bar-height = 20 # 20
  407. # GtkProgressBar::min-horizontal-bar-width = 150 # 150
  408. # GtkProgressBar::min-vertical-bar-height = 80 # 80
  409. # GtkProgressBar::min-vertical-bar-width = 22 # 22
  410. # GtkProgressBar::xspacing = 7 # 7
  411. # GtkProgressBar::yspacing = 7 # 7
  412. }
  413. class "GtkProgressBar" style "gtk_progress_bar"
Advertisement
Add Comment
Please, Sign In to add comment