Advertisement
Guest User

gtkrc

a guest
Apr 4th, 2010
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.52 KB | None | 0 0
  1. # KDE4.2 Oxygen style for GNOME
  2. #
  3. # created by Kim Kahns ( http://kims-area.com )
  4. # modfied by Dennis Schmitz
  5.  
  6. include "panel.rc"
  7. include "scrollbar.rc"
  8.  
  9. gtk-icon-sizes = "panel-menu=16,16:panel=16,16:gtk-button=16,16:gtk-large-toolbar=24,24"
  10.  
  11.  
  12. style "default"
  13. {
  14. GtkButton::child-displacement-x = 1
  15. GtkButton::child-displacement-y = 1
  16. GtkButton::default-border = { 0, 0, 0, 0 }
  17. GtkCheckButton::indicator-size = 12
  18. GtkRadioButton::indicator-size = 12
  19. GtkPaned::handle-size = 4
  20.  
  21. GtkWidget:: focus-line-width = 0
  22.  
  23. GtkScale::slider-length =24
  24. GtkScale::trough-side-details = 0
  25. GtkScrollbar::min-slider-length = 30
  26. GtkScrolledWindow::scrollbar-spacing = 1
  27. GtkScrolledWindow::scrollbars-within-bevel = 0
  28. GtkMenuBar::internal-padding = 0
  29. GtkExpander::expander-size = 16
  30. GtkToolbar::internal-padding = 0
  31. GtkTreeView::expander-size = 14
  32. GtkTreeView::vertical-separator = 0
  33. GtkMenu::horizontal-padding = 5
  34. GtkMenu::vertical-padding = 4
  35. WnckTasklist::fade-overlay-rect = 0
  36. GtkToolbar::space-size = 10
  37. GtkDialog::action-area-border = 2
  38. GtkDialog::button-spacing = 3
  39. GtkDialog::content-area-border = 1
  40.  
  41. #GtkTreeView::tree-line-pattern = "\1\1"
  42. GtkTreeView::tree-line-width = 1
  43. #GtkTreeView::grid-line-pattern = "\1\1"
  44. GtkTreeView::grid-line-width = 1
  45.  
  46. xthickness = 3
  47. ythickness = 3
  48.  
  49. fg[NORMAL] = "#000000"
  50. fg[PRELIGHT] = "#000000"
  51. fg[SELECTED] = "#ffffff"
  52. fg[ACTIVE] = "#000000"
  53. fg[INSENSITIVE] = "#828282"
  54.  
  55. bg[NORMAL] = "#f3f3f3"
  56. bg[PRELIGHT] = shade (1.02, "#f3f3f3")
  57. bg[SELECTED] = "#418bd4"
  58. bg[INSENSITIVE] = "#f3f3f3"
  59. bg[ACTIVE] = "#f3f3f3"
  60.  
  61. base[NORMAL] = "#ffffff"
  62. base[PRELIGHT] = shade (0.95, "#ECE2D7")
  63. base[ACTIVE] = shade (0.9, "#418bd4")
  64. base[SELECTED] = "#418bd4"
  65. base[INSENSITIVE] = "#f3f3f3"
  66.  
  67. text[NORMAL] = "#000000"
  68. text[PRELIGHT] = "#000000"
  69. text[ACTIVE] = "#ffffff"
  70. text[SELECTED] = "#ffffff"
  71. text[INSENSITIVE] = "#828282"
  72.  
  73. engine "pixmap"
  74. {
  75. image
  76. {
  77. function = HANDLE
  78. recolorable = TRUE
  79. overlay_file = "others/v1.png"
  80. overlay_stretch = TRUE
  81. orientation = HORIZONTAL
  82. }
  83. image
  84. {
  85. function = HANDLE
  86. recolorable = TRUE
  87. overlay_file = "others/h1.png"
  88. overlay_stretch = TRUE
  89. orientation = VERTICAL
  90. }
  91. image
  92. {
  93. function = VLINE
  94. recolorable = TRUE
  95. file = "others/line-v.png"
  96. border = { 0, 0, 0, 0 }
  97. stretch = TRUE
  98. }
  99. image
  100. {
  101. function = HLINE
  102. recolorable = TRUE
  103. file = "others/line-h.png"
  104. border = { 0, 0, 0, 0 }
  105. stretch = TRUE
  106. }
  107. image
  108. {
  109. function = SHADOW
  110. shadow = IN
  111. recolorable = FALSE
  112. file = "Shadows/entry.png"
  113. border = { 5, 5, 5, 5 }
  114. stretch = TRUE
  115. }
  116. image
  117. {
  118. function = SHADOW
  119. shadow = OUT
  120. recolorable = TRUE
  121. file = "Shadows/frame1.png"
  122. border = { 0, 0, 0, 0 }
  123. stretch = TRUE
  124. }
  125. image
  126. {
  127. function = SHADOW
  128. shadow = ETCHED_IN
  129. recolorable = TRUE
  130. file = "Shadows/entry.png"
  131. border = { 5, 5, 5, 5 }
  132. stretch = TRUE
  133. }
  134. image
  135. {
  136. function = SHADOW
  137. shadow = ETCHED_OUT
  138. recolorable = TRUE
  139. file = "Shadows/frame2.png"
  140. border = { 2, 2, 2, 2 }
  141. stretch = TRUE
  142. }
  143. image
  144. {
  145. function = ARROW
  146. recolorable = TRUE
  147. overlay_file = "arrows/arrow-up.png"
  148. overlay_border = { 0, 0, 0, 0 }
  149. overlay_stretch = FALSE
  150. arrow_direction = UP
  151. }
  152. image
  153. {
  154. function = ARROW
  155. recolorable = TRUE
  156. overlay_file = "arrows/arrow-down.png"
  157. overlay_border = { 0, 0, 0, 0 }
  158. overlay_stretch = FALSE
  159. arrow_direction = DOWN
  160. }
  161. image
  162. {
  163. function = ARROW
  164. recolorable = TRUE
  165. overlay_file = "arrows/arrow-left.png"
  166. overlay_border = { 0, 0, 0, 0 }
  167. overlay_stretch = FALSE
  168. arrow_direction = LEFT
  169. }
  170. image
  171. {
  172. function = ARROW
  173. recolorable = TRUE
  174. overlay_file = "arrows/arrow-right.png"
  175. overlay_border = { 0, 0, 0, 0 }
  176. overlay_stretch = FALSE
  177. arrow_direction = RIGHT
  178. }
  179. }
  180. }
  181. class "GtkWidget" style "default"
  182.  
  183. style "button"
  184. {
  185. xthickness = 4
  186. ythickness = 5
  187.  
  188. engine "pixmap"
  189. {
  190. image
  191. {
  192. function = BOX
  193. detail = "buttondefault"
  194. recolorable = TRUE
  195. file = "Buttons/button-normal.png"
  196. border = { 7,7,7,7 }
  197. stretch = TRUE
  198. }
  199. image
  200. {
  201. function = BOX
  202. state = PRELIGHT
  203. recolorable = TRUE
  204. file = "Buttons/button-hover.png"
  205. border = { 7,7,7,7 }
  206. stretch = TRUE
  207. }
  208. image
  209. {
  210. function = BOX
  211. state = ACTIVE
  212. file = "Buttons/button-active.png"
  213. border = { 7,7,7,7 }
  214. stretch = TRUE
  215. }
  216. image
  217. {
  218. function = BOX
  219. state = INSENSITIVE
  220. file = "Buttons/button-off.png"
  221. border = { 7,7,7,7 }
  222. stretch = TRUE
  223. }
  224. image
  225. {
  226. function = BOX
  227. file = "Buttons/button-normal.png"
  228. border = {7,7,7,7 }
  229. stretch = TRUE
  230. }
  231. image
  232. {
  233. function = VLINE
  234. recolorable = TRUE
  235. file = "Shadows/null.png"
  236. border = { 0, 0, 0, 0 }
  237. stretch = TRUE
  238. }
  239. }
  240. }
  241. class "GtkButton" style "button"
  242. class "GtkToggleButton" style "button"
  243. class "GtkToolButton" style "button"
  244. widget_class "*Panel*GtkToggleButton" style "button"
  245. widget "*.tasklist-button" style "button"
  246.  
  247.  
  248. style "combo" = "default"
  249. {
  250. xthickness = 4
  251. ythickness = 4
  252.  
  253. engine "pixmap"
  254. {
  255. image
  256. {
  257. function = BOX
  258. recolorable = TRUE
  259. state = NORMAL
  260. file = "Combo/combo-normal.png"
  261. border = { 7,7,7,7 }
  262. stretch = TRUE
  263. }
  264. image
  265. {
  266. function = BOX
  267. state = PRELIGHT
  268. recolorable = TRUE
  269. file = "Combo/combo-hover.png"
  270. border = { 7,7,7,7 }
  271. stretch = TRUE
  272. }
  273. image
  274. {
  275. function = BOX
  276. recolorable = TRUE
  277. state = SELECTED
  278. file = "Combo/combo-active.png"
  279. border = { 7,7,7,7 }
  280. stretch = TRUE
  281. }
  282. image
  283. {
  284. function = BOX
  285. recolorable = TRUE
  286. state = ACTIVE
  287. file = "Combo/combo-active.png"
  288. border = { 7,7,7,7 }
  289. stretch = TRUE
  290. }
  291. image
  292. {
  293. function = BOX
  294. recolorable = TRUE
  295. state = INSENSITIVE
  296. file = "Combo/combo-off.png"
  297. border = { 7,7,7,7 }
  298. stretch = TRUE
  299. }
  300. image
  301. {
  302. function = SHADOW
  303. detail = "entry"
  304. shadow = IN
  305. recolorable = FALSE
  306. file = "Combo/entry.png"
  307. border = { 6,6,6,6 }
  308. stretch = TRUE
  309. }
  310. image
  311. {
  312. function = FOCUS
  313. recolorable = TRUE
  314. detail = "entry"
  315. file = "Combo/entry-in.png"
  316. border = { 4,4,4,4 }
  317. stretch = TRUE
  318. }
  319. image
  320. {
  321. function = VLINE
  322. recolorable = TRUE
  323. file = "Shadows/null.png"
  324. border = { 0, 0, 0, 0 }
  325. stretch = TRUE
  326. }
  327. }
  328. }
  329. widget_class "*GtkComboBox*" style "button"
  330. widget_class "*.<GtkComboBox>." style "button"
  331. widget_class "*GtkComboBoxEntry*" style "combo"
  332.  
  333.  
  334.  
  335. style "menu-item"
  336. {
  337. xthickness = 2
  338. ythickness = 3
  339.  
  340. engine "pixmap"
  341. {
  342. image
  343. {
  344. function = BOX
  345. recolorable = TRUE
  346. file = "Menu-Menubar/menuitem.png"
  347. border = { 5, 5, 5, 5 }
  348. stretch = TRUE
  349. }
  350. image
  351. {
  352. function = HLINE
  353. recolorable = TRUE
  354. file = "Menu-Menubar/menu_separator.png"
  355. border = { 0, 0, 1, 0 }
  356. stretch = TRUE
  357. }
  358. }
  359. }
  360. widget_class "*<GtkMenuItem>*" style "menu-item"
  361.  
  362.  
  363.  
  364.  
  365. style "treeview-header"
  366. {
  367. xthickness = 1
  368. ythickness = 0
  369.  
  370. engine "pixmap"
  371. {
  372. image
  373. {
  374. function = BOX
  375. recolorable = TRUE
  376. shadow = OUT
  377. state = NORMAL
  378. file = "ListHeaders/list_header.png"
  379. border = { 1, 1, 3, 3 }
  380. stretch = TRUE
  381. }
  382. image
  383. {
  384. function = BOX
  385. recolorable = TRUE
  386. state = PRELIGHT
  387. file = "ListHeaders/list_header-prelight.png"
  388. border = { 1, 1, 3, 3 }
  389. stretch = TRUE
  390. }
  391. image
  392. {
  393. function = BOX
  394. recolorable = TRUE
  395. state = INSENSITIVE
  396. file = "ListHeaders/list_header.png"
  397. border = { 1, 1, 3, 3 }
  398. stretch = TRUE
  399. }
  400. image
  401. {
  402. function = BOX
  403. recolorable = TRUE
  404. state = ACTIVE
  405. file = "ListHeaders/list_header-pressed.png"
  406. border = { 1, 1, 3, 3 }
  407. stretch = TRUE
  408. }
  409. image
  410. {
  411. function = BOX
  412. recolorable = TRUE
  413. state = SELECTED
  414. file = "ListHeaders/list_header-prelight.png"
  415. border = {1, 1, 3, 3 }
  416. stretch = TRUE
  417. }
  418. }
  419. }
  420. style "treeview-header-evo"
  421. {
  422. xthickness = 2
  423. ythickness = 2
  424.  
  425. engine "pixmap"
  426. {
  427. image
  428. {
  429. function = BOX
  430. recolorable = TRUE
  431. shadow = OUT
  432. state = NORMAL
  433. file = "ListHeaders/list_header.png"
  434. border = { 1, 1, 3, 3 }
  435. stretch = TRUE
  436. }
  437. image
  438. {
  439. function = BOX
  440. recolorable = TRUE
  441. state = PRELIGHT
  442. file = "ListHeaders/list_header-prelight.png"
  443. border = { 1, 1, 3, 3 }
  444. stretch = TRUE
  445. }
  446. image
  447. {
  448. function = BOX
  449. recolorable = TRUE
  450. state = INSENSITIVE
  451. file = "ListHeaders/list_header.png"
  452. border = { 1, 1, 3, 3 }
  453. stretch = TRUE
  454. }
  455. image
  456. {
  457. function = BOX
  458. recolorable = TRUE
  459. state = ACTIVE
  460. file = "ListHeaders/list_header-pressed.png"
  461. border = { 1, 1, 3, 3 }
  462. stretch = TRUE
  463. }
  464. image
  465. {
  466. function = BOX
  467. recolorable = TRUE
  468. state = SELECTED
  469. file = "ListHeaders/list_header-prelight.png"
  470. border = {1, 1, 3, 3 }
  471. stretch = TRUE
  472. }
  473. }
  474. }
  475. widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview-header"
  476. widget_class "*.<GtkCTree>.<GtkButton>" style "treeview-header"
  477. widget_class "*.<GtkList>.<GtkButton>" style "treeview-header"
  478. widget_class "*.<GtkCList>.<GtkButton>" style "treeview-header"
  479.  
  480. widget_class "*.ETable.ECanvas" style "treeview-header-evo"
  481. widget_class "*.ETree.ECanvas" style "treeview-header-evo"
  482.  
  483.  
  484.  
  485. style "frame-title"
  486. {
  487. fg[NORMAL] = lighter ("#000000")
  488. }
  489. widget_class "*.<GtkFrame>.<GtkLabel>" style "frame-title"
  490.  
  491.  
  492.  
  493. style "tooltips"
  494. {
  495. xthickness = 6
  496. ythickness = 6
  497.  
  498. bg[NORMAL] = "#c0daff"
  499. fg[NORMAL] = "#000000"
  500. }
  501. widget "gtk-tooltip*" style "tooltips"
  502.  
  503.  
  504.  
  505. style "progressbar"
  506. {
  507. xthickness = 0
  508. ythickness = 0
  509.  
  510. fg[PRELIGHT] = "#ffffff"
  511.  
  512. engine "pixmap"
  513. {
  514. image
  515. {
  516. function = BOX
  517.  
  518. detail = "trough"
  519. file = "others/progressbar.png"
  520. border = { 5, 5, 5, 5 }
  521. stretch = TRUE
  522. orientation = HORIZONTAL
  523. }
  524.  
  525. image
  526. {
  527. function = BOX
  528.  
  529. detail = "bar"
  530. file = "others/progressbar-fill.png"
  531. border = { 5, 5, 5, 5 }
  532. stretch = TRUE
  533. orientation = HORIZONTAL
  534. }
  535.  
  536. image
  537. {
  538. function = BOX
  539.  
  540. detail = "trough"
  541. file = "others/progressbar-v.png"
  542. border = { 5, 5, 5, 5 }
  543. stretch = TRUE
  544. orientation = VERTICAL
  545. }
  546.  
  547. image
  548. {
  549. function = BOX
  550.  
  551. detail = "bar"
  552. file = "others/progressbar-v-fill.png"
  553. border = { 5, 5, 5, 5 }
  554. stretch = TRUE
  555. orientation = VERTICAL
  556. }
  557. }
  558. }
  559. widget_class "*<GtkProgressBar>" style "progressbar"
  560.  
  561.  
  562.  
  563. style "range"
  564. {
  565. bg[NORMAL] = "#E4DAD1"
  566.  
  567. GtkRange::trough-border = 0
  568. GtkRange::slider-width = 22
  569. GtkRange::stepper-size = 22
  570.  
  571. engine "pixmap"
  572. {
  573. image
  574. {
  575. function = BOX
  576. recolorable = TRUE
  577. detail = "trough"
  578. file = "Range/trough-horizontal.png"
  579. border = { 10, 10, 1, 19 }
  580. stretch = TRUE
  581. orientation = HORIZONTAL
  582. }
  583. image
  584. {
  585. function = BOX
  586. recolorable = TRUE
  587. detail = "trough"
  588. file = "Range/trough-vertical.png"
  589. border = { 0, 19, 10, 10 }
  590. stretch = TRUE
  591. orientation = VERTICAL
  592. }
  593. ############### the sliders ###############
  594.  
  595. image
  596. {
  597. function = SLIDER
  598. recolorable = TRUE
  599. state = NORMAL
  600. file = "Range/null.png"
  601. border = { 0, 0, 0, 0 }
  602. stretch = TRUE
  603. overlay_file = "Range/slider-horiz.png"
  604. overlay_stretch = FALSE
  605. orientation = HORIZONTAL
  606. }
  607. image
  608. {
  609. function = SLIDER
  610. recolorable = TRUE
  611. state = PRELIGHT
  612. file = "Range/null.png"
  613. border = { 0, 0, 0, 0 }
  614. stretch = TRUE
  615. overlay_file = "Range/slider-horiz-prelight.png"
  616. overlay_stretch = FALSE
  617. orientation = HORIZONTAL
  618. }
  619. image
  620. {
  621. function = SLIDER
  622. recolorable = TRUE
  623. state = INSENSITIVE
  624. file = "Range/null.png"
  625. border = { 0, 0, 0, 0 }
  626. stretch = TRUE
  627. overlay_file = "Range/slider-horiz.png"
  628. overlay_stretch = FALSE
  629. orientation = HORIZONTAL
  630. }
  631.  
  632. ######################### VERTICAL ###########################
  633.  
  634. image
  635. {
  636. function = SLIDER
  637. recolorable = TRUE
  638. state = NORMAL
  639. file = "Range/null.png"
  640. border = { 0, 0, 0, 0 }
  641. stretch = TRUE
  642. overlay_file = "Range/slider-vert.png"
  643. overlay_stretch = FALSE
  644. orientation = VERTICAL
  645. }
  646. image
  647. {
  648. function = SLIDER
  649. recolorable = TRUE
  650. state = PRELIGHT
  651. file = "Range/null.png"
  652. border = { 0, 0, 0, 0 }
  653. stretch = TRUE
  654. overlay_file = "Range/slider-vert-prelight.png"
  655. overlay_stretch = FALSE
  656. orientation = VERTICAL
  657. }
  658. image
  659. {
  660. function = SLIDER
  661. recolorable = TRUE
  662. state = INSENSITIVE
  663. file = "Range/null.png"
  664. border = { 0, 0, 0, 0 }
  665. stretch = TRUE
  666. overlay_file = "Range/slider-vert.png"
  667. overlay_stretch = FALSE
  668. orientation = VERTICAL
  669. }
  670. }
  671. }
  672. class "GtkRange" style "range"
  673.  
  674.  
  675.  
  676.  
  677. style "nautilus-location"
  678. {
  679. bg[NORMAL] = mix(0.60, shade (1.05,"#f3f3f3"), "#f3f3f3")
  680. }
  681. widget "*.nautilus-extra-view-widget" style : highest "nautilus-location"
  682.  
  683.  
  684.  
  685. style "menu" = "default"
  686. {
  687. xthickness = 0
  688. ythickness = 4
  689.  
  690. engine "pixmap"
  691. {
  692. image
  693. {
  694. function = BOX
  695. recolorable = TRUE
  696. detail = "menu"
  697. file = "Menu-Menubar/menu.png"
  698. border = { 2, 2, 2, 2 }
  699. stretch = TRUE
  700. }
  701. }
  702. }
  703. class "GtkMenu" style "menu"
  704.  
  705.  
  706.  
  707. style "toolbar"
  708. {
  709. engine "pixmap"
  710. {
  711. image
  712. {
  713. function = BOX
  714. state = NORMAL
  715. file = "others/toolbar.png"
  716. border = { 0, 0, 3,3}
  717. stretch = TRUE
  718. }
  719. image
  720. {
  721. function = BOX
  722. state = INSENSITIVE
  723. file = "others/toolbar.png"
  724. border = { 0, 0, 3,3}
  725. stretch = TRUE
  726. }
  727. image
  728. {
  729. function = HANDLE
  730. recolorable = TRUE
  731. overlay_file = "others/v2.png"
  732. overlay_stretch = TRUE
  733. orientation = HORIZONTAL
  734. }
  735. image
  736. {
  737. function = HANDLE
  738. recolorable = TRUE
  739. overlay_file = "others/h2.png"
  740. overlay_stretch = TRUE
  741. orientation = VERTICAL
  742. }
  743. }
  744. }
  745. class "GtkToolbar" style "toolbar"
  746. class "*BonoboDockItem" style "toolbar"
  747. widget_class "*BonoboDockItem" style "toolbar"
  748. class "*HandleBox" style "toolbar"
  749. widget_class "*HandleBox" style "toolbar"
  750. class "*Toolbar" style "toolbar"
  751. widget_class "*Toolbar" style "toolbar"
  752.  
  753. style "menubar"
  754. {
  755. xthickness = 0
  756. ythickness = 2
  757.  
  758. engine "pixmap"
  759. {
  760. image
  761. {
  762. function = BOX
  763. state = NORMAL
  764. file = "others/menubar.png"
  765. border = { 0, 0, 6, 6}
  766. stretch = TRUE
  767. }
  768. image
  769. {
  770. function = BOX
  771. state = INSENSITIVE
  772. file = "others/menubar.png"
  773. border = { 0, 0, 6, 6}
  774. stretch = TRUE
  775. }
  776. }
  777. }
  778. class "GtkMenuBar" style "menubar"
  779.  
  780.  
  781. style "statusbar" = "default"
  782. {
  783. GtkStatusbar::shadow_type = GTK_SHADOW_NONE
  784.  
  785. xthickness = 4
  786. ythickness = 4
  787.  
  788. engine "pixmap"
  789. {
  790. image
  791. {
  792. function = RESIZE_GRIP
  793. recolorable = TRUE
  794. detail = "statusbar"
  795. overlay_file = "others/resize_grip.png"
  796. overlay_border = {1,1,1,1 }
  797. overlay_stretch = FALSE
  798. }
  799. }
  800. }
  801. widget_class "*<GtkStatusbar>*" style "statusbar"
  802.  
  803.  
  804.  
  805. style "TreeView"
  806. {
  807. GtkTreeView::allow-rules = 1
  808. GtkTreeView::even-row-color = "#ffffff"
  809. GtkTreeView::odd-row-color = "#f8f7f6"
  810.  
  811. bg[NORMAL] = "#ECE2D7"
  812. bg[PRELIGHT] = "#ECE2D7"
  813. bg[ACTIVE] = "#FFA44B"
  814. bg[SELECTED] = "#FFA44B"
  815. bg[INSENSITIVE] = "#ECE2D7"
  816.  
  817. fg[NORMAL] = "#444444"
  818. fg[PRELIGHT] = "#000000"
  819. fg[ACTIVE] = "#000000"
  820. fg[SELECTED] = "#000000"
  821. fg[INSENSITIVE] = "#eeeeee"
  822.  
  823. text[NORMAL] = "#444444"
  824. text[PRELIGHT] = "#000000"
  825. text[ACTIVE] = "#000000"
  826. text[SELECTED] = "#000000"
  827. text[INSENSITIVE] = "#eeeeee"
  828.  
  829. engine "pixmap"
  830. {
  831. image
  832. {
  833. function = FLAT_BOX
  834. state = SELECTED
  835. border = {6 ,6,6,6}
  836. file = "Tree/selected.png"
  837. }
  838. }
  839. }
  840. class "GtkTreeView" style "TreeView"
  841. widget_class "*GtkCTree*" style "TreeView"
  842. widget_class "*GtkList*" style "TreeView"
  843. widget_class "*GtkCList*" style "TreeView"
  844. widget_class "*.ETree.*" style "TreeView"
  845.  
  846.  
  847.  
  848.  
  849. style "notebook"
  850. {
  851. GtkNotebook::tab-overlap = 6
  852.  
  853. xthickness = 6
  854. ythickness = 3
  855.  
  856. engine "pixmap"
  857. {
  858. image
  859. {
  860. function = EXTENSION
  861. recolorable = TRUE
  862. state = ACTIVE
  863. file = "Tabs/tab-bottom.png"
  864. border = { 4,4,4,4}
  865. stretch = TRUE
  866. gap_side = TOP
  867. }
  868. image
  869. {
  870. function = EXTENSION
  871. recolorable = TRUE
  872. state = ACTIVE
  873. file = "Tabs/tab-top.png"
  874. border = { 4,4,4,4}
  875. stretch = TRUE
  876. gap_side = BOTTOM
  877. }
  878. image
  879. {
  880. function = EXTENSION
  881. recolorable = TRUE
  882. state = ACTIVE
  883. file = "Tabs/tab-left.png"
  884. border = { 4,4,4,4}
  885. stretch = TRUE
  886. gap_side = RIGHT
  887. }
  888. image
  889. {
  890. function = EXTENSION
  891. recolorable = TRUE
  892. state = ACTIVE
  893. file = "Tabs/tab-right.png"
  894. border = { 4,4,4,4}
  895. stretch = TRUE
  896. gap_side = LEFT
  897. }
  898. image
  899. {
  900. function = EXTENSION
  901. recolorable = TRUE
  902.  
  903. file = "Tabs/tab-top-active.png"
  904. border = { 4,4,4,4}
  905. stretch = TRUE
  906. gap_side = BOTTOM
  907. }
  908. image
  909. {
  910. function = EXTENSION
  911. recolorable = TRUE
  912.  
  913. file = "Tabs/tab-bottom-active.png"
  914. border = { 4,4,4,4}
  915. stretch = TRUE
  916. gap_side = TOP
  917. }
  918. image
  919. {
  920. function = EXTENSION
  921. recolorable = TRUE
  922.  
  923. file = "Tabs/tab-left-active.png"
  924. border = { 4,4,4,4}
  925. stretch = TRUE
  926. gap_side = RIGHT
  927. }
  928. image
  929. {
  930. function = EXTENSION
  931. recolorable = TRUE
  932.  
  933. file = "Tabs/tab-right-active.png"
  934. border = { 4,4,4,4}
  935. stretch = TRUE
  936. gap_side = LEFT
  937. }
  938.  
  939.  
  940.  
  941.  
  942. image
  943. {
  944. function = BOX_GAP
  945. recolorable = TRUE
  946. file = "Tabs/notebook-top.png"
  947. border = { 6, 6, 6, 6 }
  948. stretch = TRUE
  949. gap_file = "Tabs/null2.png"
  950. gap_border = { 6, 6, 6, 6 }
  951. gap_start_file = "Tabs/null2l.png"
  952. gap_start_border = { 6, 6, 6, 6 }
  953. gap_end_file = "Tabs/null2r.png"
  954. gap_end_border = { 6, 6, 6, 6 }
  955. gap_side = TOP
  956. }
  957. image
  958. {
  959. function = BOX_GAP
  960. recolorable = TRUE
  961. file = "Tabs/notebook-bottom.png"
  962. border = { 6, 6, 6, 6 }
  963. stretch = TRUE
  964. gap_file = "Tabs/null3.png"
  965. gap_border = { 6, 6, 6, 6 }
  966. gap_start_file = "Tabs/null3l.png"
  967. gap_start_border = { 6, 6, 6, 6 }
  968. gap_end_file = "Tabs/null3r.png"
  969. gap_end_border = { 6, 6, 6, 6 }
  970. gap_side = BOTTOM
  971. }
  972. image
  973. {
  974. function = BOX_GAP
  975. recolorable = TRUE
  976. file = "Tabs/notebook-left.png"
  977. border = { 6, 6, 6, 6 }
  978. stretch = TRUE
  979. gap_file = "Tabs/null4.png"
  980. gap_border = { 6, 6, 6, 6 }
  981. gap_start_file = "Tabs/null4l.png"
  982. gap_start_border = {6, 6, 6, 6 }
  983. gap_end_file = "Tabs/null4r.png"
  984. gap_end_border = { 6, 6, 6, 6 }
  985. gap_side = LEFT
  986. }
  987. image
  988. {
  989. function = BOX_GAP
  990. recolorable = TRUE
  991. file = "Tabs/notebook-right.png"
  992. border = { 6, 6, 6, 6 }
  993. stretch = TRUE
  994. gap_file = "Tabs/null5.png"
  995. gap_border = { 6, 6, 6, 6 }
  996. gap_start_file = "Tabs/null5l.png"
  997. gap_start_border = { 6, 6, 6, 6 }
  998. gap_end_file = "Tabs/null5r.png"
  999. gap_end_border = { 6, 6, 6, 6 }
  1000. gap_side = RIGHT
  1001. }
  1002. image
  1003. {
  1004. function = BOX
  1005. recolorable = TRUE
  1006. file = "Tabs/notebook-top.png"
  1007. border = { 6,6,6,6 }
  1008. stretch = TRUE
  1009. }
  1010. }
  1011. }
  1012. class "GtkNotebook" style "notebook"
  1013. style "notebookbg"
  1014. {
  1015. bg[NORMAL] = "#f3f3f3"
  1016.  
  1017. }
  1018. widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebookbg"
  1019. widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebookbg"
  1020. widget_class "*<GtkNotebook>*<GtkLayout>" style "notebookbg"
  1021. widget_class "*<GtkNotebook>*" style "notebookbg"
  1022.  
  1023. widget_class "EShellWindow.GtkVBox*<GtkNotebook>*" style "default" # stops evolution from using --style "notebookbg"-- for its window-bg
  1024.  
  1025.  
  1026.  
  1027. style "frame"
  1028. {
  1029. xthickness = 2
  1030. ythickness = 2
  1031. engine "pixmap"
  1032. {
  1033. image
  1034. {
  1035. function = SHADOW
  1036. shadow = IN
  1037. recolorable = FALSE
  1038. file = "Shadows/frame.png"
  1039. border = { 6, 6, 6, 6 }
  1040. stretch = TRUE
  1041. }
  1042. image
  1043. {
  1044. function = SHADOW
  1045. shadow = OUT
  1046. recolorable = TRUE
  1047. file = "Shadows/frame.png"
  1048. border = { 6, 6, 6, 6 }
  1049. stretch = TRUE
  1050. }
  1051.  
  1052. image
  1053. {
  1054. function = SHADOW
  1055. shadow = ETCHED_IN
  1056. recolorable = TRUE
  1057. file = "Shadows/frame.png"
  1058. border = { 6, 6, 6, 6 }
  1059. stretch = TRUE
  1060. }
  1061. image
  1062. {
  1063. function = SHADOW
  1064. shadow = NONE
  1065. recolorable = TRUE
  1066. file = "Shadows/frame1.png"
  1067. border = { 0, 0, 0, 0 }
  1068. stretch = TRUE
  1069. }
  1070. image
  1071. {
  1072. function = SHADOW
  1073. shadow = ETCHED_OUT
  1074. recolorable = TRUE
  1075. file = "Shadows/frame.png"
  1076. border = { 6, 6, 6, 6 }
  1077. stretch = TRUE
  1078. }
  1079. image
  1080. {
  1081. function = SHADOW_GAP
  1082. recolorable = TRUE
  1083. file = "Shadows/frame.png"
  1084. border = { 6, 6, 6, 6 }
  1085. stretch = TRUE
  1086. gap_file = "Shadows/frame-gap.png"
  1087. gap_border = { 5, 5, 5, 1 }
  1088. gap_start_file = "Shadows/frame-start.png"
  1089. gap_start_border = { 5, 1, 5, 1 }
  1090. gap_end_file = "Shadows/frame-end.png"
  1091. gap_end_border = { 5, 5, 5, 1 }
  1092. gap_side = TOP
  1093. }
  1094. }
  1095. }
  1096. class "GtkFrame" style "frame"
  1097.  
  1098.  
  1099. style "entry" = "default"
  1100. {
  1101. xthickness = 3
  1102. ythickness = 3
  1103.  
  1104. GtkWidget::interior_focus = 0
  1105.  
  1106. engine "pixmap"
  1107. {
  1108. image
  1109. {
  1110. function = FOCUS
  1111. recolorable = TRUE
  1112. file = "Shadows/entry-in.png"
  1113. border = { 4,4,4,4 }
  1114. stretch = TRUE
  1115. }
  1116. image
  1117. {
  1118. function = BOX
  1119. recolorable = TRUE
  1120. shadow = IN
  1121. state = NORMAL
  1122. file = "Shadows/entry.png"
  1123. border = { 6,6,6,6 }
  1124. stretch = TRUE
  1125. }
  1126. image
  1127. {
  1128. function = BOX
  1129. recolorable = TRUE
  1130. shadow = OUT
  1131. state = NORMAL
  1132. file = "Shadows/entry.png"
  1133. border = { 6,6,6,6 }
  1134. stretch = TRUE
  1135. }
  1136. image
  1137. {
  1138. function = SHADOW
  1139. detail = "entry"
  1140. shadow = IN
  1141. recolorable = FALSE
  1142. file = "Shadows/entry.png"
  1143. border = { 6,6,6,6 }
  1144. stretch = TRUE
  1145. }
  1146. }
  1147. }
  1148. class "GtkEntry" style "entry"
  1149. #class "GtkText" style "entry"
  1150. #class "GtkTextView" style "entry"
  1151. class "GtkEditable" style "entry"
  1152. #class "GtkOldEditable" style "entry"
  1153.  
  1154. style "entry-noframe"
  1155. {
  1156. xthickness = 0
  1157. ythickness = 0
  1158.  
  1159. engine "pixmap"
  1160. {
  1161. image
  1162. {
  1163. function = FOCUS
  1164. recolorable = TRUE
  1165. file = "Shadows/null.png"
  1166. border = { 1,1,1,1 }
  1167. stretch = TRUE
  1168. }
  1169. image
  1170. {
  1171. function = BOX
  1172. recolorable = TRUE
  1173. shadow = IN
  1174. state = NORMAL
  1175. file = "Shadows/null.png"
  1176. border = { 1,1,1,1 }
  1177. stretch = TRUE
  1178. }
  1179. image
  1180. {
  1181. function = BOX
  1182. recolorable = TRUE
  1183. shadow = OUT
  1184. state = NORMAL
  1185. file = "Shadows/null.png"
  1186. border = { 1,1,1,1 }
  1187. stretch = TRUE
  1188. }
  1189. image
  1190. {
  1191. function = SHADOW
  1192. detail = "entry"
  1193. shadow = IN
  1194. recolorable = FALSE
  1195. file = "Shadows/null.png"
  1196. border = { 1,1,1,1 }
  1197. stretch = TRUE
  1198. }
  1199. }
  1200. }
  1201. class "GtkTextView" style "entry-noframe"
  1202. class "GtkText" style "entry-noframe"
  1203.  
  1204. ### Tweaks for Nautilus ###
  1205.  
  1206. style "nautilus-frame"
  1207. {
  1208. engine "pixmap"
  1209. {
  1210. image
  1211. {
  1212. function = SHADOW
  1213. shadow = IN
  1214. recolorable = FALSE
  1215. file = "Shadows/frame1.png"
  1216. border = { 0, 0, 0, 0 }
  1217. stretch = TRUE
  1218. }
  1219. image
  1220. {
  1221. function = SHADOW
  1222. shadow = OUT
  1223. recolorable = TRUE
  1224. file = "Shadows/frame1.png"
  1225. border = { 0, 0, 0, 0 }
  1226. stretch = TRUE
  1227. }
  1228. image
  1229. {
  1230. function = SHADOW
  1231. shadow = ETCHED_IN
  1232. recolorable = TRUE
  1233. file = "Shadows/frame1.png"
  1234. border = { 0, 0, 29, 1 }
  1235. stretch = TRUE
  1236. }
  1237. image
  1238. {
  1239. function = SHADOW
  1240. shadow = NONE
  1241. recolorable = TRUE
  1242. file = "Shadows/framenone.png"
  1243. border = { 2, 2, 2, 2 }
  1244. stretch = TRUE
  1245. }
  1246. image
  1247. {
  1248. function = SHADOW
  1249. shadow = ETCHED_OUT
  1250. recolorable = TRUE
  1251. file = "Shadows/frame1.png"
  1252. border = { 0, 0, 0, 0 }
  1253. stretch = TRUE
  1254. }
  1255. }
  1256. }
  1257. widget_class "*Nautilus*GtkFrame" style "nautilus-frame"
  1258.  
  1259. style "nautilus-handle"
  1260. {
  1261. GtkPaned::handle-size = 6
  1262.  
  1263. engine "pixmap"
  1264. {
  1265. image
  1266. {
  1267. function = HANDLE
  1268. recolorable = TRUE
  1269. overlay_file = "others/v2.png"
  1270. overlay_stretch = TRUE
  1271. orientation = HORIZONTAL
  1272. }
  1273. image
  1274. {
  1275. function = HANDLE
  1276. recolorable = TRUE
  1277. overlay_file = "others/h1-nau.png"
  1278. overlay_stretch = TRUE
  1279. orientation = VERTICAL
  1280. }
  1281. }
  1282. }
  1283. class "*Nautilus*" style "nautilus-handle"
  1284.  
  1285. style "separator"
  1286. {
  1287. xthickness = 2
  1288. ythickness = 2
  1289. }
  1290. class "GtkSeparator" style "separator"
  1291.  
  1292. style "evo-new-button-workaround"
  1293. {
  1294. xthickness = 2
  1295. ythickness = 2
  1296. engine "pixmap"
  1297. {
  1298. image
  1299. {
  1300. function = BOX
  1301. state = NORMAL
  1302. file = "others/toolbar-evo.png"
  1303. border = { 0, 0, 3,3}
  1304. stretch = TRUE
  1305. }
  1306. image
  1307. {
  1308. function = BOX
  1309. state = INSENSITIVE
  1310. file = "others/toolbar-evo.png"
  1311. border = { 0, 0, 3,3}
  1312. stretch = TRUE
  1313. }
  1314. }
  1315. }
  1316. widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo-new-button-workaround"
  1317.  
  1318. ### check and radio buttons ###
  1319.  
  1320. style "radio"
  1321. {
  1322. GtkCheckButton::indicator-spacing = 3
  1323.  
  1324. engine "pixmap"
  1325. {
  1326. image
  1327. {
  1328. function = OPTION
  1329. recolorable = TRUE
  1330. state = NORMAL
  1331. shadow = OUT
  1332. overlay_file = "Check-Radio/option1.png"
  1333. overlay_stretch = FALSE
  1334. }
  1335. image
  1336. {
  1337. function = OPTION
  1338. recolorable = TRUE
  1339. state = PRELIGHT
  1340. shadow = OUT
  1341. overlay_file = "Check-Radio/option1lit.png"
  1342. overlay_stretch = FALSE
  1343. }
  1344. image
  1345. {
  1346. function = OPTION
  1347. recolorable = TRUE
  1348. state = ACTIVE
  1349. shadow = OUT
  1350. overlay_file = "Check-Radio/option1.png"
  1351. overlay_stretch = FALSE
  1352. }
  1353.  
  1354. image
  1355. {
  1356. function = OPTION
  1357. recolorable = TRUE
  1358. state = INSENSITIVE
  1359. shadow = OUT
  1360. overlay_file = "Check-Radio/option5.png"
  1361. overlay_stretch = FALSE
  1362. }
  1363. image
  1364. {
  1365. function = OPTION
  1366. recolorable = TRUE
  1367. state = NORMAL
  1368. shadow = IN
  1369. overlay_file = "Check-Radio/option2.png"
  1370. overlay_stretch = FALSE
  1371. }
  1372. image
  1373. {
  1374. function = OPTION
  1375. recolorable = TRUE
  1376. state = PRELIGHT
  1377. shadow = IN
  1378. overlay_file = "Check-Radio/option2lit.png"
  1379. overlay_stretch = FALSE
  1380. }
  1381. image
  1382. {
  1383. function = OPTION
  1384. recolorable = TRUE
  1385. state = ACTIVE
  1386. shadow = IN
  1387. overlay_file = "Check-Radio/option2.png"
  1388. overlay_stretch = FALSE
  1389. }
  1390. image
  1391. {
  1392. function = OPTION
  1393. recolorable = TRUE
  1394. state = INSENSITIVE
  1395. shadow = IN
  1396. overlay_file = "Check-Radio/option6.png"
  1397. overlay_stretch = FALSE
  1398. }
  1399. image
  1400. {
  1401. function = FLAT_BOX
  1402. recolorable = TRUE
  1403. stretch = TRUE
  1404. file = "Check-Radio/checklight.png"
  1405. border = { 2, 2, 2, 2 }
  1406. }
  1407. }
  1408. }
  1409.  
  1410. style "check"
  1411. {
  1412. GtkCheckButton::indicator-spacing = 4
  1413.  
  1414. engine "pixmap"
  1415. {
  1416. image
  1417. {
  1418. function = CHECK
  1419. recolorable = TRUE
  1420. state = NORMAL
  1421. shadow = OUT
  1422. overlay_file = "Check-Radio/check1.png"
  1423. overlay_stretch = FALSE
  1424. }
  1425. image
  1426. {
  1427. function = CHECK
  1428. recolorable = TRUE
  1429. state = PRELIGHT
  1430. shadow = OUT
  1431. overlay_file = "Check-Radio/check1.png"
  1432. overlay_stretch = FALSE
  1433. }
  1434. image
  1435. {
  1436. function = CHECK
  1437. recolorable = TRUE
  1438. state = ACTIVE
  1439. shadow = OUT
  1440. overlay_file = "Check-Radio/check1.png"
  1441. overlay_stretch = FALSE
  1442. }
  1443. image
  1444. {
  1445. function = CHECK
  1446. recolorable = TRUE
  1447. state = INSENSITIVE
  1448. shadow = OUT
  1449. overlay_file = "Check-Radio/check5.png"
  1450. overlay_stretch = FALSE
  1451. }
  1452. image
  1453. {
  1454. function = CHECK
  1455. recolorable = TRUE
  1456. state = NORMAL
  1457. shadow = IN
  1458. overlay_file = "Check-Radio/check2.png"
  1459. overlay_stretch = FALSE
  1460. }
  1461. image
  1462. {
  1463. function = CHECK
  1464. recolorable = TRUE
  1465. state = PRELIGHT
  1466. shadow = IN
  1467. overlay_file = "Check-Radio/check2.png"
  1468. overlay_stretch = FALSE
  1469. }
  1470. image
  1471. {
  1472. function = CHECK
  1473. recolorable = TRUE
  1474. state = ACTIVE
  1475. shadow = IN
  1476. overlay_file = "Check-Radio/check2.png"
  1477. overlay_stretch = FALSE
  1478. }
  1479. image
  1480. {
  1481. function = CHECK
  1482. recolorable = TRUE
  1483. state = INSENSITIVE
  1484. shadow = IN
  1485. overlay_file = "Check-Radio/check6.png"
  1486. overlay_stretch = FALSE
  1487. }
  1488. image
  1489. {
  1490. function = FLAT_BOX
  1491. recolorable = TRUE
  1492. stretch = TRUE
  1493. file = "Check-Radio/checklight.png"
  1494. border = { 2, 2, 2, 2 }
  1495. }
  1496. }
  1497. }
  1498.  
  1499. class "GtkCheckButton" style "check"
  1500. class "GtkRadioButton" style "radio"
  1501.  
  1502. style "murrine"
  1503. {
  1504. engine "murrine"
  1505. {
  1506. roundness = 0
  1507. glazestyle = 0
  1508. contrast = 1.0
  1509. }
  1510. }
  1511. class "GtkRadioMenuItem" style "murrine"
  1512. class "GtkCheckMenuItem" style "murrine"
  1513.  
  1514. style "spinbutton" = "entry"
  1515. {
  1516.  
  1517. xthickness = 4
  1518. ythickness = 4
  1519.  
  1520. engine "pixmap"
  1521. {
  1522. # Arrow
  1523. image
  1524. {
  1525. function = ARROW
  1526. }
  1527.  
  1528. # Up
  1529. image
  1530. {
  1531. function = BOX
  1532. state = NORMAL
  1533. detail = "spinbutton_up"
  1534. recolorable = TRUE
  1535. file = "Spin/spin.png"
  1536. border = { 0, 0, 0, 0 }
  1537. stretch = TRUE
  1538. overlay_file = "Spin/spin-up.png"
  1539. overlay_stretch = FALSE
  1540. }
  1541.  
  1542. # Up (mouse over)
  1543. image
  1544. {
  1545. function = BOX
  1546. state = PRELIGHT
  1547. detail = "spinbutton_up"
  1548. recolorable = TRUE
  1549. file = "Spin/spin.png"
  1550. border = { 0, 0, 0, 0 }
  1551. stretch = TRUE
  1552. overlay_file = "Spin/spin-up-prelight.png"
  1553. overlay_stretch = FALSE
  1554. }
  1555.  
  1556. # Up (disabled)
  1557. image
  1558. {
  1559. function = BOX
  1560. state = INSENSITIVE
  1561. detail = "spinbutton_up"
  1562. recolorable = TRUE
  1563. file = "Spin/spin.png"
  1564. border = { 0, 0, 0, 0 }
  1565. stretch = TRUE
  1566. overlay_file = "Spin/spin-up-disable.png"
  1567. overlay_stretch = FALSE
  1568. }
  1569.  
  1570. # Up (mouse over)
  1571. image
  1572. {
  1573. function = BOX
  1574. state = ACTIVE
  1575. detail = "spinbutton_up"
  1576. recolorable = TRUE
  1577. file = "Spin/spin.png"
  1578. border = { 0, 0, 0, 0 }
  1579. stretch = TRUE
  1580. overlay_file = "Spin/spin-up-prelight.png"
  1581. overlay_stretch = FALSE
  1582. }
  1583.  
  1584.  
  1585. # Down
  1586. image
  1587. {
  1588. function = BOX
  1589. state = NORMAL
  1590. detail = "spinbutton_down"
  1591. recolorable = TRUE
  1592. file = "Spin/spin.png"
  1593. border = { 0, 0, 0, 0 }
  1594. stretch = TRUE
  1595. overlay_file = "Spin/spin-down.png"
  1596. overlay_stretch = FALSE
  1597. }
  1598.  
  1599. # Down (mouse over)
  1600. image
  1601. {
  1602. function = BOX
  1603. state = PRELIGHT
  1604. detail = "spinbutton_down"
  1605. recolorable = TRUE
  1606. file = "Spin/spin.png"
  1607. border = { 0, 0, 0, 0 }
  1608. stretch = TRUE
  1609. overlay_file = "Spin/spin-down-prelight.png"
  1610. overlay_stretch = FALSE
  1611. }
  1612.  
  1613. # Down (disabled)
  1614. image
  1615. {
  1616. function = BOX
  1617. state = INSENSITIVE
  1618. detail = "spinbutton_down"
  1619. recolorable = TRUE
  1620. file = "Spin/spin.png"
  1621. border = { 0, 0, 0, 0 }
  1622. stretch = TRUE
  1623. overlay_file = "Spin/spin-down-disable.png"
  1624. overlay_stretch = FALSE
  1625. }
  1626.  
  1627. # Down (mouse over)
  1628. image
  1629. {
  1630. function = BOX
  1631. state = ACTIVE
  1632. detail = "spinbutton_down"
  1633. recolorable = TRUE
  1634. file = "Spin/spin.png"
  1635. border = { 0, 0, 0, 0 }
  1636. stretch = TRUE
  1637. overlay_file = "Spin/spin-down-prelight.png"
  1638. overlay_stretch = FALSE
  1639. }
  1640. image
  1641. {
  1642. function = SHADOW
  1643. detail = "entry"
  1644. shadow = IN
  1645. recolorable = FALSE
  1646. file = "Spin/entry.png"
  1647. border = { 6,6,6,6 }
  1648. stretch = TRUE
  1649. }
  1650. image
  1651. {
  1652. function = FOCUS
  1653. recolorable = TRUE
  1654. detail = "entry"
  1655. file = "Spin/entry-in.png"
  1656. border = { 4,4,4,4 }
  1657. stretch = TRUE
  1658. }
  1659. }
  1660. }
  1661. class "GtkSpinButton" style "spinbutton"
  1662. widget_class "*GtkSpinButton*" style "spinbutton"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement