| 1 |
@import "../common/css3.less"; |
| 2 |
|
| 3 |
@default-blue-button-color: white; |
| 4 |
@default-blue-button-background-color: #366edf; |
| 5 |
.default-blue-button-background-image () { .background-image-linear-gradient-top-bottom-2-stops(#7a9de9, #2362dd, 0.5, #366edf, 0.5, #215fdc); } |
| 6 |
@default-blue-button-background-image-gecko: -moz-linear-gradient(top, #7a9de9 0%, #366edf 50%, #215fdc 50%, #2362dd 100%); |
| 7 |
|
| 8 |
.mbl-color-blue-45 () { .background-image-linear-gradient-top-left-bottom-right-2-stops(#7a9de9, #2362dd, 0.5, #366edf, 0.5, #215fdc); } |
| 9 |
.mbl-color-default-45 () { .background-image-linear-gradient-top-left-bottom-right-3-stops(#222222, #4a6c9b, 0.02, #8ea4c1, 0.5, #5877a2, 0.5, #476999); } |
| 10 |
.mbl-color-default-sel-45 () { .background-image-linear-gradient-top-left-bottom-right-2-stops(#7c87a4, #263e6c, 0.5, #394d77, 0.5, #243b69); } |
| 11 |
|
| 12 |
@mbl-color-blue-45-gecko: -moz-linear-gradient(top left, #7a9de9 0%, #366edf 50%, #215fdc 50%, #2362dd 100%); |
| 13 |
@mbl-color-default-45-gecko: -moz-linear-gradient(top left, #222222 0%, #8ea4c1 2%, #5877a2 50%, #476999 50%, #4a6c9b 100%); |
| 14 |
@mbl-color-default-sel-45-gecko: -moz-linear-gradient(top left, #7c87a4 0%, #394d77 50%, #243b69 50%, #263e6c 100%); |
| 15 |
|
| 16 |
@default-button-color: white; |
| 17 |
@default-button-background-color: #5877a2; |
| 18 |
.default-button-background-image () { .background-image-linear-gradient-top-bottom-3-stops(#222, #4a6c9b, .02, #8ea4c1, 0.5, #5877a2, 0.5, #476999); } |
| 19 |
@default-button-background-image-gecko: -moz-linear-gradient(top, #222 0%, #8ea4c1 2%, #5877a2 50%, #476999 50%, #4a6c9b 100%); |
| 20 |
@default-button-border-radius: 5px; |
| 21 |
|
| 22 |
@default-button-selected-color: white; |
| 23 |
@default-button-selected-background-color: #394d77; |
| 24 |
.default-button-selected-background-image () { .background-image-linear-gradient-top-bottom-2-stops(#7c87a4, #263e6c, 0.5, #394d77, 0.5, #243b69); } |
| 25 |
@default-button-selected-background-image-gecko: -moz-linear-gradient(top, #7c87a4 0%, #394d77 50%, #243b69 50%, #263e6c 100%); |
| 26 |
|
| 27 |
@default-selected-color: white; |
| 28 |
@default-selected-background-color: #048bf4; |
| 29 |
.default-selected-background-image () { .background-image-linear-gradient-top-bottom(#048bf4, #005ce5); } |
| 30 |
@default-selected-background-image-gecko: -moz-linear-gradient(top, #048bf4 0%, #005ce5 100%); |
| 31 |
|
| 32 |
@heading-background-color: #889bb3; |
| 33 |
.heading-background-image () { .background-image-linear-gradient-top-bottom-2-stops(#b0bccd, #6d84a2, 0.5, #889bb3, 0.5, #8195af); } |
| 34 |
@heading-background-image-gecko: -moz-linear-gradient(top, #b0bccd 0%, #889bb3 50%, #8195af 50%, #6d84a2 100%); |
| 35 |
@heading-border-top-color: #cdd5df; |
| 36 |
@heading-border-bottom-color: #2d3642; |
| 37 |
|
| 38 |
.default-button-border-styles () { |
| 39 |
border-color: #9cacc0; |
| 40 |
border-radius: @default-button-border-radius; |
| 41 |
} |
| 42 |
|
| 43 |
.mblToolBarButtonBodyInLeftArrow-styles () { |
| 44 |
border-left-width: 0; |
| 45 |
} |
| 46 |
|
| 47 |
.mblToolBarButtonBodyInRightArrow-styles () { |
| 48 |
border-right-width: 0; |
| 49 |
} |
| 50 |
|
| 51 |
// background styles of form controls |
| 52 |
.mbl-button-background-image () { .background-image-linear-gradient-top-bottom-2-stops(#fdfdfd, #cecece, 0.5, #f8f8f8, 0.5, #eeeeee); } |
| 53 |
.mbl-button-selected-background-image () { .background-image-linear-gradient-top-bottom-2-stops(#f0f0f0, #bfbfbf, 0.5, #ebebeb, 0.5, #dedede); } |
| 54 |
.mbl-blue-button-background-image () { .default-blue-button-background-image(); } |
| 55 |
.mbl-blue-button-selected-background-image () { .background-image-linear-gradient-top-bottom-2-stops(#8ea4c1, #4a6c9b, 0.5, #5877a2, 0.5, #476999); } |
| 56 |
.mbl-red-button-background-image () { .background-image-linear-gradient-top-bottom-2-stops(#fa9d58, #ee4115, 0.5, #ff4d25, 0.5, #ed4d15); } |
| 57 |
.mbl-red-button-selected-background-image () { .background-image-linear-gradient-top-bottom-2-stops(#c1a48e, #9b6c4a, 0.5, #a27758, 0.5, #996947); } |
| 58 |
.mbl-button-checked-background-image () { .default-blue-button-background-image(); } |
| 59 |
|
| 60 |
// background styles of form controls (for gecko) |
| 61 |
@mbl-button-background-image-gecko: -moz-linear-gradient(top, #fdfdfd 0%, #f8f8f8 50%, #eeeeee 50%, #cecece 100%); |
| 62 |
@mbl-button-selected-background-image-gecko: -moz-linear-gradient(top, #f0f0f0 0%, #ebebeb 50%, #dedede 50%, #bfbfbf 100%); |
| 63 |
@mbl-blue-button-background-image-gecko: @default-blue-button-background-image-gecko; |
| 64 |
@mbl-blue-button-selected-background-image-gecko: -moz-linear-gradient(top, #8ea4c1 0%, #5877a2 50%, #476999 50%, #4a6c9b 100%); |
| 65 |
@mbl-red-button-background-image-gecko: -moz-linear-gradient(top, #fa9d58 0%, #ff4d25 50%, #ed4d15 50%, #ee4115 100%); |
| 66 |
@mbl-red-button-selected-background-image-gecko: -moz-linear-gradient(top, #c1a48e 0%, #a27758 50%, #996947 50%, #9b6c4a 100%); |
| 67 |
@mbl-button-checked-background-image-gecko: @default-blue-button-background-image-gecko; |
| 68 |
|
| 69 |
// common.less |
| 70 |
.mobile-body-styles () { |
| 71 |
font-family: Helvetica; |
| 72 |
font-size: 17px; |
| 73 |
} |
| 74 |
|
| 75 |
.mblBackground-styles () { |
| 76 |
background-color: #c5ccd3; |
| 77 |
} |
| 78 |
|
| 79 |
.mblView-styles () { |
| 80 |
} |
| 81 |
|
| 82 |
.mblColorBlue-styles () { |
| 83 |
color: @default-blue-button-color; |
| 84 |
background-color: @default-blue-button-background-color; |
| 85 |
.default-blue-button-background-image(); |
| 86 |
} |
| 87 |
.mblColorDefault-styles () { |
| 88 |
color: @default-button-color; |
| 89 |
background-color: @default-button-background-color; |
| 90 |
.default-button-background-image(); |
| 91 |
} |
| 92 |
.mblColorDefaultSel-styles () { |
| 93 |
color: @default-button-selected-color; |
| 94 |
background-color: @default-button-selected-background-color; |
| 95 |
.default-button-selected-background-image(); |
| 96 |
} |
| 97 |
|
| 98 |
// Heading.less |
| 99 |
.mblHeading-styles () { |
| 100 |
.heading-background-image(); |
| 101 |
border-top: 1px solid @heading-border-top-color; |
| 102 |
border-bottom: 1px solid @heading-border-bottom-color; |
| 103 |
color: white; |
| 104 |
text-shadow: rgba(0,0,0,0.6) 0 -1px 0; |
| 105 |
} |
| 106 |
|
| 107 |
// ToolBarButton.less |
| 108 |
@mbl-tool-bar-button-body-border-radius: 5px; |
| 109 |
// |
| 110 |
.mblToolBarButton-styles () { |
| 111 |
} |
| 112 |
.mblToolBarButtonArrow-styles () { |
| 113 |
.transform(scale(0.75, 1.0) rotate(45deg)); |
| 114 |
border: 1px solid #9cacc0; |
| 115 |
border-top-left-radius: 1px; |
| 116 |
border-bottom-right-radius: 1px; |
| 117 |
} |
| 118 |
.mblToolBarButtonArrowInHeading-styles () { |
| 119 |
border-width: 1px; |
| 120 |
border-style: solid; |
| 121 |
border-color: #405a7e #405a7e #3a4755 #3a4755; |
| 122 |
} |
| 123 |
.mblToolBarButtonHasLeftArrowInHeading-styles () { |
| 124 |
.box-shadow(0 1px 0 rgba(255, 255, 255, 0.305)); |
| 125 |
} |
| 126 |
.mblToolBarButtonHasLeftArrowInHeading-compat-gecko () { |
| 127 |
-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.305); |
| 128 |
} |
| 129 |
.mblToolBarButtonHasRightArrowInHeading-styles () { |
| 130 |
.box-shadow(1px 0 0 rgba(255, 255, 255, 0.305)); |
| 131 |
} |
| 132 |
.mblToolBarButtonHasRightArrowInHeading-compat-gecko () { |
| 133 |
-moz-box-shadow: 1px 0 0 rgba(255,255,255,0.305); |
| 134 |
} |
| 135 |
.mblToolBarButtonArrowInLeftArrow-styles () { |
| 136 |
left: 1px; |
| 137 |
} |
| 138 |
.mblToolBarButtonArrowInRightArrow-styles () { |
| 139 |
right: 0px; |
| 140 |
} |
| 141 |
.mblToolBarButtonBody-styles () { |
| 142 |
border: 1px outset #9cacc0; |
| 143 |
} |
| 144 |
.mblToolBarButtonBodyInHeading-styles () { |
| 145 |
border-width: 1px; |
| 146 |
border-style: solid; |
| 147 |
border-color: #2f3740 #405a7e #375073 #3a4755; |
| 148 |
.box-shadow(0 1px 0 rgba(255,255,255,0.305)); |
| 149 |
} |
| 150 |
.mblToolBarButtonBodyInHeading-compat-gecko () { |
| 151 |
-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.305); |
| 152 |
} |
| 153 |
|
| 154 |
// RoundRect.less & RoundRectList.less |
| 155 |
@mbl-round-rect-border-color: #adaaad; |
| 156 |
@mbl-round-rect-border-radius: 8px; |
| 157 |
@mbl-round-rect-background-color: white; |
| 158 |
@mbl-round-rect-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); |
| 159 |
// |
| 160 |
.mblRoundRect-styles () { |
| 161 |
} |
| 162 |
|
| 163 |
// EdgeToEdgeCategory.less |
| 164 |
.mblEdgeToEdgeCategory-styles () { |
| 165 |
height: 22px; |
| 166 |
border-top: 1px solid #a4b0b9; |
| 167 |
border-bottom: 1px solid #979da3; |
| 168 |
.background-image-linear-gradient-top-bottom(#8f9ea9, #b7c0c7); |
| 169 |
color: white; |
| 170 |
line-height: 22px; |
| 171 |
text-shadow: rgba(0,0,0,0.6) 0 -1px 0; |
| 172 |
} |
| 173 |
|
| 174 |
// RoundRectCategory.less |
| 175 |
.mblRoundRectCategory-styles () { |
| 176 |
color: #4c566c; |
| 177 |
text-shadow: rgba(255, 255, 255, 1) 0 1px 0; |
| 178 |
} |
| 179 |
|
| 180 |
// EdgeToEdgeList.less |
| 181 |
.mblEdgeToEdgeList-styles () { |
| 182 |
background-color: white; |
| 183 |
} |
| 184 |
.mblEdgeToEdgeList-LastListItem-styles () { |
| 185 |
border-bottom-color: #707c84; |
| 186 |
} |
| 187 |
|
| 188 |
// ListItem.less |
| 189 |
@mbl-list-item-height: 43px; |
| 190 |
// |
| 191 |
.mblListItem-styles () { |
| 192 |
border-bottom: 1px solid #adaaad; |
| 193 |
font-weight: bold; |
| 194 |
color: black; |
| 195 |
} |
| 196 |
.mblListItemSelected-styles () { |
| 197 |
color: @default-selected-color; |
| 198 |
.default-selected-background-image(); |
| 199 |
} |
| 200 |
.mblListItemLabelSelected-styles () { |
| 201 |
background-color: #048bf4; |
| 202 |
} |
| 203 |
.mblListItemChecked-styles () { |
| 204 |
color: #314e84; |
| 205 |
} |
| 206 |
.mblListItemRightText-styles () { |
| 207 |
color: #324f85; |
| 208 |
margin-top: 12px; |
| 209 |
} |
| 210 |
.mblListItemSubText-styles () { |
| 211 |
} |
| 212 |
|
| 213 |
// Switch.less |
| 214 |
@mbl-switch-bg-left-background-color: #2859b1; |
| 215 |
.mbl-switch-bg-left-background-image () { .background-image-linear-gradient-top-bottom-2-stops(#2859b1, #75acfb, 0.5, #3f84eb, 0.5, #4c8eee); } |
| 216 |
@mbl-switch-bg-right-background-color: #cecece; |
| 217 |
.mbl-switch-bg-right-background-image () { .background-image-linear-gradient-top-bottom-2-stops(#cecece, #fdfdfd, 0.5, #eeeeee, 0.5, #f8f8f8); } |
| 218 |
.mbl-switch-knob-background-image () { .background-image-linear-gradient-top-bottom(#cccccc, #fafafa); } |
| 219 |
// |
| 220 |
@mbl-switch-bg-left-background-image-gecko: -moz-linear-gradient(top, #2859b1 0%, #3f84eb 50%, #4c8eee 50%, #75acfb 100%); |
| 221 |
@mbl-switch-bg-right-background-image-gecko: -moz-linear-gradient(top, #cecece 0%, #eeeeee 50%, #f8f8f8 50%, #fdfdfd 100%); |
| 222 |
@mbl-switch-knob-background-image-gecko: -moz-linear-gradient(top, #cccccc 0%, #fafafa 100%); |
| 223 |
// |
| 224 |
@mbl-switch-square-border-radius: 5px; |
| 225 |
// |
| 226 |
.mblSwitchBg-styles () { |
| 227 |
border-width: 1px; |
| 228 |
border-style: solid; |
| 229 |
border-color: #939393 #aaaaaa #cbcbcb #767676; |
| 230 |
} |
| 231 |
.mblSwitchKnob-styles () { |
| 232 |
border-width: 1px; |
| 233 |
border-style: solid; |
| 234 |
border-color: #5e5e5e #9e9e9e #828282 #797979; |
| 235 |
} |
| 236 |
|
| 237 |
// Button.less |
| 238 |
.mblButton-styles () { |
| 239 |
.default-button-border-styles; |
| 240 |
color: black; |
| 241 |
font-size: 13px; |
| 242 |
} |
| 243 |
.mblButtonSelected-styles () { |
| 244 |
color: black; |
| 245 |
} |
| 246 |
.mblButton-mblBlueButton-styles () { |
| 247 |
color: white; |
| 248 |
} |
| 249 |
.mblButton-mblRedButton-styles () { |
| 250 |
color: white; |
| 251 |
} |
| 252 |
|
| 253 |
// CheckBox.less |
| 254 |
.mblCheckBox-styles () { |
| 255 |
.default-button-border-styles; |
| 256 |
} |
| 257 |
.mblCheckBoxChecked-after-styles () { |
| 258 |
border-color: white; |
| 259 |
} |
| 260 |
.mblCheckBoxChecked-mblCheckBoxSelected-after-styles () { |
| 261 |
} |
| 262 |
|
| 263 |
// ComboBox.less |
| 264 |
@mbl-combo-box-popup-box-shadow: 0 0 50px black; |
| 265 |
// |
| 266 |
.dijitPopup-styles () { |
| 267 |
border-radius: 0; |
| 268 |
} |
| 269 |
.mblComboBoxMenu-styles () { |
| 270 |
border-radius: 0; |
| 271 |
background-color: white; |
| 272 |
} |
| 273 |
.mblComboBoxMenuItem-styles () { |
| 274 |
border-color: #ffffff; |
| 275 |
color: inherit; |
| 276 |
} |
| 277 |
.mblComboBoxMenuItemSelected-styles () { |
| 278 |
.default-selected-background-image(); |
| 279 |
color: white; |
| 280 |
} |
| 281 |
|
| 282 |
// IconContainer.less |
| 283 |
.mblIconItemSub-styles () { |
| 284 |
background-color: white; |
| 285 |
} |
| 286 |
.mblIconArea-styles () { |
| 287 |
margin-top: 5px; |
| 288 |
margin-bottom: 5px; |
| 289 |
width: 74px; |
| 290 |
} |
| 291 |
.mblIconItemDeleteIcon-styles () { |
| 292 |
top: -4px; |
| 293 |
left: -2px; |
| 294 |
} |
| 295 |
|
| 296 |
// RadioButton.less |
| 297 |
.mblRadioButton-styles () { |
| 298 |
border-color: #9cacc0; |
| 299 |
} |
| 300 |
.mblRadioButtonChecked-after-styles () { |
| 301 |
border-color: white; |
| 302 |
} |
| 303 |
.mblRadioButtonChecked-Selected-after-styles () { |
| 304 |
border-color: white; |
| 305 |
} |
| 306 |
|
| 307 |
// Slider.less |
| 308 |
@mbl-slider-bar-border-radius: 8px; |
| 309 |
@mbl-slider-knob-border-radius: 10px; |
| 310 |
// |
| 311 |
.mblSlider-styles () { |
| 312 |
border-color: #b0b0b0; |
| 313 |
} |
| 314 |
.mblSliderHandle-styles () { |
| 315 |
border-color: #9d9d9d; |
| 316 |
} |
| 317 |
|
| 318 |
// TabBar.less |
| 319 |
.mblTabBar-styles () { |
| 320 |
text-shadow: rgba(0,0,0,0.6) 0 -1px 0; |
| 321 |
} |
| 322 |
|
| 323 |
// barType="tabBar" |
| 324 |
.mblTabBarTabBar-styles () { |
| 325 |
.background-image-linear-gradient-top-bottom-2-stops(#2d2d2d, #000000, 0.5, #141414, 0.5, #000000); |
| 326 |
} |
| 327 |
.mblTabBarTabBar-compat () { |
| 328 |
background-color: #000000; |
| 329 |
} |
| 330 |
.mblTabBarTabBarButton-styles () { |
| 331 |
} |
| 332 |
.mblTabBarTabBarButtonIconArea-styles () { |
| 333 |
} |
| 334 |
.mblTabBarTabBarButtonLabel-styles () { |
| 335 |
color: #979797; |
| 336 |
} |
| 337 |
.mblTabBarTabBarButtonSelected-styles () { |
| 338 |
background-color: #404040; |
| 339 |
.background-image-linear-gradient-top-bottom-2-stops(#484848, #242424, 0.5, #353535, 0.5, #242424); |
| 340 |
} |
| 341 |
.mblTabBarTabBarButtonLabelSelected-styles () { |
| 342 |
color: white; |
| 343 |
} |
| 344 |
|
| 345 |
// barType="segmentedControl" |
| 346 |
@mbl-tab-bar-segmented-control-border-radius: 5px; |
| 347 |
// |
| 348 |
.mblTabBarSegmentedControl-styles () { |
| 349 |
} |
| 350 |
.mblTabBarSegmentedControlButton-styles () { |
| 351 |
border-style: solid; |
| 352 |
border-color: #2f3740 #405a7e #375073 #3a4755; |
| 353 |
color: @default-button-color; |
| 354 |
.heading-background-image(); |
| 355 |
.box-shadow(0 1px 0 rgba(255, 255, 255, 0.305)); |
| 356 |
} |
| 357 |
.mblTabBarSegmentedControlButton-compat-gecko () { |
| 358 |
-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.305); |
| 359 |
} |
| 360 |
.mblTabBarSegmentedControlButtonSelected-styles () { |
| 361 |
.default-button-background-image(); |
| 362 |
} |
| 363 |
|
| 364 |
// barType="standardTab" |
| 365 |
.mblTabBarStandardTab-styles () { |
| 366 |
} |
| 367 |
.mblTabBarStandardTabButton-styles () { |
| 368 |
color: @default-button-color; |
| 369 |
.heading-background-image(); |
| 370 |
} |
| 371 |
.mblTabBarStandardTabButtonIconArea-styles () { |
| 372 |
} |
| 373 |
.mblTabBarStandardTabButtonLabel-styles () { |
| 374 |
} |
| 375 |
.mblTabBarStandardTabButtonSelected-styles () { |
| 376 |
background-color: @default-button-background-color; |
| 377 |
.default-button-background-image(); |
| 378 |
} |
| 379 |
.mblTabBarStandardTabButtonLabelSelected-styles () { |
| 380 |
} |
| 381 |
|
| 382 |
// barType="tallTab" |
| 383 |
.mblTabBarTallTab-styles () { |
| 384 |
.background-image-linear-gradient-top-bottom-2-stops(#2d2d2d, #000000, 0.5, #141414, 0.5, #000000); |
| 385 |
} |
| 386 |
.mblTabBarTallTabButton-styles () { |
| 387 |
background-color: #212421; |
| 388 |
background-image: none; |
| 389 |
} |
| 390 |
.mblTabBarTallTabButton-FirstChild-styles () { |
| 391 |
} |
| 392 |
.mblTabBarTallTabButton-LastChild-styles () { |
| 393 |
} |
| 394 |
.mblTabBarTallTabButtonIconArea-styles () { |
| 395 |
} |
| 396 |
.mblTabBarTallTabButtonLabel-styles () { |
| 397 |
} |
| 398 |
.mblTabBarTallTabButtonSelected-styles () { |
| 399 |
background-color: #636363; |
| 400 |
background-image: none; |
| 401 |
} |
| 402 |
.mblTabBarTallTabButtonLabelSelected-styles () { |
| 403 |
} |
| 404 |
|
| 405 |
// TextArea.less |
| 406 |
.mblTextArea-styles () { |
| 407 |
.default-button-border-styles; |
| 408 |
} |
| 409 |
|
| 410 |
// TextBox.less |
| 411 |
.mblTextBox-styles () { |
| 412 |
.default-button-border-styles; |
| 413 |
} |
| 414 |
|
| 415 |
// ToggleButton.less |
| 416 |
.mblToggleButton-styles () { |
| 417 |
.default-button-border-styles; |
| 418 |
font-size: 13px; |
| 419 |
color: black; |
| 420 |
} |
| 421 |
.mblToggleButtonSelected-styles () { |
| 422 |
} |
| 423 |
.mblToggleButtonChecked-styles () { |
| 424 |
color: white; |
| 425 |
} |
| 426 |
.mblToggleButtonChecked-after-styles () { |
| 427 |
border-color: white; |
| 428 |
} |
| 429 |
.mblToggleButtonCheckedSelected-styles () { |
| 430 |
} |
| 431 |
.mblToggleButtonCheckedSelected-after-styles () { |
| 432 |
} |
| 433 |
|
| 434 |
// Overlay.less |
| 435 |
.mblOverlay-styles () { |
| 436 |
.background-image-linear-gradient-top-bottom(#fdfdfd, #cecece); |
| 437 |
} |
| 438 |
.mblOverlay-compat () { |
| 439 |
background-color: #cecece; |
| 440 |
background-image: none; |
| 441 |
} |
| 442 |
.mblOverlay-compat-gecko () { |
| 443 |
background-image: -moz-linear-gradient(top, #fdfdfd 0%, #cecece 100%); |
| 444 |
} |
| 445 |
|
| 446 |
// Tooltip.less |
| 447 |
@mbl-tooltip-border-radius: 8px; |
| 448 |
// |
| 449 |
.mblTooltip-styles () { |
| 450 |
border-color: #5a5a5a; |
| 451 |
border-radius: @mbl-tooltip-border-radius; |
| 452 |
background-color: #121b2f; |
| 453 |
.background-image-linear-gradient-top-bottom-2-stops(#656872, #121b2f, 0.1, #2c3345, 0.1, #161f32); |
| 454 |
} |
| 455 |
.mblTooltipBubble-styles () { |
| 456 |
background-color: #f9f7ba; |
| 457 |
background-image: none; |
| 458 |
} |
| 459 |
.mblTooltipInnerArrow-Bubble-Above-styles () { |
| 460 |
border-bottom-color: #f9f7ba; |
| 461 |
} |
| 462 |
.mblTooltipInnerArrow-Bubble-Below-styles () { |
| 463 |
border-top-color: #f9f7ba; |
| 464 |
} |
| 465 |
.mblTooltipInnerArrow-Bubble-After-styles () { |
| 466 |
border-left-color: #f9f7ba; |
| 467 |
} |
| 468 |
.mblTooltipInnerArrow-Bubble-Before-styles () { |
| 469 |
border-right-color: #f9f7ba; |
| 470 |
} |
| 471 |
.mblTooltipArrow-Before-styles () { |
| 472 |
border-left-width: 0; |
| 473 |
border-right-color: #5a5a5a; |
| 474 |
} |
| 475 |
.mblTooltipArrow-After-styles () { |
| 476 |
border-right-width: 0; |
| 477 |
border-left-color: #5a5a5a; |
| 478 |
} |
| 479 |
.mblTooltipArrow-Above-styles () { |
| 480 |
border-top-width: 0; |
| 481 |
border-bottom-color: #5a5a5a; |
| 482 |
} |
| 483 |
.mblTooltipArrow-Below-styles () { |
| 484 |
border-bottom-width: 0; |
| 485 |
border-top-color: #5a5a5a; |
| 486 |
} |
| 487 |
.mblTooltipInnerArrow-Before-styles () { |
| 488 |
border-left-width: 0; |
| 489 |
border-right-color: #192235; |
| 490 |
} |
| 491 |
.mblTooltipInnerArrow-After-styles () { |
| 492 |
border-right-width: 0; |
| 493 |
border-left-color: #192235; |
| 494 |
} |
| 495 |
.mblTooltipInnerArrow-Above-styles () { |
| 496 |
border-top-width: 0; |
| 497 |
border-bottom-color: #656872; |
| 498 |
} |
| 499 |
.mblTooltipInnerArrow-Below-styles () { |
| 500 |
border-bottom-width: 0; |
| 501 |
border-top-color: #172035; |
| 502 |
} |
| 503 |
.mblTooltip-Heading-styles () { |
| 504 |
border-top: 3px solid #4f5055; |
| 505 |
border-bottom: 1px solid #2d3642; |
| 506 |
border-left: 1px solid #2a2d47; |
| 507 |
border-radius: 3px 3px 0 0; |
| 508 |
background-color: #889bb3; |
| 509 |
.background-image-linear-gradient-top-bottom-1-stop(#5e6167, #1a1d24, 0.5, #2e322b); |
| 510 |
font-weight: normal; |
| 511 |
} |
| 512 |
.mblTooltip-Heading-compat () { |
| 513 |
background-image: url(compat/tooltip-heading-bg.png); |
| 514 |
} |
| 515 |
.mblTooltip-Heading-ToolbarButton-styles () { |
| 516 |
border: 1px inset #434450; |
| 517 |
.background-image-linear-gradient-top-bottom-1-stop(#686f80, #000924, 0.5, #000b29); |
| 518 |
font-weight: normal; |
| 519 |
} |
| 520 |
.mblTooltip-Heading-ToolbarButton-compat () { |
| 521 |
background-color: #000924; |
| 522 |
background-image: url(compat/tooltip-button-bg.png); |
| 523 |
} |
| 524 |
|
| 525 |
// Accordion.less |
| 526 |
.mblAccordion-styles () { |
| 527 |
border-color: #8c8f91; |
| 528 |
} |
| 529 |
.mblAccordionTitle-styles () { |
| 530 |
border-top: 1px solid #8c8f91; |
| 531 |
.background-image-linear-gradient-top-bottom-1-stop(#fcfcfc, #e1e5e8, 0.2, #f0f2f3); |
| 532 |
} |
| 533 |
.mblAccordionTitle-compat () { |
| 534 |
background-color: #f0f2f3; |
| 535 |
} |
| 536 |
.mblAccordionTitle-compat-gecko () { |
| 537 |
background-image: -moz-linear-gradient(top, #fcfcfc 0%, #f0f2f3 20%, #e1e5e8 100%); |
| 538 |
} |
| 539 |
.mblAccordionTitleSelected-styles () { |
| 540 |
border-bottom: 1px solid #8c8f91; |
| 541 |
.background-image-linear-gradient-top-bottom-1-stop(#97afc0, #46708e, 0.2, #7796ac); |
| 542 |
color: white; |
| 543 |
} |
| 544 |
.mblAccordionTitleSelected-compat () { |
| 545 |
background-color: #7796ac; |
| 546 |
} |
| 547 |
.mblAccordionTitleSelected-compat-gecko () { |
| 548 |
background-image: -moz-linear-gradient(top, #97afc0 0%, #7796ac 20%, #46708e 100%); |
| 549 |
} |
| 550 |
.mblAccordionTitleAnchor-styles () { |
| 551 |
color: black; |
| 552 |
} |
| 553 |
.mblAccordionTitleAnchorSelected-styles () { |
| 554 |
color: white; |
| 555 |
} |
| 556 |
|
| 557 |
// SimpleDialog.less |
| 558 |
@mbl-simple-dialog-border-radius: 10px; |
| 559 |
// |
| 560 |
.mblSimpleDialog-styles () { |
| 561 |
padding: 5px; |
| 562 |
width: 262px; |
| 563 |
} |
| 564 |
.mblSimpleDialogDecoration-styles () { |
| 565 |
background-color: rgba(35,50,96,0.85); |
| 566 |
.background-image-linear-gradient-top-bottom-2-stops(rgba(150,150,170,0.85), rgba(18,29,68,0.85), 0.15, rgba(77,85,119,0.85), 0.15, rgba(35,50,96,0.85)); |
| 567 |
border: 2px solid #bac1d3; |
| 568 |
border-top-color: #eaeaf2; |
| 569 |
.box-shadow(0 3px 2px #000000); |
| 570 |
color: white; |
| 571 |
} |
| 572 |
.mblSimpleDialogDecoration-compat () { |
| 573 |
background-color: #233260; |
| 574 |
} |
| 575 |
.mblSimpleDialogDecoration-compat-gecko () { |
| 576 |
background-color: rgba(35,50,96,0.85); |
| 577 |
background-image: -moz-linear-gradient(top, rgba(150,150,170,0.85) 0%, rgba(77,85,119,0.85) 15%, rgba(35,50,96,0.85) 15%, rgba(18,29,68,0.85) 100%); |
| 578 |
-moz-box-shadow: 0 3px 2px #000000; |
| 579 |
} |
| 580 |
.mblSimpleDialogTitle-styles () { |
| 581 |
margin: 14px 0 7px; |
| 582 |
width: 262px; |
| 583 |
font-weight: bold; |
| 584 |
} |
| 585 |
.mblSimpleDialogText-styles () { |
| 586 |
margin: 7px 0 14px; |
| 587 |
width: 262px; |
| 588 |
} |
| 589 |
|
| 590 |
// IconMenu.less |
| 591 |
@mbl-icon-menu-border-radius: 10px; |
| 592 |
@mbl-icon-menu-item-border-radius: 10px; |
| 593 |
// |
| 594 |
.mblIconMenu-styles () { |
| 595 |
padding: 0; |
| 596 |
.background-image-linear-gradient-top-bottom-1-stop(rgba(102,102,119,0.85), rgba(4,4,4,0.85), 0.35, rgba(22,22,30,0.85)); |
| 597 |
border: 2px solid #9a9a9e; |
| 598 |
border-top-color: #f2f2f3; |
| 599 |
.box-shadow(1px 3px 5px rgba(0,0,0,0.5)); |
| 600 |
} |
| 601 |
.mblIconMenu-compat () { |
| 602 |
background-color: #040404; |
| 603 |
} |
| 604 |
.mblIconMenu-compat-gecko () { |
| 605 |
background-color: transparent; |
| 606 |
background-image: -moz-linear-gradient(top, rgba(102,102,119,0.85) 0%, rgba(22,22,30,0.85) 35%, rgba(4,4,4,0.85) 100%); |
| 607 |
-moz-box-shadow: 1px 3px 5px rgba(0,0,0,0.5); |
| 608 |
} |
| 609 |
.mblIconMenuItem-styles () { |
| 610 |
border-left: 1px solid #6b6c6f; |
| 611 |
border-bottom: 1px solid #6b6c6f; |
| 612 |
} |
| 613 |
.mblIconMenuItemAnchor-styles () { |
| 614 |
font-size: 11px; |
| 615 |
color: #b8bbc0; |
| 616 |
} |
| 617 |
.mblIconMenuItemSel-styles () { |
| 618 |
.background-image-linear-gradient-top-bottom-1-stop(rgba(139,157,229,0.6), rgba(10,54,233,0.8), 0.6, rgba(10,54,233,0.8)); |
| 619 |
} |
| 620 |
.mblIconMenuItemSel-compat () { |
| 621 |
background-color: #0a36e9; |
| 622 |
} |
| 623 |
.mblIconMenuItemSel-compat-gecko () { |
| 624 |
background-color: transparent; |
| 625 |
background-image: -moz-linear-gradient(top, rgba(139,157,229,0.6) 0%, rgba(10,54,233,0.8) 60%, rgba(10,54,233,0.8) 100%); |
| 626 |
} |
| 627 |
|
| 628 |
// dijit.Calendar |
| 629 |
.dijitCalendar-styles () { |
| 630 |
border: solid 1px #b5bcc7; |
| 631 |
background-color: #dddde0; |
| 632 |
} |
| 633 |
.dijitCalendar-thead-styles () { |
| 634 |
.background-image-linear-gradient-top-bottom(#f6f6f6, #ccccd1); |
| 635 |
} |
| 636 |
.dijitCalendar-thead-compat () { |
| 637 |
background-image: url(compat/calendar-month-bg.png); |
| 638 |
} |
| 639 |
.dijitCalendar-thead-compat-gecko () { |
| 640 |
background-image: -moz-linear-gradient(top, #f6f6f6 0%, #ccccd1 100%); |
| 641 |
} |
| 642 |
.dijitCalendarMonthLabel-styles () { |
| 643 |
color: #545454; |
| 644 |
font-size: 22px; |
| 645 |
} |
| 646 |
.dijitCalendarMonthMenu-styles () { |
| 647 |
} |
| 648 |
.dijitCalendarMonthMenu-compat-ff3 () { |
| 649 |
} |
| 650 |
.dijitCalendarMonthMenu-Label-styles () { |
| 651 |
} |
| 652 |
.dijitCalendarDecrease-styles () { |
| 653 |
border-right: 6px solid #545454 !important; |
| 654 |
} |
| 655 |
.dijitCalendarIncrease-styles () { |
| 656 |
border-left: 6px solid #545454 !important; |
| 657 |
} |
| 658 |
.dijitCalendarDayLabelTemplate-styles () { |
| 659 |
font-size: 9px; |
| 660 |
color: #545454; |
| 661 |
} |
| 662 |
.dijitCalendarDateTemplate-styles () { |
| 663 |
background-color: #dddde0; |
| 664 |
color: #4a5b6e; |
| 665 |
text-shadow: rgba(231,231,233,1.0) 0 1px 0; |
| 666 |
} |
| 667 |
.dijitCalendarDateTemplate-LastChild-styles () { |
| 668 |
} |
| 669 |
.dijitCalendarDateLabel-DateTemplate-styles () { |
| 670 |
border-top: solid 1px #eceeef; |
| 671 |
border-bottom: solid 1px #a6aab3; |
| 672 |
border-left: solid 1px #a0a4ad; |
| 673 |
border-right: solid 1px #ececed; |
| 674 |
background-color: rgba(171, 212, 251, 0); |
| 675 |
.transition-property-2(background-color, border); |
| 676 |
.transition-duration(0.35s); |
| 677 |
} |
| 678 |
.dijitCalendarDateLabel-PrevMonth-styles () { |
| 679 |
color: #9099a4; |
| 680 |
} |
| 681 |
.dijitCalendarDateLabel-Hovered-styles () { |
| 682 |
border: solid 1px #769dc0; |
| 683 |
color: black; |
| 684 |
} |
| 685 |
.dijitCalendarDateLabel-Selected-styles () { |
| 686 |
border: solid 1px #1037b3; |
| 687 |
background-color: #1a80e5; |
| 688 |
color: white; |
| 689 |
text-shadow: rgba(0,0,0,0.4) 0 1px 0; |
| 690 |
} |
| 691 |
.dijitCalendarDateLabel-Selected-compat () { |
| 692 |
} |
| 693 |
.dijitCalendarDateLabel-Selected-compat-gecko () { |
| 694 |
} |
| 695 |
.dijitCalendarDateLabel-Active-styles () { |
| 696 |
border: solid 1px white; |
| 697 |
background-color: #1a80e5; |
| 698 |
.transition-duration(0.1s); |
| 699 |
} |
| 700 |
.dijitCalendarDateLabel-Active-compat () { |
| 701 |
} |
| 702 |
.dijitCalendarDateLabel-Active-compat-gecko () { |
| 703 |
} |
| 704 |
.dijitCalendarYearLabel-styles () { |
| 705 |
padding: 2px 0 0 0; |
| 706 |
.background-image-linear-gradient-top-bottom(#f6f6f6, #ccccd1); |
| 707 |
} |
| 708 |
.dijitCalendarYearLabel-compat () { |
| 709 |
background-image: url(compat/calendar-year-bg.png); |
| 710 |
} |
| 711 |
.dijitCalendarYearLabel-compat-gecko () { |
| 712 |
background-image: -moz-linear-gradient(top, #f6f6f6 0%, #ccccd1 100%); |
| 713 |
} |
| 714 |
.dijitCalendarSelectedYear-styles () { |
| 715 |
color: #545454; |
| 716 |
font-size: 1.091em; |
| 717 |
} |
| 718 |
.dijitCalendarNextYear-styles () { |
| 719 |
padding: 1px 6px 1px 6px; |
| 720 |
color: #545454; |
| 721 |
font-size: 0.909em; |
| 722 |
} |
| 723 |
|
| 724 |
// SearchBox.less |
| 725 |
@mbl-searchbox-cancel-button-color: white; |
| 726 |
@mbl-searchbox-cancel-button-bg-color: #b2b2b2; |
| 727 |
.mblSearchBox-Cancel-Button-styles () { |
| 728 |
border-radius: 1em; |
| 729 |
} |
| 730 |
@mbl-searchbox-results-decoration-color: #93989c; |
| 731 |
|
| 732 |
// ProgressBar.less |
| 733 |
.mblProgressBar-styles () { |
| 734 |
border-radius: 6px; |
| 735 |
height: 9px; |
| 736 |
.background-image-linear-gradient-top-bottom-3-stops(#a5a6a5, #b5b6b5, 0.5, #d6d7d6, 0.5, #ffffff, 0.9, #ffffff); |
| 737 |
} |
| 738 |
.mblProgressBarProgress-styles () { |
| 739 |
height: 7px; |
| 740 |
border:1px solid #5e6fa3; |
| 741 |
border-radius: 6px; |
| 742 |
.background-image-linear-gradient-top-bottom-2-stops(#b0c0ff, #2f83e1, 0.6, #70b2ff, 0.6, #3470b6); |
| 743 |
} |
| 744 |
.mblProgressBarComplete-styles () { |
| 745 |
} |
| 746 |
.mblProgressBarNotStarted-styles () { |
| 747 |
} |
| 748 |
.mblProgressBarMsg-styles () { |
| 749 |
top: -1px; |
| 750 |
font-size: 10px; |
| 751 |
} |
| 752 |
.mblProgressBar-compat () { |
| 753 |
background-color: white; |
| 754 |
} |
| 755 |
.mblProgressBarProgress-compat () { |
| 756 |
background-color: #3186e7; |
| 757 |
} |
| 758 |
.mblProgressBar-compat-gecko () { |
| 759 |
background-image: -moz-linear-gradient(top, #a5a6a5 0%, #d6d7d6 50%, #ffffff 50%, #ffffff 90%, #b5b6b5 100%); |
| 760 |
} |
| 761 |
.mblProgressBarProgress-compat-gecko () { |
| 762 |
background-image: -moz-linear-gradient(top, #b0c0ff 0%, #70b2ff 60%, #3470b6 60%, #2f83e1 100%); |
| 763 |
} |
| 764 |
|
| 765 |
// ValuePicker.less |
| 766 |
.mbl-value-picker-slot-button-background-image () { .background-image-linear-gradient-top-bottom-4-stops-no-from-to(0.1, #9cb1c9, 0.35, #f0f1f5, 0.65, #f0f1f5, 0.9, #9cb1c9); } |
| 767 |
@mbl-value-picker-slot-button-background-image-gecko: -moz-linear-gradient(top, #9cb1c9 10%, #f0f1f5 35%, #f0f1f5 65%, #9cb1c9 90%); |
| 768 |
@mbl-value-picker-slot-button-radius: 0; |
| 769 |
.mbl-value-picker-slot-input-area-background-image () { .background-image-linear-gradient-top-bottom-4-stops-no-from-to(0.1, #eaeaea, 0.2, #fafafa, 0.5, #ffffff, 0.9, #efefef); } |
| 770 |
@mbl-value-picker-slot-input-area-background-image-gecko: -moz-linear-gradient(top, #eaeaea 10%, #fafafa 20%, #ffffff 50%, #efefef 90%); |
| 771 |
.mblValuePickerSlot-style () { |
| 772 |
margin: 0 3px; |
| 773 |
border-left: solid 2px #000000; |
| 774 |
border-right: solid 2px #000000; |
| 775 |
border-radius: 3px; |
| 776 |
} |
| 777 |
.mblValuePickerSlot-input-style () { |
| 778 |
font: bold 24px/44px Helvetica, sans-serif; |
| 779 |
} |