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

Side by Side Diff: src/platform/theme/resources/gtkrc

Issue 2089018: Menu theme tuning. (Closed) Base URL: ssh://git@chromiumos-git//chromeos
Patch Set: Created 10 years, 7 months 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
« no previous file with comments | « no previous file | src/platform/theme/theme_draw.cc » ('j') | 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="DroidSans 9" 3 gtk-font-name="DroidSans 9"
4 4
5 # Disable button images. 5 # Disable button images.
6 gtk-button-images = 0 6 gtk-button-images = 0
7 7
8 # Diable mnemonics for labels and menu items. 8 # Diable mnemonics for labels and menu items.
9 gtk-enable-mnemonics = 0 9 gtk-enable-mnemonics = 0
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 GtkHScale::slider-width = 16 65 GtkHScale::slider-width = 16
66 66
67 # Tweak the width of scrollbars slightly. This results in an overall width of 67 # Tweak the width of scrollbars slightly. This results in an overall width of
68 # 15 vs 16 stock. 68 # 15 vs 16 stock.
69 GtkScrollbar::slider-width = 13 69 GtkScrollbar::slider-width = 13
70 70
71 # Give more padding to buttons (default is 1, 1, 1, 1). 71 # Give more padding to buttons (default is 1, 1, 1, 1).
72 GtkButton::inner-border = { 5, 5, 1, 1 } 72 GtkButton::inner-border = { 5, 5, 1, 1 }
73 73
74 # Turn off extra menu vertical padding
75 GtkMenu::vertical-padding = 0
76
74 engine "theme" { } 77 engine "theme" { }
75 } 78 }
76 79
77 style "NotebookStyle" = "default" { 80 style "NotebookStyle" = "default" {
78 # How much tabs shift when selected is dictated by the xthickness. Ideally we 81 # How much tabs shift when selected is dictated by the xthickness. Ideally we
79 # would set this to 0 as we don't want a shift, but this is also used for the 82 # would set this to 0 as we don't want a shift, but this is also used for the
80 # padding around the children of the tab, so that if we set the thickenss to 83 # padding around the children of the tab, so that if we set the thickenss to
81 # 0 there is no padding around the children of the tab and they draw over the 84 # 0 there is no padding around the children of the tab and they draw over the
82 # border. 85 # border.
83 xthickness = 1 86 xthickness = 1
84 ythickness = 1 87 ythickness = 1
85 88
86 # This gives an extra border around each tab (notebook page) so that we can 89 # This gives an extra border around each tab (notebook page) so that we can
87 # draw the border in. We have to do this as we set the x/ythickness to 1. 90 # draw the border in. We have to do this as we set the x/ythickness to 1.
88 GtkNotebook::focus-line-width = 1 91 GtkNotebook::focus-line-width = 1
89 92
90 # We don't want tabs to overlap. 93 # We don't want tabs to overlap.
91 GtkNotebook::tab_overlap = 0 94 GtkNotebook::tab_overlap = 0
92 95
93 # Padding for tabs. 96 # Padding for tabs.
94 GtkNotebook::tab-curvature = 10 97 GtkNotebook::tab-curvature = 10
95 } 98 }
96 99
97 style "WhiteBackgroundStyle" = "default" {
98 bg[NORMAL] = "#FFF"
99 bg[PRELIGHT] = "#FFF"
100 bg[SELECTED] = "#FFF"
101 bg[INSENSITIVE] = "#FFF"
102 bg[ACTIVE] = "#FFF"
103 }
104
105 style "TextStyle" = "default" { 100 style "TextStyle" = "default" {
106 base[SELECTED] = "#DCE4FA" 101 base[SELECTED] = "#DCE4FA"
107 } 102 }
108 103
109 style "TooltipStyle" = "default" { 104 style "TooltipStyle" = "default" {
110 # Padding to allow a rounded rect border. 105 # Padding to allow a rounded rect border.
111 xthickness = 10 106 xthickness = 10
112 107
113 # Padding to give more space at top and bottom. 108 # Padding to give more space at top and bottom.
114 ythickness = 6 109 ythickness = 6
115 110
116 # Yellowish background. 111 # Yellowish background.
117 bg[NORMAL] = "#FFF9E3" 112 bg[NORMAL] = "#FFF9E3"
118 113
119 # Give tooltips a slightly smaller font. 114 # Give tooltips a slightly smaller font.
120 font_name = "DroidSans 8" 115 font_name = "DroidSans 8"
121 } 116 }
122 117
118 style "WhiteBackgroundStyle" = "default" {
119 bg[NORMAL] = "#FFF"
120 bg[PRELIGHT] = "#FFF"
121 bg[SELECTED] = "#FFF"
122 bg[INSENSITIVE] = "#FFF"
123 bg[ACTIVE] = "#FFF"
124 }
125
123 class "*" style "default" 126 class "*" style "default"
124 127
125 class "GtkNotebook" style "NotebookStyle" 128 class "GtkNotebook" style "NotebookStyle"
126 129
127 class "GtkEntry" style "TextStyle" 130 class "GtkEntry" style "TextStyle"
128 131
129 class "GtkViewsEntry" style "TextStyle" 132 class "GtkViewsEntry" style "TextStyle"
130 133
131 class "GtkTextView" style "TextStyle" 134 class "GtkTextView" style "TextStyle"
132 135
133 widget "gtk-tooltip*" style "TooltipStyle" 136 widget "gtk-tooltip*" style "TooltipStyle"
134 137
135 widget "*.chromeos-options-tab" style "WhiteBackgroundStyle" 138 widget "*.chromeos-options-tab" style "WhiteBackgroundStyle"
136 139
137 widget "*.chromeos-options-tab*.GtkEventBox" style "WhiteBackgroundStyle" 140 widget "*.chromeos-options-tab*.GtkEventBox" style "WhiteBackgroundStyle"
OLDNEW
« no previous file with comments | « no previous file | src/platform/theme/theme_draw.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698