Debian Codegraph @

dijit/themes/claro/Menu.css

raw symbols SCIP
1 /* Menu
2
3 There are three areas of styling for the Menu:
4
5 1. The menu
6 There are three types of menus:
7 i) Context Menu
8 ii) Drop down Menu
9 iii) Navigation Menu
10 All three types of menus are affected by the .dijitMenu class in which you can set the background-color, padding and border
11 .dijitMenu affects the drop down menu in TimeTextBox, Calendar, ComboBox and FilteringSelect
12 .dijitMenuTable - for padding - also affects Select widget
13
14 2. The menu bar
15 .dijitMenuBar - for border, margins, padding, background-color of the menu bar
16 .dijitMenuBar .dijitMenuItem - for padding, text color of menu items in the menu bar (overrides .dijitMenuItem)
17
18 3. Menu items - items in the menu.
19 .dijitMenuItem - for color
20 .dijitMenuItemHover, .dijitMenuItemSelected - for background-color, border, text color, padding of a menu item or menubar item that has been hovered over or selected
21 .dijitMenuItemActive - for background-color of an active (mousedown) menu item
22 td.dijitMenuItemIconCell - for padding around a menu item's icon
23 td.dijitMenuItemLabel - for padding around a menu item's label
24 .dijitMenuSeparatorTop - for border, top border, of the separator
25 .dijitMenuSeparatorBottom - for bottom margin of the separator
26
27 Styles specific to ComboBox and FilteringSelect widgets:
28 .dijitComboBoxMenu .dijitMenuItem - for padding and border of a menu item in a ComboBox or FilteringSelect widget's menu
29 .dijitComboBoxMenu .dijitMenuItemSelected- for text color, background-color and border of a menu item in a ComboBox or FilteringSelect widget's menu
30
31 */
32 .claro .dijitMenuBar {
33 border: 1px solid #b5bcc7;
34 margin: 0;
35 padding: 0;
36 background-color: #efefef;
37 background-image: url("images/standardGradient.png");
38 background-repeat: repeat-x;
39 background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
40 background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
41 background-image: -o-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
42 background-image: linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
43 _background-image: none;
44 }
45 .claro .dijitMenu {
46 background-color: #ffffff;
47 border: 1px solid #759dc0;
48 }
49 .claro .dijitMenuItem {
50 color: #000000;
51 }
52 .claro .dijitMenuBar .dijitMenuItem {
53 padding: 6px 10px 7px;
54 margin: -1px;
55 }
56 .claro .dijitMenuBar .dijitMenuItemHover,
57 .claro .dijitMenuBar .dijitMenuItemSelected {
58 border: solid 1px #759dc0;
59 padding: 5px 9px 6px;
60 }
61 /* this prevents jiggling upon hover of a menu item */
62 .claro .dijitMenuTable {
63 border-collapse: separate;
64 border-spacing: 0 0;
65 padding: 0;
66 }
67 .claro .dijitMenu .dijitMenuItem td,
68 .claro .dijitComboBoxMenu .dijitMenuItem {
69 padding: 2px;
70 border-width: 1px 0 1px 0;
71 border-style: solid;
72 border-color: #ffffff;
73 }
74 /* hover over a MenuItem or MenuBarItem */
75 .claro .dijitMenu .dijitMenuItemHover td,
76 .claro .dijitMenu .dijitMenuItemSelected td,
77 .claro .dijitMenuItemHover,
78 .claro .dijitComboBoxMenu .dijitMenuItemHover,
79 .claro .dijitMenuItemSelected {
80 border-color: #759dc0;
81 background-color: #abd6ff;
82 background-image: url("images/standardGradient.png");
83 background-repeat: repeat-x;
84 background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
85 background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
86 background-image: -o-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
87 background-image: linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
88 _background-image: none;
89 }
90 .claro .dijitMenuItemActive {
91 background-image: url("images/activeGradient.png");
92 background-repeat: repeat-x;
93 background-image: -moz-linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
94 background-image: -webkit-linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
95 background-image: -o-linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
96 background-image: linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
97 _background-image: none;
98 }
99 .dj_ie .claro .dijitMenuActive .dijitMenuItemHover,
100 .dj_ie .claro .dijitMenuActive .dijitMenuItemSelected,
101 .dj_ie .claro .dijitMenuPassive .dijitMenuItemHover,
102 .dj_ie .claro .dijitMenuPassive .dijitMenuItemSelected {
103 padding-top: 6px;
104 padding-bottom: 5px;
105 margin-top: -3px;
106 }
107 .claro td.dijitMenuItemIconCell {
108 padding: 2px;
109 margin: 0 0 0 4px;
110 }
111 .claro td.dijitMenuItemLabel {
112 padding-top: 5px;
113 padding-bottom: 5px;
114 }
115 .claro .dijitMenuExpand {
116 width: 7px;
117 height: 7px;
118 background-image: url("images/spriteArrows.png");
119 background-position: -14px 0;
120 margin-right: 3px;
121 margin-bottom: 4px;
122 }
123 .claro .dijitMenuSeparatorTop {
124 height: auto;
125 margin-top: 1px;
126 /* prevents spacing above/below separator */
127
128 border-bottom: 1px solid #b5bcc7;
129 }
130 .claro .dijitMenuSeparatorBottom {
131 height: auto;
132 margin-bottom: 1px;
133 }
134 /* the checked menu item */
135 .claro .dijitCheckedMenuItem .dijitMenuItemIcon,
136 .claro .dijitRadioMenuItem .dijitMenuItemIcon {
137 background-image: url("form/images/checkboxRadioButtonStates.png");
138 background-repeat: no-repeat;
139 background-position: -15px 50%;
140 /* unchecked checkbox */
141
142 width: 15px;
143 height: 16px;
144 }
145 .dj_ie6 .claro .dijitCheckedMenuItem .dijitMenuItemIcon,
146 .dj_ie6 .claro .dijitRadioMenuItem .dijitMenuItemIcon {
147 background-image: url("form/images/checkboxAndRadioButtons_IE6.png");
148 }
149 .claro .dijitCheckedMenuItemChecked .dijitCheckedMenuItemIcon {
150 background-position: 0 50%;
151 /* checked checkbox */
152
153 }
154 .claro .dijitRadioMenuItem .dijitMenuItemIcon {
155 background-position: -105px 50%;
156 /* unfilled circle */
157
158 }
159 .claro .dijitRadioMenuItemChecked .dijitMenuItemIcon {
160 background-position: -90px 50%;
161 /* filled circle */
162
163 }
164 /*ComboBox Menu*/
165 .claro .dijitComboBoxMenu {
166 margin-left: 0;
167 background-image: none;
168 }
169 .claro .dijitMenu .dijitMenuItemSelected td,
170 .claro .dijitComboBoxMenu .dijitMenuItemSelected {
171 color: #000000;
172 border-color: #759dc0;
173 background-color: #abd6ff;
174 }
175 .claro .dijitComboBoxMenuActive .dijitMenuItemSelected {
176 background-color: #7dbdfa;
177 /* TODO: why is this a different color than normal .dijitMenuItemSelected? */
178
179 }
180 .claro .dijitMenuPreviousButton,
181 .claro .dijitMenuNextButton {
182 font-style: italic;
183 }