Debian Codegraph @

dijit/themes/dijit.css

raw symbols SCIP
1 /*
2 Essential styles that themes can inherit.
3 In other words, works but doesn't look great.
4 */
5
6
7
8 /****
9 GENERIC PIECES
10 ****/
11
12 .dijitReset {
13 /* Use this style to null out padding, margin, border in your template elements
14 so that page specific styles don't break them.
15 - Use in all TABLE, TR and TD tags.
16 */
17 margin:0;
18 border:0;
19 padding:0;
20 font: inherit;
21 line-height:normal;
22 color: inherit;
23 }
24 .dj_a11y .dijitReset {
25 -moz-appearance: none; /* remove predefined high-contrast styling in Firefox */
26 }
27
28 .dijitInline {
29 /* To inline block elements.
30 Similar to InlineBox below, but this has fewer side-effects in Moz.
31 Also, apparently works on a DIV as well as a FIELDSET.
32 */
33 display:inline-block; /* webkit and FF3 */
34 #zoom: 1; /* set hasLayout:true to mimic inline-block */
35 #display:inline; /* don't use .dj_ie since that increases the priority */
36 border:0;
37 padding:0;
38 vertical-align:middle;
39 #vertical-align: auto; /* makes TextBox,Button line up w/native counterparts on IE6 */
40 }
41
42 table.dijitInline {
43 /* To inline tables with a given width set */
44 display:inline-table;
45 box-sizing: content-box; -moz-box-sizing: content-box;
46 }
47
48 .dijitHidden {
49 /* To hide unselected panes in StackContainer etc. */
50 position: absolute; /* remove from normal document flow to simulate display: none */
51 visibility: hidden; /* hide element from view, but don't break scrolling, see #18612 */
52 }
53 .dijitHidden * {
54 visibility: hidden !important; /* hide visibility:visible descendants of class=dijitHidden nodes, see #18799 */
55 }
56
57 .dijitVisible {
58 /* To show selected pane in StackContainer etc. */
59 display: block !important; /* override user's display:none setting via style setting or indirectly via class */
60 position: relative; /* to support setting width/height, see #2033 */
61 visibility: visible;
62 }
63
64 .dj_ie6 .dijitComboBox .dijitInputContainer,
65 .dijitInputContainer {
66 /* for positioning of placeHolder */
67 #zoom: 1;
68 overflow: hidden;
69 float: none !important; /* needed to squeeze the INPUT in */
70 position: relative;
71 }
72 .dj_ie7 .dijitInputContainer {
73 float: left !important; /* needed by IE to squeeze the INPUT in */
74 clear: left;
75 display: inline-block !important; /* to fix wrong text alignment in textdir=rtl text box */
76 }
77
78 .dj_ie .dijitSelect input,
79 .dj_ie input.dijitTextBox,
80 .dj_ie .dijitTextBox input {
81 font-size: 100%;
82 }
83 .dijitSelect .dijitButtonText {
84 float: left;
85 vertical-align: top;
86 }
87 TABLE.dijitSelect {
88 padding: 0 !important; /* messes up border alignment */
89 border-collapse: separate; /* so jsfiddle works with Normalized CSS checked */
90 }
91 .dijitTextBox .dijitSpinnerButtonContainer,
92 .dijitTextBox .dijitArrowButtonContainer,
93 .dijitValidationTextBox .dijitValidationContainer {
94 float: right;
95 text-align: center;
96 }
97 .dijitSelect input.dijitInputField,
98 .dijitTextBox input.dijitInputField {
99 /* override unreasonable user styling of buttons and icons */
100 padding-left: 0 !important;
101 padding-right: 0 !important;
102 }
103 .dijitValidationTextBox .dijitValidationContainer {
104 display: none;
105 }
106
107 .dijitTeeny {
108 font-size:1px;
109 line-height:1px;
110 }
111
112 .dijitOffScreen { /* these class attributes should supersede any inline positioning style */
113 position: absolute !important;
114 left: -10000px !important;
115 top: -10000px !important;
116 }
117
118 /*
119 * Popup items have a wrapper div (dijitPopup)
120 * with the real popup inside, and maybe an iframe too
121 */
122 .dijitPopup {
123 position: absolute;
124 background-color: transparent;
125 margin: 0;
126 border: 0;
127 padding: 0;
128 -webkit-overflow-scrolling: touch;
129 }
130
131 .dijitPositionOnly {
132 /* Null out all position-related properties */
133 padding: 0 !important;
134 border: 0 !important;
135 background-color: transparent !important;
136 background-image: none !important;
137 height: auto !important;
138 width: auto !important;
139 }
140
141 .dijitNonPositionOnly {
142 /* Null position-related properties */
143 float: none !important;
144 position: static !important;
145 margin: 0 0 0 0 !important;
146 vertical-align: middle !important;
147 }
148
149 .dijitBackgroundIframe {
150 /* iframe used to prevent problems with PDF or other applets overlaying menus etc */
151 position: absolute;
152 left: 0;
153 top: 0;
154 width: 100%;
155 height: 100%;
156 z-index: -1;
157 border: 0;
158 padding: 0;
159 margin: 0;
160 }
161
162 .dijitDisplayNone {
163 /* hide something. Use this as a class rather than element.style so another class can override */
164 display:none !important;
165 }
166
167 .dijitContainer {
168 /* for all layout containers */
169 overflow: hidden; /* need on IE so something can be reduced in size, and so scrollbars aren't temporarily displayed when resizing */
170 }
171
172 /****
173 A11Y
174 ****/
175 .dj_a11y .dijitIcon,
176 .dj_a11y div.dijitArrowButtonInner, /* is this only for Spinner? if so, it should be deleted */
177 .dj_a11y span.dijitArrowButtonInner,
178 .dj_a11y img.dijitArrowButtonInner,
179 .dj_a11y .dijitCalendarIncrementControl,
180 .dj_a11y .dijitTreeExpando {
181 /* hide icon nodes in high contrast mode; when necessary they will be replaced by character equivalents
182 * exception for input.dijitArrowButtonInner, because the icon and character are controlled by the same node */
183 display: none;
184 }
185 .dijitSpinner div.dijitArrowButtonInner {
186 display: block; /* override previous rule */
187 }
188
189 .dj_a11y .dijitA11ySideArrow {
190 display: inline !important; /* display text instead */
191 cursor: pointer;
192 }
193
194 /*
195 * Since we can't use shading in a11y mode, and since the underline indicates today's date,
196 * use a border to show the selected date.
197 * Avoid screen jitter when switching selected date by compensating for the selected node's
198 * border w/padding on other nodes.
199 */
200 .dj_a11y .dijitCalendarDateLabel {
201 padding: 1px;
202 border: 0px !important;
203 }
204 .dj_a11y .dijitCalendarSelectedDate .dijitCalendarDateLabel {
205 border-style: solid !important;
206 border-width: 1px !important;
207 padding: 0;
208 }
209 .dj_a11y .dijitCalendarDateTemplate {
210 padding-bottom: 0.1em !important; /* otherwise bottom border doesn't appear on IE */
211 border: 0px !important;
212 }
213 .dj_a11y .dijitButtonNode {
214 border: black outset medium !important;
215
216 /* In claro, hovering a toolbar button reduces padding and adds a border.
217 * Not needed in a11y mode since Toolbar buttons always have a border.
218 */
219 padding: 0 !important;
220 }
221 .dj_a11y .dijitArrowButton {
222 padding: 0 !important;
223 }
224
225 .dj_a11y .dijitButtonContents {
226 margin: 0.15em; /* Margin needed to make focus outline visible */
227 }
228
229 .dj_a11y .dijitTextBoxReadOnly .dijitInputField,
230 .dj_a11y .dijitTextBoxReadOnly .dijitButtonNode {
231 border-style: outset!important;
232 border-width: medium!important;
233 border-color: #999 !important;
234 color:#999 !important;
235 }
236
237 /* button inner contents - labels, icons etc. */
238 .dijitButtonNode * {
239 vertical-align: middle;
240 }
241 .dijitSelect .dijitArrowButtonInner,
242 .dijitButtonNode .dijitArrowButtonInner {
243 /* the arrow icon node */
244 background: no-repeat center;
245 width: 12px;
246 height: 12px;
247 direction: ltr; /* needed by IE/RTL */
248 }
249
250 /****
251 3-element borders: ( dijitLeft + dijitStretch + dijitRight )
252 These were added for rounded corners on dijit.form.*Button but never actually used.
253 ****/
254
255 .dijitLeft {
256 /* Left part of a 3-element border */
257 background-position:left top;
258 background-repeat:no-repeat;
259 }
260
261 .dijitStretch {
262 /* Middle (stretchy) part of a 3-element border */
263 white-space:nowrap; /* MOW: move somewhere else */
264 background-repeat:repeat-x;
265 }
266
267 .dijitRight {
268 /* Right part of a 3-element border */
269 #display:inline; /* IE7 sizes to outer size w/o this */
270 background-position:right top;
271 background-repeat:no-repeat;
272 }
273
274 /* Buttons */
275 .dj_gecko .dj_a11y .dijitButtonDisabled .dijitButtonNode {
276 opacity: 0.5;
277 }
278
279 .dijitToggleButton,
280 .dijitButton,
281 .dijitDropDownButton,
282 .dijitComboButton {
283 /* outside of button */
284 margin: 0.2em;
285 vertical-align: middle;
286 }
287
288 .dijitButtonContents {
289 display: block; /* to make focus border rectangular */
290 }
291 td.dijitButtonContents {
292 display: table-cell; /* but don't affect Select, ComboButton */
293 }
294
295 .dijitButtonNode img {
296 /* make text and images line up cleanly */
297 vertical-align:middle;
298 /*margin-bottom:.2em;*/
299 }
300
301 .dijitToolbar .dijitComboButton {
302 /* because Toolbar only draws a border around the hovered thing */
303 border-collapse: separate;
304 }
305
306 .dijitToolbar .dijitToggleButton,
307 .dijitToolbar .dijitButton,
308 .dijitToolbar .dijitDropDownButton,
309 .dijitToolbar .dijitComboButton {
310 margin: 0;
311 }
312
313 .dijitToolbar .dijitButtonContents {
314 /* just because it used to be this way */
315 padding: 1px 2px;
316 }
317
318
319 .dj_webkit .dijitToolbar .dijitDropDownButton {
320 padding-left: 0.3em;
321 }
322 .dj_gecko .dijitToolbar .dijitButtonNode::-moz-focus-inner {
323 padding:0;
324 }
325
326 .dijitSelect {
327 border:1px solid gray;
328 }
329 .dijitButtonNode {
330 /* Node that is acting as a button -- may or may not be a BUTTON element */
331 border:1px solid gray;
332 margin:0;
333 line-height:normal;
334 vertical-align: middle;
335 #vertical-align: auto;
336 text-align:center;
337 white-space: nowrap;
338 }
339 .dj_webkit .dijitSpinner .dijitSpinnerButtonContainer {
340 /* apparent WebKit bug where messing with the font coupled with line-height:normal X 2 (dijitReset & dijitButtonNode)
341 can be different than just a single line-height:normal, visible in InlineEditBox/Spinner */
342 line-height:inherit;
343 }
344 .dijitTextBox .dijitButtonNode {
345 border-width: 0;
346 }
347
348 .dijitSelect,
349 .dijitSelect *,
350 .dijitButtonNode,
351 .dijitButtonNode * {
352 cursor: pointer;
353 -webkit-tap-highlight-color: transparent;
354 }
355
356 .dj_ie .dijitButtonNode {
357 /* ensure hasLayout */
358 zoom: 1;
359 }
360
361 .dj_ie .dijitButtonNode button {
362 /*
363 disgusting hack to get rid of spurious padding around button elements
364 on IE. MSIE is truly the web's boat anchor.
365 */
366 overflow: visible;
367 }
368
369 div.dijitArrowButton {
370 float: right;
371 }
372
373 /******
374 TextBox related.
375 Everything that has an <input>
376 *******/
377
378 .dijitTextBox {
379 border: solid black 1px;
380 #overflow: hidden; /* #6027, #6067 */
381 width: 15em; /* need to set default size on outer node since inner nodes say <input style="width:100%"> and <td width=100%>. user can override */
382 vertical-align: middle;
383 }
384
385 .dijitTextBoxReadOnly,
386 .dijitTextBoxDisabled {
387 color: gray;
388 }
389 .dj_safari .dijitTextBoxDisabled input {
390 color: #B0B0B0; /* because Safari lightens disabled input/textarea no matter what color you specify */
391 }
392 .dj_safari textarea.dijitTextAreaDisabled {
393 color: #333; /* because Safari lightens disabled input/textarea no matter what color you specify */
394 }
395 .dj_gecko .dijitTextBoxReadOnly input.dijitInputField, /* disable arrow and validation presentation inputs but allow real input for text selection */
396 .dj_gecko .dijitTextBoxDisabled input {
397 -moz-user-input: none; /* prevent focus of disabled textbox buttons */
398 }
399
400 .dijitPlaceHolder {
401 /* hint text that appears in a textbox until user starts typing */
402 color: #AAAAAA;
403 font-style: italic;
404 position: absolute;
405 top: 0;
406 left: 0;
407 #filter: ""; /* make this show up in IE6 after the rendering of the widget */
408 white-space: nowrap;
409 pointer-events: none; /* so cut/paste context menu shows up when right clicking */
410 }
411
412 .dijitTimeTextBox {
413 width: 8em;
414 }
415
416 /* rules for webkit to deal with fuzzy blue focus border */
417 .dijitTextBox input:focus {
418 outline: none; /* blue fuzzy line looks wrong on combobox or something w/validation icon showing */
419 }
420 .dijitTextBoxFocused {
421 outline: 5px -webkit-focus-ring-color;
422 }
423
424 .dijitSelect input,
425 .dijitTextBox input {
426 float: left; /* needed by IE to remove secret margin */
427 }
428 .dj_ie6 input.dijitTextBox,
429 .dj_ie6 .dijitTextBox input {
430 float: none;
431 }
432 .dijitInputInner {
433 /* for when an <input> is embedded inside an inline-block <div> with a size and border */
434 border:0 !important;
435 background-color:transparent !important;
436 width:100% !important;
437 /* IE dislikes horizontal tweaking combined with width:100% so punish everyone for consistency */
438 padding-left: 0 !important;
439 padding-right: 0 !important;
440 margin-left: 0 !important;
441 margin-right: 0 !important;
442 }
443 .dj_a11y .dijitTextBox input {
444 margin: 0 !important;
445 }
446 .dijitValidationTextBoxError input.dijitValidationInner,
447 .dijitSelect input,
448 .dijitTextBox input.dijitArrowButtonInner {
449 /* <input> used to display arrow icon/validation icon, or in arrow character in high contrast mode.
450 * The css below is a trick to hide the character in non-high-contrast mode
451 */
452 text-indent: -2em !important;
453 direction: ltr !important;
454 text-align: left !important;
455 height: auto !important;
456 #text-indent: 0 !important;
457 #letter-spacing: -5em !important;
458 #text-align: right !important;
459 }
460 .dj_ie .dijitSelect input,
461 .dj_ie .dijitTextBox input,
462 .dj_ie input.dijitTextBox {
463 overflow-y: visible; /* inputs need help expanding when padding is added or line-height is adjusted */
464 line-height: normal; /* strict mode */
465 }
466 .dijitSelect .dijitSelectLabel span {
467 line-height: 100%;
468 }
469 .dj_ie .dijitSelect .dijitSelectLabel {
470 line-height: normal;
471 }
472 .dj_ie6 .dijitSelect .dijitSelectLabel,
473 .dj_ie7 .dijitSelect .dijitSelectLabel,
474 .dj_ie8 .dijitSelect .dijitSelectLabel,
475 .dj_iequirks .dijitSelect .dijitSelectLabel,
476 .dijitSelect td,
477 .dj_ie6 .dijitSelect input,
478 .dj_iequirks .dijitSelect input,
479 .dj_ie6 .dijitSelect .dijitValidationContainer,
480 .dj_ie6 .dijitTextBox input,
481 .dj_ie6 input.dijitTextBox,
482 .dj_iequirks .dijitTextBox input.dijitValidationInner,
483 .dj_iequirks .dijitTextBox input.dijitArrowButtonInner,
484 .dj_iequirks .dijitTextBox input.dijitSpinnerButtonInner,
485 .dj_iequirks .dijitTextBox input.dijitInputInner,
486 .dj_iequirks input.dijitTextBox {
487 line-height: 100%; /* IE7 problem where the icon is vertically way too low w/o this */
488 }
489 .dj_a11y input.dijitValidationInner,
490 .dj_a11y input.dijitArrowButtonInner {
491 /* (in high contrast mode) revert rules from above so character displays */
492 text-indent: 0 !important;
493 width: 1em !important;
494 #text-align: left !important;
495 color: black !important;
496 }
497 .dijitValidationTextBoxError .dijitValidationContainer {
498 display: inline;
499 cursor: default;
500 }
501
502 /* ComboBox & Spinner */
503
504 .dijitSpinner .dijitSpinnerButtonContainer,
505 .dijitComboBox .dijitArrowButtonContainer {
506 /* dividing line between input area and up/down button(s) for ComboBox and Spinner */
507 border-width: 0 0 0 1px !important; /* !important needed due to wayward ".theme .dijitButtonNode" rules */
508 }
509 .dj_a11y .dijitSelect .dijitArrowButtonContainer,
510 .dijitToolbar .dijitComboBox .dijitArrowButtonContainer {
511 /* overrides above rule plus mirror-image rule in dijit_rtl.css to have no divider when ComboBox in Toolbar */
512 border-width: 0 !important;
513 }
514
515 .dijitComboBoxMenu {
516 /* Drop down menu is implemented as <ul> <li/> <li/> ... but we don't want circles before each item */
517 list-style-type: none;
518 }
519 .dijitSpinner .dijitSpinnerButtonContainer .dijitButtonNode {
520 /* dividing line between input area and up/down button(s) for ComboBox and Spinner */
521 border-width: 0;
522 }
523 .dj_ie .dj_a11y .dijitSpinner .dijitSpinnerButtonContainer .dijitButtonNode {
524 clear: both; /* IE workaround */
525 }
526
527 .dj_ie .dijitToolbar .dijitComboBox {
528 /* make combobox buttons align properly with other buttons in a toolbar */
529 vertical-align: middle;
530 }
531
532 /* Spinner */
533
534 .dijitTextBox .dijitSpinnerButtonContainer {
535 width: 1em;
536 position: relative !important;
537 overflow: hidden;
538 }
539 .dijitSpinner .dijitSpinnerButtonInner {
540 width:1em;
541 visibility:hidden !important; /* just a sizing element */
542 overflow-x:hidden;
543 }
544 .dijitComboBox .dijitButtonNode,
545 .dijitSpinnerButtonContainer .dijitButtonNode {
546 border-width: 0;
547 }
548 .dj_a11y .dijitSpinnerButtonContainer .dijitButtonNode {
549 border-width: 0px !important;
550 border-style: solid !important;
551 }
552 .dj_a11y .dijitTextBox .dijitSpinnerButtonContainer,
553 .dj_a11y .dijitSpinner .dijitArrowButtonInner,
554 .dj_a11y .dijitSpinnerButtonContainer input {
555 width: 1em !important;
556 }
557 .dj_a11y .dijitSpinner .dijitArrowButtonInner {
558 margin: 0 auto !important; /* should auto-center */
559 }
560 .dj_ie .dj_a11y .dijitSpinner .dijitArrowButtonInner .dijitInputField {
561 padding-left: 0.3em !important;
562 padding-right: 0.3em !important;
563 margin-left: 0.3em !important;
564 margin-right: 0.3em !important;
565 width: 1.4em !important;
566 }
567 .dj_ie7 .dj_a11y .dijitSpinner .dijitArrowButtonInner .dijitInputField {
568 padding-left: 0 !important; /* manually center INPUT: character is .5em and total width = 1em */
569 padding-right: 0 !important;
570 width: 1em !important;
571 }
572 .dj_ie6 .dj_a11y .dijitSpinner .dijitArrowButtonInner .dijitInputField {
573 margin-left: 0.1em !important;
574 margin-right: 0.1em !important;
575 width: 1em !important;
576 }
577 .dj_iequirks .dj_a11y .dijitSpinner .dijitArrowButtonInner .dijitInputField {
578 margin-left: 0 !important;
579 margin-right: 0 !important;
580 width: 2em !important;
581 }
582 .dijitSpinner .dijitSpinnerButtonContainer .dijitArrowButton {
583 /* note: .dijitInputLayoutContainer makes this rule override .dijitArrowButton settings
584 * for dijit.form.Button
585 */
586 padding: 0;
587 position: absolute !important;
588 right: 0;
589 float: none;
590 height: 50%;
591 width: 100%;
592 bottom: auto;
593 left: 0;
594 right: auto;
595 }
596 .dj_iequirks .dijitSpinner .dijitSpinnerButtonContainer .dijitArrowButton {
597 width: auto;
598 }
599 .dj_a11y .dijitSpinnerButtonContainer .dijitArrowButton {
600 overflow: visible !important;
601 }
602 .dijitSpinner .dijitSpinnerButtonContainer .dijitDownArrowButton {
603 top: 50%;
604 border-top-width: 1px !important;
605 }
606 .dijitSpinner .dijitSpinnerButtonContainer .dijitUpArrowButton {
607 #bottom: 50%; /* otherwise (on some machines) top arrow icon too close to splitter border (IE6/7) */
608 top: 0;
609 }
610 .dijitSpinner .dijitArrowButtonInner {
611 margin: auto;
612 overflow-x: hidden;
613 height: 100% !important;
614 }
615 .dj_iequirks .dijitSpinner .dijitArrowButtonInner {
616 height: auto !important;
617 }
618 .dijitSpinner .dijitArrowButtonInner .dijitInputField {
619 -moz-transform: scale(0.5);
620 -moz-transform-origin: center top;
621 -webkit-transform: scale(0.5);
622 -webkit-transform-origin: center top;
623 -o-transform: scale(0.5);
624 -o-transform-origin: center top;
625 transform: scale(0.5);
626 transform-origin: left top;
627 padding-top: 0;
628 padding-bottom: 0;
629 padding-left: 0 !important;
630 padding-right: 0 !important;
631 width: 100%;
632 visibility: hidden;
633 }
634 .dj_ie .dijitSpinner .dijitArrowButtonInner .dijitInputField {
635 zoom: 50%; /* emulate transform: scale(0.5) */
636 }
637 .dijitSpinner .dijitSpinnerButtonContainer .dijitArrowButtonInner {
638 overflow: hidden;
639 }
640
641 .dj_a11y .dijitSpinner .dijitSpinnerButtonContainer .dijitArrowButton {
642 width: 100%;
643 }
644 .dj_iequirks .dj_a11y .dijitSpinner .dijitSpinnerButtonContainer .dijitArrowButton {
645 width: 1em; /* matches .dj_a11y .dijitTextBox .dijitSpinnerButtonContainer rule - 100% is the whole screen width in quirks */
646 }
647 .dj_a11y .dijitSpinner .dijitArrowButtonInner .dijitInputField {
648 vertical-align:top;
649 visibility: visible;
650 }
651 .dj_a11y .dijitSpinnerButtonContainer {
652 width: 1em;
653 }
654
655 /****
656 dijit.form.CheckBox
657 &
658 dijit.form.RadioButton
659 ****/
660
661 .dijitCheckBox,
662 .dijitRadio,
663 .dijitCheckBoxInput {
664 padding: 0;
665 border: 0;
666 width: 16px;
667 height: 16px;
668 background-position:center center;
669 background-repeat:no-repeat;
670 overflow: hidden;
671 }
672
673 .dijitCheckBox input,
674 .dijitRadio input {
675 margin: 0;
676 padding: 0;
677 display: block;
678 }
679
680 .dijitCheckBoxInput {
681 /* place the actual input on top, but invisible */
682 opacity: 0;
683 }
684
685 .dj_ie .dijitCheckBoxInput {
686 filter: alpha(opacity=0);
687 }
688
689 .dj_a11y .dijitCheckBox,
690 .dj_a11y .dijitRadio {
691 /* in a11y mode we display the native checkbox (not the icon), so don't restrict the size */
692 width: auto !important;
693 height: auto !important;
694 }
695 .dj_a11y .dijitCheckBoxInput {
696 opacity: 1;
697 filter: none;
698 width: auto;
699 height: auto;
700 }
701
702 .dj_a11y .dijitFocusedLabel {
703 /* for checkboxes or radio buttons in high contrast mode, use border rather than outline to indicate focus (outline does not work in FF)*/
704 border: 1px dotted;
705 outline: 0px !important;
706 }
707
708 /****
709 dijit.ProgressBar
710 ****/
711
712 .dijitProgressBar {
713 z-index: 0; /* so z-index settings below have no effect outside of the ProgressBar */
714 }
715 .dijitProgressBarEmpty {
716 /* outer container and background of the bar that's not finished yet*/
717 position:relative;overflow:hidden;
718 border:1px solid black; /* a11y: border necessary for high-contrast mode */
719 z-index:0; /* establish a stacking context for this progress bar */
720 }
721
722 .dijitProgressBarFull {
723 /* outer container for background of bar that is finished */
724 position:absolute;
725 overflow:hidden;
726 z-index:-1;
727 top:0;
728 width:100%;
729 }
730 .dj_ie6 .dijitProgressBarFull {
731 height:1.6em;
732 }
733
734 .dijitProgressBarTile {
735 /* inner container for finished portion */
736 position:absolute;
737 overflow:hidden;
738 top:0;
739 left:0;
740 bottom:0;
741 right:0;
742 margin:0;
743 padding:0;
744 width: 100%; /* needed for IE/quirks */
745 height:auto;
746 background-color:#aaa;
747 background-attachment: fixed;
748 }
749
750 .dj_a11y .dijitProgressBarTile {
751 /* a11y: The border provides visibility in high-contrast mode */
752 border-width:2px;
753 border-style:solid;
754 background-color:transparent !important;
755 }
756
757 .dj_ie6 .dijitProgressBarTile {
758 /* width:auto works in IE6 with position:static but not position:absolute */
759 position:static;
760 /* height:auto or 100% does not work in IE6 */
761 height:1.6em;
762 }
763
764 .dijitProgressBarIndeterminate .dijitProgressBarTile {
765 /* animated gif for 'indeterminate' mode */
766 }
767
768 .dijitProgressBarIndeterminateHighContrastImage {
769 display:none;
770 }
771
772 .dj_a11y .dijitProgressBarIndeterminate .dijitProgressBarIndeterminateHighContrastImage {
773 display:block;
774 position:absolute;
775 top:0;
776 bottom:0;
777 margin:0;
778 padding:0;
779 width:100%;
780 height:auto;
781 }
782
783 .dijitProgressBarLabel {
784 display:block;
785 position:static;
786 width:100%;
787 text-align:center;
788 background-color:transparent !important;
789 }
790
791 /****
792 dijit.Tooltip
793 ****/
794
795 .dijitTooltip {
796 position: absolute;
797 z-index: 2000;
798 display: block;
799 /* make visible but off screen */
800 left: 0;
801 top: -10000px;
802 overflow: visible;
803 }
804
805 .dijitTooltipContainer {
806 border: solid black 2px;
807 background: #b8b5b5;
808 color: black;
809 font-size: small;
810 }
811
812 .dijitTooltipFocusNode {
813 padding: 2px 2px 2px 2px;
814 }
815
816 .dijitTooltipConnector {
817 position: absolute;
818 }
819 .dj_a11y .dijitTooltipConnector {
820 display: none; /* won't show b/c it's background-image; hide to avoid border gap */
821 }
822
823 .dijitTooltipData {
824 display:none;
825 }
826
827 /* Layout widgets. This is essential CSS to make layout work (it isn't "styling" CSS)
828 make sure that the position:absolute in dijitAlign* overrides other classes */
829
830 .dijitLayoutContainer {
831 position: relative;
832 display: block;
833 overflow: hidden;
834 }
835
836 .dijitAlignTop,
837 .dijitAlignBottom,
838 .dijitAlignLeft,
839 .dijitAlignRight {
840 position: absolute;
841 overflow: hidden;
842 }
843
844 body .dijitAlignClient { position: absolute; }
845
846 /*
847 * BorderContainer
848 *
849 * .dijitBorderContainer is a stylized layout where panes have border and margin.
850 * .dijitBorderContainerNoGutter is a raw layout.
851 */
852 .dijitBorderContainer, .dijitBorderContainerNoGutter {
853 position:relative;
854 overflow: hidden;
855 z-index: 0; /* so z-index settings below have no effect outside of the BorderContainer */
856 }
857
858 .dijitBorderContainerPane,
859 .dijitBorderContainerNoGutterPane {
860 position: absolute !important; /* !important to override position:relative in dijitTabContainer etc. */
861 z-index: 2; /* above the splitters so that off-by-one browser errors don't cover up border of pane */
862 }
863
864 .dijitBorderContainer > .dijitTextArea {
865 /* On Safari, for SimpleTextArea inside a BorderContainer,
866 don't want to display the grip to resize */
867 resize: none;
868 }
869
870 .dijitGutter {
871 /* gutter is just a place holder for empty space between panes in BorderContainer */
872 position: absolute;
873 font-size: 1px; /* needed by IE6 even though div is empty, otherwise goes to 15px */
874 }
875
876 /* SplitContainer
877
878 'V' == container that splits vertically (up/down)
879 'H' = horizontal (left/right)
880 */
881
882 .dijitSplitter {
883 position: absolute;
884 overflow: hidden;
885 z-index: 10; /* above the panes so that splitter focus is visible on FF, see #7583*/
886 background-color: #fff;
887 border-color: gray;
888 border-style: solid;
889 border-width: 0;
890 }
891 .dj_ie .dijitSplitter {
892 z-index: 1; /* behind the panes so that pane borders aren't obscured see test_Gui.html/[14392] */
893 }
894
895 .dijitSplitterActive {
896 z-index: 11 !important;
897 }
898
899 .dijitSplitterCover {
900 position:absolute;
901 z-index:-1;
902 top:0;
903 left:0;
904 width:100%;
905 height:100%;
906 }
907
908 .dijitSplitterCoverActive {
909 z-index:3 !important;
910 }
911
912 /* #6945: stop mouse events */
913 .dj_ie .dijitSplitterCover {
914 background: white;
915 opacity: 0;
916 }
917 .dj_ie6 .dijitSplitterCover,
918 .dj_ie7 .dijitSplitterCover,
919 .dj_ie8 .dijitSplitterCover {
920 filter: alpha(opacity=0);
921 }
922
923 .dijitSplitterH {
924 height: 7px;
925 border-top:1px;
926 border-bottom:1px;
927 cursor: row-resize;
928 -webkit-tap-highlight-color: transparent;
929 }
930 .dijitSplitterV {
931 width: 7px;
932 border-left:1px;
933 border-right:1px;
934 cursor: col-resize;
935 -webkit-tap-highlight-color: transparent;
936 }
937 .dijitSplitContainer {
938 position: relative;
939 overflow: hidden;
940 display: block;
941 }
942
943 .dijitSplitPane {
944 position: absolute;
945 }
946
947 .dijitSplitContainerSizerH,
948 .dijitSplitContainerSizerV {
949 position:absolute;
950 font-size: 1px;
951 background-color: ThreeDFace;
952 border: 1px solid;
953 border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
954 margin: 0;
955 }
956
957 .dijitSplitContainerSizerH .thumb, .dijitSplitterV .dijitSplitterThumb {
958 overflow:hidden;
959 position:absolute;
960 top:49%;
961 }
962
963 .dijitSplitContainerSizerV .thumb, .dijitSplitterH .dijitSplitterThumb {
964 position:absolute;
965 left:49%;
966 }
967
968 .dijitSplitterShadow,
969 .dijitSplitContainerVirtualSizerH,
970 .dijitSplitContainerVirtualSizerV {
971 font-size: 1px;
972 background-color: ThreeDShadow;
973 -moz-opacity: 0.5;
974 opacity: 0.5;
975 filter: Alpha(Opacity=50);
976 margin: 0;
977 }
978
979 .dijitSplitContainerSizerH, .dijitSplitContainerVirtualSizerH {
980 cursor: col-resize;
981 }
982
983 .dijitSplitContainerSizerV, .dijitSplitContainerVirtualSizerV {
984 cursor: row-resize;
985 }
986
987 .dj_a11y .dijitSplitterH {
988 border-top:1px solid #d3d3d3 !important;
989 border-bottom:1px solid #d3d3d3 !important;
990 }
991 .dj_a11y .dijitSplitterV {
992 border-left:1px solid #d3d3d3 !important;
993 border-right:1px solid #d3d3d3 !important;
994 }
995
996 /* ContentPane */
997
998 .dijitContentPane {
999 display: block;
1000 overflow: auto; /* if we don't have this (or overflow:hidden), then Widget.resizeTo() doesn't make sense for ContentPane */
1001 -webkit-overflow-scrolling: touch;
1002 }
1003
1004 .dijitContentPaneSingleChild {
1005 /*
1006 * if the ContentPane holds a single layout widget child which is being sized to match the content pane,
1007 * then the ContentPane should never get a scrollbar (but it does due to browser bugs, see #9449
1008 */
1009 overflow: hidden;
1010 }
1011
1012 .dijitContentPaneLoading .dijitIconLoading,
1013 .dijitContentPaneError .dijitIconError {
1014 margin-right: 9px;
1015 }
1016
1017 /* TitlePane and Fieldset */
1018
1019 .dijitTitlePane {
1020 display: block;
1021 overflow: hidden;
1022 }
1023 .dijitFieldset {
1024 border: 1px solid gray;
1025 }
1026 .dijitTitlePaneTitle, .dijitFieldsetTitle {
1027 cursor: pointer;
1028 -webkit-tap-highlight-color: transparent;
1029 }
1030 .dijitTitlePaneTitleFixedOpen, .dijitTitlePaneTitleFixedClosed,
1031 .dijitFieldsetTitleFixedOpen, .dijitFieldsetTitleFixedClosed {
1032 /* TitlePane or Fieldset that cannot be toggled */
1033 cursor: default;
1034 }
1035 .dijitTitlePaneTitle * {
1036 vertical-align: middle;
1037 }
1038 .dijitTitlePane .dijitArrowNodeInner, .dijitFieldset .dijitArrowNodeInner {
1039 /* normally, hide arrow text in favor of icon */
1040 display: none;
1041 }
1042 .dj_a11y .dijitTitlePane .dijitArrowNodeInner, .dj_a11y .dijitFieldset .dijitArrowNodeInner {
1043 /* ... except in a11y mode, then show text arrow */
1044 display: inline;
1045 font-family: monospace; /* because - and + are different widths */
1046 }
1047 .dj_a11y .dijitTitlePane .dijitArrowNode, .dj_a11y .dijitFieldset .dijitArrowNode {
1048 /* ... and hide icon (TODO: just point dijitIcon class on the icon, and it hides automatically) */
1049 display: none;
1050 }
1051 .dijitTitlePaneTitleFixedOpen .dijitArrowNode, .dijitTitlePaneTitleFixedOpen .dijitArrowNodeInner,
1052 .dijitTitlePaneTitleFixedClosed .dijitArrowNode, .dijitTitlePaneTitleFixedClosed .dijitArrowNodeInner,
1053 .dijitFieldsetTitleFixedOpen .dijitArrowNode, .dijitFieldsetTitleFixedOpen .dijitArrowNodeInner,
1054 .dijitFieldsetTitleFixedClosed .dijitArrowNode, .dijitFieldsetTitleFixedClosed .dijitArrowNodeInner {
1055 /* don't show the open close icon or text arrow; it makes the user think the pane is closable */
1056 display: none !important; /* !important to override above a11y rules to show text arrow */
1057 }
1058
1059 .dj_ie6 .dijitTitlePaneContentOuter,
1060 .dj_ie6 .dijitTitlePane .dijitTitlePaneTitle {
1061 /* force hasLayout to ensure borders etc, show up */
1062 zoom: 1;
1063 }
1064
1065 /* Color Palette
1066 * Sizes designed so that table cell positions match icons in underlying image,
1067 * which appear at 20x20 intervals.
1068 */
1069
1070 .dijitColorPalette {
1071 border: 1px solid #999;
1072 background: #fff;
1073 position: relative;
1074 }
1075
1076 .dijitColorPalette .dijitPaletteTable {
1077 /* Table that holds the palette cells, and overlays image file with color swatches.
1078 * padding/margin to align table with image.
1079 */
1080 padding: 2px 3px 3px 3px;
1081 position: relative;
1082 overflow: hidden;
1083 outline: 0;
1084 border-collapse: separate;
1085 }
1086 .dj_ie6 .dijitColorPalette .dijitPaletteTable,
1087 .dj_ie7 .dijitColorPalette .dijitPaletteTable,
1088 .dj_iequirks .dijitColorPalette .dijitPaletteTable {
1089 /* using padding above so that focus border isn't cutoff on moz/webkit,
1090 * but using margin on IE because padding doesn't seem to work
1091 */
1092 padding: 0;
1093 margin: 2px 3px 3px 3px;
1094 }
1095
1096 .dijitColorPalette .dijitPaletteCell {
1097 /* <td> in the <table> */
1098 font-size: 1px;
1099 vertical-align: middle;
1100 text-align: center;
1101 background: none;
1102 }
1103 .dijitColorPalette .dijitPaletteImg {
1104 /* Called dijitPaletteImg for back-compat, this actually wraps the color swatch with a border and padding */
1105 padding: 1px; /* white area between gray border and color swatch */
1106 border: 1px solid #999;
1107 margin: 2px 1px;
1108 cursor: default;
1109 font-size: 1px; /* prevent <span> from getting bigger just to hold a character */
1110 }
1111 .dj_gecko .dijitColorPalette .dijitPaletteImg {
1112 padding-bottom: 0; /* workaround rendering glitch on FF, it adds an extra pixel at the bottom */
1113 }
1114 .dijitColorPalette .dijitColorPaletteSwatch {
1115 /* the actual part where the color is */
1116 width: 14px;
1117 height: 12px;
1118 }
1119 .dijitPaletteTable td {
1120 padding: 0;
1121 }
1122 .dijitColorPalette .dijitPaletteCell:hover .dijitPaletteImg {
1123 /* hovered color swatch */
1124 border: 1px solid #000;
1125 }
1126
1127 .dijitColorPalette .dijitPaletteCell:active .dijitPaletteImg,
1128 .dijitColorPalette .dijitPaletteTable .dijitPaletteCellSelected .dijitPaletteImg {
1129 border: 2px solid #000;
1130 margin: 1px 0; /* reduce margin to compensate for increased border */
1131 }
1132
1133
1134 .dj_a11y .dijitColorPalette .dijitPaletteTable,
1135 .dj_a11y .dijitColorPalette .dijitPaletteTable * {
1136 /* table cells are to catch events, but the swatches are in the PaletteImg behind the table */
1137 background-color: transparent !important;
1138 }
1139
1140 /* AccordionContainer */
1141
1142 .dijitAccordionContainer {
1143 border:1px solid #b7b7b7;
1144 border-top:0 !important;
1145 }
1146 .dijitAccordionTitle {
1147 cursor: pointer;
1148 -webkit-tap-highlight-color: transparent;
1149 }
1150 .dijitAccordionTitleSelected {
1151 cursor: default;
1152 }
1153
1154 /* images off, high-contrast mode styles */
1155 .dijitAccordionTitle .arrowTextUp,
1156 .dijitAccordionTitle .arrowTextDown {
1157 display: none;
1158 font-size: 0.65em;
1159 font-weight: normal !important;
1160 }
1161
1162 .dj_a11y .dijitAccordionTitle .arrowTextUp,
1163 .dj_a11y .dijitAccordionTitleSelected .arrowTextDown {
1164 display: inline;
1165 }
1166
1167 .dj_a11y .dijitAccordionTitleSelected .arrowTextUp {
1168 display: none;
1169 }
1170
1171 .dijitAccordionChildWrapper {
1172 /* this is the node whose height is adjusted */
1173 overflow: hidden;
1174 }
1175
1176 /* Calendar */
1177
1178 .dijitCalendarContainer table {
1179 width: auto; /* in case user has specified a width for the TABLE nodes, see #10553 */
1180 clear: both; /* clear margin created for left/right month arrows; needed on IE10 for CalendarLite */
1181 }
1182 .dijitCalendarContainer th, .dijitCalendarContainer td {
1183 padding: 0;
1184 vertical-align: middle;
1185 }
1186
1187 .dijitCalendarMonthContainer {
1188 text-align: center;
1189 }
1190 .dijitCalendarDecrementArrow {
1191 float: left;
1192 }
1193 .dijitCalendarIncrementArrow {
1194 float: right;
1195 }
1196
1197 .dijitCalendarYearLabel {
1198 white-space: nowrap; /* make sure previous, current, and next year appear on same row */
1199 }
1200
1201 .dijitCalendarNextYear {
1202 margin:0 0 0 0.55em;
1203 }
1204
1205 .dijitCalendarPreviousYear {
1206 margin:0 0.55em 0 0;
1207 }
1208
1209 .dijitCalendarIncrementControl {
1210 vertical-align: middle;
1211 }
1212
1213 .dijitCalendarIncrementControl,
1214 .dijitCalendarDateTemplate,
1215 .dijitCalendarMonthLabel,
1216 .dijitCalendarPreviousYear,
1217 .dijitCalendarNextYear {
1218 cursor: pointer;
1219 -webkit-tap-highlight-color: transparent;
1220 }
1221
1222 .dijitCalendarDisabledDate {
1223 color: gray;
1224 text-decoration: line-through;
1225 cursor: default;
1226 }
1227
1228 .dijitSpacer {
1229 /* don't display it, but make it affect the width */
1230 position: relative;
1231 height: 1px;
1232 overflow: hidden;
1233 visibility: hidden;
1234 }
1235
1236 /* Styling for month drop down list */
1237
1238 .dijitCalendarMonthMenu .dijitCalendarMonthLabel {
1239 text-align:center;
1240 }
1241
1242 /* Menu */
1243
1244 .dijitMenu {
1245 border:1px solid black;
1246 background-color:white;
1247 }
1248 .dijitMenuTable {
1249 border-collapse:collapse;
1250 border-width:0;
1251 background-color:white;
1252 }
1253
1254 /* workaround for webkit bug #8427, remove this when it is fixed upstream */
1255 .dj_webkit .dijitMenuTable td[colspan="2"]{
1256 border-right:hidden;
1257 }
1258
1259 .dijitMenuItem {
1260 text-align: left;
1261 white-space: nowrap;
1262 padding:.1em .2em;
1263 cursor:pointer;
1264 -webkit-tap-highlight-color: transparent;
1265 }
1266
1267 /*
1268 No need to show a focus border since it's obvious from the shading, and there's a .dj_a11y .dijitMenuItemSelected
1269 rule below that handles the high contrast case when there's no shading.
1270 Hiding the focus border also works around webkit bug https://code.google.com/p/chromium/issues/detail?id=125779.
1271 */
1272 .dijitMenuItem:focus {
1273 outline: none
1274 }
1275
1276 .dijitMenuPassive .dijitMenuItemHover,
1277 .dijitMenuItemSelected {
1278 /*
1279 * dijitMenuItemHover refers to actual mouse over
1280 * dijitMenuItemSelected is used after a menu has been "activated" by
1281 * clicking it, tabbing into it, or being opened from a parent menu,
1282 * and denotes that the menu item has focus or that focus is on a child
1283 * menu
1284 */
1285 background-color:black;
1286 color:white;
1287 }
1288
1289 .dijitMenuItemIcon, .dijitMenuExpand {
1290 background-repeat: no-repeat;
1291 }
1292
1293 .dijitMenuItemDisabled * {
1294 /* for a disabled menu item, just set it to mostly transparent */
1295 opacity:0.5;
1296 cursor:default;
1297 }
1298 .dj_ie .dj_a11y .dijitMenuItemDisabled,
1299 .dj_ie .dj_a11y .dijitMenuItemDisabled *,
1300 .dj_ie .dijitMenuItemDisabled * {
1301 color: gray;
1302 filter: alpha(opacity=35);
1303 }
1304
1305 .dijitMenuItemLabel {
1306 vertical-align: middle;
1307 }
1308
1309 .dj_a11y .dijitMenuItemSelected {
1310 border: 1px dotted black !important; /* for 2.0 use outline instead, to prevent jitter */
1311 }
1312
1313 .dj_a11y .dijitMenuItemSelected .dijitMenuItemLabel {
1314 border-width: 1px;
1315 border-style: solid;
1316 }
1317 .dj_ie8 .dj_a11y .dijitMenuItemLabel {
1318 position:static;
1319 }
1320
1321 .dijitMenuExpandA11y {
1322 display: none;
1323 }
1324 .dj_a11y .dijitMenuExpandA11y {
1325 display: inline;
1326 }
1327
1328 .dijitMenuSeparator td {
1329 border: 0;
1330 padding: 0;
1331 }
1332
1333 /* separator can be two pixels -- set border of either one to 0 to have only one */
1334 .dijitMenuSeparatorTop {
1335 height: 50%;
1336 margin: 0;
1337 margin-top:3px;
1338 font-size: 1px;
1339 }
1340
1341 .dijitMenuSeparatorBottom {
1342 height: 50%;
1343 margin: 0;
1344 margin-bottom:3px;
1345 font-size: 1px;
1346 }
1347
1348 /* CheckedMenuItem and RadioMenuItem */
1349 .dijitMenuItemIconChar {
1350 display: none; /* don't display except in high contrast mode */
1351 visibility: hidden; /* for high contrast mode when menuitem is unchecked: leave space for when it is checked */
1352 }
1353 .dj_a11y .dijitMenuItemIconChar {
1354 display: inline; /* display character in high contrast mode, since icon doesn't show */
1355 }
1356 .dijitCheckedMenuItemChecked .dijitMenuItemIconChar,
1357 .dijitRadioMenuItemChecked .dijitMenuItemIconChar {
1358 visibility: visible; /* menuitem is checked */
1359 }
1360 .dj_ie .dj_a11y .dijitMenuBar .dijitMenuItem {
1361 /* so bottom border of MenuBar appears on IE7 in high-contrast mode */
1362 margin: 0;
1363 }
1364
1365 /* StackContainer */
1366
1367 .dijitStackController .dijitToggleButtonChecked * {
1368 cursor: default; /* because pressing it has no effect */
1369 }
1370
1371 /***
1372 TabContainer
1373
1374 Main class hierarchy:
1375
1376 .dijitTabContainer - the whole TabContainer
1377 .dijitTabController / .dijitTabListContainer-top - wrapper for tab buttons, scroll buttons
1378 .dijitTabListWrapper / .dijitTabContainerTopStrip - outer wrapper for tab buttons (normal width)
1379 .nowrapTabStrip / .dijitTabContainerTop-tabs - inner wrapper for tab buttons (50K width)
1380 .dijitTabPaneWrapper - wrapper for content panes, has all borders except the one between content and tabs
1381 ***/
1382
1383 .dijitTabContainer {
1384 z-index: 0; /* so z-index settings below have no effect outside of the TabContainer */
1385 overflow: visible; /* prevent off-by-one-pixel errors from hiding bottom border (opposite tab labels) */
1386 }
1387 .dj_ie6 .dijitTabContainer {
1388 /* workaround IE6 problem when tall content overflows TabContainer, see editor/test_FullScreen.html */
1389 overflow: hidden;
1390
1391 }
1392 .dijitTabContainerNoLayout {
1393 width: 100%; /* otherwise ScrollingTabController goes to 50K pixels wide */
1394 }
1395
1396 .dijitTabContainerBottom-tabs,
1397 .dijitTabContainerTop-tabs,
1398 .dijitTabContainerLeft-tabs,
1399 .dijitTabContainerRight-tabs {
1400 z-index: 1;
1401 overflow: visible !important; /* so tabs can cover up border adjacent to container */
1402 }
1403
1404 .dijitTabController {
1405 z-index: 1;
1406 }
1407 .dijitTabContainerBottom-container,
1408 .dijitTabContainerTop-container,
1409 .dijitTabContainerLeft-container,
1410 .dijitTabContainerRight-container {
1411 z-index:0;
1412 overflow: hidden;
1413 border: 1px solid black;
1414 }
1415 .nowrapTabStrip {
1416 width: 50000px;
1417 display: block;
1418 position: relative;
1419 text-align: left; /* just in case ancestor has non-standard setting */
1420 z-index: 1;
1421 }
1422 .dijitTabListWrapper {
1423 overflow: hidden;
1424 z-index: 1;
1425 }
1426
1427 .dj_a11y .tabStripButton img {
1428 /* hide the icons (or rather the empty space where they normally appear) because text will appear instead */
1429 display: none;
1430 }
1431
1432 .dijitTabContainerTop-tabs {
1433 border-bottom: 1px solid black;
1434 }
1435 .dijitTabContainerTop-container {
1436 border-top: 0;
1437 }
1438
1439 .dijitTabContainerLeft-tabs {
1440 border-right: 1px solid black;
1441 float: left; /* needed for IE7 RTL mode */
1442 }
1443 .dijitTabContainerLeft-container {
1444 border-left: 0;
1445 }
1446
1447 .dijitTabContainerBottom-tabs {
1448 border-top: 1px solid black;
1449 }
1450 .dijitTabContainerBottom-container {
1451 border-bottom: 0;
1452 }
1453
1454 .dijitTabContainerRight-tabs {
1455 border-left: 1px solid black;
1456 float: left; /* needed for IE7 RTL mode */
1457 }
1458 .dijitTabContainerRight-container {
1459 border-right: 0;
1460 }
1461
1462 div.dijitTabDisabled, .dj_ie div.dijitTabDisabled {
1463 cursor: auto;
1464 }
1465
1466 .dijitTab {
1467 position:relative;
1468 cursor:pointer;
1469 -webkit-tap-highlight-color: transparent;
1470 white-space:nowrap;
1471 z-index:3;
1472 }
1473 .dijitTab * {
1474 /* make tab icons and close icon line up w/text */
1475 vertical-align: middle;
1476 }
1477 .dijitTabChecked {
1478 cursor: default; /* because clicking will have no effect */
1479 }
1480
1481 .dijitTabContainerTop-tabs .dijitTab {
1482 top: 1px; /* to overlap border on .dijitTabContainerTop-tabs */
1483 }
1484 .dijitTabContainerBottom-tabs .dijitTab {
1485 top: -1px; /* to overlap border on .dijitTabContainerBottom-tabs */
1486 }
1487 .dijitTabContainerLeft-tabs .dijitTab {
1488 left: 1px; /* to overlap border on .dijitTabContainerLeft-tabs */
1489 }
1490 .dijitTabContainerRight-tabs .dijitTab {
1491 left: -1px; /* to overlap border on .dijitTabContainerRight-tabs */
1492 }
1493
1494
1495 .dijitTabContainerTop-tabs .dijitTab,
1496 .dijitTabContainerBottom-tabs .dijitTab {
1497 /* Inline-block */
1498 display:inline-block; /* webkit and FF3 */
1499 #zoom: 1; /* set hasLayout:true to mimic inline-block */
1500 #display:inline; /* don't use .dj_ie since that increases the priority */
1501 }
1502
1503 .tabStripButton {
1504 z-index: 12;
1505 }
1506
1507 .dijitTabButtonDisabled .tabStripButton {
1508 display: none;
1509 }
1510
1511
1512 .dijitTabCloseButton {
1513 margin-left: 1em;
1514 }
1515
1516 .dijitTabCloseText {
1517 display:none;
1518 }
1519
1520 .dijitTab .tabLabel {
1521 /* make sure tabs w/close button and w/out close button are same height, even w/small (<15px) font.
1522 * assumes <=15px height for close button icon.
1523 */
1524 min-height: 15px;
1525 display: inline-block;
1526 }
1527 .dijitNoIcon {
1528 /* applied to <img>/<span> node when there is no icon specified */
1529 display: none;
1530 }
1531 .dj_ie6 .dijitTab .dijitNoIcon {
1532 /* because min-height (on .tabLabel, above) doesn't work on IE6 */
1533 display: inline;
1534 height: 15px;
1535 width: 1px;
1536 }
1537
1538 /* images off, high-contrast mode styles */
1539
1540 .dj_a11y .dijitTabCloseButton {
1541 background-image: none !important;
1542 width: auto !important;
1543 height: auto !important;
1544 }
1545
1546 .dj_a11y .dijitTabCloseText {
1547 display: inline;
1548 }
1549
1550 .dijitTabPane,
1551 .dijitStackContainer-child,
1552 .dijitAccordionContainer-child {
1553 /* children of TabContainer, StackContainer, and AccordionContainer shouldn't have borders
1554 * b/c a border is already there from the TabContainer/StackContainer/AccordionContainer itself.
1555 */
1556 border: none !important;
1557 }
1558
1559 /* InlineEditBox */
1560 .dijitInlineEditBoxDisplayMode {
1561 border: 1px solid transparent; /* so keyline (border) on hover can appear without screen jump */
1562 cursor: text;
1563 }
1564
1565 .dj_a11y .dijitInlineEditBoxDisplayMode,
1566 .dj_ie6 .dijitInlineEditBoxDisplayMode {
1567 /* except that IE6 doesn't support transparent borders, nor does high contrast mode */
1568 border: none;
1569 }
1570
1571 .dijitInlineEditBoxDisplayModeHover,
1572 .dj_a11y .dijitInlineEditBoxDisplayModeHover,
1573 .dj_ie6 .dijitInlineEditBoxDisplayModeHover {
1574 /* An InlineEditBox in view mode (click this to edit the text) */
1575 background-color: #e2ebf2;
1576 border: solid 1px black;
1577 }
1578
1579 .dijitInlineEditBoxDisplayModeDisabled {
1580 cursor: default;
1581 }
1582
1583 /* Tree */
1584 .dijitTree {
1585 overflow: auto; /* for scrollbars when Tree has a height setting, and to prevent wrapping around float elements, see #11491 */
1586 -webkit-tap-highlight-color: transparent;
1587 -moz-user-select: none;
1588 }
1589
1590 .dijitTreeContainer {
1591 float: left; /* for correct highlighting during horizontal scroll, see #16132 */
1592 }
1593
1594 .dijitTreeIndent {
1595 /* amount to indent each tree node (relative to parent node) */
1596 width: 19px;
1597 }
1598
1599 .dijitTreeRow, .dijitTreeContent {
1600 white-space: nowrap;
1601 }
1602
1603 .dj_ie .dijitTreeLabel:focus {
1604 /* workaround IE9 behavior where down arrowing through TreeNodes doesn't show focus outline */
1605 outline: 1px dotted black;
1606 }
1607
1608 .dijitTreeRow img {
1609 /* make the expando and folder icons line up with the label */
1610 vertical-align: middle;
1611 }
1612
1613 .dijitTreeContent {
1614 cursor: default;
1615 }
1616
1617 .dijitExpandoText {
1618 display: none;
1619 }
1620
1621 .dj_a11y .dijitExpandoText {
1622 display: inline;
1623 padding-left: 10px;
1624 padding-right: 10px;
1625 font-family: monospace;
1626 border-style: solid;
1627 border-width: thin;
1628 cursor: pointer;
1629 }
1630
1631 .dijitTreeLabel {
1632 margin: 0 4px;
1633 }
1634
1635 /* Dialog */
1636
1637 .dijitDialog {
1638 position: absolute;
1639 z-index: 999;
1640 overflow: hidden; /* override overflow: auto; from ContentPane to make dragging smoother */
1641 }
1642
1643 .dijitDialogTitleBar {
1644 cursor: move;
1645 }
1646 .dijitDialogFixed .dijitDialogTitleBar {
1647 cursor:default;
1648 }
1649 .dijitDialogCloseIcon {
1650 cursor: pointer;
1651 -webkit-tap-highlight-color: transparent;
1652 }
1653 .dijitDialogPaneContent {
1654 -webkit-overflow-scrolling: touch;
1655 }
1656 .dijitDialogUnderlayWrapper {
1657 position: absolute;
1658 left: 0;
1659 top: 0;
1660 z-index: 998;
1661 display: none;
1662 background: transparent !important;
1663 }
1664
1665 .dijitDialogUnderlay {
1666 background: #eee;
1667 opacity: 0.5;
1668 }
1669
1670 .dj_ie .dijitDialogUnderlay {
1671 filter: alpha(opacity=50);
1672 }
1673
1674 /* images off, high-contrast mode styles */
1675 .dj_a11y .dijitSpinnerButtonContainer,
1676 .dj_a11y .dijitDialog {
1677 opacity: 1 !important;
1678 background-color: white !important;
1679 }
1680
1681 .dijitDialog .closeText {
1682 display:none;
1683 /* for the onhover border in high contrast on IE: */
1684 position:absolute;
1685 }
1686
1687 .dj_a11y .dijitDialog .closeText {
1688 display:inline;
1689 }
1690
1691 /* Slider */
1692
1693 .dijitSliderMoveable {
1694 z-index:99;
1695 position:absolute !important;
1696 display:block;
1697 vertical-align:middle;
1698 }
1699
1700 .dijitSliderMoveableH {
1701 right:0;
1702 }
1703 .dijitSliderMoveableV {
1704 right:50%;
1705 }
1706
1707 .dj_a11y div.dijitSliderImageHandle,
1708 .dijitSliderImageHandle {
1709 margin:0;
1710 padding:0;
1711 position:relative !important;
1712 border:8px solid gray;
1713 width:0;
1714 height:0;
1715 cursor: pointer;
1716 -webkit-tap-highlight-color: transparent;
1717 }
1718 .dj_iequirks .dj_a11y .dijitSliderImageHandle {
1719 font-size: 0;
1720 }
1721 .dj_ie7 .dijitSliderImageHandle {
1722 overflow: hidden; /* IE7 workaround to make slider handle VISIBLE in non-a11y mode */
1723 }
1724 .dj_ie7 .dj_a11y .dijitSliderImageHandle {
1725 overflow: visible; /* IE7 workaround to make slider handle VISIBLE in a11y mode */
1726 }
1727 .dj_a11y .dijitSliderFocused .dijitSliderImageHandle {
1728 border:4px solid #000;
1729 height:8px;
1730 width:8px;
1731 }
1732
1733 .dijitSliderImageHandleV {
1734 top:-8px;
1735 right: -50%;
1736 }
1737
1738 .dijitSliderImageHandleH {
1739 left:50%;
1740 top:-5px;
1741 vertical-align:top;
1742 }
1743
1744 .dijitSliderBar {
1745 border-style:solid;
1746 border-color:black;
1747 cursor: pointer;
1748 -webkit-tap-highlight-color: transparent;
1749 }
1750
1751 .dijitSliderBarContainerV {
1752 position:relative;
1753 height:100%;
1754 z-index:1;
1755 }
1756
1757 .dijitSliderBarContainerH {
1758 position:relative;
1759 z-index:1;
1760 }
1761
1762 .dijitSliderBarH {
1763 height:4px;
1764 border-width:1px 0;
1765 }
1766
1767 .dijitSliderBarV {
1768 width:4px;
1769 border-width:0 1px;
1770 }
1771
1772 .dijitSliderProgressBar {
1773 background-color:red;
1774 z-index:1;
1775 }
1776
1777 .dijitSliderProgressBarV {
1778 position:static !important;
1779 height:0;
1780 vertical-align:top;
1781 text-align:left;
1782 }
1783
1784 .dijitSliderProgressBarH {
1785 position:absolute !important;
1786 width:0;
1787 vertical-align:middle;
1788 overflow:visible;
1789 }
1790
1791 .dijitSliderRemainingBar {
1792 overflow:hidden;
1793 background-color:transparent;
1794 z-index:1;
1795 }
1796
1797 .dijitSliderRemainingBarV {
1798 height:100%;
1799 text-align:left;
1800 }
1801
1802 .dijitSliderRemainingBarH {
1803 width:100% !important;
1804 }
1805
1806 /* the slider bumper is the space consumed by the slider handle when it hangs over an edge */
1807 .dijitSliderBumper {
1808 overflow:hidden;
1809 z-index:1;
1810 }
1811
1812 .dijitSliderBumperV {
1813 width:4px;
1814 height:8px;
1815 border-width:0 1px;
1816 }
1817
1818 .dijitSliderBumperH {
1819 width:8px;
1820 height:4px;
1821 border-width:1px 0;
1822 }
1823
1824 .dijitSliderBottomBumper,
1825 .dijitSliderLeftBumper {
1826 background-color:red;
1827 }
1828
1829 .dijitSliderTopBumper,
1830 .dijitSliderRightBumper {
1831 background-color:transparent;
1832 }
1833
1834 .dijitSliderDecoration {
1835 text-align:center;
1836 }
1837
1838 .dijitSliderDecorationC,
1839 .dijitSliderDecorationV {
1840 position: relative; /* needed for IE+quirks+RTL+vertical (rendering bug) but add everywhere for custom styling consistency but this messes up IE horizontal sliders */
1841 }
1842
1843 .dijitSliderDecorationH {
1844 width: 100%;
1845 }
1846
1847 .dijitSliderDecorationV {
1848 height: 100%;
1849 white-space: nowrap;
1850 }
1851
1852 .dijitSliderButton {
1853 font-family:monospace;
1854 margin:0;
1855 padding:0;
1856 display:block;
1857 }
1858
1859 .dj_a11y .dijitSliderButtonInner {
1860 visibility:visible !important;
1861 }
1862
1863 .dijitSliderButtonContainer {
1864 text-align:center;
1865 height:0; /* ??? */
1866 }
1867 .dijitSliderButtonContainer * {
1868 cursor: pointer;
1869 -webkit-tap-highlight-color: transparent;
1870 }
1871
1872 .dijitSlider .dijitButtonNode {
1873 padding:0;
1874 display:block;
1875 }
1876
1877 .dijitRuleContainer {
1878 position:relative;
1879 overflow:visible;
1880 }
1881
1882 .dijitRuleContainerV {
1883 height:100%;
1884 line-height:0;
1885 float:left;
1886 text-align:left;
1887 }
1888
1889 .dj_opera .dijitRuleContainerV {
1890 line-height:2%;
1891 }
1892
1893 .dj_ie .dijitRuleContainerV {
1894 line-height:normal;
1895 }
1896
1897 .dj_gecko .dijitRuleContainerV {
1898 margin:0 0 1px 0; /* mozilla bug workaround for float:left,height:100% block elements */
1899 }
1900
1901 .dijitRuleMark {
1902 position:absolute;
1903 border:1px solid black;
1904 line-height:0;
1905 height:100%;
1906 }
1907
1908 .dijitRuleMarkH {
1909 width:0;
1910 border-top-width:0 !important;
1911 border-bottom-width:0 !important;
1912 border-left-width:0 !important;
1913 }
1914
1915 .dijitRuleLabelContainer {
1916 position:absolute;
1917 }
1918
1919 .dijitRuleLabelContainerH {
1920 text-align:center;
1921 display:inline-block;
1922 }
1923
1924 .dijitRuleLabelH {
1925 position:relative;
1926 left:-50%;
1927 }
1928
1929 .dijitRuleLabelV {
1930 /* so that long labels don't overflow to multiple rows, or overwrite slider itself */
1931 text-overflow: ellipsis;
1932 white-space: nowrap;
1933 overflow: hidden;
1934 }
1935
1936 .dijitRuleMarkV {
1937 height:0;
1938 border-right-width:0 !important;
1939 border-bottom-width:0 !important;
1940 border-left-width:0 !important;
1941 width:100%;
1942 left:0;
1943 }
1944
1945 .dj_ie .dijitRuleLabelContainerV {
1946 margin-top:-.55em;
1947 }
1948
1949 .dj_a11y .dijitSliderReadOnly,
1950 .dj_a11y .dijitSliderDisabled {
1951 opacity:0.6;
1952 }
1953 .dj_ie .dj_a11y .dijitSliderReadOnly .dijitSliderBar,
1954 .dj_ie .dj_a11y .dijitSliderDisabled .dijitSliderBar {
1955 filter: alpha(opacity=40);
1956 }
1957
1958 /* + and - Slider buttons: override theme settings to display icons */
1959 .dj_a11y .dijitSlider .dijitSliderButtonContainer div {
1960 font-family: monospace; /* otherwise hyphen is larger and more vertically centered */
1961 font-size: 1em;
1962 line-height: 1em;
1963 height: auto;
1964 width: auto;
1965 margin: 0 4px;
1966 }
1967
1968 /* Icon-only buttons (often in toolbars) still display the text in high-contrast mode */
1969 .dj_a11y .dijitButtonContents .dijitButtonText,
1970 .dj_a11y .dijitTab .tabLabel {
1971 display: inline !important;
1972 }
1973 .dj_a11y .dijitSelect .dijitButtonText {
1974 display: inline-block !important;
1975 }
1976
1977 /* TextArea, SimpleTextArea */
1978 .dijitTextArea {
1979 width:100%;
1980 overflow-y: auto; /* w/out this IE's SimpleTextArea goes to overflow: scroll */
1981 }
1982 .dijitTextArea[cols] {
1983 width:auto; /* SimpleTextArea cols */
1984 }
1985 .dj_ie .dijitTextAreaCols {
1986 width:auto;
1987 }
1988
1989 .dijitExpandingTextArea {
1990 /* for auto exanding textarea (called Textarea currently, rename for 2.0) don't want to display the grip to resize */
1991 resize: none;
1992 }
1993
1994
1995 /* Toolbar
1996 * Note that other toolbar rules (for objects in toolbars) are scattered throughout this file.
1997 */
1998
1999 .dijitToolbarSeparator {
2000 height: 18px;
2001 width: 5px;
2002 padding: 0 1px;
2003 margin: 0;
2004 }
2005
2006 /* Editor */
2007 .dijitIEFixedToolbar {
2008 position:absolute;
2009 /* top:0; */
2010 top: expression(eval((document.documentElement||document.body).scrollTop));
2011 }
2012
2013 .dijitEditor {
2014 display: block; /* prevents glitch on FF with InlineEditBox, see #8404 */
2015 }
2016
2017 .dijitEditorDisabled,
2018 .dijitEditorReadOnly {
2019 color: gray;
2020 }
2021
2022 /* TimePicker */
2023
2024 .dijitTimePicker {
2025 background-color: white;
2026 }
2027 .dijitTimePickerItem {
2028 cursor:pointer;
2029 -webkit-tap-highlight-color: transparent;
2030 }
2031 .dijitTimePickerItemHover {
2032 background-color:gray;
2033 color:white;
2034 }
2035 .dijitTimePickerItemSelected {
2036 font-weight:bold;
2037 color:#333;
2038 background-color:#b7cdee;
2039 }
2040 .dijitTimePickerItemDisabled {
2041 color:gray;
2042 text-decoration:line-through;
2043 }
2044
2045 .dijitTimePickerItemInner {
2046 text-align:center;
2047 border:0;
2048 padding:2px 8px 2px 8px;
2049 }
2050
2051 .dijitTimePickerTick,
2052 .dijitTimePickerMarker {
2053 border-bottom:1px solid gray;
2054 }
2055
2056 .dijitTimePicker .dijitDownArrowButton {
2057 border-top: none !important;
2058 }
2059
2060 .dijitTimePickerTick {
2061 color:#CCC;
2062 }
2063
2064 .dijitTimePickerMarker {
2065 color:black;
2066 background-color:#CCC;
2067 }
2068
2069 .dj_a11y .dijitTimePickerItemSelected .dijitTimePickerItemInner {
2070 border: solid 4px black;
2071 }
2072 .dj_a11y .dijitTimePickerItemHover .dijitTimePickerItemInner {
2073 border: dashed 4px black;
2074 }
2075
2076
2077 .dijitToggleButtonIconChar {
2078 /* character (instead of icon) to show that ToggleButton is checked */
2079 display:none !important;
2080 }
2081 .dj_a11y .dijitToggleButton .dijitToggleButtonIconChar {
2082 display:inline !important;
2083 visibility:hidden;
2084 }
2085 .dj_ie6 .dijitToggleButtonIconChar, .dj_ie6 .tabStripButton .dijitButtonText {
2086 font-family: "Arial Unicode MS"; /* otherwise the a11y character (checkmark, arrow, etc.) appears as a box */
2087 }
2088 .dj_a11y .dijitToggleButtonChecked .dijitToggleButtonIconChar {
2089 display: inline !important; /* In high contrast mode, display the check symbol */
2090 visibility:visible !important;
2091 }
2092
2093 .dijitArrowButtonChar {
2094 display:none !important;
2095 }
2096 .dj_a11y .dijitArrowButtonChar {
2097 display:inline !important;
2098 }
2099
2100 .dj_a11y .dijitDropDownButton .dijitArrowButtonInner,
2101 .dj_a11y .dijitComboButton .dijitArrowButtonInner {
2102 display:none !important;
2103 }
2104
2105 /* Select */
2106 .dj_a11y .dijitSelect {
2107 border-collapse: separate !important;
2108 border-width: 1px;
2109 border-style: solid;
2110 }
2111 .dj_ie .dijitSelect {
2112 vertical-align: middle; /* Set this back for what we hack in dijit inline */
2113 }
2114 .dj_ie6 .dijitSelect .dijitValidationContainer,
2115 .dj_ie8 .dijitSelect .dijitButtonText {
2116 vertical-align: top;
2117 }
2118 .dj_ie6 .dijitTextBox .dijitInputContainer,
2119 .dj_iequirks .dijitTextBox .dijitInputContainer,
2120 .dj_ie6 .dijitTextBox .dijitArrowButtonInner,
2121 .dj_ie6 .dijitSpinner .dijitSpinnerButtonInner,
2122 .dijitSelect .dijitSelectLabel {
2123 vertical-align: baseline;
2124 }
2125
2126 .dijitNumberTextBox {
2127 text-align: left;
2128 direction: ltr;
2129 }
2130
2131 .dijitNumberTextBox .dijitInputInner {
2132 text-align: inherit; /* input */
2133 }
2134
2135 .dijitNumberTextBox input.dijitInputInner,
2136 .dijitCurrencyTextBox input.dijitInputInner,
2137 .dijitSpinner input.dijitInputInner {
2138 text-align: right;
2139 }
2140
2141 .dj_ie8 .dijitNumberTextBox input.dijitInputInner, .dj_ie9 .dijitNumberTextBox input.dijitInputInner,
2142 .dj_ie8 .dijitCurrencyTextBox input.dijitInputInner, .dj_ie9 .dijitCurrencyTextBox input.dijitInputInner,
2143 .dj_ie8 .dijitSpinner input.dijitInputInner, .dj_ie9 .dijitSpinner input.dijitInputInner {
2144 /* workaround bug where caret invisible in empty textboxes */
2145 padding-right: 1px !important;
2146 }
2147
2148 .dijitToolbar .dijitSelect {
2149 margin: 0;
2150 }
2151 .dj_webkit .dijitToolbar .dijitSelect {
2152 padding-left: 0.3em;
2153 }
2154 .dijitSelect .dijitButtonContents {
2155 padding: 0;
2156 white-space: nowrap;
2157 text-align: left;
2158 border-style: none solid none none;
2159 border-width: 1px;
2160 }
2161 .dijitSelectFixedWidth .dijitButtonContents {
2162 width: 100%;
2163 }
2164
2165 .dijitSelectMenu .dijitMenuItemIcon {
2166 /* avoid blank area in left side of menu (since we have no icons) */
2167 display:none;
2168 }
2169 .dj_ie6 .dijitSelectMenu .dijitMenuItemLabel,
2170 .dj_ie7 .dijitSelectMenu .dijitMenuItemLabel {
2171 /* Set back to static due to bug in ie6/ie7 - See Bug #9651 */
2172 position: static;
2173 }
2174
2175 /* Fix the baseline of our label (for multi-size font elements) */
2176 .dijitSelectLabel *
2177 {
2178 vertical-align: baseline;
2179 }
2180
2181 /* Styling for the currently-selected option (rich text can mess this up) */
2182 .dijitSelectSelectedOption * {
2183 font-weight: bold;
2184 }
2185
2186 /* Fix the styling of the dropdown menu to be more combobox-like */
2187 .dijitSelectMenu {
2188 border-width: 1px;
2189 }
2190
2191 /* Used in cases, such as FullScreen plugin, when we need to force stuff to static positioning. */
2192 .dijitForceStatic {
2193 position: static !important;
2194 }
2195
2196 /**** Disabled cursor *****/
2197 .dijitReadOnly *,
2198 .dijitDisabled *,
2199 .dijitReadOnly,
2200 .dijitDisabled {
2201 /* a region the user would be able to click on, but it's disabled */
2202 cursor: default;
2203 }
2204
2205 /* Drag and Drop */
2206 .dojoDndItem {
2207 padding: 2px; /* will be replaced by border during drag over (dojoDndItemBefore, dojoDndItemAfter) */
2208
2209 /* Prevent magnifying-glass text selection icon to appear on mobile webkit as it causes a touchout event */
2210 -webkit-touch-callout: none;
2211 -webkit-user-select: none; /* Disable selection/Copy of UIWebView */
2212 }
2213 .dojoDndHorizontal .dojoDndItem {
2214 /* make contents of horizontal container be side by side, rather than vertical */
2215 #display: inline;
2216 display: inline-block;
2217 }
2218
2219 .dojoDndItemBefore,
2220 .dojoDndItemAfter {
2221 border: 0px solid #369;
2222 }
2223 .dojoDndItemBefore {
2224 border-width: 2px 0 0 0;
2225 padding: 0 2px 2px 2px;
2226 }
2227 .dojoDndItemAfter {
2228 border-width: 0 0 2px 0;
2229 padding: 2px 2px 0 2px;
2230 }
2231 .dojoDndHorizontal .dojoDndItemBefore {
2232 border-width: 0 0 0 2px;
2233 padding: 2px 2px 2px 0;
2234 }
2235 .dojoDndHorizontal .dojoDndItemAfter {
2236 border-width: 0 2px 0 0;
2237 padding: 2px 0 2px 2px;
2238 }
2239
2240 .dojoDndItemOver {
2241 cursor:pointer;
2242 }
2243 .dj_gecko .dijitArrowButtonInner INPUT,
2244 .dj_gecko INPUT.dijitArrowButtonInner {
2245 -moz-user-focus:ignore;
2246 }
2247 .dijitFocused .dijitMenuItemShortcutKey {
2248 text-decoration: underline;
2249 }