Debian Codegraph @

dojox/mobile/themes/windows/variables.less

raw
1 @import "../common/css3.less";
2
3 @win-theme: "dark";
4 @win-dark-theme: "dark";
5 @win-light-theme: "light";
6
7 @win-font-family: "Segoe WP", "Segoe UI", "HelveticaNeue", "Helvetica-Neue", "Helvetica", "BBAlpha Sans", "sans-serif";
8
9 @win-bg-color: black;
10 @win-contrast-bg-color: #FFFFFF;
11 @win-foreground-color: white;
12 @win-contrast-foreground-color: black;
13
14 @win-accent-color: Highlight;
15 @win-control-bg-color: transparent;
16 @win-app-bar-color: #1F1F1F;
17 @win-dialog-color: #1F1F1F;
18 @win-inactive-color: #666666;
19 @win-disabled-color: #808080;
20 @win-subtle-color: #999999;
21 @win-text-box-color: #BFBFBF;
22 @win-border-color: #CCCCCC;
23 @win-text-selection-color: black;
24 @win-focused-background-color: #FFFFFF;
25
26 // Original WP font sizes
27 //@win-font-size-small: 10pt;
28 //@win-font-size-normal: 11pt;
29 //@win-font-size-medium: 15pt;
30 //@win-font-size-medium-large: 17pt;
31 //@win-font-size-large: 19pt;
32 //@win-font-size-extra-large: 24pt;
33 //@win-font-size-huge: 29pt;
34
35 // Reduced font-sizes
36 @win-font-size-small: 8pt;
37 @win-font-size-normal: 9pt;
38 @win-font-size-medium: 10pt;
39 @win-font-size-medium-large: 11pt;
40 @win-font-size-large: 15pt;
41 @win-font-size-extra-large: 17pt;
42 @win-font-size-huge: 19pt;
43
44 @imgDir: "images/@{win-theme}/";
45
46 @default-blue-button-color: white;
47 @default-blue-button-background-color: #2362dd;
48 .default-blue-button-background-image () { .background-image-linear-gradient-top-bottom(#7a9de9, #2362dd); }
49 @default-blue-button-background-image-gecko: -moz-linear-gradient(top, #7a9de9 0%, #2362dd 100%);
50
51 .mbl-color-blue-45 () { .background-image-linear-gradient-top-left-bottom-right(#7a9de9, #2362dd); }
52 .mbl-color-default-45 () { .background-image-linear-gradient-top-left-bottom-right(#e2e2e2, #a4a4a4); }
53 .mbl-color-default-sel-45 () { .background-image-linear-gradient-top-left-bottom-right(#bbbbbb, #666666); }
54
55 @mbl-color-blue-45-gecko: -moz-linear-gradient(top left, #7a9de9 0%, #2362dd 100%);
56 @mbl-color-default-45-gecko: -moz-linear-gradient(top left, #e2e2e2 0%, #a4a4a4 100%);
57 @mbl-color-default-sel-45-gecko: -moz-linear-gradient(top left, #bbbbbb 0%, #666666 100%);
58
59 @default-button-color: @win-foreground-color;
60 @default-button-background-color: @win-control-bg-color;
61 .default-button-background-image () {
62 background-image: none;
63 }
64 @default-button-background-image-gecko: none;
65 @default-button-border-radius: 0;
66
67 @default-button-selected-color: @win-foreground-color;
68 @default-button-selected-background-color: @win-accent-color;
69 .default-button-selected-background-image () {
70 }
71 @default-button-selected-background-image-gecko: none;
72
73 @default-selected-color: white;
74 @default-selected-background-color: @default-button-selected-background-color;
75 .default-selected-background-image () {
76 }
77 @default-selected-background-image-gecko: @default-button-selected-background-image-gecko;
78
79 @default-border-width: 2px;
80 @default-padding-left: 15px;
81 @default-padding-right: 10px;
82
83 @heading-background-color: @win-control-bg-color;
84 .heading-background-image () {
85 }
86 @heading-background-image-gecko: none;
87 @heading-border-top-color: transparent;
88 @heading-border-bottom-color: transparent;
89
90 .default-vertical-margin (){
91 margin-top: 8px;
92 margin-bottom: 8px;
93 }
94
95 .mblImage(@imgUrl, @size: 32px 32px) {
96 background-image: url(@imgUrl);
97 background-position: 50% 50%;
98 background-size: @size;
99 background-repeat: no-repeat;
100 }
101
102 .default-button-border-styles () {
103 border: @default-border-width solid @win-foreground-color;
104 border-radius: @default-button-border-radius;
105 }
106
107 .mblToolBarButtonBodyInLeftArrow-styles () {
108 border-left-width: 0;
109 border-top-left-radius: 0;
110 border-bottom-left-radius: 0;
111 }
112
113 .mblToolBarButtonBodyInRightArrow-styles () {
114 border-right-width: 0;
115 border-top-right-radius: 0;
116 border-bottom-right-radius: 0;
117 }
118
119 // background styles of form controls
120 .mbl-button-background-image () {
121 }
122 .mbl-button-selected-background-image () { .default-selected-background-image(); }
123 .mbl-blue-button-background-image () { .default-blue-button-background-image(); }
124 .mbl-blue-button-selected-background-image () { .default-selected-background-image(); }
125 .mbl-red-button-background-image () { .background-image-linear-gradient-top-bottom(#fa9d58, #ee4115); }
126 .mbl-red-button-selected-background-image () { .default-selected-background-image(); }
127 .mbl-button-checked-background-image () { .mbl-button-background-image(); }
128
129 // background styles of form controls (for gecko)
130 @mbl-button-background-image-gecko: none;
131 @default-selected-background-image: '';
132 @mbl-button-selected-background-image-gecko: @default-selected-background-image;
133 @mbl-blue-button-background-image-gecko: @default-blue-button-background-image-gecko;
134 @mbl-blue-button-selected-background-image-gecko: @default-selected-background-image;
135 @mbl-red-button-background-image-gecko: none;
136 @mbl-red-button-selected-background-image-gecko: @default-selected-background-image;
137 @mbl-button-checked-background-image-gecko: @mbl-button-background-image-gecko;
138
139 // common.less
140 .mobile-body-styles () {
141 background-color: @win-bg-color;
142 font-family: @win-font-family;
143 font-size: @win-font-size-normal;
144 color: @win-foreground-color;
145 padding: 8px 0 8px 0;
146 }
147
148 .mblView-styles () {
149 color: @win-foreground-color;
150 padding: 0 @default-padding-right 0 @default-padding-left;
151 width: auto;
152 }
153
154 .mblBackground-styles () {
155 background-color: @win-bg-color;
156 }
157
158 .mblColorBlue-styles () {
159 color: @default-blue-button-color;
160 background-color: @default-blue-button-background-color;
161 .default-blue-button-background-image();
162 }
163 .mblColorDefault-styles () {
164 color: @default-button-color;
165 background-color: @default-button-background-color;
166 .default-button-background-image();
167 }
168 .mblColorDefaultSel-styles () {
169 color: @default-button-selected-color;
170 background-color: @default-button-selected-background-color;
171 }
172
173 // Heading.less
174 .mblHeading-styles () {
175 border: none;
176 color: @win-foreground-color;
177 font-family: @win-font-family;
178 font-weight: 400;
179 text-align: left;
180 font-size: @win-font-size-extra-large;
181 overflow: visible;
182 }
183
184 // ToolBarButton.less
185
186 @mbl-tool-bar-button-size: 27px;
187
188 @imgBackBtnUrl: "@{imgDir}back.png";
189
190 @mbl-tool-bar-button-body-border-radius: 0;
191 //
192 .mblToolBarButton-styles () {
193 font-family: @win-font-family;
194 }
195 .mblToolBarButtonArrow-styles () {
196 border-radius: 1px;
197 .transform(scale(0.7, 1.05) rotate(45deg));
198 border: 1px solid #9b9b9b;
199 border-right-color: #767676;
200 border-bottom-color: #767676;
201 }
202
203 .mblToolBarButtonHasArrow-styles () {
204 width: @mbl-tool-bar-button-size;
205 height: @mbl-tool-bar-button-size;
206 border-radius: 20px;
207 border: @default-border-width solid @win-foreground-color;
208 padding: 0px;
209 margin: 0px;
210 .default-vertical-margin;
211 .mblImage(@imgBackBtnUrl, @mbl-tool-bar-button-size @mbl-tool-bar-button-size);
212 }
213
214 .mblToolBarButtonArrowInHeading-styles () {
215 }
216 .mblToolBarButtonHasLeftArrowInHeading-styles () {
217 }
218 .mblToolBarButtonHasLeftArrowInHeading-compat-gecko () {
219 }
220 .mblToolBarButtonHasRightArrowInHeading-styles () {
221 }
222 .mblToolBarButtonHasRightArrowInHeading-compat-gecko () {
223 }
224 .mblToolBarButtonArrowInLeftArrow-styles () {
225 left: -1px;
226 }
227 .mblToolBarButtonArrowInRightArrow-styles () {
228 right: -1px;
229 }
230 .mblToolBarButtonBody-styles () {
231 border: none;
232 }
233 .mblToolBarButtonBodyInHeading-styles () {
234 }
235 .mblToolBarButtonBodyInHeading-compat-gecko () {
236 }
237
238 // RoundRect.less & RoundRectList.less
239 @mbl-round-rect-border-color: #cccccc;
240 @mbl-round-rect-border-radius: 8px;
241 @mbl-round-rect-background-color: #ffffff;
242 @mbl-round-rect-box-shadow: none;
243 //
244 .mblRoundRect-styles () {
245 border: none;
246 background-color: @win-control-bg-color;
247 border-radius: 0px;
248 margin: 0px;
249 padding: 0px;
250 }
251
252 // EdgeToEdgeCategory.less
253
254 @mbl-list-item-height: 43px;
255
256 @mblEdgeToEdgeCategoryPadding: 5px;
257
258 @mbl-list-item-width: @mbl-list-item-height - @mblEdgeToEdgeCategoryPadding;
259
260 .mblEdgeToEdgeCategory-styles () {
261 display: inline-block;
262 padding: 0 0 0 @mblEdgeToEdgeCategoryPadding;
263 font-size: @win-font-size-large;
264 font-family: @win-font-family;
265 font-weight: 200;
266 line-height: 2;
267 height: @mbl-list-item-height;
268 width: @mbl-list-item-width;
269 background-color: @win-accent-color;
270 border: none;
271 color: @win-foreground-color;
272 text-transform: lowercase;
273 overflow: visible;
274 }
275
276 // RoundRectCategory.less
277 .mblRoundRectCategory-styles () {
278 color: @win-foreground-color;
279 margin: 0px;
280 }
281
282 // EdgeToEdgeList.less
283 .mblEdgeToEdgeList-styles () {
284 background-color: @win-control-bg-color;
285 padding: 0px;
286 }
287 .mblEdgeToEdgeList-LastListItem-styles () {
288 border-bottom-color: #bfbfbf;
289 }
290
291 // ListItem.less
292
293 .mblListItem-styles () {
294 border: none;
295 background-color: @win-control-bg-color;
296 color: @win-foreground-color;
297 font-size: @win-font-size-large;
298 padding: 0;
299 }
300 .mblListItemSelected-styles () {
301 color: @win-accent-color;
302 }
303 .mblListItemLabelSelected-styles () {
304 background-color: #048bf4;
305 }
306 .mblListItemChecked-styles () {
307 color: #314e84;
308 }
309 .mblListItemRightText-styles () {
310 margin-top: 12px;
311 }
312 .mblListItemSubText-styles () {
313 font-size: 14px;
314 color: gray;
315 }
316
317 // Switch.less
318 @mbl-switch-bg-left-background-color: @win-accent-color;
319 .mbl-switch-bg-left-background-image () {
320 }
321 @mbl-switch-bg-right-background-color: #e2e2e2;
322 .mbl-switch-bg-right-background-image () { .mbl-button-background-image(); }
323 .mbl-switch-knob-background-image () { }
324 //
325 @mbl-switch-bg-left-background-image-gecko: @default-button-selected-background-image-gecko;
326 @mbl-switch-bg-right-background-image-gecko: @mbl-button-background-image-gecko;
327 @mbl-switch-knob-background-image-gecko: @default-button-background-image-gecko;
328 @mbl-switch-square-border-radius: 2px;
329 //
330 .mblSwitchBg-styles () {
331 border: none;
332 }
333 .mblSwitchKnob-styles () {
334 border: @default-border-width solid @win-bg-color;
335 background-color: @win-contrast-bg-color;
336 width: 18px !important;
337 z-index: 3;
338 border-radius: 0 !important;
339 }
340
341 // Button.less
342 .mblButton-styles () {
343 .default-button-border-styles;
344 .default-vertical-margin;
345 color: @default-button-color;
346 background-color: @default-button-background-color;
347 font-size: @win-font-size-normal;
348 font-family: @win-font-family;
349 .default-button-background-image();
350 line-height: 0;
351 text-transform: lowercase;
352 -ms-user-select: none;
353 height: 32px;
354 padding-bottom: 3px;
355 text-decoration: none;
356 }
357 .mblButtonSelected-styles () {
358 color: @win-foreground-color;
359 background-color: @default-button-selected-background-color;
360 }
361 .mblButton-mblBlueButton-styles () {
362 color: white;
363 }
364 .mblButton-mblRedButton-styles () {
365 color: white;
366 }
367
368 // CheckBox.less
369 @imgCheckUrl: "@{imgDir}check.png";
370 @imgRadioBtnUrl: "@{imgDir}radiobtn.png";
371
372 .mblCheckBox-styles () {
373 .default-button-border-styles;
374 .mblCheckboxRadio-styles;
375 }
376
377 .mblCheckboxRadio-styles () {
378 opacity: 0;
379 margin: 0;
380 .default-vertical-margin;
381 transform: none;
382 z-index: 1;
383 }
384
385 .mblCheckBoxChecked-after-styles () {
386 border-color: black;
387 }
388
389 .mblCheckBoxChecked-mblCheckBoxSelected-after-styles () {
390 border-color: white;
391 }
392
393 .mblCheckRadioLabel () {
394 color: @win-foreground-color;
395 margin: 0 5px 0 5px;
396 .default-vertical-margin;
397 -ms-user-select: none;
398 display: inline-block;
399 }
400
401 .mblCheckRadioBorder (@radius : 0) {
402 content: '';
403 width: 20px;
404 height: 20px;
405 position: absolute;
406 border: @default-border-width solid @win-contrast-bg-color;
407 background-color: transparent;
408 margin-left: -25px;
409 z-index: 0;
410 border-radius: @radius;
411 .default-vertical-margin;
412 }
413
414 // ComboBox.less
415 @mbl-combo-box-popup-box-shadow: none;
416 @mbl-combo-box-padding-top: 50px;
417 @mbl-combo-box-title-top: 20px;
418 //
419 .dijitPopup-styles () {
420 border-radius: 0;
421 box-shadow: none;
422 }
423
424 .mblComboBoxMenu-styles () {
425 border: none;
426 border-radius: 0;
427 background-color: @win-dialog-color;
428 color: @win-foreground-color;
429 width: 100% !important;
430 height: calc(~'100% - @{mbl-combo-box-title-top}') !important;
431 }
432
433 .mblComboBoxMenuItem-styles () {
434 border: none;
435 color: inherit;
436 font-size: @win-font-size-large;
437 line-height: 1.4;
438 padding-left: @default-padding-left;
439 -ms-user-select: none;
440 text-overflow: ellipsis;
441 overflow: hidden;
442 white-space: nowrap;
443 }
444
445 .mblComboBoxMenuItemSelected-styles () {
446 color: @win-accent-color;
447 }
448
449 // IconContainer.less
450 .mblIconItemSub-styles () {
451 background-color: white;
452 color: black;
453 }
454 .mblIconArea-styles () {
455 margin-top: 5px;
456 margin-bottom: 5px;
457 width: 74px;
458 color: @win-foreground-color;
459 }
460 .mblIconItemDeleteIcon-styles () {
461 top: -4px;
462 left: -2px;
463 }
464
465 // RadioButton.less
466 .mblRadioButton-styles () {
467 .mblCheckboxRadio-styles;
468 }
469 .mblRadioButtonChecked-after-styles () {
470 border-color: black;
471 }
472 .mblRadioButtonChecked-Selected-after-styles () {
473 border-color: white;
474 }
475
476 // Slider.less
477 @mbl-slider-bar-border-radius: 0;
478 @mbl-slider-knob-border-radius: 0;
479
480 @mbl-slider-handle-height: 1.1em;
481 @mbl-slider-handle-width: 0.5em;
482 @mbl-slider-height: 0.5em;
483
484 .mblSlider-size(@width, @height) {
485 width: @width !important;
486 height: @height !important;
487 }
488
489 .mblSlider-styles () {
490 border: none;
491 .default-vertical-margin;
492 margin-left: 0px;
493 margin-right: 0px;
494 }
495
496 .mblSliderHandle-markup (@orientation) when (@orientation = "V"){
497 .mbl-markup(-4px, -8px, @mbl-slider-handle-width, @mbl-slider-handle-height);
498 }
499
500 .mblSliderHandle-markup (@orientation) when (@orientation = "H"){
501 .mbl-markup(-8px, -4px, @mbl-slider-handle-height, @mbl-slider-handle-width);
502 }
503
504 .mbl-markup (@mtop, @mleft, @heigth, @width) {
505 height: @heigth;
506 width: @width;
507 margin-top: @mtop;
508 margin-left: @mleft;
509 }
510
511 .mblSliderHandle-styles () {
512 border: none;
513 background-color: @win-foreground-color;
514 }
515
516 // TabBar.less
517 .mblTabBar-styles () {
518 padding: 0px;
519 }
520
521 // barType="tabBar"
522 .mblTabBarTabBar-styles () {
523 }
524 .mblTabBarTabBar-compat () {
525 background-color: #000000;
526 }
527 .mblTabBarTabBarButton-styles () {
528 font-family: @win-font-family;
529 }
530 .mblTabBarTabBarButtonIconArea-styles () {
531 }
532 .mblTabBarTabBarButtonLabel-styles () {
533 color: white;
534 font-family: @win-font-family;
535 }
536 .mblTabBarTabBarButtonSelected-styles () {
537 background-color: #404040;
538 }
539 .mblTabBarTabBarButtonLabelSelected-styles () {
540 color: white;
541 }
542
543 // barType="segmentedControl"
544 @mbl-tab-bar-segmented-control-border-radius: 5px;
545 //
546 .mblTabBarSegmentedControl-styles () {
547 }
548 .mblTabBarSegmentedControlButton-styles () {
549 border-style: solid;
550 border-color: #9b9b9b #9b9b9b #767676 #9b9b9b;
551 color: black;
552 }
553 .mblTabBarSegmentedControlButton-compat-gecko () {
554 }
555 .mblTabBarSegmentedControlButtonSelected-styles () {
556 color: @default-button-color;
557 }
558
559 // barType="standardTab"
560 .mblTabBarStandardTab-styles () {
561 border-top: none;
562 border-bottom: none;
563 }
564 .mblTabBarStandardTabButton-styles () {
565 color: black;
566 border-color: #9b9b9b;
567 }
568 .mblTabBarStandardTabButtonIconArea-styles () {
569 }
570 .mblTabBarStandardTabButtonLabel-styles () {
571 }
572 .mblTabBarStandardTabButtonSelected-styles () {
573 }
574 .mblTabBarStandardTabButtonLabelSelected-styles () {
575 }
576
577 // barType="tallTab"
578 .mblTabBarTallTab-styles () {
579 }
580 .mblTabBarTallTabButton-styles () {
581 }
582 .mblTabBarTallTabButton-FirstChild-styles () {
583 }
584 .mblTabBarTallTabButton-LastChild-styles () {
585 }
586 .mblTabBarTallTabButtonIconArea-styles () {
587 }
588 .mblTabBarTallTabButtonLabel-styles () {
589 }
590 .mblTabBarTallTabButtonSelected-styles () {
591 }
592 .mblTabBarTallTabButtonLabelSelected-styles () {
593 }
594
595 // Text input
596
597 @win-text-input-height: 2em;
598
599 .mblTextInput-styles() {
600 display: block;
601 background-color: @win-text-box-color;
602 .default-button-border-styles;
603 .default-vertical-margin;
604 border-radius: 0;
605 font-family: @win-font-family;
606 border-color: @win-text-box-color;
607 padding: 0 0 0 3px;
608 font-size: @win-font-size-normal;
609 width: calc(~"100% - @{default-padding-right}");
610 }
611
612 .mblTextInputFocused-styles() {
613 border-color: @win-accent-color;
614 background-color: white;
615 color: black;
616 }
617
618 .mblTextInputDisabled-styles() {
619 border-color: @win-disabled-color;
620 background-color: transparent;
621 color: @win-disabled-color;
622 }
623
624 // TextArea.less
625 .mblTextArea-styles () {
626 .mblTextInput-styles;
627 }
628
629 // TextBox.less
630 .mblTextBox-styles () {
631 .mblTextInput-styles;
632 height: @win-text-input-height;
633 }
634
635 // ToggleButton.less
636 .mblToggleButton-styles () {
637 .default-vertical-margin;
638 margin-left: 0px!important;
639 font-size: 8pt;
640 color: @win-foreground-color;
641 background-color: @win-control-bg-color;
642 border: none;
643 overflow: visible;
644 padding: 40px 0 0 0;
645 text-align: center;
646 width: 35px;
647 height: auto;
648 line-height: normal;
649 }
650 .mblToggleButtonSelected-styles () {
651 color: white;
652 }
653 .mblToggleButtonChecked-styles () {
654 color: @win-foreground-color;
655 }
656 .mblToggleButtonChecked-after-styles () {
657 border-color: @win-bg-color;
658 width: 6px;
659 height: 12px;
660 left: 13px;
661 top: 7px;
662 border-width: 3.5px;
663 }
664 .mblToggleButtonCheckedSelected-styles () {
665 color: white;
666 }
667 .mblToggleButtonCheckedSelected-after-styles () {
668 border-color: white;
669 }
670
671 // Overlay.less
672 .mblOverlay-styles () {
673 position: fixed !important;
674 top: 0px !important;
675 background-color: @win-dialog-color;
676 background-image: none;
677 padding: 12px @default-padding-right 12px @default-padding-left;
678 width: calc(~"100% - @{default-padding-left}") ;
679 }
680 .mblOverlay-compat () {
681 }
682 .mblOverlay-compat-gecko () {
683 }
684
685 // Tooltip.less
686 @mbl-tooltip-border-radius: 3px;
687 //
688 .mblTooltip-styles () {
689 border-color: #869cbf;
690 border-radius: @mbl-tooltip-border-radius;
691 background-color: #dedede;
692 background-image: none;
693 }
694 .mblTooltipBubble-styles () {
695 background-color: #f6f6f6;
696 background-image: none;
697 color: black;
698 }
699 .mblTooltipInnerArrow-Bubble-Above-styles () {
700 border-bottom-color: #f6f6f6;
701 }
702 .mblTooltipInnerArrow-Bubble-Below-styles () {
703 border-top-color: #f6f6f6;
704 }
705 .mblTooltipInnerArrow-Bubble-After-styles () {
706 border-left-color: #f6f6f6;
707 }
708 .mblTooltipInnerArrow-Bubble-Before-styles () {
709 border-right-color: #f6f6f6;
710 }
711 .mblTooltipArrow-Before-styles () {
712 border-left-width: 0;
713 border-right-color: #adadad;
714 }
715 .mblTooltipArrow-After-styles () {
716 border-right-width: 0;
717 border-left-color: #adadad;
718 }
719 .mblTooltipArrow-Above-styles () {
720 border-top-width: 0;
721 border-bottom-color: #adadad;
722 }
723 .mblTooltipArrow-Below-styles () {
724 border-bottom-width: 0;
725 border-top-color: #adadad;
726 }
727 .mblTooltipInnerArrow-Before-styles () {
728 border-left-width: 0;
729 border-right-color: #dedede;
730 }
731 .mblTooltipInnerArrow-After-styles () {
732 border-right-width: 0;
733 border-left-color: #dedede;
734 }
735 .mblTooltipInnerArrow-Above-styles () {
736 border-top-width: 0;
737 border-bottom-color: #dedede;
738 }
739 .mblTooltipInnerArrow-Below-styles () {
740 border-bottom-width: 0;
741 border-top-color: #dedede;
742 }
743 .mblTooltip-Heading-styles () {
744 padding-bottom: 3px;
745 border-top: 1px solid transparent;
746 border-bottom: 1px solid transparent;
747 background-color: transparent;
748 background-image: none;
749 }
750 .mblTooltip-Heading-compat () {
751 }
752 .mblTooltip-Heading-ToolbarButton-styles () {
753 }
754 .mblTooltip-Heading-ToolbarButton-compat () {
755 }
756
757 // Accordion.less
758 .mblAccordion-styles () {
759 border: none;
760 }
761 .mblAccordionTitle-styles () {
762 border: none;
763 background-color: @win-control-bg-color;
764 background-image: none;
765 font-weight: normal;
766 color: @win-foreground-color;
767 font-size: @win-font-size-large;
768 .default-vertical-margin;
769 }
770 .mblAccordionTitle-compat () {
771 }
772 .mblAccordionTitle-compat-gecko () {
773 }
774 .mblAccordionTitleSelected-styles () {
775 border: none;
776 }
777 .mblAccordionTitleSelected-compat () {
778 background-color: #e2e2e2;
779 }
780 .mblAccordionTitleSelected-compat-gecko () {
781 }
782 .mblAccordionTitleAnchor-styles () {
783 color: @win-foreground-color;
784 }
785 .mblAccordionTitleAnchorSelected-styles () {
786 }
787
788 // SimpleDialog.less
789 @mbl-simple-dialog-border-radius: 0;
790 //
791 .mblSimpleDialog-styles () {
792 background-color: @win-dialog-color;
793 padding: 0 @default-padding-right 12px @default-padding-left;
794 width: calc(~"100% - @{default-padding-left} - @{default-padding-right}");
795 margin: 0;
796 text-align: left;
797 left: 0px !important;
798
799 }
800 .mblSimpleDialogDecoration-styles () {
801 background-color: @win-dialog-color;
802 color: @win-foreground-color;
803 }
804 .mblSimpleDialogDecoration-compat () {
805 }
806 .mblSimpleDialogDecoration-compat-gecko () {
807 }
808 .mblSimpleDialogTitle-styles () {
809 margin: 12px 0;
810 padding: 0;
811 width: auto;
812 font-size: @win-font-size-medium-large;
813 font-weight: 400;
814 text-align: left;
815 }
816 .mblSimpleDialogText-styles () {
817 margin: 12px 0;
818 width: auto;
819 text-align: left;
820 }
821
822 // IconMenu.less
823 @mbl-icon-menu-border-radius: 3px;
824 @mbl-icon-menu-item-border-radius: 3px;
825 //
826 .mblIconMenu-styles () {
827 padding: 0;
828 background-color: rgba(160, 160, 160, 0.85);
829 border: 1px solid #869cbf;
830 margin: 0px;
831 }
832 .mblIconMenu-compat () {
833 background-color: #a0a0a0;
834 }
835 .mblIconMenu-compat-gecko () {
836 background-color: rgba(160, 160, 160, 0.85);
837 }
838 .mblIconMenuItem-styles () {
839 border-left: 1px solid rgba(192, 192, 192, 0.85);
840 border-bottom: 1px solid rgba(192, 192, 192, 0.85);
841 }
842 .mblIconMenuItemAnchor-styles () {
843 font-size: @win-font-size-medium;
844 color: @win-foreground-color;
845 }
846 .mblIconMenuItemSel-styles () {
847 background-color: @win-accent-color;
848 }
849 .mblIconMenuItemSel-compat () {
850 background-color: @default-selected-background-color;
851 }
852 .mblIconMenuItemSel-compat-gecko () {
853 }
854
855 // dijit.Calendar
856 .dijitCalendar-styles () {
857 border: 1px solid #c0c0c0;
858 }
859 .dijitCalendar-thead-styles () {
860 }
861 .dijitCalendar-thead-compat () {
862 background-image: url(compat/calendar-month-bg.png);
863 }
864 .dijitCalendar-thead-compat-gecko () {
865 }
866 .dijitCalendarMonthLabel-styles () {
867 color: @win-foreground-color;
868 font-size: 16px;
869 }
870 .dijitCalendarMonthMenu-styles () {
871 }
872 .dijitCalendarMonthMenu-compat-ff3 () {
873 }
874 .dijitCalendarMonthMenu-Label-styles () {
875 background-color: #f2f2f2;
876 color: black;
877 }
878 .dijitCalendarDecrease-styles () {
879 border-right: 6px solid #9b9b9b !important;
880 }
881 .dijitCalendarIncrease-styles () {
882 border-left: 6px solid #9b9b9b !important;
883 }
884 .dijitCalendarDayLabelTemplate-styles () {
885 background-color: #f6f6f6;
886 font-size: 12px;
887 color: @win-bg-color !important;
888 }
889 .dijitCalendarDateTemplate-styles () {
890 border: none;
891 background-color: white;
892 color: black;
893 }
894 .dijitCalendarDateTemplate-LastChild-styles () {
895 border-right: none;
896 }
897 .dijitCalendarDateLabel-DateTemplate-styles () {
898 border: none;
899 }
900 .dijitCalendarDateLabel-PrevMonth-styles () {
901 color: lightGrey;
902 }
903 .dijitCalendarDateLabel-Hovered-styles () {
904 color: grey;
905 }
906 .dijitCalendarDateLabel-Selected-styles () {
907 color: black;
908 background-color: @win-accent-color;
909 }
910 .dijitCalendarDateLabel-Selected-compat () {
911 background-image: url(compat/calendar-datelabel-sel-bg.png);
912 }
913 .dijitCalendarDateLabel-Selected-compat-gecko () {
914 }
915 .dijitCalendarDateLabel-Active-styles () {
916 }
917 .dijitCalendarDateLabel-Active-compat () {
918 background-image: url(compat/calendar-datelabel-act-bg.png);
919 }
920 .dijitCalendarDateLabel-Active-compat-gecko () {
921 }
922 .dijitCalendarYearLabel-styles () {
923 padding: 0;
924 }
925 .dijitCalendarYearLabel-compat () {
926 background-image: url(compat/calendar-year-bg.png);
927 }
928 .dijitCalendarYearLabel-compat-gecko () {
929 }
930 .dijitCalendarSelectedYear-styles () {
931 color: @win-foreground-color;
932 font-size: 16px;
933 }
934 .dijitCalendarNextYear-styles () {
935 padding: 1px 6px 3px 6px;
936 color: @win-foreground-color;
937 font-size: 12px;
938 }
939
940 // SearchBox.less
941 @mbl-searchbox-cancel-button-color: white;
942 @mbl-searchbox-cancel-button-bg-color: #bbc4d0;
943 .mblSearchBox-Cancel-Button-styles () {
944 border-radius: 1em;
945 }
946 @mbl-searchbox-results-decoration-color: #bbc4d0;
947
948 // ProgressBar.less
949
950 @mbl-progressBar-height : 3px;
951
952 .mblProgressBar-styles () {
953 height: @mbl-progressBar-height;
954 background-color: @win-control-bg-color;
955 border: none;
956 .default-vertical-margin;
957 }
958 .mblProgressBarProgress-styles () {
959 height: @mbl-progressBar-height;
960 border: none;
961 background-color: @win-accent-color;
962 }
963 .mblProgressBarComplete-styles () {
964 }
965 .mblProgressBarNotStarted-styles () {
966 }
967 .mblProgressBarMsg-styles () {
968 top: 3px;
969 }
970 .mblProgressBar-compat () {
971 }
972 .mblProgressBarProgress-compat () {
973 background-color: @win-accent-color;
974 }
975 .mblProgressBar-compat-gecko () {
976 }
977 .mblProgressBarProgress-compat-gecko () {
978 background-image: none;
979 }
980
981 // ValuePicker.less
982 .mbl-value-picker-slot-button-background-image () {
983 }
984 @mbl-value-picker-slot-button-background-image-gecko: none;
985 @mbl-value-picker-slot-button-radius: 5px;
986 .mbl-value-picker-slot-input-area-background-image () {
987 }
988 @mbl-value-picker-slot-input-area-background-image-gecko: none;
989 .mblValuePickerSlot-style () {
990 margin: 0 5px;
991 }
992 .mblValuePickerSlot-input-style () {
993 font-size: @win-font-size-extra-large;
994 }