Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Side by Side Diff: resources/gtkrc

Issue 4769001: gtk: Improve menu appearance. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/theme.git@master
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 gtk_color_scheme = "fg_color:#000\nbg_color:#F7F7F7\nbase_color:#F7F7F7\ntext_co lor:#000\nselected_bg_color:#000\nselected_fg_color:#000\ntooltip_bg_color:#F7F7 F7\ntooltip_fg_color:#000\n" 1 gtk_color_scheme = "fg_color:#000\nbg_color:#F7F7F7\nbase_color:#F7F7F7\ntext_co lor:#000\nselected_bg_color:#000\nselected_fg_color:#000\ntooltip_bg_color:#F7F7 F7\ntooltip_fg_color:#000\n"
2 2
3 gtk-font-name="ChromeDroidSans 9" 3 gtk-font-name="ChromeDroidSans 9"
4 4
5 # Disable button images. 5 # Disable menu and button icons.
6 gtk-menu-images = 0
6 gtk-button-images = 0 7 gtk-button-images = 0
7 8
8 # Diable mnemonics for labels and menu items. 9 # Diable mnemonics for labels and menu items.
9 gtk-enable-mnemonics = 0 10 gtk-enable-mnemonics = 0
10 11
11 # Disable the "Input Methods" sub menu in context menus. 12 # Disable the "Input Methods" sub menu in context menus.
12 gtk-show-input-method-menu = 0 13 gtk-show-input-method-menu = 0
13 14
14 # Disable the "Insert Unicode Control Character" sub menu in context menus. 15 # Disable the "Insert Unicode Control Character" sub menu in context menus.
15 gtk-show-unicode-menu = 0 16 gtk-show-unicode-menu = 0
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 # Tweak the width of scrollbars slightly. This results in an overall width of 74 # Tweak the width of scrollbars slightly. This results in an overall width of
74 # 15 vs 16 stock. 75 # 15 vs 16 stock.
75 GtkScrollbar::slider-width = 13 76 GtkScrollbar::slider-width = 13
76 77
77 # Give more padding to buttons (default is 1, 1, 1, 1). 78 # Give more padding to buttons (default is 1, 1, 1, 1).
78 GtkButton::inner-border = { 5, 5, 1, 1 } 79 GtkButton::inner-border = { 5, 5, 1, 1 }
79 80
80 # Turn off extra menu vertical padding 81 # Turn off extra menu vertical padding
81 GtkMenu::vertical-padding = 0 82 GtkMenu::vertical-padding = 0
82 83
84 # Cut down horizontal padding on menu items since we're not using icons.
85 GtkMenuItem::horizontal-padding = 0
86 GtkMenuItem::toggle-spacing = 0
87
83 engine "theme" { } 88 engine "theme" { }
84 } 89 }
85 90
86 style "NotebookStyle" = "default" { 91 style "NotebookStyle" = "default" {
87 # How much tabs shift when selected is dictated by the xthickness. Ideally we 92 # How much tabs shift when selected is dictated by the xthickness. Ideally we
88 # would set this to 0 as we don't want a shift, but this is also used for the 93 # would set this to 0 as we don't want a shift, but this is also used for the
89 # padding around the children of the tab, so that if we set the thickenss to 94 # padding around the children of the tab, so that if we set the thickenss to
90 # 0 there is no padding around the children of the tab and they draw over the 95 # 0 there is no padding around the children of the tab and they draw over the
91 # border. 96 # border.
92 xthickness = 1 97 xthickness = 1
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 widget "*.chromeos-options-tab" style "WhiteBackgroundStyle" 147 widget "*.chromeos-options-tab" style "WhiteBackgroundStyle"
143 148
144 widget "*.chromeos-options-tab*.GtkEventBox" style "WhiteBackgroundStyle" 149 widget "*.chromeos-options-tab*.GtkEventBox" style "WhiteBackgroundStyle"
145 150
146 # GTK+ hardcodes Ctrl-/ to select all text, just like Ctrl-A. Unbind it 151 # GTK+ hardcodes Ctrl-/ to select all text, just like Ctrl-A. Unbind it
147 # here so we can bind it ourselves to do something else in Chrome. 152 # here so we can bind it ourselves to do something else in Chrome.
148 binding "UnbindControlSlash" { 153 binding "UnbindControlSlash" {
149 unbind "<Control>slash" 154 unbind "<Control>slash"
150 } 155 }
151 class "*" binding "UnbindControlSlash" 156 class "*" binding "UnbindControlSlash"
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698