/shiki-colors/Shiki-Noble/gtk-2.0/gtkrc

http://gnome-colors.googlecode.com/ · #! · 554 lines · 476 code · 78 blank · 0 comment · 0 complexity · 0e807e4152bc1f04a2c8568e02e1affb MD5 · raw file

  1. # Author: perfectska04 (Victor C.)
  2. # Theme: Shiki-Colors for Ubuntu Hardy/Gnome 2.22 or higher.
  3. # Description: Shiki-Colors is 100% free and open source.
  4. # NOTE: Uncommenting means to delete the "#" at the beginning of a line. Commenting means to add a "#" at the beginning of a line. The "#" tells the theme wether to ignore the specified line or not.
  5. # These are the defined colors for the theme, you can change them in GNOME's appearance preferences.
  6. gtk_color_scheme = "fg_color:#101010\nbg_color:#D8D8D8\nbase_color:#fff\ntext_color:#1A1A1A\nselected_bg_color:#AD7FA8\nselected_fg_color:#fff\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000\nframe_color:#333333\ninactive_frame_color:#333333"
  7. #########
  8. # ICONS
  9. #########
  10. gtk-icon-sizes = "gtk-button=16,16" # This makes button icons smaller.
  11. #gtk-icon-sizes = "gtk-large-toolbar=16,16:gtk-small-toolbar=16,16:panel-menu=16,16:gtk-button=16,16" # This enables "compact-mode".
  12. #gtk-button-images = 0 # Enables or disables icons on buttons (OS X-like).
  13. #gtk-menu-popup-delay = 1 # Makes menus pop up faster! Set to 1 instead of 0 to avoid any bugs.
  14. ##########
  15. # PANELS
  16. ##########
  17. include "panel.rc" # This includes the file that handles panel theming. Gradient panel backgrounds are enabled by default for this setting. Please edit panel.rc if you don't want gradient backgrounds in your panels, or plan to use transparent/custom panels.
  18. # The following lines make panel-menu-applet, slab-main-menu and gimmie applet's text bold. The radius value sets the roundness value of the selected menu-item.
  19. style "bold-panel-menu"
  20. {
  21. font_name = "Bold"
  22. engine "clearlooks" {
  23. radius = 2.0
  24. }
  25. }
  26. style "bold-panel-slab"
  27. {
  28. font_name = "Bold"
  29. }
  30. widget "*Panel*slab-main-menu-panel-button*" style "bold-panel-slab"
  31. widget "*gimmie*" style "bold-panel-slab"
  32. widget "*Panel*MenuBar*" style "bold-panel-menu"
  33. ##########################
  34. # GENERAL THEME SETTINGS
  35. ##########################
  36. style "clearlooks-default"
  37. {
  38. xthickness = 1
  39. ythickness = 1
  40. GtkButton::child-displacement-x = 0 # Pressed button icon displacement.
  41. GtkButton::child-displacement-y = 1 # Pressed button icon displacement.
  42. GtkButton::default-border = { 0, 0, 0, 0 }
  43. GtkCheckButton::indicator-size = 14 # Size for check buttons.
  44. GtkRadioButton::indicator-size = 14 # Size for radio buttons.
  45. GtkPaned::handle-size = 6 # Width of handles.
  46. GtkRange::trough-border = 0
  47. GtkRange::slider-width = 15 # Scrollbar width.
  48. GtkRange::stepper-size = 15 # Stepper height.
  49. GtkScale::slider-length = 24 # Length of sliders.
  50. GtkScale::trough-side-details = 1
  51. GtkScrollbar::min-slider-length = 35 # Min. length of scrollbars.
  52. GtkMenuBar::internal-padding = 0
  53. GtkExpander::expander-size = 16
  54. GtkToolbar::internal-padding = 1 # Toolbar padding.
  55. GtkTreeView::expander-size = 14
  56. GtkTreeView::vertical-separator = 0
  57. GtkMenu::horizontal-padding = 0
  58. GtkMenu::vertical-padding = 0
  59. WnckTasklist::fade-overlay-rect = 0
  60. GtkEntry::honors-transparent-bg-hint = 1
  61. GtkEntry::progress-border = { 2, 2, 2, 2 } # Border of GtkEntry progressbars.
  62. # GtkWidget::focus-padding = 0 # This can give you a more compact appearance.
  63. GtkScrolledWindow::scrollbar-spacing = 1 # This sets the spacing between scrollbars.
  64. # Uncomment one or both of the following for flat/unified menus or toolbars:
  65. GtkToolbar::shadow-type = GTK_SHADOW_NONE # Makes toolbars flat and unified.
  66. # GtkMenuBar::shadow-type = GTK_SHADOW_NONE # Makes menus flat and unified.
  67. ####################
  68. # Color Definitions
  69. ####################
  70. fg[NORMAL] = @fg_color
  71. fg[PRELIGHT] = @fg_color
  72. fg[SELECTED] = @selected_fg_color
  73. fg[ACTIVE] = @fg_color
  74. fg[INSENSITIVE] = darker (@bg_color)
  75. bg[NORMAL] = @bg_color
  76. bg[PRELIGHT] = shade (1.02, @bg_color)
  77. bg[SELECTED] = @selected_bg_color
  78. bg[INSENSITIVE] = @bg_color
  79. bg[ACTIVE] = shade (0.85, @bg_color)
  80. base[NORMAL] = @base_color
  81. base[PRELIGHT] = shade (0.95, @bg_color)
  82. base[ACTIVE] = shade (0.75, @bg_color)
  83. base[SELECTED] = @selected_bg_color
  84. base[INSENSITIVE] = @bg_color
  85. text[NORMAL] = @text_color
  86. text[PRELIGHT] = @text_color
  87. text[ACTIVE] = @selected_fg_color
  88. text[SELECTED] = @selected_fg_color
  89. text[INSENSITIVE] = darker (@bg_color)
  90. engine "clearlooks"
  91. {
  92. reliefstyle = 1 # 0 makes buttons/widgets less raised.
  93. menubarstyle = 0 # Flat, use tweak in line 83 for truly flat menubars.
  94. toolbarstyle = 0 # 0 makes bad toolbars flat.
  95. animation = TRUE # FALSE disables progressbar animations.
  96. style = GUMMY # Could also be set to GLOSSY.
  97. radius = 2.0 # Roundness of widgets.
  98. hint = "use-hints" # Set a hint to disable backward compatibility fallbacks.
  99. }
  100. }
  101. #################
  102. # THEME MODULES
  103. #################
  104. style "evolution-hack" = "clearlooks-default" # Hacks for Evolution Mail.
  105. {
  106. bg[NORMAL] = shade (1.14, @bg_color) # Color for evo treeview headers.
  107. bg[PRELIGHT] = shade (1.18, @bg_color) # Color for evo treeview header prelight.
  108. bg[ACTIVE] = shade (0.75, @bg_color) # Color for unfocused evo selected items.
  109. bg[SELECTED] = @selected_bg_color # Color for evo selected items.
  110. fg[ACTIVE] = @selected_fg_color # Color for evo active text.
  111. fg[SELECTED] = @selected_fg_color # Color for evo selected text.
  112. }
  113. style "clearlooks-wide"
  114. {
  115. xthickness = 2 # Can't change, or clowns will eat you.
  116. ythickness = 2 # Can't change, or clowns will eat you.
  117. }
  118. style "clearlooks-wider"
  119. {
  120. xthickness = 3 # Can't change, or clowns will eat you.
  121. ythickness = 3 # Can't change, or clowns will eat you.
  122. }
  123. style "clearlooks-entry" = "clearlooks-wider" {
  124. bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
  125. fg[SELECTED] = @text_color
  126. engine "clearlooks" {
  127. focus_color = shade (0.65, @selected_bg_color)
  128. }
  129. }
  130. style "clearlooks-button" = "clearlooks-wider"
  131. {
  132. bg[NORMAL] = shade (1.14, @bg_color) # Color for buttons.
  133. bg[PRELIGHT] = shade (1.18, @bg_color) # Color for button-prelight.
  134. bg[ACTIVE] = shade (0.85, @bg_color) # Color for pressed-buttons.
  135. }
  136. style "clearlooks-notebook-bg"
  137. {
  138. bg[NORMAL] = shade (1.1, @bg_color) # Tab background.
  139. bg[ACTIVE] = @bg_color # Unfocused tab background.
  140. }
  141. style "clearlooks-notebook" = "clearlooks-notebook-bg"
  142. {
  143. xthickness = 2 # Width of tabs and notebook borders.
  144. ythickness = 2 # Height of tabs and notebook borders.
  145. engine "clearlooks"
  146. {
  147. radius = 0.0 # Roundness of notebook tabs.
  148. }
  149. }
  150. style "clearlooks-menu" # This section themes custom dark menus. Leave as is.
  151. {
  152. ythickness = 0
  153. xthickness = 0
  154. bg[SELECTED] = shade (0.85, @selected_bg_color)
  155. bg[NORMAL] = "#3C3C3C"
  156. bg[PRELIGHT] = shade (0.85, @selected_bg_color)
  157. bg[ACTIVE] = "#333333"
  158. bg[INSENSITIVE] = "#3C3C3C"
  159. fg[NORMAL] = "#E6E6E6" # Color for normal text.
  160. fg[PRELIGHT] = @selected_fg_color
  161. fg[SELECTED] = @selected_fg_color
  162. fg[ACTIVE] = @selected_fg_color
  163. fg[INSENSITIVE] = "#666666"
  164. text[NORMAL] = @base_color # Color for menu-item radio/checks.
  165. base[NORMAL] = "#666666" # Color for menu-item radio/checks background.
  166. text[PRELIGHT] = @selected_fg_color
  167. text[SELECTED] = @selected_fg_color
  168. text[ACTIVE] = @selected_fg_color
  169. text[INSENSITIVE] = "#666666"
  170. engine "clearlooks"
  171. {
  172. radius = 0.0 # Roundness of menu items.
  173. }
  174. }
  175. style "clearlooks-menu-item" = "clearlooks-wider"
  176. {
  177. bg[SELECTED] = shade (0.85, @selected_bg_color)
  178. bg[PRELIGHT] = shade (0.85, @selected_bg_color)
  179. fg[NORMAL] = "#E6E6E6" # Fix for XFCE menu text.
  180. fg[PRELIGHT] = @selected_fg_color
  181. fg[SELECTED] = @selected_fg_color
  182. }
  183. style "clearlooks-separator-menu-item"
  184. {
  185. GtkSeparatorMenuItem::horizontal-padding = 4
  186. # We are setting the desired height by using wide-separators.
  187. # There is no other way to get the odd height ...
  188. GtkWidget::wide-separators = 1
  189. GtkWidget::separator-width = 1
  190. GtkWidget::separator-height = 7
  191. xthickness = 1
  192. ythickness = 0
  193. }
  194. style "clearlooks-menubar" # This section deals with dark menubars. Leave as is.
  195. {
  196. ythickness = 0
  197. bg[SELECTED] = shade (0.85, @selected_bg_color)
  198. bg[NORMAL] = "#3C3C3C" # Background color for menubars.
  199. bg[PRELIGHT] = shade (0.85, @selected_bg_color)
  200. bg[ACTIVE] = "#333333"
  201. bg[INSENSITIVE] = "#3C3C3C"
  202. fg[NORMAL] = "#E6E6E6" # Color for normal text.
  203. fg[PRELIGHT] = @selected_fg_color
  204. fg[SELECTED] = @selected_fg_color
  205. fg[ACTIVE] = @selected_fg_color
  206. fg[INSENSITIVE] = "#666666"
  207. text[NORMAL] = "#E6E6E6"
  208. text[PRELIGHT] = @selected_fg_color
  209. text[SELECTED] = @selected_fg_color
  210. text[ACTIVE] = @selected_fg_color
  211. text[INSENSITIVE] = "#666666"
  212. engine "clearlooks"
  213. {
  214. hint = "menubar"
  215. }
  216. }
  217. style "clearlooks-treeview"
  218. {
  219. engine "clearlooks"
  220. {
  221. hint = "treeview"
  222. radius = 0.0 # This makes treeview progressbars square.
  223. }
  224. }
  225. style "clearlooks-treeview-header" = "clearlooks-default"
  226. {
  227. xthickness = 2
  228. ythickness = 1
  229. bg[NORMAL] = shade (1.14, @bg_color) # Color for treeview headers.
  230. bg[PRELIGHT] = shade (1.18, @bg_color) # Color for treeview header prelight.
  231. bg[ACTIVE] = shade (0.85, @bg_color) # Color for pressed-treeview.
  232. engine "clearlooks" {
  233. hint = "treeview-header"
  234. }
  235. }
  236. style "clearlooks-frame-title"
  237. {
  238. fg[NORMAL] = lighter (@fg_color)
  239. }
  240. style "clearlooks-tooltips" = "clearlooks-wider"
  241. {
  242. bg[NORMAL] = @tooltip_bg_color
  243. fg[NORMAL] = @tooltip_fg_color
  244. }
  245. style "metacity-frame" = "clearlooks-default"
  246. {
  247. bg[SELECTED] = shade (0.85, @selected_bg_color) # Color for metacity borders.
  248. }
  249. style "clearlooks-progressbar"
  250. {
  251. xthickness = 1
  252. ythickness = 1
  253. fg[PRELIGHT] = @selected_fg_color # Progressbar prelighted text.
  254. engine "clearlooks"
  255. {
  256. radius = 0.0 # Roundness of progressbars.
  257. hint = "progressbar"
  258. }
  259. }
  260. style "clearlooks-statusbar"
  261. {
  262. xthickness = 2
  263. engine "clearlooks"
  264. {
  265. hint = "statusbar"
  266. }
  267. }
  268. style "clearlooks-comboboxentry"
  269. {
  270. engine "clearlooks"
  271. {
  272. hint = "comboboxentry"
  273. }
  274. }
  275. style "clearlooks-spinbutton"
  276. {
  277. bg[ACTIVE] = shade (0.85, @bg_color) # Color for pressed-spinbuttons.
  278. engine "clearlooks"
  279. {
  280. hint = "spinbutton"
  281. }
  282. }
  283. style "clearlooks-scale" = "clearlooks-button"
  284. {
  285. GtkRange ::slider-width = 15 # Width of sliders.
  286. bg[NORMAL] = shade (1.14, @bg_color) # Color for sliders.
  287. bg[PRELIGHT] = shade (1.18, @bg_color) # Color for slider prelight.
  288. bg[ACTIVE] = shade (0.85, @bg_color) # Color for pressed-sliders.
  289. engine "clearlooks"
  290. {
  291. hint = "scale"
  292. }
  293. }
  294. style "clearlooks-hscale" = "clearlooks-scale"
  295. {
  296. engine "clearlooks"
  297. {
  298. hint = "hscale"
  299. }
  300. }
  301. style "clearlooks-vscale" = "clearlooks-scale"
  302. {
  303. engine "clearlooks"
  304. {
  305. hint = "vscale"
  306. }
  307. }
  308. style "clearlooks-nautilus-location" # Workaround for nautilus' messages.
  309. {
  310. bg[NORMAL] = shade (1.25, @selected_bg_color)
  311. }
  312. style "clearlooks-radiocheck" = "clearlooks-default"
  313. {
  314. # text[NORMAL] = shade (0.9, @selected_bg_color) # Color for checks/radio items.
  315. # bg[SELECTED] = lighter (@selected_bg_color) # Color for prelight of check/radio buttons.
  316. }
  317. ##############
  318. # SCROLLBARS
  319. ##############
  320. style "clearlooks-scrollbar"
  321. {
  322. bg[NORMAL] = shade (1.14, @bg_color) # Color for non-colored scrollbars.
  323. bg[INSENSITIVE] = shade (1.1, @bg_color) # Color for insensitive scrollbar buttons.
  324. bg[PRELIGHT] = shade (1.18, @bg_color) # Color for scrollbar prelight? (probably obsolete)
  325. bg[ACTIVE] = shade (0.85, @bg_color) # Color for pressed scrollbar buttons.
  326. # bg[SELECTED] = @selected_bg_color # You can change the color of colorized scrollbars here.
  327. engine "clearlooks"
  328. {
  329. # colorize_scrollbar = TRUE # Uncommenting this gives you colorful scrollbars.
  330. radius = 0.0 # Roundness of scrollbars.
  331. hint = "scrollbar"
  332. }
  333. }
  334. style "clearlooks-hscrollbar" = "clearlooks-scrollbar"
  335. {
  336. engine "clearlooks"
  337. {
  338. hint = "hscrollbar"
  339. }
  340. }
  341. style "clearlooks-vscrollbar" = "clearlooks-scrollbar"
  342. {
  343. engine "clearlooks"
  344. {
  345. hint = "vscrollbar"
  346. }
  347. }
  348. ############
  349. # TOOLBARS
  350. ############
  351. # Gradient toolbars are disabled for this theme. Follow these instructions to enable them:
  352. # 1. Comment out the line in this file that starts with "GtkToolbar::shadow-type".
  353. # 2. Uncomment the following:
  354. #style "clearlooks-toolbar" = "clearlooks-default"
  355. #{
  356. # engine "clearlooks"
  357. # {
  358. # toolbarstyle = 1 # This forces gradient toolbars.
  359. # }
  360. #}
  361. #style "clearlooks-evo-new-button-workaround"
  362. #{
  363. # engine "clearlooks"
  364. # {
  365. # toolbarstyle = 0
  366. # }
  367. #}
  368. #widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "clearlooks-evo-new-button-workaround"
  369. #class "GtkToolbar" style "clearlooks-toolbar"
  370. #class "GtkHandleBox" style "clearlooks-toolbar"
  371. ###############################################################################
  372. # The following part of the gtkrc applies the different styles to the widgets.
  373. ###############################################################################
  374. # Clearlooks default style is applied to every widget.
  375. class "GtkWidget" style "clearlooks-default"
  376. # Increase the x/ythickness in some widgets.
  377. class "GtkFrame" style "clearlooks-wide"
  378. class "GtkEntry" style "clearlooks-entry"
  379. class "MetaFrames" style "metacity-frame"
  380. class "GtkSeparator" style "clearlooks-wide"
  381. class "GtkWindow" style "metacity-frame"
  382. class "GtkCalendar" style "clearlooks-wide"
  383. class "GtkSpinButton" style "clearlooks-spinbutton"
  384. class "GtkScale" style "clearlooks-scale"
  385. class "GtkVScale" style "clearlooks-vscale"
  386. class "GtkHScale" style "clearlooks-hscale"
  387. class "GtkScrollbar" style "clearlooks-scrollbar"
  388. class "GtkVScrollbar" style "clearlooks-vscrollbar"
  389. class "GtkHScrollbar" style "clearlooks-hscrollbar"
  390. class "GtkRadio*" style "clearlooks-radiocheck"
  391. class "GtkCheck*" style "clearlooks-radiocheck"
  392. # 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.
  393. # This is not perfect, it could be done better (That is modify *every* widget in the notebook, and change those back that we really don't want changed)
  394. widget_class "*<GtkNotebook>*<GtkEventBox>" style "clearlooks-notebook-bg"
  395. widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "clearlooks-notebook-bg"
  396. widget_class "*<GtkNotebook>*<GtkLayout>" style "clearlooks-notebook-bg"
  397. widget_class "*<GtkNotebook>*<GtkViewport>" style "clearlooks-notebook-bg"
  398. widget_class "*<GtkNotebook>*<GtkScrolledWindow>" style "clearlooks-notebook-bg"
  399. widget_class "*<GtkButton>" style "clearlooks-button"
  400. widget_class "*<GtkNotebook>" style "clearlooks-notebook"
  401. widget_class "*<GtkStatusbar>*" style "clearlooks-statusbar"
  402. widget_class "*<GtkComboBoxEntry>*" style "clearlooks-comboboxentry"
  403. widget_class "*<GtkCombo>*" style "clearlooks-comboboxentry"
  404. widget_class "*<GtkMenuBar>*" style "clearlooks-menubar"
  405. widget_class "*<GtkMenu>*" style "clearlooks-menu"
  406. widget_class "*<GtkMenuItem>*" style "clearlooks-menu-item"
  407. widget_class "*<GtkSeparatorMenuItem>*" style "clearlooks-separator-menu-item"
  408. widget_class "*.<GtkFrame>.<GtkLabel>" style "clearlooks-frame-title"
  409. widget_class "*.<GtkTreeView>*" style "clearlooks-treeview"
  410. widget_class "*<GtkProgress>" style "clearlooks-progressbar"
  411. widget_class "*<GtkProgressBar>" style "clearlooks-progressbar"
  412. # Treeview header
  413. widget_class "*.<GtkTreeView>.<GtkButton>" style "clearlooks-treeview-header"
  414. widget_class "*.<GtkCTree>.<GtkButton>" style "clearlooks-treeview-header"
  415. widget_class "*.<GtkList>.<GtkButton>" style "clearlooks-treeview-header"
  416. widget_class "*.<GtkCList>.<GtkButton>" style "clearlooks-treeview-header"
  417. # Workarounds for Evolution
  418. widget_class "*.ETable.ECanvas" style "clearlooks-treeview-header"
  419. widget_class "*.ETree.ECanvas" style "clearlooks-treeview-header"
  420. widget_class "*GtkCTree*" style "evolution-hack"
  421. widget_class "*GtkList*" style "evolution-hack"
  422. widget_class "*GtkCList*" style "evolution-hack"
  423. widget_class "*.ETree.*" style "evolution-hack"
  424. widget_class "*EInfoLabel*" style "evolution-hack"
  425. # The window of the tooltip is called "gtk-tooltip"
  426. ################################
  427. # FIXME:
  428. # This will not work if one embeds eg. a button into the tooltip.
  429. # As far as I can tell right now we will need to rework the theme
  430. # quite a bit to get this working correctly.
  431. # (It will involve setting different priorities, etc.)
  432. ################################
  433. widget "gtk-tooltip*" style "clearlooks-tooltips"
  434. ###################################################
  435. # SPECIAL CASES AND WORKAROUNDS
  436. ###################################################
  437. # Special case the nautilus-extra-view-widget
  438. # ToDo: A more generic approach for all applications that have a widget like this.
  439. widget "*.nautilus-extra-view-widget" style : highest "clearlooks-nautilus-location"
  440. # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
  441. # Note that the work around assumes that the combobox is _not_ in appears-as-list mode.
  442. # This style does not affect GtkComboBoxEntry, it does have an effect on comboboxes in appears-as-list mode though.
  443. style "clearlooks-text-is-fg-color-workaround"
  444. {
  445. text[NORMAL] = @fg_color
  446. text[PRELIGHT] = @fg_color
  447. text[SELECTED] = @selected_fg_color
  448. text[ACTIVE] = @fg_color
  449. text[INSENSITIVE] = darker (@bg_color)
  450. }
  451. widget_class "*.<GtkComboBox>.<GtkCellView>" style "clearlooks-text-is-fg-color-workaround"
  452. style "clearlooks-menuitem-text-is-fg-color-workaround"
  453. {
  454. text[NORMAL] = "#E6E6E6"
  455. text[PRELIGHT] = @selected_fg_color
  456. text[SELECTED] = @selected_fg_color
  457. text[ACTIVE] = @fg_color
  458. text[INSENSITIVE] = darker (@bg_color)
  459. }
  460. widget "*.gtk-combobox-popup-menu.*" style "clearlooks-menuitem-text-is-fg-color-workaround"
  461. # Work around the usage of GtkLabel inside GtkListItems to display text.
  462. # This breaks because the label is shown on a background that is based on the base color set.
  463. style "clearlooks-fg-is-text-color-workaround"
  464. {
  465. fg[NORMAL] = @text_color
  466. fg[PRELIGHT] = @text_color
  467. fg[ACTIVE] = @selected_fg_color
  468. fg[SELECTED] = @selected_fg_color
  469. fg[INSENSITIVE] = darker (@bg_color)
  470. }
  471. widget_class "*<GtkListItem>*" style "clearlooks-fg-is-text-color-workaround"
  472. # The same problem also exists for GtkCList and GtkCTree.
  473. # Only match GtkCList and not the parent widgets, because that would also change the headers.
  474. widget_class "*<GtkCList>" style "clearlooks-fg-is-text-color-workaround"
  475. widget_class "*<EelEditableLabel>" style "clearlooks-fg-is-text-color-workaround"
  476. # The answer to the ultimate question of life, the universe, and everything is 42.