daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest Mar 19th, 2010 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Author: perfectska04 (Victor C.)
  2. # Theme:  Shiki-Black based on Shiki-Colors for Murrine 0.9.3+.
  3. # Description: Shiki-Colors is 100% free and open source.
  4.  
  5. # 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.
  6.  
  7. # These are the defined colors for the theme, you can change them in GNOME's appearance preferences.
  8. gtk_color_scheme = "fg_color:#101010\nbg_color:#D1CCC4\nbase_color:#fff\ntext_color:#1A1A1A\nselected_bg_color:#eebf6d\nselected_fg_color:#0d0d0d\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000\nframe_color:#3B3630\ninactive_frame_color:#3B3630"
  9.  
  10. #########
  11. # ICONS
  12. #########
  13. gtk-icon-sizes  = "gtk-button=16,16" # This makes button icons smaller.
  14. 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".
  15. gtk-button-images       = 0 # Enables or disables icons on buttons (OS X-like).
  16. #gtk-menu-popup-delay   = 1 # Makes menus pop up faster! Set to 1 instead of 0 to avoid any bugs.
  17.  
  18. ##########
  19. # PANELS
  20. ##########
  21. 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.
  22.  
  23. # 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.
  24. style "bold-panel-menu"
  25. {
  26.         font_name = "Bold"
  27.  
  28.         engine "murrine" {
  29.         roundness = 0
  30.         }
  31. }
  32.  
  33. style "bold-panel-slab"
  34. {
  35.         font_name = "Bold"
  36. }
  37. widget "*Panel*slab-main-menu-panel-button*" style "bold-panel-slab"
  38. widget "*gimmie*" style "bold-panel-slab"
  39. widget "*Panel*MenuBar*" style "bold-panel-menu"
  40.  
  41. ##########################
  42. # GENERAL THEME SETTINGS
  43. ##########################
  44. style "murrine-default"
  45. {
  46.         xthickness = 1
  47.         ythickness = 1
  48.  
  49.         GtkButton::child-displacement-x = 0 # Pressed button icon displacement.
  50.         GtkButton::child-displacement-y = 1 # Pressed button icon displacement.
  51.  
  52.         GtkButton::default-border       = { 0, 0, 0, 0 }
  53.         GtkCheckButton::indicator-size  = 14 # Size for check buttons.
  54.         GtkRadioButton::indicator-size  = 14 # Size for radio buttons.
  55.         GtkPaned::handle-size           = 6 # Width of handles.
  56.  
  57.  
  58.        
  59.         GtkScale::slider-length         = 24 # Length of sliders.
  60.         GtkScale::trough-side-details   = 1
  61.         GtkScrollbar::min-slider-length = 35 # Min. length of scrollbars.
  62.  
  63.         GtkMenuBar::internal-padding    = 0
  64.         GtkExpander::expander-size      = 16
  65.         GtkToolbar::internal-padding    = 0 # Toolbar padding.
  66.         GtkTreeView::expander-size      = 14
  67.         GtkTreeView::vertical-separator = 0
  68.  
  69.         GtkMenu::horizontal-padding     = 0
  70.         GtkMenu::vertical-padding       = 0
  71.  
  72.         WnckTasklist::fade-overlay-rect = 0
  73.         GtkEntry::honors-transparent-bg-hint = 1
  74.         GtkEntry::progress-border       = { 0, 0, 0, 0 } # Border of GtkEntry progressbars.
  75.  
  76.         GtkWidget::focus-padding        = 0 # This can give you a more compact appearance.
  77.         GtkScrolledWindow::scrollbar-spacing    = 2 # This sets the spacing between scrollbars.
  78.  
  79. # Uncomment one or both of the following for flat/unified menus or toolbars:
  80.         GtkToolbar::shadow-type         = GTK_SHADOW_NONE  # Makes toolbars flat and unified.
  81.         GtkMenuBar::shadow-type         = GTK_SHADOW_NONE  # Makes menus flat and unified.
  82.  
  83.         ####################
  84.         # Color Definitions
  85.         ####################
  86.         fg[NORMAL]        = @fg_color
  87.         fg[PRELIGHT]      = @fg_color
  88.         fg[SELECTED]      = @selected_fg_color
  89.         fg[ACTIVE]        = @fg_color
  90.         fg[INSENSITIVE]   = darker (@bg_color)
  91.  
  92.         bg[NORMAL]        = @bg_color
  93.         bg[PRELIGHT]      = shade (1.02, @bg_color)
  94.         bg[SELECTED]      = @selected_bg_color
  95.         bg[INSENSITIVE]   = @bg_color
  96.         bg[ACTIVE]        = shade (0.85, @bg_color)
  97.  
  98.         base[NORMAL]      = @base_color
  99.         base[PRELIGHT]    = shade (0.95, @bg_color)
  100.         base[ACTIVE]      = shade (0.75, @bg_color)
  101.         base[SELECTED]    = @selected_bg_color
  102.         base[INSENSITIVE] = @bg_color
  103.  
  104.         text[NORMAL]      = @text_color
  105.         text[PRELIGHT]    = @text_color
  106.         text[ACTIVE]      = @selected_fg_color
  107.         text[SELECTED]    = @selected_fg_color
  108.         text[INSENSITIVE] = darker (@bg_color)
  109.  
  110.         engine "murrine"
  111.         {
  112.                 contrast                = 1.0 # theme contrast.
  113.                 glazestyle              = 0 # 0 = flat hilight, 1 = curved hilight, 2 = concave style, 3 = top curved hilight, 4 = beryl hilight.
  114.                 menubarstyle            = 3 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped.
  115.                 menubaritemstyle        = 0 # 0 = menuitem look, 1 = button look.
  116.                 menuitemstyle           = 2 # 0 = flat, 1 = glassy, 2 = striped.
  117.                 listviewheaderstyle     = 2 # 0 = flat, 1 = glassy, 2 = raised.
  118.                 listviewstyle           = 1 # 0 = nothing, 1 = dotted.
  119.                 scrollbarstyle          = 3 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles.
  120.                 stepperstyle            = 1 # 0 = standard, 1 = integrated stepper handles.
  121.                 roundness               = 0 # Overall roundness of the theme.
  122.                 progressbarstyle        = 1 # 0 = nothing, 1 = striped, 2 = cells
  123.                 animation               = TRUE  # FALSE disables progressbar animations.
  124.                 gradients               = TRUE # enables gradients.
  125.                 reliefstyle             = 2 # shadows around widgets.
  126.                 sliderstyle             = 1 # 0 = nothing added, 1 = handles.
  127.                 menustyle               = 1 # 0 # removes stripes from menus.
  128.                 rgba                    = FALSE # disables rgba.
  129.                 lightborder_shade       = 1.20 # sets lightborder amount for buttons or widgets.
  130.                 lightborderstyle        = 0 # 0 = lightborder on top side, 1 = lightborder on all sides.
  131.                 highlight_shade         = 1.00 # shade for gradient hightlight.
  132.                 gradient_shades         = {1.09,1.01,1.01,0.91} # rendering of gradients.
  133.    }
  134. }
  135.  
  136. #################
  137. # THEME MODULES
  138. #################
  139. style "evolution-hack" = "murrine-default" # Hacks for Evolution Mail.
  140. {      
  141.         bg[NORMAL]      = shade (1.14, @bg_color) # Color for evo treeview headers.
  142.         bg[PRELIGHT]    = shade (1.18, @bg_color) # Color for evo treeview header prelight.
  143.         bg[ACTIVE]      = shade (0.75, @bg_color) # Color for unfocused evo selected items.
  144.         bg[SELECTED]    = @selected_bg_color # Color for evo selected items.
  145.         fg[ACTIVE]      = @selected_fg_color # Color for evo active text.
  146.         fg[SELECTED]    = @selected_fg_color # Color for evo selected text.
  147. }
  148.  
  149. style "murrine-wide"
  150. {
  151.         xthickness = 2 # Can't change, or clowns will eat you.
  152.         ythickness = 2 # Can't change, or clowns will eat you.
  153. }
  154.  
  155. style "murrine-wider"
  156. {
  157.         xthickness = 3 # Can't change, or clowns will eat you.
  158.         ythickness = 3 # Can't change, or clowns will eat you.
  159. }
  160.  
  161. style "murrine-entry" = "murrine-wider" {
  162.  
  163.         bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
  164.         fg[SELECTED] = @text_color
  165.  
  166.         engine "murrine" {
  167.                 focus_color = shade (0.65, @selected_bg_color)
  168.         }
  169. }
  170.  
  171. style "murrine-button" = "murrine-wider"
  172. {
  173.         bg[NORMAL]      = shade (1.14, @bg_color) # Color for buttons.
  174.         bg[PRELIGHT]    = shade (1.18, @bg_color) # Color for button-prelight.
  175.         bg[ACTIVE]      = shade (0.85, @bg_color) # Color for pressed-buttons.
  176.         engine "murrine"
  177.         {
  178.                 contrast = 1.20  # Button border contrast.
  179.         }
  180. }
  181.  
  182. style "murrine-notebook-bg"
  183. {
  184.         bg[NORMAL]      = shade (1.1, @bg_color) # Tab background.
  185.         bg[ACTIVE]      = @bg_color # Unfocused tab background.
  186.  
  187. ##      bg[SELECTED]            = "#ff0000"     # rouge
  188. ##      bg[NORMAL]              = "#00FF00"     # vert
  189. ##      bg[PRELIGHT]            = "#0000FF"     # bleu
  190. ##      bg[ACTIVE]              = "#ffFF00"     # jaune
  191. ##      bg[INSENSITIVE]         = "#ff00FF"     # violet
  192. }
  193.  
  194. style "murrine-notebook" = "murrine-notebook-bg"
  195. {
  196.         xthickness = 0 # Width of tabs and notebook borders.
  197.         ythickness = 0 # Height of tabs and notebook borders.
  198.         engine "murrine"
  199.         {
  200.                 roundness = 0 # Roundness of notebook tabs.
  201.  
  202.         }
  203.        
  204. }
  205.  
  206. style "murrine-menu" # This section themes custom dark menus. Leave as is.
  207. {
  208.         ythickness = 0
  209.         xthickness = 0
  210.         bg[SELECTED]    = shade (0.85, @selected_bg_color)
  211.         bg[NORMAL]      = "#0d0d0d"
  212.         bg[PRELIGHT]    = shade (0.85, @selected_bg_color)
  213.         bg[ACTIVE]      = "#0d0d0d"
  214.         bg[INSENSITIVE] = @selected_bg_color # "#eebf6d"
  215.         fg[NORMAL]      = "#E6E6E6" # Color for normal text.
  216.         fg[PRELIGHT]    = @selected_fg_color
  217.         fg[SELECTED]    = @selected_fg_color
  218.         fg[ACTIVE]      = @selected_fg_color
  219.         fg[INSENSITIVE] = "#888888"
  220.         text[NORMAL]    = "#000" # @base_color # Color for menu-item radio/checks.
  221.         base[NORMAL]    = @base_color # Color for menu-item radio/checks background.
  222.         text[PRELIGHT]  = @selected_fg_color
  223.         text[SELECTED]  = @selected_fg_color
  224.         text[ACTIVE]    = @selected_fg_color
  225.         text[INSENSITIVE]       = "#666666"
  226.         engine "murrine"
  227.         {
  228.                 roundness = 0 # Roundness of menu items.
  229.         }
  230. }
  231.  
  232. style "murrine-menu-item" = "murrine-wider"
  233. {
  234.         bg[SELECTED]    = shade (0.85, @selected_bg_color)
  235.         bg[PRELIGHT]    = shade (0.85, @selected_bg_color)
  236.         fg[NORMAL]      = "#E6E6E6" # Fix for XFCE menu text.
  237.         fg[PRELIGHT]    = "#0d0d0d" # @selected_fg_color
  238.         fg[SELECTED]    = @selected_fg_color
  239. }
  240.  
  241. style "murrine-separator-menu-item"
  242. {
  243.         GtkSeparatorMenuItem::horizontal-padding = 4
  244.         # We are setting the desired height by using wide-separators.
  245.         # There is no other way to get the odd height ...
  246.         GtkWidget::wide-separators = 1
  247.         GtkWidget::separator-width = 1
  248.         GtkWidget::separator-height = 7
  249.         xthickness = 1
  250.         ythickness = 0
  251. }
  252.  
  253. style "murrine-menubar" # This section deals with dark menubars. Leave as is.
  254. {
  255.         ythickness = 0
  256.         bg[SELECTED]    = shade (0.85, @selected_bg_color)
  257.         bg[NORMAL]      = "#0d0d0d" # Background color for menubars.
  258.         bg[PRELIGHT]    = shade (0.85, @selected_bg_color)
  259.         bg[ACTIVE]      = "#3B3830"
  260.         bg[INSENSITIVE] = "#464139"
  261.         fg[NORMAL]      = "#E6E6E6" # Color for normal text.
  262.         fg[PRELIGHT]    = @selected_fg_color
  263.         fg[SELECTED]    = @selected_fg_color
  264.         fg[ACTIVE]      = @selected_fg_color
  265.         fg[INSENSITIVE] = "#666666"
  266.         text[NORMAL]    = "#E6E6E6"
  267.         text[PRELIGHT]  = @selected_fg_color
  268.         text[SELECTED]  = @selected_fg_color
  269.         text[ACTIVE]    = @selected_fg_color
  270.         text[INSENSITIVE]       = "#666666"
  271. }
  272.  
  273. style "murrine-treeview"
  274. {
  275.         engine "murrine"
  276.         {
  277.                 roundness = 0  # This makes treeview progressbars square.
  278.         }
  279. }
  280.  
  281. style "murrine-treeview-header" = "murrine-button"
  282. {
  283.         xthickness = 2
  284.         ythickness = 1
  285.         bg[NORMAL]      = shade (1.14, @bg_color)  # Color for treeview headers.
  286.         bg[PRELIGHT]    = shade (1.18, @bg_color)  # Color for treeview header prelight.
  287.         bg[ACTIVE]      = shade (0.85, @bg_color)  # Color for pressed-treeview.
  288.         engine "murrine"
  289.         {
  290.                 roundness       = 0  # This makes treeview progressbars square.
  291.         }
  292. }
  293.  
  294. style "murrine-frame-title"
  295. {
  296.         fg[NORMAL]      = lighter (@fg_color)
  297. }
  298.  
  299. style "murrine-tooltips" = "murrine-wider"
  300. {
  301.         bg[NORMAL]      = @tooltip_bg_color
  302.         fg[NORMAL]      = @tooltip_fg_color
  303. }
  304.  
  305. style "metacity-frame" = "murrine-default"
  306. {
  307.         bg[SELECTED]    = shade (0.85, @selected_bg_color)  # Color for metacity borders.
  308. }
  309.  
  310. style "murrine-progressbar"
  311. {
  312.         xthickness = 0
  313.         ythickness = 0
  314.         fg[PRELIGHT]    = @selected_fg_color  # Progressbar prelighted text.
  315.         engine "murrine"
  316.         {
  317.         roundness       = 0 # Progressbar roundness.
  318.         }
  319. }
  320.  
  321. style "murrine-statusbar"
  322. {
  323.         xthickness = 2
  324. }
  325.  
  326. style "murrine-comboboxentry"
  327. {
  328. }
  329.  
  330. style "murrine-spinbutton"
  331. {
  332.         bg[ACTIVE]   = shade (0.85, @bg_color)  # Color for pressed-spinbuttons.
  333. }
  334.  
  335. style "murrine-scale" = "murrine-button"
  336. {
  337.         GtkRange       ::slider-width   = 15 # Width of sliders.
  338.         bg[NORMAL]      = shade (1.14, @bg_color) # Color for sliders.
  339.         bg[PRELIGHT]    = shade (1.18, @bg_color) # Color for slider prelight.
  340.         bg[ACTIVE]      = shade (0.85, @bg_color) # Color for pressed-sliders.
  341.         engine "murrine"
  342.         {
  343.                 contrast = 1.20  # Slider border contrast.
  344.         }
  345. }
  346.  
  347. style "murrine-hscale" = "murrine-scale"
  348. {
  349. }
  350.  
  351. style "murrine-vscale" = "murrine-scale"
  352. {
  353. }
  354.  
  355. style "murrine-nautilus-location" # Workaround for nautilus' messages.
  356. {
  357.         bg[NORMAL]      = shade (1.25, @selected_bg_color)
  358. }
  359.  
  360. style "murrine-radiocheck" = "murrine-default"
  361. {
  362.         text[NORMAL]    = @selected_fg_color # Color for checks/radio items.
  363.         text[PRELIGHT]  = @selected_fg_color # Color for checks/radio items.
  364. }
  365.  
  366. ##############
  367. # SCROLLBARS
  368. ##############
  369. style "murrine-scrollbar"
  370. {
  371. #       GtkScrollbar::trough-border     = 0 # Change to a higher value for border around scrollbars.
  372.         bg[NORMAL]      =  @bg_color # Color for non-colored scrollbars.
  373.         bg[INSENSITIVE] = @bg_color # Color for non-colored scrollbars.
  374.         bg[PRELIGHT]    = @bg_color # Color for scrollbar prelight? (probably obsolete)
  375.         bg[ACTIVE]      = @bg_color # Color for scrollbar rail's background.
  376.         bg[SELECTED]    = "#0d0d0d" # @selected_bg_color # Color of scrollbars.
  377.         fg[PRELIGHT]    = shade (0.60, @selected_bg_color) # Highlighted scrollbar button.
  378.         fg[ACTIVE]      = shade (0.40, @selected_bg_color) # Pressed scrollbar button.
  379.         engine "murrine"
  380.         {
  381.                 colorize_scrollbar      = TRUE # FALSE # Commenting this out gives you colorful scrollbars.
  382.                 roundness               = 0 # Scrollbar roundness.
  383.                 contrast                = 1.00 # Makes scrollbar's rail borders darker.
  384.         }
  385.         GtkRange::arrow-scaling         = 1.00
  386.         GtkRange::trough-border         = 5
  387.  
  388.         GtkRange::slider-width          = 5 # Scrollbar width.
  389.         GtkRange::stepper-size          = 15 # Stepper height.
  390.         GtkRange::stepper-spacing       = 0 # Stepper spacing.
  391.         GtkRange::trough-under-steppers = TRUE
  392.        
  393. }
  394.  
  395. style "murrine-hscrollbar" = "murrine-scrollbar"
  396. {
  397. }
  398.  
  399. style "murrine-vscrollbar" = "murrine-scrollbar"
  400. {
  401. }
  402.  
  403. ############
  404. # TOOLBARS
  405. ############
  406. # Gradient toolbars are disabled for this theme. Follow these instructions to enable them:
  407. # 1. Comment out the line in this file that starts with "GtkToolbar::shadow-type".
  408. # 2. Uncomment the following:
  409.  
  410. style "murrine-toolbar" = "murrine-default"
  411. {
  412.         engine "murrine"
  413.         {
  414.                 toolbarstyle = 2  # This forces gradient toolbars.
  415.         }
  416. }
  417.  
  418. #style "murrine-evo-new-button-workaround"
  419. #{
  420. #       engine "murrine"
  421. #       {
  422. #               toolbarstyle = 0
  423. #       }
  424. #}
  425. #widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround"
  426.  
  427. #class "GtkToolbar"   style "murrine-toolbar"
  428. #class "GtkHandleBox" style "murrine-toolbar"
  429.  
  430.  
  431. ###############################################################################
  432. # The following part of the gtkrc applies the different styles to the widgets.
  433. ###############################################################################
  434.  
  435. # Murrine default style is applied to every widget.
  436. class "GtkWidget"    style "murrine-default"
  437.  
  438. # Increase the x/ythickness in some widgets.
  439. class "GtkFrame"     style "murrine-wide"
  440. class "GtkEntry"     style "murrine-entry"
  441. class "MetaFrames"   style "metacity-frame"
  442. class "GtkSeparator" style "murrine-wide"
  443. class "GtkWindow"    style "metacity-frame"
  444. class "GtkCalendar"  style "murrine-wide"
  445.  
  446. class "GtkSpinButton"  style "murrine-spinbutton"
  447. class "GtkScale"       style "murrine-scale"
  448. class "GtkVScale"      style "murrine-vscale"
  449. class "GtkHScale"      style "murrine-hscale"
  450. class "GtkScrollbar"   style "murrine-scrollbar"
  451. class "GtkVScrollbar"  style "murrine-vscrollbar"
  452. class "GtkHScrollbar"  style "murrine-hscrollbar"
  453.  
  454. class "GtkRadio*"       style "murrine-radiocheck"
  455. class "GtkCheck*"       style "murrine-radiocheck"
  456.  
  457. # 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.
  458.  
  459. # 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)
  460. widget_class "*<GtkNotebook>*<GtkEventBox>"     style "murrine-notebook-bg"
  461. widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "murrine-notebook-bg"
  462. widget_class "*<GtkNotebook>*<GtkLayout>"       style "murrine-notebook-bg"
  463. widget_class "*<GtkNotebook>*<GtkViewport>"     style "murrine-notebook-bg"
  464. widget_class "*<GtkNotebook>*<GtkScrolledWindow>"       style "murrine-notebook-bg"
  465.  
  466. widget_class "*<GtkButton>"      style "murrine-button"
  467. widget_class "*<GtkNotebook>"    style "murrine-notebook"
  468. widget_class "*<GtkStatusbar>*"  style "murrine-statusbar"
  469.  
  470. widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry"
  471. widget_class "*<GtkCombo>*"         style "murrine-comboboxentry"
  472.  
  473. widget_class "*<GtkMenuBar>*"           style "murrine-menubar"
  474. widget_class "*<GtkMenu>*"              style "murrine-menu"
  475. widget_class "*<GtkMenuItem>*"          style "murrine-menu-item"
  476. widget_class "*<GtkSeparatorMenuItem>*" style "murrine-separator-menu-item"
  477.  
  478. widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
  479. widget_class "*.<GtkTreeView>*"        style "murrine-treeview"
  480.  
  481. widget_class "*<GtkProgress>"          style "murrine-progressbar"
  482. widget_class "*<GtkProgressBar>"       style "murrine-progressbar"
  483.  
  484. # Treeview header
  485. widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
  486. widget_class "*.<GtkCTree>.<GtkButton>"    style "murrine-treeview-header"
  487. widget_class "*.<GtkList>.<GtkButton>"     style "murrine-treeview-header"
  488. widget_class "*.<GtkCList>.<GtkButton>"    style "murrine-treeview-header"
  489.  
  490. # Workarounds for Evolution
  491. widget_class "*.ETable.ECanvas"    style "murrine-treeview-header"
  492. widget_class "*.ETree.ECanvas"    style "murrine-treeview-header"
  493. widget_class "*GtkCTree*"       style "evolution-hack"
  494. widget_class "*GtkList*"        style "evolution-hack"
  495. widget_class "*GtkCList*"       style "evolution-hack"
  496. widget_class "*.ETree.*"        style "evolution-hack"
  497. widget_class "*EInfoLabel*"     style "evolution-hack"
  498.  
  499. # The window of the tooltip is called "gtk-tooltip"
  500. ################################
  501. # FIXME:
  502. # This will not work if one embeds eg. a button into the tooltip.
  503. # As far as I can tell right now we will need to rework the theme
  504. # quite a bit to get this working correctly.
  505. # (It will involve setting different priorities, etc.)
  506. ################################
  507. widget "gtk-tooltip*" style "murrine-tooltips"
  508.  
  509. ###################################################
  510. # SPECIAL CASES AND WORKAROUNDS
  511. ###################################################
  512.  
  513. # Special case the nautilus-extra-view-widget
  514. # ToDo: A more generic approach for all applications that have a widget like this.
  515. widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location"
  516.  
  517. # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
  518. # Note that the work around assumes that the combobox is _not_ in appears-as-list mode.
  519. # This style does not affect GtkComboBoxEntry, it does have an effect on comboboxes in appears-as-list mode though.
  520. style "murrine-text-is-fg-color-workaround"
  521. {
  522.         text[NORMAL]      = @fg_color
  523.         text[PRELIGHT]    = @fg_color
  524.         text[SELECTED]    = @selected_fg_color
  525.         text[ACTIVE]      = @fg_color
  526.         text[INSENSITIVE] = darker (@bg_color)
  527. }
  528. widget_class "*.<GtkComboBox>.<GtkCellView>"   style "murrine-text-is-fg-color-workaround"
  529.  
  530. style "murrine-menuitem-text-is-fg-color-workaround"
  531. {
  532.         text[NORMAL]        = "#E6E6E6"
  533.         text[PRELIGHT]      = @selected_fg_color
  534.         text[SELECTED]      = @selected_fg_color
  535.         text[ACTIVE]        = @fg_color
  536.         text[INSENSITIVE]   = darker (@bg_color)
  537. }
  538. widget "*.gtk-combobox-popup-menu.*"   style "murrine-menuitem-text-is-fg-color-workaround"
  539.  
  540. # Work around the usage of GtkLabel inside GtkListItems to display text.
  541. # This breaks because the label is shown on a background that is based on the base color set.
  542. style "murrine-fg-is-text-color-workaround"
  543. {
  544.         fg[NORMAL]      = @text_color
  545.         fg[PRELIGHT]    = @text_color
  546.         fg[ACTIVE]      = @selected_fg_color
  547.         fg[SELECTED]    = @selected_fg_color
  548.         fg[INSENSITIVE] = darker (@bg_color)
  549. }
  550. widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround"
  551. # The same problem also exists for GtkCList and GtkCTree.
  552. # Only match GtkCList and not the parent widgets, because that would also change the headers.
  553. widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround"
  554. widget_class "*<EelEditableLabel>" style "murrine-fg-is-text-color-workaround"
  555.  
  556. # The answer to the ultimate question of life, the universe, and everything is 42.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top