Advertisement
ariyasa

gtkrc-greybird(xubuntu)

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