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