@import "../common/css3.less"; @default-blue-button-color: white; @default-blue-button-background-color: #366edf; .default-blue-button-background-image () { .background-image-linear-gradient-top-bottom-2-stops(#7a9de9, #2362dd, 0.5, #366edf, 0.5, #215fdc); } @default-blue-button-background-image-gecko: -moz-linear-gradient(top, #7a9de9 0%, #366edf 50%, #215fdc 50%, #2362dd 100%); .mbl-color-blue-45 () { .background-image-linear-gradient-top-left-bottom-right-2-stops(#7a9de9, #2362dd, 0.5, #366edf, 0.5, #215fdc); } .mbl-color-default-45 () { .background-image-linear-gradient-top-left-bottom-right-1-stop(#f7fbf7, #cecfd6, 0.5, #ced3ce); } .mbl-color-default-sel-45 () { .background-image-linear-gradient-top-left-bottom-right-1-stop(#088eef, #0851ad, 0.5, #0869c6); } @mbl-color-blue-45-gecko: -moz-linear-gradient(top left, #7a9de9 0%, #366edf 50%, #215fdc 50%, #2362dd 100%); @mbl-color-default-45-gecko: -moz-linear-gradient(top left, #f7fbf7 0%, #ced3ce 50%, #cecfd6 100%); @mbl-color-default-sel-45-gecko: -moz-linear-gradient(top left, #088eef 0%, #0869c6 50%, #0851ad 100%); @default-button-color: black; @default-button-background-color: #ced3ce; .default-button-background-image () { .background-image-linear-gradient-top-bottom-1-stop(#f7fbf7, #cecfd6, 0.5, #ced3ce); } @default-button-background-image-gecko: -moz-linear-gradient(top, #f7fbf7 0%, #ced3ce 50%, #cecfd6 100%); @default-button-border-radius: 6px; @default-button-selected-color: white; @default-button-selected-background-color: #0869c6; .default-button-selected-background-image () { .background-image-linear-gradient-top-bottom-1-stop(#088eef, #0851ad, 0.5, #0869c6); } @default-button-selected-background-image-gecko: -moz-linear-gradient(top, #088eef 0%, #0869c6 50%, #0851ad 100%); @default-selected-color: white; @default-selected-background-color: #0869c6; .default-selected-background-image () { .background-image-linear-gradient-top-bottom-1-stop(#088eef, #0851ad, 0.5, #0869c6); } @default-selected-background-image-gecko: -moz-linear-gradient(top, #088eef 0%, #0869c6 50%, #0851ad 100%); @heading-background-color: #424142; .heading-background-image () { .background-image-linear-gradient-top-bottom(#4a4d52, #292c31); } @heading-background-image-gecko: -moz-linear-gradient(top, #4a4d52 0%, #292c31 100%); @heading-border-top-color: #63696b; @heading-border-bottom-color: #292c31; .default-button-border-styles () { border-color: #9cacc0; border-radius: @default-button-border-radius; } .mblToolBarButtonBodyInLeftArrow-styles () { border-left-width: 0; } .mblToolBarButtonBodyInRightArrow-styles () { border-right-width: 0; } // background styles of form controls .mbl-button-background-image () { .default-button-background-image(); } .mbl-button-selected-background-image () { .default-button-selected-background-image(); } .mbl-blue-button-background-image () { .default-blue-button-background-image(); } .mbl-blue-button-selected-background-image () { .default-button-selected-background-image(); } .mbl-red-button-background-image () { .background-image-linear-gradient-top-bottom-2-stops(#fa9d58, #ee4115, 0.5, #ff4d25, 0.5, #ed4d15); } .mbl-red-button-selected-background-image () { .default-button-selected-background-image(); } .mbl-button-checked-background-image () { .default-button-background-image(); } // background styles of form controls (for gecko) @mbl-button-background-image-gecko: @default-button-background-image-gecko; @mbl-button-selected-background-image-gecko: @default-button-selected-background-image-gecko; @mbl-blue-button-background-image-gecko: @default-blue-button-background-image-gecko; @mbl-blue-button-selected-background-image-gecko: @default-button-selected-background-image-gecko; @mbl-red-button-background-image-gecko: -moz-linear-gradient(top, #fa9d58 0%, #ff4d25 50%, #ed4d15 50%, #ee4115 100%); @mbl-red-button-selected-background-image-gecko: @default-button-selected-background-image-gecko; @mbl-button-checked-background-image-gecko: @default-button-background-image-gecko; // common.less .mobile-body-styles () { font-family: Helvetica; font-size: 18px; } .mblBackground-styles () { background-color: #dedfde; } .mblView-styles () { color: black; } .mblColorBlue-styles () { color: @default-blue-button-color; background-color: @default-blue-button-background-color; .default-blue-button-background-image(); } .mblColorDefault-styles () { color: @default-button-color; background-color: @default-button-background-color; .default-button-background-image(); } .mblColorDefaultSel-styles () { color: @default-button-selected-color; background-color: @default-button-selected-background-color; .default-button-selected-background-image(); } // Heading.less .mblHeading-styles () { .heading-background-image(); border-top: 1px solid @heading-border-top-color; border-bottom: 1px solid @heading-border-bottom-color; color: white; } // ToolBarButton.less @mbl-tool-bar-button-body-border-radius: 5px; // .mblToolBarButton-styles () { } .mblToolBarButtonArrow-styles () { border-radius: 1px; .transform(scale(0.7, 1.0) rotate(45deg)); border: 1px solid #9cacc0; } .mblToolBarButtonArrowInHeading-styles () { } .mblToolBarButtonHasLeftArrowInHeading-styles () { } .mblToolBarButtonHasLeftArrowInHeading-compat-gecko () { } .mblToolBarButtonHasRightArrowInHeading-styles () { } .mblToolBarButtonHasRightArrowInHeading-compat-gecko () { } .mblToolBarButtonArrowInLeftArrow-styles () { left: 1px; border: 1px inset #9cacc0; } .mblToolBarButtonArrowInRightArrow-styles () { right: 0px; border: 1px inset #9cacc0; } .mblToolBarButtonBody-styles () { border: 1px outset #9cacc0; } .mblToolBarButtonBodyInHeading-styles () { border: 1px inset #9cacc0; } .mblToolBarButtonBodyInHeading-compat-gecko () { } // RoundRect.less & RoundRectList.less @mbl-round-rect-border-color: #c6c7c6; @mbl-round-rect-border-radius: 6px; @mbl-round-rect-background-color: white; @mbl-round-rect-box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.35); // .mblRoundRect-styles () { color: black; } // EdgeToEdgeCategory.less .mblEdgeToEdgeCategory-styles () { height: 29px; border-top: 1px solid #313439; border-bottom: 1px solid #adaaad; background-color: white; color: #7b7d84; line-height: 29px; } // RoundRectCategory.less .mblRoundRectCategory-styles () { color: black; text-shadow: rgba(255, 255, 255, 1) 0 1px 0; } // EdgeToEdgeList.less .mblEdgeToEdgeList-styles () { background-color: white; } .mblEdgeToEdgeList-LastListItem-styles () { border-bottom-width: 0; } // ListItem.less @mbl-list-item-height: 59px; // .mblListItem-styles () { border-bottom: 1px solid #dedfde; font-size: 18px; color: black; } .mblListItemSelected-styles () { color: @default-selected-color; .default-selected-background-image(); } .mblListItemLabelSelected-styles () { background-color: #0869c6; } .mblListItemChecked-styles () { } .mblListItemRightText-styles () { color: black; margin-top: 19px; } .mblListItemSubText-styles () { font-size: 14px; color: #7b7d48; } // Switch.less @mbl-switch-bg-left-background-color: #088eef; .mbl-switch-bg-left-background-image () { .background-image-linear-gradient-top-bottom-1-stop(#088eef, #0851ad, 0.5, #0869c6); } @mbl-switch-bg-right-background-color: #f7f3f7; .mbl-switch-bg-right-background-image () { .background-image-linear-gradient-top-bottom-1-stop(#f7f3f7, #cec5d6, 0.5, #ced3ce); } .mbl-switch-knob-background-image () { .background-image-linear-gradient-top-bottom-1-stop(#fafafa, #999999, 0.5, #bbbbbb); } // @mbl-switch-bg-left-background-image-gecko: -moz-linear-gradient(top, #088eef 0%, #0869c6 50%, #0851ad 100%); @mbl-switch-bg-right-background-image-gecko: -moz-linear-gradient(top, #f7f3f7 0%, #ced3ce 50%, #cec5d6 100%); @mbl-switch-knob-background-image-gecko: -moz-linear-gradient(top, #fafafa 0%, #bbbbbb 50%, #999999 100%); @mbl-switch-square-border-radius: 6px; // .mblSwitchBg-styles () { border: rgba(176,176,176,0.5) 1px inset; } .mblSwitchKnob-styles () { border: rgba(156,172,192,0.5) 1px outset; } // Button.less .mblButton-styles () { .default-button-border-styles; color: black; font-size: 16px; } .mblButtonSelected-styles () { color: white; } .mblButton-mblBlueButton-styles () { color: white; } .mblButton-mblRedButton-styles () { color: white; } // CheckBox.less .mblCheckBox-styles () { border-color: #9cacc0; border-radius: 3px; } .mblCheckBoxChecked-after-styles () { border-color: #0851ad; } .mblCheckBoxChecked-mblCheckBoxSelected-after-styles () { border-color: white; } // ComboBox.less @mbl-combo-box-popup-box-shadow: none; // .dijitPopup-styles () { border-radius: 12px; } .mblComboBoxMenu-styles () { border-radius: 12px; background-color: black; } .mblComboBoxMenuItem-styles () { border-color: black; color: white; } .mblComboBoxMenuItemSelected-styles () { .default-selected-background-image(); color: white; } // IconContainer.less .mblIconItemSub-styles () { background-color: white; color: black; } .mblIconArea-styles () { margin-top: 5px; margin-bottom: 5px; width: 88px; } .mblIconItemDeleteIcon-styles () { top: -4px; left: 2px; } // RadioButton.less .mblRadioButton-styles () { border-color: #9cacc0; } .mblRadioButtonChecked-after-styles () { border-color: #0851ad; } .mblRadioButtonChecked-Selected-after-styles () { border-color: white; } // Slider.less @mbl-slider-bar-border-radius: @default-button-border-radius; @mbl-slider-knob-border-radius: @default-button-border-radius; // .mblSlider-styles () { border-color: #b0b0b0; } .mblSliderHandle-styles () { border-color: #9d9d9d; } // TabBar.less .mblTabBar-styles () { text-shadow: none; } // barType="tabBar" .mblTabBarTabBar-styles () { .background-image-linear-gradient-top-bottom(#181818, #100c10); } .mblTabBarTabBar-compat () { background-color: #212421; } .mblTabBarTabBarButton-styles () { } .mblTabBarTabBarButtonIconArea-styles () { } .mblTabBarTabBarButtonLabel-styles () { color: #979797; } .mblTabBarTabBarButtonSelected-styles () { background-color: #404040; .background-image-linear-gradient-top-bottom-1-stop(#484848, #242424, 0.5, #353535); } .mblTabBarTabBarButtonLabelSelected-styles () { color: white; } // barType="segmentedControl" @mbl-tab-bar-segmented-control-border-radius: @default-button-border-radius; // .mblTabBarSegmentedControl-styles () { } .mblTabBarSegmentedControlButton-styles () { border-style: solid; border-color: #7b7d84 #182018 black #393c39; color: @default-button-color; .default-button-background-image(); } .mblTabBarSegmentedControlButton-compat-gecko () { } .mblTabBarSegmentedControlButtonSelected-styles () { color: @default-button-selected-color; .default-button-selected-background-image(); } // barType="standardTab" .mblTabBarStandardTab-styles () { } .mblTabBarStandardTabButton-styles () { color: @default-button-color; background-color: @default-button-background-color; /* TODO: to compat */ .default-button-background-image(); } .mblTabBarStandardTabButtonIconArea-styles () { } .mblTabBarStandardTabButtonLabel-styles () { } .mblTabBarStandardTabButtonSelected-styles () { color: @default-button-selected-color; background-color: @default-button-selected-background-color; .default-button-selected-background-image(); } .mblTabBarStandardTabButtonLabelSelected-styles () { } // barType="tallTab" .mblTabBarTallTab-styles () { .background-image-linear-gradient-top-bottom(#2d2d2d, #000000); } .mblTabBarTallTabButton-styles () { background-color: #212421; background-image: none; } .mblTabBarTallTabButton-FirstChild-styles () { } .mblTabBarTallTabButton-LastChild-styles () { } .mblTabBarTallTabButtonIconArea-styles () { } .mblTabBarTallTabButtonLabel-styles () { } .mblTabBarTallTabButtonSelected-styles () { background-color: #636363; background-image: none; } .mblTabBarTallTabButtonLabelSelected-styles () { } // TextArea.less .mblTextArea-styles () { .default-button-border-styles; } // TextBox.less .mblTextBox-styles () { .default-button-border-styles; } // ToggleButton.less .mblToggleButton-styles () { .default-button-border-styles; font-size: 16px; color: black; } .mblToggleButtonSelected-styles () { color: white; } .mblToggleButtonChecked-styles () { color: black; } .mblToggleButtonChecked-after-styles () { border-color: #0851ad; } .mblToggleButtonCheckedSelected-styles () { color: white; } .mblToggleButtonCheckedSelected-after-styles () { border-color: white; } // Overlay.less .mblOverlay-styles () { background-color: #000000; background-image: none; } .mblOverlay-compat () { } .mblOverlay-compat-gecko () { } // Tooltip.less @mbl-tooltip-border-radius: 6px; // .mblTooltip-styles () { border-color: #adaaad; border-radius: @mbl-tooltip-border-radius; background-color: #424142; .background-image-linear-gradient-top-bottom(#4a4d52, #292c31); } .mblTooltipBubble-styles () { background-color: #000000; background-image: none; color: #ffffff; } .mblTooltipInnerArrow-Bubble-Above-styles () { border-bottom-color: #000000; } .mblTooltipInnerArrow-Bubble-Below-styles () { border-top-color: #000000; } .mblTooltipInnerArrow-Bubble-After-styles () { border-left-color: #000000; } .mblTooltipInnerArrow-Bubble-Before-styles () { border-right-color: #000000; } .mblTooltipArrow-Before-styles () { border-left-width: 0; border-right-color: #adaaad; } .mblTooltipArrow-After-styles () { border-right-width: 0; border-left-color: #adaaad; } .mblTooltipArrow-Above-styles () { border-top-width: 0; border-bottom-color: #adaaad; } .mblTooltipArrow-Below-styles () { border-bottom-width: 0; border-top-color: #adaaad; } .mblTooltipInnerArrow-Before-styles () { border-left-width: 0; border-right-color: #4a4d52; } .mblTooltipInnerArrow-After-styles () { border-right-width: 0; border-left-color: #4a4d52; } .mblTooltipInnerArrow-Above-styles () { border-top-width: 0; border-bottom-color: #4a4d52; } .mblTooltipInnerArrow-Below-styles () { border-bottom-width: 0; border-top-color: #292c31; } .mblTooltip-Heading-styles () { border-top: 1px solid transparent; border-bottom: 1px solid transparent; background-color: transparent; background-image: none; } .mblTooltip-Heading-compat () { } .mblTooltip-Heading-ToolbarButton-styles () { } .mblTooltip-Heading-ToolbarButton-compat () { } // Accordion.less .mblAccordion-styles () { border-color: #9cacc0; } .mblAccordionTitle-styles () { border-top: 1px outset #9cacc0; background-color: white; } .mblAccordionTitle-compat () { } .mblAccordionTitle-compat-gecko () { } .mblAccordionTitleSelected-styles () { border-bottom: 1px outset #9cacc0; .default-selected-background-image(); color: white; } .mblAccordionTitleSelected-compat () { background-color: #0869c6; } .mblAccordionTitleSelected-compat-gecko () { background-image: @default-selected-background-image-gecko; } .mblAccordionTitleAnchor-styles () { color: #000000; } .mblAccordionTitleAnchorSelected-styles () { color: white; } // SimpleDialog.less @mbl-simple-dialog-border-radius: 6px; // .mblSimpleDialog-styles () { padding: 8px; width: 262px; } .mblSimpleDialogDecoration-styles () { background-color: #000000; border: none; color: white; } .mblSimpleDialogDecoration-compat () { } .mblSimpleDialogDecoration-compat-gecko () { } .mblSimpleDialogTitle-styles () { margin: 7px 0 14px; width: 262px; } .mblSimpleDialogText-styles () { margin: 7px 0 14px; width: 262px; } // IconMenu.less @mbl-icon-menu-border-radius: 6px; @mbl-icon-menu-item-border-radius: 0; // .mblIconMenu-styles () { padding: 8px; background-color: #000000; border: none; } .mblIconMenu-compat () { } .mblIconMenu-compat-gecko () { } .mblIconMenuItem-styles () { border-left: 1px solid #000000; border-bottom: 1px solid #000000; } .mblIconMenuItemAnchor-styles () { font-size: 16px; color: white; } .mblIconMenuItemSel-styles () { .background-image-linear-gradient-top-bottom-1-stop(#088eef, #0851ad, 0.5, #0869c6); color: white; } .mblIconMenuItemSel-compat () { background-color: #0869c6; } .mblIconMenuItemSel-compat-gecko () { background-image: -moz-linear-gradient(top, #088eef 0%, #0869c6 50%, #0851ad 100%); } // dijit.Calendar .dijitCalendar-styles () { border: none 0 transparent; background-color: white; } .dijitCalendar-thead-styles () { .background-image-linear-gradient-top-bottom(#63696b, #182021); } .dijitCalendar-thead-compat () { background-image: url(compat/calendar-month-bg.png); } .dijitCalendar-thead-compat-gecko () { background-image: -moz-linear-gradient(top, #63696b 0%, #182021 100%); } .dijitCalendarMonthLabel-styles () { color: white; font-size: 18px; } .dijitCalendarMonthMenu-styles () { border: 1px solid black; border-radius: 6px; background-color: white; } .dijitCalendarMonthMenu-compat-ff3 () { -moz-border-radius: 6px; } .dijitCalendarMonthMenu-Label-styles () { color: black; } .dijitCalendarDecrease-styles () { border-right: 6px solid white !important; } .dijitCalendarIncrease-styles () { border-left: 6px solid white !important; } .dijitCalendarDayLabelTemplate-styles () { background-color: #6b7173; font-size: 14px; color: white; } .dijitCalendarDateTemplate-styles () { border-right: 1px solid lightGrey; background-color: white; color: black; } .dijitCalendarDateTemplate-LastChild-styles () { border-right: none; } .dijitCalendarDateLabel-DateTemplate-styles () { border: none; } .dijitCalendarDateLabel-PrevMonth-styles () { background-color: #cecbce; color: #adaeb5; } .dijitCalendarDateLabel-Hovered-styles () { color: grey; } .dijitCalendarDateLabel-Selected-styles () { .default-selected-background-image(); color: white; text-shadow: rgba(0,0,0,0.4) 0 1px 0; } .dijitCalendarDateLabel-Selected-compat () { background-image: url(compat/calendar-datelabel-sel-bg.png); } .dijitCalendarDateLabel-Selected-compat-gecko () { background-image: @default-selected-background-image-gecko; } .dijitCalendarDateLabel-Active-styles () { .default-selected-background-image(); } .dijitCalendarDateLabel-Active-compat () { background-image: url(compat/calendar-datelabel-sel-bg.png); } .dijitCalendarDateLabel-Active-compat-gecko () { background-image: @default-selected-background-image-gecko; } .dijitCalendarYearLabel-styles () { padding: 0; .background-image-linear-gradient-top-bottom(#63696b, #182021); } .dijitCalendarYearLabel-compat () { background-image: url(compat/calendar-year-bg.png); } .dijitCalendarYearLabel-compat-gecko () { background-image: -moz-linear-gradient(top, #63696b 0%, #182021 100%); } .dijitCalendarSelectedYear-styles () { color: white; font-size: 16px; } .dijitCalendarNextYear-styles () { padding: 1px 6px 3px 6px; color: white; font-size: 12px; } // SearchBox.less @mbl-searchbox-cancel-button-color: white; @mbl-searchbox-cancel-button-bg-color: black; .mblSearchBox-Cancel-Button-styles () { border-radius: 1em; } @mbl-searchbox-results-decoration-color: black; // ProgressBar.less .mblProgressBar-styles () { height: 22px; background-color: white; padding: 1px; } .mblProgressBarProgress-styles () { background-color: #298eff; height: 22px; } .mblProgressBarComplete-styles () { } .mblProgressBarNotStarted-styles () { } .mblProgressBarMsg-styles () { top: 2px; font-size: 18px; } .mblProgressBar-compat () { } .mblProgressBarProgress-compat () { } .mblProgressBar-compat-gecko () { } .mblProgressBarProgress-compat-gecko () { } // ValuePicker.less .mbl-value-picker-slot-button-background-image () { .background-image-linear-gradient-top-bottom-1-stop(#f7fbf7, #cecfd6, 0.5, #ced3ce); } @mbl-value-picker-slot-button-background-image-gecko: -moz-linear-gradient(top, #f7fbf7 0%, #ced3ce 50%, #cecfd6 100%); @mbl-value-picker-slot-button-radius: 3px; .mbl-value-picker-slot-input-area-background-image () { .background-image-linear-gradient-top-bottom-4-stops-no-from-to(0.1, #fafafa, 0.2, #fafafa, 0.5, #ffffff, 0.9, #ffffff); } @mbl-value-picker-slot-input-area-background-image-gecko: -moz-linear-gradient(top, #fafafa 10%, #fafafa 20%, #ffffff 50%, #ffffff 90%); .mblValuePickerSlot-style () { margin: 0 5px; } .mblValuePickerSlot-input-style () { font: 24px/44px Helvetica, sans-serif; }