Advertisement
Guest User

gtkrc

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