/gtk-2.0/gtkrc

http://github.com/daz4126/Blackbird · #! · 760 lines · 637 code · 123 blank · 0 comment · 0 complexity · d9dac9f105a1a4cb6a6abd61c0c74b64 MD5 · raw file

  1. # Author: Simon Steinbeiß
  2. # Theme: Blackbird
  3. # based on "Greybird" by Simon Steinbeiß
  4. # Description: As is the original theme, this theme is 100% free and open source.
  5. gtk_color_scheme = "bg_color:#5C5E61\nselected_bg_color:#7CA4CF\nbase_color:#D7D7D7" # Background, base.
  6. gtk_color_scheme = "fg_color:#EEEEEC\nselected_fg_color:#1F1F1F\ntext_color:#1F1F1F" # Foreground, text.
  7. gtk_color_scheme = "tooltip_bg_color:#FCF5B8\ntooltip_fg_color:#1F1F1F" # Tooltips.
  8. gtk_color_scheme = "link_color:#74a0c6" # Hyperlinks
  9. gtk_color_scheme = "panel_bg:#686868" # Panel bg color
  10. gtk_color_scheme = "fm_color:#F7F7F7" # Color used in Nautilus and Thunar.
  11. #gtk_color_scheme = "nox_bgr: #5C5E61;nox_fgr: #EEEEEC;nox_bas: #D7D7D7;nox_txt: #1F1F1F;fg_color: #EEEEEC;bg_color: #5C5E61;text_color: #1F1F1F;base_color: #D7D7D7;selected_fg_color: #1F1F1F;selected_bg_color: #7CA4CF;tooltip_fg_color: #1F1F1F;tooltip_bg_color: #FCF5B8;clr_red: #EF2929;clr_grn: #8AE234;clr_blu:#729FCF"
  12. gtk_color_scheme = "bg_color_dark:#686868\ntext_color_dark:#FFF"
  13. gtk-icon-sizes = "panel-menu=16,16:panel=16,16:gtk-button=16,16" # Set icon size for button without text
  14. gtk-button-images = 0 # Disables icons for buttons with text
  15. gtk-toolbar-style = 0 # Disables text in toolbar
  16. gtk-auto-mnemonics = 1 # Disables ugly lines under menu items
  17. ####################
  18. ## Default Styles ##
  19. ####################
  20. style "murrine-default"
  21. {
  22. GnomeHRef ::link_color = @link_color
  23. GtkHTML ::link-color = @link_color
  24. GtkIMHtmlr ::hyperlink-color = @link_color
  25. GtkIMHtml ::hyperlink-color = @link_color
  26. GtkWidget ::link-color = @link_color
  27. GtkWidget ::visited-link-color = @text_color
  28. GtkButton ::child-displacement-x = 1
  29. GtkButton ::child-displacement-y = 1
  30. GtkButton ::default-border = { 0, 0, 0, 0 }
  31. GtkCheckButton ::indicator-size = 15
  32. GtkEntry ::honors-transparent-bg-hint = 1
  33. GtkEntry ::progress-border = { 3, 3, 3, 3 }
  34. GtkEntry ::state-hint = 0
  35. GtkImage ::x-ayatana-indicator-dynamic = 1
  36. GtkMenu ::horizontal-padding = 0
  37. GtkMenu ::vertical-padding = 0
  38. GtkPaned ::handle-size = 3
  39. GtkNotebook ::tab-overlap =-2
  40. GtkProgressBar ::min-vertical-bar-width = 10
  41. GtkProgressBar ::min-horizontal-bar-height = 10
  42. GtkRange ::trough-border = 2
  43. GtkRange ::slider-width = 9
  44. GtkRange ::stepper-size = 13
  45. GtkRange ::stepper_spacing = 0
  46. GtkScale ::slider-length = 13
  47. GtkScale ::slider-width = 13
  48. GtkScale ::trough-side-details = 1
  49. GtkScrollbar ::min-slider-length = 50
  50. GtkScrollbar ::slider-width = 9
  51. GtkScrollbar ::trough-border = 3
  52. #GtkScrollbar ::trough-under-steppers = 0
  53. GtkScrollbar ::has-backward-stepper = 1
  54. #GtkScrollbar ::arrow-scaling = 0.8
  55. #GtkScrollbar ::has_secondary_backward_stepper = 1
  56. GtkScrollbar ::has-forward-stepper = 1
  57. #GtkScrollbar ::has_secondary_forward_stepper = 0
  58. GtkScrolledWindow ::scrollbar-spacing = 0
  59. GtkScrolledWindow ::scrollbars-within-bevel = 1
  60. #GtkTable ::scrollbars-within-bevel = 1
  61. GtkMenuBar ::internal-padding = 0
  62. GtkMenuBar ::window-dragging = 1
  63. GtkExpander ::expander-size = 12
  64. GtkToolbar ::internal-padding = 0
  65. GtkTreeView ::expander-size = 10
  66. GtkTreeView ::vertical-separator = 0
  67. GtkWidget ::new-tooltip-style = 1
  68. GtkWidget ::focus-line-width = 1
  69. GtkWidget ::focus-padding = 0
  70. GtkWindow ::resize-grip-height = 13
  71. GtkWindow ::resize-grip-width = 13
  72. xthickness = 1
  73. ythickness = 1
  74. fg[NORMAL] = @fg_color
  75. fg[PRELIGHT] = @fg_color
  76. fg[SELECTED] = @selected_fg_color
  77. fg[ACTIVE] = @fg_color
  78. fg[INSENSITIVE] = darker (@bg_color)
  79. bg[NORMAL] = @bg_color
  80. bg[PRELIGHT] = shade (1.02, @bg_color)
  81. bg[SELECTED] = @selected_bg_color
  82. bg[INSENSITIVE] = @bg_color
  83. bg[ACTIVE] = shade (1.04, @bg_color)
  84. base[NORMAL] = @base_color
  85. base[PRELIGHT] = shade (0.95, @bg_color)
  86. base[ACTIVE] = shade (0.92, @selected_bg_color)
  87. base[SELECTED] = shade (0.93, @selected_bg_color)
  88. base[INSENSITIVE] = @bg_color
  89. text[NORMAL] = @text_color
  90. text[PRELIGHT] = @text_color
  91. text[ACTIVE] = @selected_fg_color
  92. text[SELECTED] = @selected_fg_color
  93. text[INSENSITIVE] = darker (@bg_color)
  94. engine "murrine"
  95. {
  96. animation = TRUE
  97. arrowstyle = 2 # 0 = normal arrows, 1 = filled arrows
  98. border_shades = { 1.2, 1.0 } # gradient to draw on border
  99. cellstyle = 0
  100. colorize_scrollbar = FALSE
  101. comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow
  102. contrast = 0.4 # 0.8 for less contrast, more than 1.0 for more contrast on borders
  103. expanderstyle = 0
  104. focus_color = mix (0.1, @bg_color, shade (0.7, @selected_bg_color))
  105. #focus_color = shade (1.1, @selected_bg_color) #mix (0.1, @bg_color, shade (1.1, @selected_bg_color))
  106. focusstyle = 3
  107. glazestyle = 1 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
  108. gradient_shades = {1.2,1.0,1.0,0.9} #{1.1,1.0,1.0,0.87}
  109. glowstyle = 4 # 0,1,2,3,4
  110. glow_shade = 1.1
  111. highlight_shade = 1.0 # set highlight amount for buttons or widgets
  112. lightborder_shade = 1.1 # sets lightborder amount for buttons or widgets
  113. lightborderstyle = 0 # 0 = lightborder on top side, 1 = lightborder on all sides
  114. listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised
  115. listviewstyle = 1 # 0 = nothing, 1 = dotted
  116. menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
  117. menubarstyle = 2 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
  118. menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped
  119. menustyle = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
  120. prelight_shade = .95 # shade level for scrollbar's slider, comboboxstyle(1), and prelight state with gradient_colors
  121. progressbarstyle = 1 # 0 = nothing, 1 = stripes, 2 = lines
  122. reliefstyle = 3 # 0 = flat, 1 = inset, 2 = shadow
  123. rgba = FALSE # FALSE = disabled, TRUE = enabled
  124. roundness = 3 # 0 = squared, 1 = old default, more will increase roundness
  125. scrollbarstyle = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
  126. separatorstyle = 1 # 0 = Hard seperators 1 = Smooth seperators
  127. sliderstyle = 0 # 0 = nothing added, 1 = handles
  128. stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
  129. shadow_shades = { 0.8, 2.2 } # gradient for shadows.
  130. textstyle = 0 # 0 = normal text, 1 = inset
  131. toolbarstyle = 2 # 0 = flat, 1 = glassy, 2 = gradient
  132. trough_shades = { 0.75, 0.9 } # draw gradient on trough of GtkScrollbar and GtkProgressbar
  133. trough_border_shades = { 0.9, 0.7 } }
  134. }
  135. ### RESIZE GRIP PIXMAP Proof of concept ###
  136. style "resize-grip" #= "murrine-default"
  137. {
  138. engine "pixmap" {
  139. image {
  140. function = RESIZE_GRIP
  141. recolorable = FALSE
  142. overlay_file = "resize_grip.png"
  143. overlay_border = {0,0,0,0 }
  144. overlay_stretch = FALSE
  145. }
  146. }
  147. }
  148. style "murrine-paned" = "murrine-default"
  149. {
  150. engine "murrine"
  151. {
  152. contrast = 1.0
  153. }
  154. }
  155. ### THEME MODULES ###
  156. style "evolution-hack" = "murrine-default" # Hacks for Evolution Mail.
  157. {
  158. bg[NORMAL] = shade (1.14, @bg_color) # Color for evo treeview headers.
  159. bg[PRELIGHT] = shade (1.18, @bg_color) # Color for evo treeview header prelight.
  160. bg[ACTIVE] = shade (0.75, @bg_color) # Color for unfocused evo selected items.
  161. bg[SELECTED] = @selected_bg_color # Color for evo selected items.
  162. fg[ACTIVE] = @selected_fg_color # Color for evo active text.
  163. fg[SELECTED] = @selected_fg_color # Color for evo selected text.
  164. }
  165. style "murrine-dark" {
  166. GtkMenuBar :: shadow-type = GTK_SHADOW_NONE
  167. bg[NORMAL] = @bg_color_dark
  168. bg[ACTIVE] = shade (0.7, @bg_color_dark)
  169. bg[PRELIGHT] = shade (0.7, @bg_color_dark)
  170. bg[SELECTED] = shade (0.6, @bg_color_dark)
  171. fg[NORMAL] = @text_color_dark
  172. fg[PRELIGHT] = @text_color_dark
  173. fg[ACTIVE] = @text_color_dark
  174. fg[SELECTED] = @text_color_dark
  175. text[NORMAL] = @text_color_dark
  176. text[PRELIGHT] = @text_color_dark
  177. text[ACTIVE] = @text_color_dark
  178. text[SELECTED] = @text_color_dark
  179. engine "murrine"
  180. {
  181. roundness = 0 # Roundness of menu items.
  182. }
  183. }
  184. style "murrine-wide-dark" = "murrine-dark"
  185. {
  186. ythickness = 2
  187. xthickness = 4
  188. }
  189. style "tabwin-dark" = "murrine-dark" {
  190. bg[NORMAL] = "#646e7b"
  191. bg[SELECTED] = "#75808f"
  192. }
  193. style "murrine-wide"
  194. {
  195. xthickness = 2
  196. ythickness = 2
  197. }
  198. style "murrine-wider"
  199. {
  200. xthickness = 3
  201. ythickness = 3
  202. }
  203. style "murrine-angled"
  204. {
  205. engine "murrine"
  206. {
  207. roundness = 0 # Roundness of menu items.
  208. }
  209. }
  210. style "murrine-entry" = "murrine-wider" {
  211. bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
  212. fg[SELECTED] = @text_color
  213. engine "murrine" {
  214. contrast = 0.4
  215. reliefstyle = 4
  216. border_shades = {1.03,0.8}
  217. shadow_shades = {0.5,0.0}
  218. }
  219. }
  220. style "murrine-button" = "murrine-wider"
  221. {
  222. bg[NORMAL] = shade (1.02, @bg_color)
  223. bg[PRELIGHT] = mix(0.7, shade(0.7,@bg_color), shade (0.8, @selected_bg_color))
  224. bg[ACTIVE] = shade (0.85, @bg_color)
  225. bg[SELECTED] = shade (0.5, @selected_bg_color)
  226. bg[INSENSITIVE] = shade (0.95, @bg_color)
  227. engine "murrine"
  228. {
  229. contrast = 0.8
  230. highlight_shade = 1.0
  231. lightborder_shade = 1.1
  232. gradient_shades = {1.1,1.05,0.95,0.95} #{1.3,1.10,0.95,0.92}
  233. border_shades = { 1.1, 0.9 }
  234. shadow_shades = {0.5,0.0}
  235. reliefstyle = 3
  236. roundness = 2
  237. }
  238. }
  239. style "murrine-notebook"
  240. {
  241. bg[NORMAL] = shade (1.05, @bg_color) # Tab background.
  242. bg[ACTIVE] = shade (0.85, @bg_color) # Unfocused tab background.
  243. #bg[NORMAL] = @base_color
  244. engine "murrine"
  245. {
  246. roundness = 3
  247. contrast = 1.1
  248. }
  249. }
  250. style "murrine-menu"
  251. {
  252. #ythickness = 2
  253. #xthickness = 4
  254. GtkMenuBar :: shadow-type = GTK_SHADOW_NONE
  255. bg[SELECTED] = shade (0.85, @selected_bg_color)
  256. bg[NORMAL] = @bg_color
  257. bg[PRELIGHT] = shade (0.85, @selected_bg_color)
  258. bg[ACTIVE] = @bg_color
  259. bg[INSENSITIVE] = @bg_color
  260. fg[NORMAL] = @fg_color # Color for normal text.
  261. fg[PRELIGHT] = @base_color
  262. fg[SELECTED] = @base_color
  263. fg[ACTIVE] = @base_color
  264. fg[INSENSITIVE] = shade (0.75, @bg_color) # Text color for non-interactive menu items
  265. text[NORMAL] = @text_color # Color for menu-item radio/checks.
  266. base[NORMAL] = @bg_color # Color for menu-item radio/checks background.
  267. text[PRELIGHT] = @base_color
  268. text[SELECTED] = @base_color
  269. text[ACTIVE] =@base_color
  270. text[INSENSITIVE] = @text_color
  271. engine "murrine"
  272. {
  273. roundness = 0 # Roundness of menu items.
  274. contrast = 0.9
  275. }
  276. }
  277. style "murrine-menubar" = "murrine-menu" {
  278. bg[SELECTED] = shade (0.7, @bg_color_dark)
  279. }
  280. style "menubar-menuitem"
  281. {
  282. #ythickness = 2
  283. #xthickness = 4
  284. bg[PRELIGHT] = @selected_bg_color
  285. bg[SELECTED] = @selected_bg_color
  286. fg[NORMAL] = @base_color
  287. fg[PRELIGHT] = @base_color
  288. fg[SELECTED] = @base_color
  289. text[NORMAL] = @base_color
  290. text[PRELIGHT] = @base_color
  291. text[SELECTED] = @base_color
  292. }
  293. style "menubar-menuitem-prelight"
  294. {
  295. fg[PRELIGHT] = @base_color
  296. }
  297. style "murrine-treeview"
  298. {
  299. engine "murrine"
  300. {
  301. roundness = 0
  302. gradient_shades = {1.1,1.1,1.1,1.0}
  303. }
  304. }
  305. style "murrine-treeview-header" = "murrine-button"
  306. {
  307. xthickness = 2
  308. ythickness = 1
  309. bg[NORMAL] = shade (1.14, @bg_color) # Color for treeview headers.
  310. bg[PRELIGHT] = shade (0.98, @bg_color) # Color for treeview header prelight.
  311. bg[ACTIVE] = shade (0.85, @bg_color) # Color for pressed-treeview.
  312. engine "murrine"
  313. {
  314. roundness = 0 # This makes treeview progressbars square.
  315. gradient_shades = {0.98,1.0,1.3,1.35}
  316. }
  317. }
  318. style "murrine-frame-title"
  319. {
  320. fg[NORMAL] = lighter (@fg_color)
  321. }
  322. style "murrine-tooltips" = "murrine-wider"
  323. {
  324. xthickness = 7
  325. ythickness = 4
  326. bg[NORMAL] = @tooltip_bg_color
  327. bg[SELECTED] = "#000000"
  328. fg[NORMAL] = @tooltip_fg_color
  329. engine "murrine"
  330. {
  331. roundness = 0
  332. trough_shades = { 0.15, 0.3 }
  333. }
  334. }
  335. style "murrine-progressbar"
  336. {
  337. xthickness = 0
  338. ythickness = 0
  339. fg[PRELIGHT] = @selected_fg_color
  340. bg[NORMAL] = shade (1.05, @bg_color)
  341. bg[SELECTED] = mix (0.4, @bg_color, shade (0.9, @selected_bg_color))
  342. engine "murrine" {
  343. gradient_shades = {1.15,1.05,1.0,0.95}
  344. trough_shades = {0.95, 1.15}
  345. trough_border_shades = { 0.8, 0.7 }
  346. roundness = 4
  347. contrast = 0.8
  348. border_shades = { 1.0, 0.8 }
  349. lightborder_shade = 1.0
  350. glowstyle = 0
  351. glow_shade = 1.0
  352. }
  353. }
  354. style "murrine-scrollbar" {
  355. GtkScrollbar::stepper-size = 0
  356. GtkScrollbar::arrow-scaling = 0.0
  357. bg[NORMAL] = shade (1.3, @base_color)
  358. bg[SELECTED] = shade (1.30, @bg_color)
  359. bg[ACTIVE] = shade (1.75, @base_color)
  360. bg[PRELIGHT] = shade (0.75, @bg_color)
  361. bg[INSENSITIVE] = shade (0.95, @bg_color)
  362. engine "murrine" {
  363. #arrowstyle = 0
  364. colorize_scrollbar = TRUE
  365. roundness = 10
  366. border_shades = {0.5, 0.5}
  367. trough_shades = {2.0, 2.2}
  368. contrast = 0.0
  369. gradient_shades = {1.2,1.2,1.15,1.15}
  370. #prelight_shade = 0.9
  371. }
  372. }
  373. style "murrine-statusbar"
  374. {
  375. xthickness = 2
  376. }
  377. style "murrine-comboboxentry"
  378. {
  379. text[NORMAL] = @text_color
  380. text[PRELIGHT] = @text_color
  381. fg[NORMAL] = @text_color
  382. fg[PRELIGHT] = @text_color
  383. engine "murrine"
  384. {
  385. contrast = 0.4
  386. reliefstyle = 4
  387. border_shades = {1.03,0.8}
  388. shadow_shades = {0.5,0.0}
  389. }
  390. }
  391. style "murrine-combo" = "murrine-comboboxentry"
  392. {
  393. bg[ACTIVE] = shade (0.85, @bg_color) # Color for pressed-spinbuttons.
  394. }
  395. style "murrine-scale" = "murrine-button"
  396. {
  397. GtkWidget ::focus-line-width = 0
  398. GtkWidget ::focus-padding = 2
  399. bg[ACTIVE] = @base_color
  400. bg[NORMAL] = @panel_bg
  401. bg[PRELIGHT] = shade (0.5, @panel_bg)
  402. bg[INSENSITIVE] = @panel_bg
  403. bg[SELECTED] = @panel_bg
  404. engine "murrine"
  405. {
  406. roundness = 5
  407. border_shades = { 1.0, 1.0 }
  408. contrast = 0.5
  409. trough_shades = { 0.8, 0.8 }
  410. trough_border_shades = { 0.9, 0.9 }
  411. highlight_shade = 1.00
  412. lightborder_shade = 1.7
  413. gradient_shades = {1.0,1.0,1.0,1.0}
  414. border_shades = { 1.0, 1.0 }
  415. shadow_shades = { 0.5, 0.5 }
  416. }
  417. }
  418. style "murrine-scale-dark" = "murrine-scale"
  419. {
  420. bg[ACTIVE] = @panel_bg
  421. bg[NORMAL] = @text_color_dark
  422. bg[PRELIGHT] = shade (0.5, @panel_bg)
  423. bg[INSENSITIVE] = @text_color_dark
  424. bg[SELECTED] = @text_color_dark
  425. engine "murrine"
  426. {
  427. roundness = 5
  428. }
  429. }
  430. style "murrine-hscale" = "murrine-scale"
  431. {
  432. }
  433. style "murrine-vscale" = "murrine-scale"
  434. {
  435. }
  436. style "murrine-nautilus-location" # Workaround for nautilus' messages.
  437. {
  438. bg[NORMAL] = shade (1.25, @selected_bg_color)
  439. }
  440. style "murrine-radiocheck"
  441. {
  442. bg[NORMAL] = shade (1.06, @bg_color)
  443. bg[PRELIGHT] = shade (1.06, @bg_color)
  444. bg[ACTIVE] = shade (0.85, @bg_color)
  445. bg[SELECTED] = shade (1.0, @selected_bg_color)
  446. bg[INSENSITIVE] = shade (0.95, @bg_color)
  447. engine "murrine"
  448. {
  449. contrast = .8
  450. lightborder_shade = 1.9
  451. }
  452. }
  453. style "murrine-toolbar" = "murrine-default"
  454. {
  455. bg[NORMAL] = @bg_color
  456. engine "murrine" {
  457. contrast = 1.13
  458. toolbarstyle = 1
  459. lightborder_shade = 1.0
  460. gradient_shades = {1.0,0.94,0.94,0.88}
  461. }
  462. }
  463. style "xfce-header"
  464. {
  465. base[NORMAL] = shade (1.18, @bg_color)
  466. engine "murrine" {
  467. gradient_shades = {0.1,0.5,0.6,1.0}
  468. }
  469. }
  470. style "xfdesktop-windowlist" #= "murrine-menu"
  471. {
  472. bg[NORMAL] = @base_color
  473. fg[INSENSITIVE] = shade (0.95, @base_color)
  474. text[INSENSITIVE] = shade (0.95, @base_color)
  475. }
  476. style "murrine-borderless"
  477. {
  478. # GtkPaned::border_width = 0
  479. # base[NORMAL] = @base_color
  480. # base[NORMAL] = @base_color
  481. # base[ACTIVE] = @base_color
  482. # base[SELECTED] = @base_color
  483. # base[INSENSITIVE] = @base_color
  484. bg[NORMAL] = @base_color
  485. # bg[ACTIVE] = @base_color
  486. # bg[SELECTED] = @base_color
  487. # bg[INSENSITIVE] = @base_color
  488. # fg[INSENSITIVE] = @base_color
  489. # text[INSENSITIVE] = @base_color
  490. engine "murrine"
  491. {
  492. # roundness = 0
  493. # contrast = 0.0
  494. }
  495. }
  496. ###############################################################################
  497. # The following part of the gtkrc applies the different styles to the widgets.
  498. ###############################################################################
  499. class "GtkWindow*" style "resize-grip"
  500. # Murrine default style is applied to every widget.
  501. class "GtkWidget" style "murrine-default"
  502. # Increase the x/ythickness in some widgets.
  503. class "GtkFrame" style "murrine-wide"
  504. class "GtkEntry" style "murrine-entry"
  505. class "GtkSeparator" style "murrine-wide"
  506. class "GtkCalendar" style "murrine-wide"
  507. class "GtkToolbar" style "murrine-toolbar"
  508. class "GtkHandleBox*" style "murrine-toolbar"
  509. class "GtkSpinButton" style "murrine-combo"
  510. class "GtkScale" style "murrine-scale"
  511. class "GtkVScale" style "murrine-vscale"
  512. class "GtkHScale" style "murrine-hscale"
  513. class "GtkScrollbar" style "murrine-scrollbar"
  514. class "GtkVScrollbar" style "murrine-scrollbar"
  515. class "GtkHScrollbar" style "murrine-scrollbar"
  516. class "GtkRadio*" style "murrine-radiocheck"
  517. class "GtkCheck*" style "murrine-radiocheck"
  518. # General matching following, the order is choosen so that the right styles override each other eg. progressbar needs to be more important then the menu match.
  519. widget_class "*<GtkNotebook>*<GtkEventBox>" style "murrine-notebook"
  520. widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook"
  521. widget_class "*<GtkNotebook>*<GtkLayout>" style "murrine-notebook"
  522. widget_class "*<GtkNotebook>*<GtkLabel>" style "murrine-notebook"
  523. #widget_class "*GtkVBox.GtkFrame.GtkTable" style "murrine-angled" ##(GtkVBox.GtkFrame.GtkTable.GtkVScrollbar)
  524. #widget_class "*GtkTable*" style "murrine-angled" #GtkWindow.GtkVBox.GtkHBox.GtkTable.GtkVBox.GtkNotebook.GtkTable.GtkVPaned.GtkVScrollbar
  525. #widget_class "*GtkTable*GtkVScrollbar" style "murrine-scrollbar"
  526. #widget_class "*GtkTable*GtkHScrollbar" style "murrine-scrollbar"
  527. widget_class "*<GtkButton>" style "murrine-button"
  528. widget_class "*<GtkNotebook>" style "murrine-notebook"
  529. widget_class "*<GtkStatusbar>*" style "murrine-statusbar"
  530. #widget "*Gnumeric*GtkVBox.GtkNotebook" style "murrine-borderless"
  531. #widget_class "GimpDisplayShell*GtkTable*" style "murrine-default"
  532. #widget_class "*GimpStatusbar*" style "murrine-default"
  533. #widget_class "*Gnumeric*" style "murrine-borderless"
  534. widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry"
  535. widget_class "*<GtkCombo>*" style "murrine-combo"
  536. widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar-menuitem"
  537. widget_class "*<GtkMenu>*" style "murrine-menu"
  538. widget_class "*<GtkMenuBar>*" style "murrine-menu"
  539. # Scale widget in menus (e.g. ubuntu's sound indicator)
  540. widget_class "*<GtkMenuItem>.*.<GtkScale>" style "murrine-scale"
  541. widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
  542. widget_class "*.<GtkTreeView>*" style "murrine-treeview"
  543. widget_class "*GtkHPaned" style "murrine-paned"
  544. widget_class "*GtkVPaned" style "murrine-paned"
  545. widget_class "*<GtkProgress>" style "murrine-progressbar"
  546. widget_class "*<GtkProgressBar>" style "murrine-progressbar"
  547. widget_class "*<GtkRadioButton>*" style "murrine-radiocheck"
  548. widget_class "*<GtkCheckButton>*" style "murrine-radiocheck"
  549. # Treeview header
  550. widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
  551. widget_class "*.<GtkCTree>.<GtkButton>" style "murrine-treeview-header"
  552. widget_class "*.<GtkList>.<GtkButton>" style "murrine-treeview-header"
  553. widget_class "*.<GtkCList>.<GtkButton>" style "murrine-treeview-header"
  554. widget_class "*.<GtkCMCTree>.<GtkButton>" style "murrine-treeview-header" # Claws-Mail treeview-headers
  555. widget_class "*.<GtkCMCList>.<GtkButton>" style "murrine-treeview-header" # Claws-Mail treeview-headers
  556. widget_class "*GnmSimpleCanvas*" style "murrine-treeview-header" # Gnumeric treeview-headers
  557. widget_class "*XfceHeading*" style "xfce-header"
  558. widget_class "*XfceDesktop*" style "xfdesktop-windowlist"
  559. # Workarounds for Evolution
  560. widget_class "*.ETable.ECanvas" style "murrine-treeview-header"
  561. widget_class "*.ETree.ECanvas" style "murrine-treeview-header"
  562. widget_class "*GtkCTree*" style "evolution-hack"
  563. widget_class "*GtkList*" style "evolution-hack"
  564. widget_class "*GtkCList*" style "evolution-hack"
  565. widget_class "*.ETree.*" style "evolution-hack"
  566. widget_class "*EInfoLabel*" style "evolution-hack"
  567. # The window of the tooltip is called "gtk-tooltip"
  568. ################################
  569. # FIXME:
  570. # This will not work if one embeds eg. a button into the tooltip.
  571. # As far as I can tell right now we will need to rework the theme
  572. # quite a bit to get this working correctly.
  573. # (It will involve setting different priorities, etc.)
  574. ################################
  575. widget "gtk-tooltip*" style "murrine-tooltips"
  576. ###################################################
  577. # SPECIAL CASES AND WORKAROUNDS
  578. ###################################################
  579. # Special case the nautilus-extra-view-widget
  580. # ToDo: A more generic approach for all applications that have a widget like this.
  581. widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location"
  582. # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
  583. # Note that the work around assumes that the combobox is _not_ in appears-as-list mode.
  584. # This style does not affect GtkComboBoxEntry, it does have an effect on comboboxes in appears-as-list mode though.
  585. style "murrine-text-is-fg-color-workaround"
  586. {
  587. text[NORMAL] = @fg_color
  588. text[PRELIGHT] = @fg_color
  589. text[SELECTED] = @selected_fg_color
  590. text[ACTIVE] = @fg_color
  591. text[INSENSITIVE] = darker (@bg_color)
  592. }
  593. widget_class "*.<GtkComboBox>.<GtkCellView>" style "murrine-text-is-fg-color-workaround"
  594. style "murrine-menuitem-text-is-fg-color-workaround"
  595. {
  596. text[NORMAL] = @fg_color
  597. text[PRELIGHT] = @selected_fg_color
  598. text[SELECTED] = @selected_fg_color
  599. text[ACTIVE] = @fg_color
  600. text[INSENSITIVE] = darker (@bg_color)
  601. }
  602. widget "*.gtk-combobox-popup-menu.*" style "murrine-menuitem-text-is-fg-color-workaround"
  603. # Work around the usage of GtkLabel inside GtkListItems to display text.
  604. # This breaks because the label is shown on a background that is based on the base color set.
  605. style "murrine-fg-is-text-color-workaround"
  606. {
  607. fg[NORMAL] = @text_color
  608. fg[PRELIGHT] = @text_color
  609. fg[ACTIVE] = @selected_fg_color
  610. fg[SELECTED] = @selected_fg_color
  611. fg[INSENSITIVE] = darker (@bg_color)
  612. }
  613. widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround"
  614. # The same problem also exists for GtkCList and GtkCTree.
  615. # Only match GtkCList and not the parent widgets, because that would also change the headers.
  616. widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround"
  617. widget_class "*<EelEditableLabel>" style "murrine-fg-is-text-color-workaround"
  618. widget "xfwm4-tabwin*" style "tabwin-dark"
  619. # Google Chrome/Chromium theming (requires 9.0.597 or newer)
  620. style "chrome-gtk-frame"
  621. {
  622. ChromeGtkFrame::frame-color = shade (0.5, @bg_color)
  623. ChromeGtkFrame::inactive-frame-color = shade (0.5, @bg_color)
  624. ChromeGtkFrame::frame-gradient-size = 100
  625. ChromeGtkFrame::frame-gradient-color = shade (1.08,@bg_color)
  626. ChromeGtkFrame::inactive-frame-gradient-color = shade (1.08,@bg_color)
  627. ChromeGtkFrame::scrollbar-trough-color = @base_color
  628. ChromeGtkFrame::scrollbar-slider-prelight-color = @panel_bg
  629. ChromeGtkFrame::scrollbar-slider-normal-color = shade (1.4, @panel_bg)
  630. }
  631. class "ChromeGtkFrame" style "chrome-gtk-frame"
  632. # panel theming
  633. include "apps/panel.rc"
  634. # application specific theming
  635. include "apps/terminal.rc"
  636. include "apps/thunar.rc"
  637. include "apps/gmusicbrowser.rc"