]>
git.wh0rd.org - tt-rss.git/blob - lib/dijit/themes/claro/Menu.css
c55176d54cafbd2aaee7758a4b9fd58e5cc027ab
3 There are three areas of styling for the Menu:
6 There are three types of menus:
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
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)
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 bacgkround-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
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
32 .claro .dijitMenuBar {
33 border : 1px solid
#b5bcc7 ;
36 background-color : #efefef ;
37 background-image : url
( "images/commonHighlight.png" );
38 background-position : 0 0 ;
39 background-repeat : repeat-x
;
41 .dj_ie6 .claro .dijitMenuBar {
42 background-image : none
;
45 background-repeat : repeat-y
;
46 background-color : #ffffff ;
47 border : 1px solid
#769dc0 ;
48 /* so adjoining borders of MenuBar/ComboBox and Menu overlap, avoiding double border */
52 .dj_ie6 .claro .dijitMenu {
54 /* above -1px makes top/bottom borders disappear on IE6 */
57 .claro .dijitMenuBar .dijitMenuItem {
58 padding : 6px 10px 7px ;
59 background-position : 0 100px ;
63 .claro .dijitMenuItem {
64 background-image : url
( "images/menuHighlight.png" );
65 background-position : 0 - 40px ;
66 background-repeat : repeat-x
;
68 /* this prevents jiggling upon hover of a menu item */
69 .claro .dijitMenuTable {
70 border-collapse : separate
;
74 .claro .dijitMenuItem td {
77 /* hover over a MenuBarItem */
78 .claro .dijitMenuPassive .dijitMenuItemHover, .claro .dijitMenuPassive .dijitMenuItemSelected {
79 background-color : #abd6ff ;
80 border : solid
1px #769dc0 ;
81 background-position : 0 0 ;
85 .claro .dijitMenuPassive .dijitMenuItemActive {
86 background-position : 0 - 177px ;
88 .dj_ie6 .claro .dijitMenuItem, .dj_ie6 .claro .dijitMenuPassive .dijitMenuItem {
89 background-image : none
;
91 /* MenuBarItem that has been selected and menu drops down from it */
92 .claro .dijitMenuActive .dijitMenuItemHover, .claro .dijitMenuActive .dijitMenuItemSelected {
93 border : solid
1px #769dc0 ;
95 background-color : #abd6ff ;
96 background-position : 0 0 ;
99 . dj_ie
. claro
. dijitMenuActive
. dijitMenuItemHover
,
100 . dj_ie
. claro
. dijitMenuActive
. dijitMenuItemSelected
,
101 . dj_ie
. claro
. dijitMenuPassive
. dijitMenuItemHover
,
102 .dj_ie .claro .dijitMenuPassive .dijitMenuItemSelected {
107 .claro .dijitMenuActive .dijitMenuItemActive {
108 background-color : #7dbefa ;
109 background-position : 0 - 177px ;
111 .claro .dijitMenuItemActive {
112 background-position : 0 - 177px ;
114 .claro td.dijitMenuItemIconCell {
118 .claro td.dijitMenuItemLabel {
122 .claro .dijitMenuExpand {
125 background-image : url
( 'images/spriteArrows.png' );
126 background-position : - 14px 0 ;
129 .claro .dijitMenuItemDisabled .dijitMenuItemIconCell {
132 .claro .dijitMenuSeparatorTop {
135 /* prevents spacing above/below separator */
137 border-bottom : 1px solid
#b5bcc7 ;
139 .claro .dijitMenuSeparatorBottom {
143 /* the checked menu item */
144 .claro .dijitCheckedMenuItemIconChar {
147 .claro .dijitCheckedMenuItemIcon {
148 background-image : url
( 'form/images/checkboxRadioButtonStates.png' );
149 background-repeat : no-repeat
;
150 background-position : - 15px 50 %;
154 .dj_ie6 .claro .dijitCheckedMenuItemIcon {
155 background-image : url
( 'form/images/checkboxAndRadioButtons_IE6.png' );
157 .claro .dijitCheckedMenuItemChecked .dijitCheckedMenuItemIcon {
158 background-position : 0 50 %;
161 .claro .dijitComboBoxMenu {
163 background-image : none
;
165 .claro .dijitComboBoxMenu .dijitMenuItem {
167 border-width : 1px 0 1px 0 ;
169 border-color : #ffffff ;
171 .claro .dijitComboBoxMenu .dijitMenuItemSelected {
173 border-color : #769dc0 ;
174 background-color : #abd6ff ;
176 .claro .dijitComboBoxMenuActive .dijitMenuItemSelected {
177 background-position : 0 - 177px ;
178 background-color : #7dbefa ;
179 /* TODO: why is this a different color than normal .dijitMenuItemSelected? */
182 .claro .dijitMenuPreviousButton, .claro .dijitMenuNextButton {