Guest User

Untitled

a guest
May 4th, 2014
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 21.25 KB | None | 0 0
  1. # GTK theme Equinox Evolution Dusk 1.50
  2. # Author : Matthieu James
  3. # Licence : GPL
  4.  
  5. # ===[ scroll bars ]===
  6. #  bg[ACTIVE] is slider color
  7. #  bg[NORMAL] is steppers color
  8. #  base[NORMAL] is trough color
  9.  
  10. # ===[ check and radio buttons ]===
  11. #  text[SELECTED] is the active bullet color
  12. #  text[INSENSITIVE] is the inactive bullet color
  13. #  base[PRELIGHT] is the unchecked base color
  14. #  base[SELECTED] is the checked base color
  15. #  base[ACTIVE] is the unchecked base color when pressed
  16.  
  17. # ===[ scales ]===
  18. #  bg[NORMAL] is slider color
  19. #  bg[PRELIGHT] is slider prelight color
  20. #  bg[SELECTED] is slider's focus border color
  21. #  base[SELECTED] is trough color
  22.  
  23. # ===[ progressbars ]===
  24. #  bg[NORMAL] is trough color
  25. #  bg[SELECTED] is fill color
  26.  
  27. gtk_color_scheme = "fg_color:#e8e8e8\nbg_color:#7a7a7a\nbase_color:#DDDDDD\ntext_color:#333333\nselected_bg_color:#8ABEE6\nselected_fg_color:#222222\ntooltip_fg_color:#EEEEEE\ntooltip_bg_color:#222222\nlink_color:#8ABEE6"
  28. gtk-icon-sizes = "panel-menu=24,24:panel=22,22:gtk-button=16,16:gtk-large-toolbar=22,22"
  29.  
  30. gtk-button-images = 0
  31.  
  32. gtk-auto-mnemonics = 1
  33.  
  34. gtk-menu-popup-delay = 50
  35.  
  36. style "theme-default" {
  37.  
  38.  GtkButton::default_border = { 0, 0, 0, 0 }
  39.  GtkButton::child-displacement-x = 0
  40.  GtkButton::child-displacement-y = 1
  41.  GtkWidget::focus-padding = 0
  42.  
  43.  GtkRange::trough-border   = 0
  44.  GtkRange::slider-width    = 10
  45.  GtkRange::stepper_size    = 2
  46.  GtkRange::stepper_spacing = 0
  47.  
  48.  GtkScrollbar::min_slider_length = 40
  49.  GtkScrollbar::has-forward-stepper = 1
  50.  GtkScrollbar::has-backward-stepper = 1
  51.  GtkScrollbar::has-secondary-forward-stepper = 0
  52.  GtkScrollbar::has-secondary-backward-stepper = 0
  53.  
  54.  GtkScrolledWindow::scrollbar-spacing       = 0
  55.  GtkScrolledWindow::scrollbars-within-bevel = 0
  56.  #GtkScrolledWindow::vscrollbar-policy = GTK_POLICY_AUTOMATIC
  57.  #GtkScrolledWindow::hscrollbar-policy = GTK_POLICY_AUTOMATIC
  58.  
  59.  GtkMenuBar::internal-padding  = 0
  60.     GtkMenuBar::window-dragging = 1
  61.  
  62.  GtkTreeView::expander_size    = 13
  63.  GtkExpander::expander_size    = 13
  64.  
  65.  GtkScale::slider-length = 12
  66.  GtkScale::slider-width  = 12
  67.  GtkScale::trough-border = 2
  68.  
  69.  GtkWidget::link-color = @link_color
  70.  GtkIMHtml::hyperlink-color = @link_color
  71.     GtkHTML::link-color = @link_color
  72.  
  73.  WnckTasklist::fade-overlay-rect = 0
  74.  WnckTasklist::fade-loop-time    = 5.0 # 5 seconds
  75.  WnckTasklist::fade-opacity      = 0.5 # final opacity
  76.  
  77.  #makes menu only overlap border
  78.  GtkMenu::horizontal-padding = 0
  79.  
  80.  #removes extra padding at top and bottom of menus.  Makes menuitem overlap border
  81.  GtkMenu::vertical-padding = 0
  82.  
  83.  #set to the same as roundness, used for better hotspot selection of tabs
  84.  GtkNotebook::tab-curvature = 2.5
  85.  GtkNotebook::tab-overlap   = 3
  86.  
  87.  GtkMenuItem::arrow-spacing = 10
  88.  #Spacing between edge with indicator and text
  89.  GtkOptionMenu::indicator-size = {11, 5}
  90.  #GtkOptionMenu::indicator-spacing = {6, 5, 4, 4}
  91.  
  92.  GtkCheckButton::indicator-size    = 15
  93.  GtkCheckButton::indicator-spacing = 1
  94.  GtkRadioButton::indicator-size    = 15
  95.  
  96.  GtkPaned::handle-size = 8
  97.  
  98.  # A new color must be defined since affectation of mix or shade functions to GtkTreeView::odd_row_color raise this message :
  99.  # Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x9ccba00)" of type `GString'
  100.   #color["odd_row_color"] = @base_color
  101.   GtkTreeView::horizontal_separator = 1
  102.   GtkTreeView::odd_row_color = "#D8D8D8"
  103.  
  104.   # The following line hints to gecko (and possibly other appliations)
  105.   # that the entry should be drawn transparently on the canvas.
  106.     # Without this, gecko will fill in the background of the entry.
  107.   GtkEntry::honors-transparent-bg-hint = 1
  108.   GtkEntry::state-hint = 0
  109.  
  110.   GtkEntry::progress-border = { 2, 2, 2, 2 }
  111.  
  112.   GtkWidget::new-tooltip-style = 1
  113.   GtkImage::x-ayatana-indicator-dynamic = 1
  114.  
  115.   xthickness = 1
  116.   ythickness = 1
  117.  
  118.   fg[NORMAL]        =  @fg_color
  119.   fg[ACTIVE]        =  shade(0.85, @fg_color) # inactive tab text
  120.   fg[PRELIGHT]      =  @fg_color
  121.   fg[SELECTED]      =  @selected_fg_color
  122.   fg[INSENSITIVE]   =  shade (0.4, @fg_color)
  123.  
  124.   bg[NORMAL]        =  @bg_color
  125.   bg[ACTIVE]        =  shade (1.0125, @bg_color) # inactive tab color
  126.   bg[PRELIGHT]      =  mix (0.85, shade (1.1, @bg_color), @selected_bg_color)
  127.   bg[SELECTED]      =  @selected_bg_color
  128.   bg[INSENSITIVE]   =  shade (1.03, @bg_color)
  129.  
  130.   base[NORMAL]      =  @base_color
  131.   base[ACTIVE]      =  shade (0.8, @base_color) # background color for inactive selected items
  132.   base[PRELIGHT]    =  @base_color
  133.   base[SELECTED]    =  @selected_bg_color
  134.   base[INSENSITIVE] =  shade (1.1, @bg_color)
  135.  
  136.   text[NORMAL]      =  @text_color
  137.   text[ACTIVE]      =  @selected_fg_color # text color for inactive selected items
  138.   text[PRELIGHT]    =  @text_color
  139.   text[SELECTED]    =  @selected_fg_color
  140.   text[INSENSITIVE] =  shade (1.85, @text_color)
  141.  
  142.   engine "equinox" {
  143.     curvature           = 2.5
  144.     menubarstyle        = 1 # 0 = flat, 1 = gradient
  145.     menubarborders      = 0 # 0 = none, 1 = bottom border, 2 = top half-border, 3 = bottom border and top half-border
  146.     menubaritemstyle    = 0 # 0 = flat, 1 = gradient, 2 = inverse gradient, 3 = line, 99 = original
  147.     toolbarstyle        = 5 # 0 = flat, 1 = gradient, 2 = flat without border, 3 = gradient without border, 4 = flat with bottom border, 5 = gradient with bottom border
  148.     buttonstyle         = 0 # 0 = normal, 1 = glassy
  149.     menuitemstyle       = 0 # 0 = normal, 1 = glassy
  150.     listviewheaderstyle = 0 # 0 = normal, 1 = glassy
  151.     listviewitemstyle   = 0 # 0 = flat, 1 = gradient
  152.     scrollbarstyle      = 4 # 0 = normal, 1 = glassy, 2 = normal with handles, 3 = glassy with handles, 4 = flat
  153.     scrollbartrough     = 0 # 0 = background color of the parent widget, 1 = base color of the widget itself
  154.     scalesliderstyle    = 0 # 0 = normal, 1 = glassy, 2 = normal with bullet
  155.     checkradiostyle     = 0 # 0 = normal, 1 = glassy
  156.     progressbarstyle    = 0 # 0 = normal, 1 = glassy
  157.     separatorstyle      = 2 # 0 = solid inset, 1 = gradient inset, 2 = light gradient line, 3 = dark gradient line
  158.     resizegripstyle     = 1 # 0 = circle, 1 = corner
  159.     textstyle           = 0
  160.     textshade           = 1.05
  161.     animation           = TRUE # FALSE = disabled, TRUE = enabled
  162.   }
  163.  
  164.   color["bg_color_alt"] = "#606060"
  165.   color["fg_color_alt"] = "#333333"
  166.  
  167.   color["bg_color_dark"]                  = "#333333"
  168.   color["fg_color_dark"]                  = "#cccccc"
  169.   color["selected_bg_color_dark"] = shade (1.75, @bg_color_dark)
  170.   color["selected_fg_color_dark"] = "#ffffff"
  171.  
  172. }
  173.  
  174. style "test" = "theme-default" {
  175.     fg[NORMAL]  =  "#FF0000"
  176.     fg[ACTIVE]  =  "#00FF00"
  177.     fg[PRELIGHT]    =  "#00FF00"
  178.     fg[SELECTED]    =  "#00FF00"
  179.     fg[INSENSITIVE] =  "#0000FF"
  180.     bg[NORMAL]  =  "#FF0000"
  181.     bg[ACTIVE]  =  "#FF0000"
  182.     bg[PRELIGHT]    =  "#FF0000"
  183.     bg[SELECTED]    =  "#FF0000"
  184.     bg[INSENSITIVE] =  "#FF0000"
  185.     base[NORMAL]    =  "#AA0000"
  186.     base[ACTIVE]    =  "#AA0000"
  187.     base[PRELIGHT]  =  "#AA0000"
  188.     base[SELECTED]  =  "#AA0000"
  189.     base[INSENSITIVE]   =  "#AA0000"
  190.     text[NORMAL]    =  "#0000FF"
  191.     text[ACTIVE]    =  "#0000FF"
  192.     text[PRELIGHT]  =  "#0000FF"
  193.     text[SELECTED]  =  "#0000FF"
  194.     text[INSENSITIVE]   =  "#0000FF"
  195. }
  196.  
  197. style "theme-wide" = "theme-default" {
  198.   xthickness = 2
  199.   ythickness = 2
  200. }
  201.  
  202. style "theme-wider" = "theme-default" {
  203.   xthickness = 3
  204.   ythickness = 3
  205. }
  206.  
  207. style "theme-widest" = "theme-default" {
  208.   xthickness = 4
  209.   ythickness = 3
  210. }
  211.  
  212. style "theme-button" = "theme-wider" {
  213.   fg[PRELIGHT] = shade (1.5, @fg_color)
  214.   bg[NORMAL]   = shade (1.125, @bg_color)
  215.   bg[ACTIVE]   = shade (0.85, @bg_color)
  216.   bg[PRELIGHT] = shade (1.25, @bg_color) #mix(0.8, shade(1.25, @bg_color), @selected_bg_color)
  217.   engine "equinox" {
  218.     textstyle           = 4
  219.     textshade           = 0.9
  220.   }
  221. }
  222.  
  223. style "theme-scrollbar" = "theme-default" {
  224.   text[NORMAL]      = @bg_color
  225.   text[ACTIVE]      = @bg_color
  226.   text[INSENSITIVE] = @bg_color
  227.   text[PRELIGHT]    = @bg_color
  228.   text[SELECTED]    = @bg_color
  229.   bg[NORMAL]   = @bg_color
  230.   bg[ACTIVE]   = shade (0.6, @bg_color)
  231.   bg[PRELIGHT] = shade (0.4, @bg_color)
  232.   engine "equinox" {
  233.     curvature = 2
  234.     }
  235. }
  236.  
  237. style "theme-entry" = "theme-button" {
  238.   bg[PRELIGHT] = @bg_color
  239.   engine "equinox" {
  240.     textstyle = 0
  241.   }
  242. }
  243.  
  244. style "theme-frame" = "theme-wide" {
  245.   GtkWidget::draw-border = {1,1,1,1}
  246. }
  247.  
  248. style "theme-handlebox" = "theme-default" {
  249.   bg[NORMAL] = shade (0.9, @bg_color)
  250. }
  251.  
  252. style "theme-scale" = "theme-default" {
  253.   bg[NORMAL]     = shade (1.5, @bg_color)
  254.   bg[PRELIGHT]   = shade (1.8, @bg_color)
  255.   base[SELECTED] = mix(0.2, @bg_color, @selected_bg_color) #mix(0.1, shade(1.1, @bg_color), shade(0.9, @selected_bg_color)) #shade (0.9, @bg_color)
  256. }
  257.  
  258. style "theme-range" = "theme-default" {
  259.   bg[NORMAL]        = shade (1.0930, @bg_color)
  260.   bg[PRELIGHT]      = mix (0.93, shade (1.14, @bg_color), @selected_bg_color)
  261.  
  262.   #Arrows
  263.   text[NORMAL]      = shade (0.275,@selected_fg_color)
  264.   text[PRELIGHT]    = @selected_fg_color
  265.   text[ACTIVE]      = shade (0.10,@selected_fg_color)
  266.   text[INSENSITIVE] = mix (0.80,shade (0.90,@bg_color),@fg_color)
  267. }
  268.  
  269. style "theme-toolbar" = "theme-default" {
  270.   bg[NORMAL] = @bg_color_alt
  271. }
  272.  
  273. style "theme-toolbar-button" = "theme-button" {
  274.   bg[NORMAL]   = shade (1.05, @bg_color_alt)
  275.   bg[ACTIVE]   = shade (0.85, @bg_color_alt)
  276.   bg[PRELIGHT] = shade (1.15, @bg_color_alt)
  277. }
  278.  
  279. style "theme-notebook" = "theme-wider" {
  280.   xthickness = 2
  281.   ythickness = 2
  282.     bg[NORMAL]   = shade (1.1, @bg_color)
  283.   engine "equinox" {
  284.     curvature = 2
  285.   }
  286. }
  287.  
  288. style "theme-notebook-scrollbar" = "theme-scrollbar" {
  289.     base[NORMAL]   = shade (1.07, @bg_color)
  290. }
  291.  
  292. style "theme-treeview-header" = "theme-default" {
  293.   xthickness   = 3
  294.   ythickness   = 1
  295.   GtkWidget::focus-padding = 0
  296.   fg[NORMAL]   = @text_color
  297.   fg[PRELIGHT] = @text_color
  298.   fg[SELECTED] = @text_color
  299.   fg[ACTIVE]   = @text_color
  300.   fg[INSENSITIVE] = shade(1.75, @text_color)
  301.   bg[NORMAL]   = shade (1.4, @bg_color)
  302.   bg[PRELIGHT] = shade (1.6, @bg_color)
  303.   bg[ACTIVE]   = shade (1.6, @bg_color)
  304.   engine "equinox" {
  305.     textstyle           = 3
  306.     textshade           = 1.1
  307.   }
  308. }
  309.  
  310. style "theme-calendar" {
  311.   xthickness     = 0
  312.   ythickness     = 0
  313.   bg[NORMAL]     = shade (0.92, @bg_color)
  314.   bg[PRELIGHT]   = shade (0.92, @bg_color)
  315.   bg[ACTIVE]     = shade (0.85, @bg_color)
  316.   text[PRELIGHT] = @selected_fg_color
  317. }
  318.  
  319. style "theme-expander" = "theme-default" {
  320.   fg[NORMAL]   = @link_color
  321.   fg[PRELIGHT] = shade(1.05, @link_color)
  322. }
  323.  
  324. style "theme-tooltips" = "theme-widest" {
  325.   bg[NORMAL]   = @tooltip_bg_color
  326.   bg[SELECTED] = @tooltip_bg_color
  327.   fg[NORMAL]   = @tooltip_fg_color
  328.   text[NORMAL] = shade (0.92, @tooltip_bg_color) # border color
  329. }
  330.  
  331. style "theme-progressbar" = "theme-default" {
  332.   xthickness   = 2
  333.   ythickness   = 2
  334.   font_name    = "Bold"
  335.   bg[NORMAL]   = shade (1.20, @bg_color)
  336.   bg[SELECTED] = mix(0.2, shade(1.5, @selected_bg_color_dark), shade(1.15, @selected_bg_color)) #mix(0.15, shade(1.5, @bg_color), @selected_bg_color) #mix(0.1, @bg_color, shade(1.1, @selected_bg_color))
  337.   fg[PRELIGHT] = shade(1.30, @selected_fg_color)
  338. }
  339.  
  340. style "theme-combo" = "theme-button" {
  341.   GtkButton::inner-border = { 0, 1, 0, 0 }
  342.   base[ACTIVE] = @base_color
  343.   text[ACTIVE] = shade(1.2, @text_color)
  344. }
  345.  
  346. style "theme-combo-box" = "theme-button" {
  347.     text[NORMAL]     =  @fg_color
  348.     text[PRELIGHT] =  shade(1.75, @fg_color)
  349.   text[INSENSITIVE]     =  shade (0.4, @fg_color)
  350.   fg[INSENSITIVE]   =  shade (0.4, @fg_color)
  351. }
  352.  
  353. style "theme-arrow" = "theme-default" {
  354.     text[NORMAL]        =  @fg_color
  355.     text[PRELIGHT]    =  @fg_color
  356.     text[SELECTED]    =  @fg_color
  357.     text[ACTIVE]      =  @fg_color
  358.   text[INSENSITIVE] =  shade (0.32, @fg_color)
  359. }
  360.  
  361. style "theme-treeview" = "theme-default" {
  362.   fg[NORMAL]        =  @text_color
  363.   fg[PRELIGHT]      =  @text_color
  364. }
  365.  
  366. style "theme-viewport" = "theme-default" {
  367.     engine "pixmap" {
  368.         image {
  369.             function    = SHADOW
  370.         }      
  371.     }
  372. }
  373.  
  374. style "theme-statusbar" = "theme-default" {
  375. }
  376.  
  377. style "theme-check-radio-buttons" = "theme-button" {
  378.   GtkWidget::focus-padding = 1
  379.   fg[ACTIVE]        = @fg_color
  380.   base[PRELIGHT]    = mix (0.7, @base_color, @selected_bg_color)
  381.   base[SELECTED]    = shade (1.6, @bg_color)
  382.   base[ACTIVE]      = @base_color
  383.   engine "equinox" {
  384.     textstyle = 0
  385.   }
  386. }
  387.  
  388. # widget styles
  389. class "GtkWidget"       style "theme-default"
  390. class "GtkScale"        style "theme-scale"
  391. class "GtkRange"        style "theme-range"
  392. class "GtkFrame"        style "theme-frame"
  393. class "GtkEntry"        style "theme-entry"
  394. class "GtkProgressBar"  style "theme-progressbar"
  395. class "GtkSeparator"    style "theme-wide"
  396. class "GtkScrollbar"      style "theme-scrollbar"
  397. class "GtkCalendar"     style "theme-calendar"
  398. class "GtkViewport"     style "theme-viewport"
  399. class "GtkStatusbar"    style "theme-statusbar"
  400. class "GtkTreeView"     style "theme-treeview"
  401. class "GtkArrow"        style "theme-arrow"
  402.  
  403. widget_class "*<GtkStatusbar>"              style "theme-statusbar"
  404.  
  405. widget_class "*<GtkButton>"                 style "theme-button"
  406. widget_class "*<GtkHandleBox>"              style "theme-handlebox"
  407. widget_class "*<GtkButton>*<GtkLabel>"      style "theme-button"
  408.  
  409. widget_class "*<GtkCheckButton>"            style "theme-check-radio-buttons"
  410. widget_class "*<GtkCheckButton>.<GtkLabel>" style "theme-check-radio-buttons"
  411.  
  412. # Toolbars
  413. widget_class "*<GtkToolbar>"                                                    style "theme-toolbar"
  414. widget_class "*<GtkToolbar>*<GtkButton>"                            style "theme-toolbar-button"
  415. widget_class "*<GtkHandleBox>"                                  style "theme-toolbar"
  416. widget "GtkWindow.GtkFixed*.GtkToolbar"                                                     style "theme-toolbar" # OpenOffice
  417.  
  418. # tooltips stuff
  419. widget "gtk-tooltip*"                       style "theme-tooltips"
  420.  
  421. # Notebook
  422. widget_class "*<GtkNotebook>*.<GtkEventBox>"     style "theme-notebook"
  423. widget_class "*<GtkNotebook>*.<GtkDrawingArea>"  style "theme-notebook"
  424. widget_class "*<GtkNotebook>*.<GtkLayout>"       style "theme-notebook"
  425. widget_class "*<GtkNotebook>"                    style "theme-notebook"
  426. widget_class "*<GtkNotebook>*<GtkScrollbar>"    style:highest "theme-notebook-scrollbar"
  427.  
  428. # combobox stuff
  429. widget_class "*<GtkCombo>*"                 style "theme-combo"
  430. widget_class "*<GtkComboBox>*"              style "theme-combo-box"
  431. widget_class "*<GtkComboBoxEntry>*"         style "theme-combo"
  432. widget_class "*<GtkSpinButton>*"            style "theme-combo"
  433.  
  434. # treeview stuff
  435. widget_class "*<GtkTreeView>.<GtkButton>"   style "theme-treeview-header"
  436. widget_class "*<GtkCTree>.<GtkButton>"      style "theme-treeview-header"
  437. widget_class "*<GtkList>.<GtkButton>"       style "theme-treeview-header"
  438. widget_class "*<GtkCList>.<GtkButton>"      style "theme-treeview-header"
  439. widget_class "*<GtkTreeView>.<GtkButton>.*"   style "theme-treeview-header"
  440. widget_class "*<GtkCTree>.<GtkButton>.*"        style "theme-treeview-header"
  441. widget_class "*<GtkList>.<GtkButton>.*"         style "theme-treeview-header"
  442. widget_class "*<GtkCList>.<GtkButton>.*"        style "theme-treeview-header"
  443. style "treeview-header-fix" {
  444.   fg[NORMAL]   = @text_color
  445.   fg[PRELIGHT] = @text_color
  446.   fg[SELECTED] = @text_color
  447.   fg[ACTIVE]   = @text_color
  448.   fg[INSENSITIVE] = shade(1.75, @text_color)
  449. }
  450. widget_class "*<GtkFixed>.<GtkButton>"        style "treeview-header-fix"
  451.  
  452.  
  453.  
  454. #######################################################
  455. ##  Dark Stuff
  456. #######################################################
  457.  
  458. style "theme-dark" = "theme-default" {
  459.   fg[NORMAL]        = @fg_color_dark
  460.     fg[PRELIGHT]      = shade(1.15, @fg_color_dark)
  461.     fg[ACTIVE]        = @fg_color_dark
  462.     fg[SELECTED]      = @selected_fg_color_dark
  463.     fg[INSENSITIVE]   = shade(0.5, @fg_color_dark)
  464.   bg[NORMAL]        = @bg_color_dark
  465.     bg[ACTIVE]        = shade (0.8, @bg_color_dark)
  466.   bg[SELECTED]      = @selected_bg_color_dark
  467.   bg[PRELIGHT]      = shade (1.15, @bg_color_dark)
  468.   bg[INSENSITIVE]   = shade(0.85, @bg_color_dark)
  469.   text[NORMAL]      = @fg_color_dark
  470.     text[PRELIGHT]    = shade(1.15, @fg_color_dark)
  471.     text[SELECTED]    = @selected_fg_color_dark
  472.   text[ACTIVE]      = @fg_color_dark
  473.   text[INSENSITIVE] = shade(1.75, @bg_color_dark)
  474. }
  475.  
  476. ## Menus ##############################################
  477.  
  478. style "theme-menu" = "theme-dark" {
  479.   xthickness = 0
  480.   ythickness = 0
  481. }
  482.  
  483. style "theme-menuitem" = "theme-dark" {
  484.   xthickness = 3
  485.   ythickness = 4
  486.   fg[SELECTED]   = @selected_fg_color
  487.   fg[PRELIGHT]   = @selected_fg_color
  488.   bg[SELECTED]   = mix(0.2, shade(1.5, @selected_bg_color_dark), @selected_bg_color)
  489.   text[PRELIGHT] = @selected_fg_color
  490.   engine "equinox" {
  491.     separatorstyle = 2
  492.   }
  493. }
  494.  
  495. class "GtkMenu"                             style "theme-menu"
  496. widget_class "*<GtkMenuItem>*"              style "theme-menuitem"
  497.  
  498. style "theme-menubar" = "theme-default" {
  499.   xthickness = 0
  500.   ythickness = 0
  501.   bg[NORMAL] = @bg_color_alt
  502. }
  503.  
  504. style "theme-menubar-item" = "theme-default" {
  505.   xthickness = 3
  506.   ythickness = 4
  507.   fg[SELECTED] = @selected_fg_color_dark
  508.   fg[PRELIGHT] = @selected_fg_color_dark
  509.   bg[SELECTED] = shade(0.75, @bg_color_dark)
  510.   bg[PRELIGHT] = shade(0.75, @bg_color_dark)
  511. }
  512.  
  513. class "GtkMenuBar"                          style "theme-menubar"
  514. widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "theme-menubar-item"
  515.  
  516.  
  517. ## Panels ##############################################
  518.  
  519. style "theme-panel" = "theme-dark" {
  520.   xthickness        = 1
  521.   ythickness        = 1
  522.   bg[SELECTED] = shade(1.05, @bg_color_dark)
  523.   bg_pixmap[NORMAL] = "images/panel_bg.png"
  524.   engine "equinox" {
  525.     menubaritemstyle = 2
  526.     curvature = 0
  527.   }
  528. }
  529.  
  530. style "theme-panel-button" = "theme-dark" {
  531.   xthickness        = 3
  532.   ythickness        = 2
  533. }
  534.  
  535. widget "*PanelWidget*"                    style "theme-panel"
  536. #widget "*Panel*Frame*"                    style "theme-panel"
  537. widget_class "*PanelApplet*<GtkButton>*"  style "theme-panel-button"
  538. widget "*fast-user-switch*"                     style "theme-panel" # Workaround for Fast User Switch applet
  539. widget_class "*Panel*<GtkMenuBar>*"       style:highest "theme-panel" # The panel menubar
  540. class "PanelApp*"                       style "theme-panel"
  541. class "PanelToplevel*"              style "theme-panel"
  542. widget "*TomboyTray*"                   style "theme-panel" # Workaround for Tomboy
  543. widget "*TomboyApplet*"             style "theme-panel"
  544. widget "*Net*Applet*"                   style "theme-panel"
  545. widget "*CPU*Applet*"                   style "theme-panel"
  546. widget "*dictApplet*"                   style "theme-panel"
  547. #XFCE panel
  548. widget_class "*notif*"              style "theme-panel"
  549. widget_class "*Notif*"              style "theme-panel"
  550. widget_class "*Tray*"                   style "theme-panel"
  551. widget_class "*tray*"                   style "theme-panel"
  552. widget "*Xfce*Panel*"                   style "theme-panel"
  553. class "*Xfce*Panel*"                    style "theme-panel"
  554.  
  555. style "theme-main-menuitem" = "theme-menuitem" {
  556.   xthickness = 3
  557.   ythickness = 2
  558.   fg[SELECTED]   = @selected_fg_color_dark
  559.   fg[PRELIGHT]   = @selected_fg_color_dark
  560.   bg[SELECTED]   = @selected_bg_color_dark
  561.   bg[PRELIGHT]   = @selected_bg_color_dark
  562.   text[SELECTED] = @selected_fg_color_dark
  563.   text[PRELIGHT] = @selected_fg_color_dark
  564. }
  565. widget "GtkWindow.gnome-panel-main-menu*MenuItem*"    style:highest "theme-main-menuitem"
  566.  
  567.  
  568. ## Others #############################################
  569.  
  570. style "text-is-fg-color-workaround-dark" {
  571.     text[NORMAL] = "#cccccc"
  572.     text[PRELIGHT] = shade (1.15, "#cccccc")
  573. }
  574.  
  575. #  Nautilus toolbar
  576. widget_class "*Nautilus*Tool*.<GtkComboBox>.<GtkCellView>"   style:highest "text-is-fg-color-workaround-dark"
  577.  
  578. # Evince/EOG
  579. widget_class "*EggEditable*Tool*.<GtkComboBox>.<GtkCellView>"   style "text-is-fg-color-workaround-dark"
  580.  
  581. widget "*fullscreen-toolbar*.GtkComboBox.GtkCellView"   style "text-is-fg-color-workaround-dark"
  582.  
  583. # Epiphany
  584. widget_class "*EphyTool*.<GtkComboBox>.<GtkCellView>"   style "text-is-fg-color-workaround-dark"
  585.  
  586. # Brasero
  587. widget_class "*rasero*Toolbar*.<GtkComboBox>.<GtkCellView>"   style "text-is-fg-color-workaround-dark"
  588.  
  589. # gThumb
  590. widget_class "*Gth*Toolbar*.<GtkComboBox>.<GtkCellView>"   style "text-is-fg-color-workaround-dark"
  591.  
  592. # Thunderbird
  593. style "thunderbird-menu-fix" {
  594.   fg[SELECTED] = "#FFFFFF"
  595. }
  596. widget_class "*<GtkFixed>*MenuBar*"         style:highest "thunderbird-menu-fix"
  597.  
  598. # Mozilla treeview header fix
  599. style "mozilla-header-fix" {
  600.   bg[NORMAL] = shade(1.25, @bg_color)
  601.   bg[PRELIGHT] = shade(1.35, @bg_color)
  602.   bg[ACTIVE] = shade(1.30, @bg_color)
  603. }
  604. widget "*MozillaGtkWidget*Tree*GtkButton"       style:highest "mozilla-header-fix"
  605.  
  606. #######################################################
  607. ##  GNOME specific
  608. #######################################################
  609.  
  610. widget "ido-offscreen-scale" style "theme-menu" # Sound panel appel
  611. widget "*IdoEntryMenuItem*" style "theme-wide"
  612.  
  613. widget_class "*.ETree.ECanvas"      style "theme-treeview-header" #evolution
  614. widget_class "*.ETable.ECanvas"     style "theme-treeview-header" #evolution
  615.  
  616. style "evolution-new-button-workaround" {
  617.   bg[NORMAL] = @bg_color
  618.     engine "equinox" {
  619.         toolbarstyle = 0
  620.     }
  621. }
  622. widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evolution-new-button-workaround"
  623.  
  624. include "apps/nautilus.rc"
  625. #include "apps/nautilus-elementary.rc"
  626. include "apps/gnome-system-monitor.rc"
  627. include "apps/gnome-terminal.rc"
  628. include "apps/google-chrome.rc"
  629. include "apps/gedit.rc"
  630. include "apps/banshee.rc"
  631. include "apps/ubuntuone.rc"
  632. include "apps/softwarecenter.rc"
  633. #include "apps/globalmenu.rc"
Advertisement
Add Comment
Please, Sign In to add comment