Advertisement
Guest User

gtkrc Absolute Luna (test)

a guest
Oct 16th, 2011
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.38 KB | None | 0 0
  1. gtk_color_scheme = "fg_color:#1a1a1a1a1a1a\nbg_color:#e147dbf9d604\ntext_color:#000000000000\nbase_color:#fd70fc2cfae6\nselected_fg_color:#ffffffffffff\nselected_bg_color:#8fc7a821c51e\ntooltip_fg_color:#000000000000\ntooltip_bg_color:#f5f5f5f5c9c9"
  2.  
  3. # menu delay
  4. #gtk-menu-popup-delay = 0
  5.  
  6. # icon sizes
  7. #gtk-icon-sizes = "gtk-menu=16,16:\ngtk-button=16,16:\ngtk-dnd=16,16:\npanel-menu=16,16:\npanel=16,16:\ngtk-dialog=16,16:"
  8.  
  9. # icon sizes (small toolbar)
  10. # gtk-icon-sizes = "gtk-menu=16,16:\ngtk-button=16,16:\ngtk-dnd=16,16:\npanel-menu=16,16:\npanel=16,16:\ngtk-dialog=16,16:\ngtk-small-toolbar=16,16:\ngtk-large-toolbar=16,16:"
  11.  
  12. style "murrine-default"
  13. {
  14. ########
  15. # Style Properties
  16. ########
  17. GtkButton ::child-displacement-x = 1
  18. GtkButton ::child-displacement-y = 1
  19. GtkButton ::default-border = { 0, 0, 0, 0 }
  20. GtkCheckButton ::indicator-size = 14
  21.  
  22. GtkPaned ::handle-size = 6
  23.  
  24. GtkRange ::trough-border = 0
  25. GtkRange ::slider-width = 15
  26. GtkRange ::stepper-size = 15
  27.  
  28. GtkScale ::slider-length = 15
  29. GtkScale ::trough-side-details = 0
  30. GtkScrollbar ::min-slider-length = 30
  31.  
  32. GtkMenuBar ::internal-padding = 0
  33. GtkExpander ::expander-size = 16
  34. GtkToolbar ::internal-padding = 0
  35.  
  36. GtkTreeView::expander-size = 8
  37. GtkTreeView::indent-expanders = 1
  38. GtkTreeView::vertical-separator = 0
  39.  
  40. GtkMenu ::horizontal-padding = 0
  41. GtkMenu ::vertical-padding = 0
  42.  
  43. # GtkMenuBar ::shadow_type = GTK_SHADOW_NONE
  44. # GtkToolbar ::shadow_type = GTK_SHADOW_NONE
  45.  
  46. # Glow the tasklist by changing the color, instead of overlaying it with a rectangle
  47. #WnckTasklist ::fade-overlay-rect = 0
  48.  
  49. xthickness = 1
  50. ythickness = 1
  51.  
  52.  
  53. fg[NORMAL] = @fg_color
  54. fg[PRELIGHT] = @fg_color
  55. fg[SELECTED] = @selected_fg_color
  56. fg[ACTIVE] = @fg_color
  57. fg[INSENSITIVE] = darker (@bg_color)
  58.  
  59. bg[NORMAL] = @bg_color
  60. bg[PRELIGHT] = shade (1.02, @bg_color)
  61. bg[SELECTED] = @selected_bg_color
  62. bg[INSENSITIVE] = @bg_color
  63. bg[ACTIVE] = shade (0.9, @bg_color)
  64.  
  65. base[NORMAL] = @base_color
  66. base[PRELIGHT] = shade (0.95, @bg_color)
  67. base[ACTIVE] = shade (0.88, @selected_bg_color)
  68. base[SELECTED] = shade (0.89, @selected_bg_color)
  69. base[INSENSITIVE] = @bg_color
  70.  
  71. text[NORMAL] = @text_color
  72. text[PRELIGHT] = @text_color
  73. text[ACTIVE] = @selected_fg_color
  74. text[SELECTED] = @selected_fg_color
  75. text[INSENSITIVE] = darker (@bg_color)
  76.  
  77. engine "murrine"
  78. {
  79. animation = TRUE
  80. colorize_scrollbar = TRUE
  81. contrast = 0.65 # 0.8 for less contrast, more than 1.0 for more contrast on borders
  82. glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
  83. # gradient_shades = {1.015,1.005,1.005,0.985}
  84. gradient_shades = {1.02,1.005,1.005,0.98}
  85. #gradient_shades = {1.09,1.06,1.04,1.01} # default: {1.1,1.0,1.0,1.1}
  86. gradients = TRUE # FALSE = disabled, TRUE = enabled
  87. highlight_shade = 1.0 # set highlight amount for buttons or widgets
  88. lightborder_shade = 1.15 # sets lightborder amount for buttons or widgets
  89. #lightborderstyle = 0 # 0 = lightborder on top side, 1 = lightborder on all sides
  90. listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised
  91. listviewstyle = 1 # 0 = nothing, 1 = dotted
  92. menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
  93. menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
  94. menuitemstyle = 1 # 0 = flat, 1 = glassy, 2 = striped
  95. menustyle = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
  96. reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow
  97. rgba = FALSE # FALSE = disabled, TRUE = enabled
  98. roundness = 1 # 0 = squared, 1 = old default, more will increase roundness
  99. scrollbarstyle = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
  100. sliderstyle = 0 # 0 = nothing added, 1 = handles
  101. stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
  102. toolbarstyle = 2 # 0 = flat, 1 = glassy, 2 = gradient
  103. }
  104. }
  105.  
  106. style "murrine-wide"
  107. {
  108. xthickness = 2
  109. ythickness = 2
  110.  
  111. bg[SELECTED] = @selected_bg_color
  112. }
  113.  
  114. style "murrine-wider"
  115. {
  116. xthickness = 3
  117. ythickness = 3
  118.  
  119. bg[SELECTED] = @selected_bg_color
  120. }
  121.  
  122. style "murrine-button" = "murrine-wider"
  123. {
  124. xthickness = 3
  125. ythickness = 3
  126. bg[NORMAL] = shade (1.05, @bg_color)
  127. bg[ACTIVE] = shade (0.85, @bg_color)
  128. }
  129.  
  130. style "murrine-entry" = "murrine-wider"
  131. {
  132. engine "murrine" {
  133. contrast = 0.35
  134. }
  135. }
  136. style "murrine-notebook"
  137. {
  138. xthickness = 2
  139. ythickness = 2
  140.  
  141. bg[ACTIVE] = shade (0.98, @bg_color)
  142. bg[NORMAL] = shade (1.2, @bg_color)
  143. bg[SELECTED] = @selected_bg_color
  144. #fg[ACTIVE] = shade (0.34, @bg_color)
  145.  
  146. engine "murrine" {
  147. contrast = 0.88
  148. }
  149. }
  150.  
  151. style "murrine-tasklist" = "murrine-wide"
  152. {
  153. }
  154.  
  155. style "murrine-menu" = "murrine-wider"
  156. {
  157. xthickness = 3
  158. ythickness = 3
  159.  
  160. bg[NORMAL] = shade (1.18, @bg_color)
  161. }
  162.  
  163. style "murrine-menu-item" = "murrine-wider"
  164. {
  165. xthickness = 2
  166. ythickness = 3
  167.  
  168. fg[PRELIGHT] = @selected_fg_color
  169. bg[SELECTED] = shade (0.95, @selected_bg_color)
  170. bg[SELECTED] = shade (0.95, @selected_bg_color)
  171.  
  172. engine "murrine"
  173. {
  174. roundness = 1
  175. }
  176. }
  177.  
  178. style "murrine-separator-menu-item"
  179. {
  180. }
  181.  
  182. style "murrine-treeview"
  183. {
  184. bg[SELECTED] = @selected_bg_color
  185. }
  186.  
  187. style "murrine-treeview-header" = "murrine-default"
  188. {
  189. bg[NORMAL] = shade (0.99, @bg_color)
  190. bg[PRELIGHT] = shade (1.06, @bg_color)
  191. bg[ACTIVE] = shade (0.92, @bg_color)
  192. bg[INSENSITIVE] = shade (1.0, @bg_color)
  193.  
  194. engine "murrine" {
  195. gradient_shades = {1.02,1.005,1.005,0.98}
  196. contrast = 0.8
  197. }
  198. }
  199.  
  200. style "murrine-frame-title"
  201. {
  202. fg[NORMAL] = lighter (@fg_color)
  203. }
  204.  
  205. style "murrine-tooltips" = "murrine-wider"
  206. {
  207. bg[NORMAL] = @tooltip_bg_color
  208. fg[NORMAL] = @tooltip_fg_color
  209. }
  210.  
  211. style "murrine-progressbar"
  212. {
  213. xthickness = 0
  214. ythickness = 0
  215.  
  216. fg[PRELIGHT] = @selected_fg_color
  217. bg[NORMAL] = shade (0.98, @bg_color)
  218. bg[SELECTED] = @selected_bg_color
  219. }
  220.  
  221. style "murrine-statusbar"
  222. {
  223. }
  224.  
  225. style "murrine-comboboxentry"
  226. {
  227. }
  228.  
  229. style "murrine-spinbutton"
  230. {
  231. }
  232.  
  233. style "murrine-scale" = "murrine-button"
  234. {
  235. GtkRange ::slider-width = 15
  236.  
  237. engine "murrine"
  238. {
  239. #roundness = 6
  240. }
  241. }
  242.  
  243. style "murrine-hscale"
  244. {
  245. }
  246.  
  247. style "murrine-vscale"
  248. {
  249. }
  250.  
  251. style "murrine-scrollbar"
  252. {
  253. bg[NORMAL] = shade (0.995, @bg_color)
  254. }
  255.  
  256. style "murrine-hscrollbar"
  257. {
  258. }
  259.  
  260. style "murrine-vscrollbar"
  261. {
  262. }
  263.  
  264. style "murrine-menubar"
  265. {
  266. }
  267.  
  268. style "murrine-nautilus-location"
  269. {
  270. # bg[NORMAL] = shade (1.0,@selected_bg_color)
  271. # bg[SELECTED] = shade (1.0,@selected_bg_color)
  272. # bg[ACTIVE] = shade (1.0,@selected_bg_color)
  273. }
  274.  
  275. style "murrine-radiocheck" = "murrine-default"
  276. {
  277. base[NORMAL] = "#FFFFFF"
  278. base[SELECTED] = @bg_color
  279. base[INSENSITIVE] = @bg_color
  280. text[PRELIGHT] = @selected_fg_color
  281. }
  282.  
  283. style "panel"
  284. {
  285. fg[NORMAL] = "#FFFFFF"
  286. fg[PRELIGHT] = "#FFFFFF"
  287. fg[ACTIVE] = "#FFFFFF"
  288. bg[NORMAL] = shade (0.4, @bg_color)
  289. bg[ACTIVE] = shade (0.5, @bg_color)
  290. bg[PRELIGHT] = shade (0.56, @bg_color)
  291.  
  292. engine "murrine" {
  293. contrast = 0.8
  294. }
  295. }
  296.  
  297. style "smaller-text"
  298. {
  299. font_name = "7"
  300. }
  301.  
  302. style "handle"
  303. {
  304. bg[NORMAL] = "#232323"
  305. }
  306.  
  307. #########################################
  308. # Matches
  309. #########################################
  310.  
  311. # theme radio buttons and checkmarks
  312. class "GtkRadio*" style "murrine-radiocheck"
  313. class "GtkCheck*" style "murrine-radiocheck"
  314.  
  315. # theme default style is applied to every widget
  316. class "GtkWidget" style "murrine-default"
  317.  
  318. # Increase the x/ythickness in some widgets
  319. class "GtkToolbar" style "murrine-default"
  320. class "GtkRange" style "murrine-wide"
  321. class "GtkFrame" style "murrine-wide"
  322. class "GtkSeparator" style "murrine-wide"
  323. class "GtkEntry" style "murrine-entry"
  324.  
  325. class "GtkSpinButton" style "murrine-spinbutton"
  326. class "GtkScale" style "murrine-scale"
  327. class "GtkVScale" style "murrine-vscale"
  328. class "GtkHScale" style "murrine-hscale"
  329. class "GtkScrollbar" style "murrine-scrollbar"
  330. class "GtkVScrollbar" style "murrine-vscrollbar"
  331. class "GtkHScrollbar" style "murrine-hscrollbar"
  332.  
  333. # General matching following, the order is choosen so that the right styles override each other
  334. # eg. progressbar needs to be more important then the menu match.
  335.  
  336. # This is not perfect, it could be done better
  337. # (That is modify *every* widget in the notebook, and change those back that
  338. # we really don't want changed)
  339. widget_class "*<GtkNotebook>*<GtkEventBox>" style "murrine-notebook"
  340. widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook"
  341. widget_class "*<GtkNotebook>*<GtkLayout>" style "murrine-notebook"
  342. widget_class "*<GtkNotebook>*<GtkLabel>" style "murrine-notebook"
  343.  
  344. widget_class "*<GtkButton>" style "murrine-button"
  345. widget_class "*<GtkNotebook>" style "murrine-notebook"
  346. widget_class "*<GtkStatusbar>*" style "murrine-statusbar"
  347.  
  348. widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry"
  349. widget_class "*<GtkCombo>*" style "murrine-comboboxentry"
  350.  
  351. widget_class "*<GtkMenuBar>*" style "murrine-menubar"
  352. widget_class "*<GtkMenu>*" style "murrine-menu"
  353. widget_class "*<GtkMenuItem>*" style "murrine-menu-item"
  354. widget_class "*<GtkSeparatorMenuItem>*" style "murrine-separator-menu-item"
  355.  
  356. widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
  357. widget_class "*.<GtkTreeView>*" style "murrine-treeview"
  358.  
  359. widget_class "*<GtkProgressBar>" style "murrine-progressbar"
  360.  
  361. # Treeview header
  362. widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
  363. widget_class "*.<GtkCTree>.<GtkButton>" style "murrine-treeview-header"
  364. widget_class "*.<GtkList>.<GtkButton>" style "murrine-treeview-header"
  365. widget_class "*.<GtkCList>.<GtkButton>" style "murrine-treeview-header"
  366.  
  367. # Workarounds for Evolution
  368. widget_class "*.ETable.ECanvas" style "murrine-treeview-header"
  369. widget_class "*.ETree.ECanvas" style "murrine-treeview-header"
  370.  
  371. # Panel style
  372. #class "*Panel*" style "panel"
  373. #class "*notif*" style "panel"
  374. #class "*Notif*" style "panel"
  375. #class "*Tray*" style "panel"
  376. #class "*tray*" style "panel"
  377.  
  378. widget_class "*ToolButton*" style "smaller-text"
  379. widget_class "*Statusbar*" style "smaller-text"
  380. #widget_class "*Mail*" style "panel"
  381. #widget "*PanelWidget*" style "panel"
  382. #widget "*PanelApplet*" style "panel"
  383.  
  384. #class "PanelAppletFrame" style "handle"
  385.  
  386. # The window of the tooltip is called "gtk-tooltip"
  387. ################################
  388. # FIXME:
  389. # This will not work if one embeds eg. a button into the tooltip.
  390. # As far as I can tell right now we will need to rework the theme
  391. # quite a bit to get this working correctly.
  392. # (It will involve setting different priorities, etc.)
  393. ################################
  394. widget "gtk-tooltip*" style "murrine-tooltips"
  395.  
  396. ###################################################
  397. # Special cases and work arounds
  398. ###################################################
  399.  
  400. # Special case the nautilus-extra-view-widget
  401. # ToDo: A more generic approach for all applications that have a widget like this.
  402. widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location"
  403.  
  404. # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
  405. # Note that the work around assumes that the combobox is _not_ in
  406. # appears-as-list mode.
  407. # Similar hack also in the menuitem style.
  408. # This style does not affect GtkComboBoxEntry, it does have an effect
  409. # on comboboxes in appears-as-list mode though.
  410. style "murrine-combobox-text-color-workaround"
  411. {
  412. text[NORMAL] = @fg_color
  413. text[PRELIGHT] = @fg_color
  414. text[SELECTED] = @selected_fg_color
  415. text[ACTIVE] = @fg_color
  416. text[INSENSITIVE] = darker (@bg_color)
  417. }
  418. widget_class "*.<GtkComboBox>.<GtkCellView>" style "murrine-combobox-text-color-workaround"
  419.  
  420. style "murrine-menuitem-text-is-fg-color-workaround"
  421. {
  422. text[NORMAL] = @fg_color
  423. text[PRELIGHT] = @selected_fg_color
  424. text[SELECTED] = @selected_fg_color
  425. text[ACTIVE] = @fg_color
  426. text[INSENSITIVE] = darker (@bg_color)
  427. }
  428.  
  429. widget "*.gtk-combobox-popup-menu.*" style "murrine-menuitem-text-is-fg-color-workaround"
  430.  
  431. # Work around the usage of GtkLabel inside GtkListItems to display text.
  432. # This breaks because the label is shown on a background that is based on the
  433. # base color set.
  434. style "murrine-fg-is-text-color-workaround"
  435. {
  436. fg[NORMAL] = @text_color
  437. fg[PRELIGHT] = @text_color
  438. fg[ACTIVE] = @selected_fg_color
  439. fg[SELECTED] = @selected_fg_color
  440. fg[INSENSITIVE] = darker (@bg_color)
  441. }
  442.  
  443. widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround"
  444. # The same problem also exists for GtkCList and GtkCTree
  445. # Only match GtkCList and not the parent widgets, because that would also change the headers.
  446.  
  447. widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround"
  448.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement