gtkrc 23 KB

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