@oruga-ui/theme-oruga 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/oruga.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! Oruga v0.4.0 | MIT License | github.com/oruga-ui/oruga */
1
+ /*! Oruga v0.4.2 | MIT License | github.com/oruga-ui/oruga */
2
2
 
3
3
  /*************************************
4
4
  * Oruga Default Theme Full Build
@@ -341,15 +341,18 @@ body {
341
341
  line-height: var(--oruga-button-line-height, var(--oruga-base-line-height));
342
342
  margin: var(--oruga-button-margin, 0);
343
343
  height: var(--oruga-button-height, 2.25em);
344
+ /* size variants*/
345
+ /* color variants*/
346
+ /* focus effect*/
344
347
  }
345
348
  .o-btn__wrapper {
346
- margin-left: -0.1875em;
347
- margin-right: -0.1875em;
348
349
  display: inline-flex;
349
350
  align-items: center;
350
351
  justify-content: center;
351
352
  position: relative;
352
353
  width: 100%;
354
+ margin-left: -0.1875em;
355
+ margin-right: -0.1875em;
353
356
  }
354
357
  .o-btn__wrapper > * {
355
358
  margin-left: 0.1875em;
@@ -385,6 +388,8 @@ body {
385
388
  color: var(--oruga-variant-invert-primary, #ffffff);
386
389
  }
387
390
  .o-btn--primary:hover {
391
+ /* background-color: darken($color, 2.5%)*/
392
+ /* IE 11 needs polyfill*/
388
393
  filter: brightness(97.5%);
389
394
  }
390
395
  .o-btn--secondary {
@@ -394,6 +399,8 @@ body {
394
399
  color: var(--oruga-variant-invert-secondary, #ffffff);
395
400
  }
396
401
  .o-btn--secondary:hover {
402
+ /* background-color: darken($color, 2.5%)*/
403
+ /* IE 11 needs polyfill*/
397
404
  filter: brightness(97.5%);
398
405
  }
399
406
  .o-btn--success {
@@ -403,6 +410,8 @@ body {
403
410
  color: var(--oruga-variant-invert-success, #ffffff);
404
411
  }
405
412
  .o-btn--success:hover {
413
+ /* background-color: darken($color, 2.5%)*/
414
+ /* IE 11 needs polyfill*/
406
415
  filter: brightness(97.5%);
407
416
  }
408
417
  .o-btn--info {
@@ -412,6 +421,8 @@ body {
412
421
  color: var(--oruga-variant-invert-info, #ffffff);
413
422
  }
414
423
  .o-btn--info:hover {
424
+ /* background-color: darken($color, 2.5%)*/
425
+ /* IE 11 needs polyfill*/
415
426
  filter: brightness(97.5%);
416
427
  }
417
428
  .o-btn--warning {
@@ -421,6 +432,8 @@ body {
421
432
  color: var(--oruga-variant-invert-warning, #000000);
422
433
  }
423
434
  .o-btn--warning:hover {
435
+ /* background-color: darken($color, 2.5%)*/
436
+ /* IE 11 needs polyfill*/
424
437
  filter: brightness(97.5%);
425
438
  }
426
439
  .o-btn--danger {
@@ -430,6 +443,8 @@ body {
430
443
  color: var(--oruga-variant-invert-danger, #ffffff);
431
444
  }
432
445
  .o-btn--danger:hover {
446
+ /* background-color: darken($color, 2.5%)*/
447
+ /* IE 11 needs polyfill*/
433
448
  filter: brightness(97.5%);
434
449
  }
435
450
  .o-btn--outlined {
@@ -532,6 +547,8 @@ body {
532
547
  color: var(--oruga-button-background-color, var(--oruga-primary));
533
548
  }
534
549
  .o-btn--inverted:hover {
550
+ /* background-color: darken($color-invert, 5%)*/
551
+ /* IE 11 needs polyfill*/
535
552
  filter: brightness(95%);
536
553
  }
537
554
  .o-btn--inverted-primary {
@@ -541,6 +558,8 @@ body {
541
558
  color: var(--oruga-variant-primary, #445e00);
542
559
  }
543
560
  .o-btn--inverted-primary:focus, .o-btn--inverted-primary:hover {
561
+ /* background-color: darken($color-invert, 5%)*/
562
+ /* IE 11 needs polyfill*/
544
563
  filter: brightness(95%);
545
564
  }
546
565
  .o-btn--inverted-secondary {
@@ -550,6 +569,8 @@ body {
550
569
  color: var(--oruga-variant-secondary, #6c757d);
551
570
  }
552
571
  .o-btn--inverted-secondary:focus, .o-btn--inverted-secondary:hover {
572
+ /* background-color: darken($color-invert, 5%)*/
573
+ /* IE 11 needs polyfill*/
553
574
  filter: brightness(95%);
554
575
  }
555
576
  .o-btn--inverted-success {
@@ -559,6 +580,8 @@ body {
559
580
  color: var(--oruga-variant-success, #006724);
560
581
  }
561
582
  .o-btn--inverted-success:focus, .o-btn--inverted-success:hover {
583
+ /* background-color: darken($color-invert, 5%)*/
584
+ /* IE 11 needs polyfill*/
562
585
  filter: brightness(95%);
563
586
  }
564
587
  .o-btn--inverted-info {
@@ -568,6 +591,8 @@ body {
568
591
  color: var(--oruga-variant-info, #005c98);
569
592
  }
570
593
  .o-btn--inverted-info:focus, .o-btn--inverted-info:hover {
594
+ /* background-color: darken($color-invert, 5%)*/
595
+ /* IE 11 needs polyfill*/
571
596
  filter: brightness(95%);
572
597
  }
573
598
  .o-btn--inverted-warning {
@@ -577,6 +602,8 @@ body {
577
602
  color: var(--oruga-variant-warning, #f4c300);
578
603
  }
579
604
  .o-btn--inverted-warning:focus, .o-btn--inverted-warning:hover {
605
+ /* background-color: darken($color-invert, 5%)*/
606
+ /* IE 11 needs polyfill*/
580
607
  filter: brightness(95%);
581
608
  }
582
609
  .o-btn--inverted-danger {
@@ -586,6 +613,8 @@ body {
586
613
  color: var(--oruga-variant-danger, #b60000);
587
614
  }
588
615
  .o-btn--inverted-danger:focus, .o-btn--inverted-danger:hover {
616
+ /* background-color: darken($color-invert, 5%)*/
617
+ /* IE 11 needs polyfill*/
589
618
  filter: brightness(95%);
590
619
  }
591
620
  .o-btn:focus, .o-btn:focus-within {
@@ -762,12 +791,24 @@ body {
762
791
  .o-chk--small {
763
792
  font-size: var(--oruga-checkbox-font-size-small, 0.75rem);
764
793
  }
794
+ .o-chk--small .o-chk__input {
795
+ width: var(--oruga-checkbox-font-size-small, 0.75rem);
796
+ height: var(--oruga-checkbox-font-size-small, 0.75rem);
797
+ }
765
798
  .o-chk--medium {
766
799
  font-size: var(--oruga-checkbox-font-size-medium, 1.25rem);
767
800
  }
801
+ .o-chk--medium .o-chk__input {
802
+ width: var(--oruga-checkbox-font-size-medium, 1.25rem);
803
+ height: var(--oruga-checkbox-font-size-medium, 1.25rem);
804
+ }
768
805
  .o-chk--large {
769
806
  font-size: var(--oruga-checkbox-font-size-large, 1.5rem);
770
807
  }
808
+ .o-chk--large .o-chk__input {
809
+ width: var(--oruga-checkbox-font-size-large, 1.5rem);
810
+ height: var(--oruga-checkbox-font-size-large, 1.5rem);
811
+ }
771
812
  .o-chk--primary {
772
813
  --oruga-focus: rgba(68, 94, 0, 0.25);
773
814
  }
@@ -1009,7 +1050,7 @@ body {
1009
1050
  border-top-right-radius: var(--oruga-datepicker-item-selected-border-radius, 0);
1010
1051
  }
1011
1052
  .o-dpck__table__cell--within-hovered, .o-dpck__month__cell--within-hovered {
1012
- background-color: var(--oruga-datepicker-item-hovered-within-background-color, rgba(var(--oruga-grey), 0.5));
1053
+ background-color: var(--oruga-datepicker-item-hovered-within-background-color, rgb(from var(--oruga-grey) r g b/50%));
1013
1054
  color: var(--oruga-datepicker-item-hovered-color, var(--oruga-grey-lighter));
1014
1055
  border-radius: var(--oruga-datepicker-item-selected-border-radius, 0);
1015
1056
  }
@@ -1030,7 +1071,7 @@ body {
1030
1071
  border-top-right-radius: var(--oruga-datepicker-item-selected-border-radius, 0);
1031
1072
  }
1032
1073
  .o-dpck__table__cell--within-selected:not(.o-dpck__table__cell--first-hovered, .o-dpck__month__cell--first-hovered):not(.o-dpck__table__cell--within-hovered, .o-dpck__month__cell--within-hovered):not(.o-dpck__table__cell--last-hovered, .o-dpck__month__cell--last-hovered), .o-dpck__month__cell--within-selected:not(.o-dpck__table__cell--first-hovered, .o-dpck__month__cell--first-hovered):not(.o-dpck__table__cell--within-hovered, .o-dpck__month__cell--within-hovered):not(.o-dpck__table__cell--last-hovered, .o-dpck__month__cell--last-hovered) {
1033
- background-color: var(--oruga-datepicker-item-selected-within-background-color, rgba(var(--oruga-primary), 0.5));
1074
+ background-color: var(--oruga-datepicker-item-selected-within-background-color, rgb(from var(--oruga-primary) r g b/50%));
1034
1075
  border-radius: var(--oruga-datepicker-item-selected-border-radius, 0);
1035
1076
  }
1036
1077
  .o-dpck__table__cell--last-selected:not(.o-dpck__table__cell--first-hovered, .o-dpck__month__cell--first-hovered):not(.o-dpck__table__cell--within-hovered, .o-dpck__month__cell--within-hovered):not(.o-dpck__table__cell--last-hovered, .o-dpck__month__cell--last-hovered), .o-dpck__month__cell--last-selected:not(.o-dpck__table__cell--first-hovered, .o-dpck__month__cell--first-hovered):not(.o-dpck__table__cell--within-hovered, .o-dpck__month__cell--within-hovered):not(.o-dpck__table__cell--last-hovered, .o-dpck__month__cell--last-hovered) {
@@ -1211,7 +1252,7 @@ body {
1211
1252
  .o-drop__menu--bottom-right {
1212
1253
  right: 0;
1213
1254
  left: auto;
1214
- top: calc(100% + var(--oruga- "dropdown-menu-spacer", 0px));
1255
+ top: calc(100% + var(--oruga-dropdown-menu-spacer, 0px));
1215
1256
  bottom: auto;
1216
1257
  }
1217
1258
  .o-drop__menu--bottom-left {
@@ -2211,6 +2252,15 @@ body {
2211
2252
  margin: var(--oruga-skeleton-margin, 0.5rem 0 0 0);
2212
2253
  line-height: var(--oruga-skeleton-font-size, 1rem);
2213
2254
  }
2255
+ .o-sklt__item--small {
2256
+ line-height: var(--oruga-skeleton-font-size-small, 0.75rem);
2257
+ }
2258
+ .o-sklt__item--medium {
2259
+ line-height: var(--oruga-skeleton-font-size-medium, 1.25rem);
2260
+ }
2261
+ .o-sklt__item--large {
2262
+ line-height: var(--oruga-skeleton-font-size-large, 1.5rem);
2263
+ }
2214
2264
  .o-sklt__item--rounded {
2215
2265
  border-radius: var(--oruga-skeleton-border-radius, var(--oruga-base-border-radius));
2216
2266
  }
@@ -2223,15 +2273,6 @@ body {
2223
2273
  .o-sklt__item::after {
2224
2274
  content: " ";
2225
2275
  }
2226
- .o-sklt__item--small {
2227
- line-height: var(--oruga-skeleton-font-size-small, 0.75rem);
2228
- }
2229
- .o-sklt__item--medium {
2230
- line-height: var(--oruga-skeleton-font-size-medium, 1.25rem);
2231
- }
2232
- .o-sklt__item--large {
2233
- line-height: var(--oruga-skeleton-font-size-large, 1.5rem);
2234
- }
2235
2276
  .o-sklt--centered {
2236
2277
  align-items: center;
2237
2278
  }
@@ -2377,7 +2418,7 @@ body {
2377
2418
  height: 100%;
2378
2419
  box-shadow: var(--oruga-slider-track-shadow, 0px 0px 0px var(--oruga-grey));
2379
2420
  background: var(--oruga-slider-fill-background, var(--oruga-primary));
2380
- border-radius: var(--oruga-slider-track-radius var(--oruga-base-border-radius));
2421
+ border-radius: var(--oruga-slider-track-radius, var(--oruga-base-border-radius));
2381
2422
  border: var(--oruga-slider-track-border, 0px solid var(--oruga-grey));
2382
2423
  top: 50%;
2383
2424
  transform: translateY(-50%);
@@ -3384,6 +3425,9 @@ body {
3384
3425
  flex-grow: 0;
3385
3426
  border-bottom: none;
3386
3427
  }
3428
+ .o-tabs--vertical .o-tabs__nav-item-default {
3429
+ border-radius: 0;
3430
+ }
3387
3431
  .o-tabs--vertical .o-tabs__nav-item-boxed {
3388
3432
  border-bottom-color: transparent;
3389
3433
  border-right-color: var(--oruga-tabs-border-bottom-color, var(--oruga-grey-lighter));
@@ -3438,15 +3482,7 @@ body {
3438
3482
  .o-tabs__nav--right {
3439
3483
  justify-content: flex-end;
3440
3484
  }
3441
- .o-tabs__nav-item-icon {
3442
- margin-right: var(--oruga-tabs-icon-margin, 0.5em);
3443
- }
3444
- .o-tabs__nav-item:focus, .o-tabs__nav-item:focus-within {
3445
- box-shadow: 0 0 0 0.25rem var(--oruga-focus);
3446
- outline: 0;
3447
- border-radius: var(--oruga-base-border-radius);
3448
- }
3449
- .o-tabs__nav-item-default {
3485
+ .o-tabs__nav-item {
3450
3486
  -moz-appearance: none;
3451
3487
  -webkit-appearance: none;
3452
3488
  width: 100%;
@@ -3468,6 +3504,14 @@ body {
3468
3504
  color: var(--oruga-tabs-link-color, hsl(0, 0%, 29%));
3469
3505
  padding: var(--oruga-tabs-link-padding, 0.5em 1em);
3470
3506
  }
3507
+ .o-tabs__nav-item-icon {
3508
+ margin-right: var(--oruga-tabs-icon-margin, 0.5em);
3509
+ }
3510
+ .o-tabs__nav-item:focus, .o-tabs__nav-item:focus-within {
3511
+ box-shadow: 0 0 0 0.25rem var(--oruga-focus);
3512
+ outline: 0;
3513
+ border-radius: var(--oruga-base-border-radius);
3514
+ }
3471
3515
  .o-tabs__nav-item-default--active {
3472
3516
  border-bottom-color: var(--oruga-tabs-link-active-border-bottom-color, var(--oruga-primary));
3473
3517
  color: var(--oruga-tabs-link-active-color, var(--oruga-primary));
@@ -3482,27 +3526,6 @@ body {
3482
3526
  border-bottom-color: var(--oruga-tabs-link-hover-border-bottom-color, hsl(0, 0%, 86%));
3483
3527
  }
3484
3528
  .o-tabs__nav-item-boxed {
3485
- -moz-appearance: none;
3486
- -webkit-appearance: none;
3487
- width: 100%;
3488
- margin: 0;
3489
- border: 1px solid transparent;
3490
- background-color: transparent;
3491
- align-items: center;
3492
- line-height: var(--oruga-base-line-height);
3493
- display: flex;
3494
- justify-content: center;
3495
- margin-bottom: -1px;
3496
- vertical-align: top;
3497
- cursor: pointer;
3498
- text-decoration: none;
3499
- font-size: var(--oruga-tabs-font-size, var(--oruga-base-font-size));
3500
- border-bottom-color: var(--oruga-tabs-border-bottom-color, var(--oruga-grey-lighter));
3501
- border-bottom-style: var(--oruga-tabs-border-bottom-style, solid);
3502
- border-bottom-width: var(--oruga-tabs-border-bottom-width, 1px);
3503
- color: var(--oruga-tabs-link-color, hsl(0, 0%, 29%));
3504
- padding: var(--oruga-tabs-link-padding, 0.5em 1em);
3505
- border-bottom-color: transparent;
3506
3529
  border-radius: var(--oruga-tabs-border-bottom-color, var(--oruga-base-border-radius) var(--oruga-base-border-radius) 0 0);
3507
3530
  }
3508
3531
  .o-tabs__nav-item-boxed--active {
@@ -3520,31 +3543,9 @@ body {
3520
3543
  background-color: var(--oruga-tabs-boxed-link-hover-background-color, hsl(0, 0%, 96%));
3521
3544
  }
3522
3545
  .o-tabs__nav-item-toggle {
3523
- -moz-appearance: none;
3524
- -webkit-appearance: none;
3525
- width: 100%;
3526
- margin: 0;
3527
- border: 1px solid transparent;
3528
- background-color: transparent;
3529
- align-items: center;
3530
- line-height: var(--oruga-base-line-height);
3531
- display: flex;
3532
- justify-content: center;
3533
- margin-bottom: -1px;
3534
- vertical-align: top;
3535
- cursor: pointer;
3536
- text-decoration: none;
3537
- font-size: var(--oruga-tabs-font-size, var(--oruga-base-font-size));
3538
- border-bottom-color: var(--oruga-tabs-border-bottom-color, var(--oruga-grey-lighter));
3539
- border-bottom-style: var(--oruga-tabs-border-bottom-style, solid);
3540
- border-bottom-width: var(--oruga-tabs-border-bottom-width, 1px);
3541
- color: var(--oruga-tabs-link-color, hsl(0, 0%, 29%));
3542
- padding: var(--oruga-tabs-link-padding, 0.5em 1em);
3543
- position: relative;
3544
3546
  border-color: var(--oruga-tabs-toggle-link-border-color, hsl(0, 0%, 86%));
3545
3547
  border-style: var(--oruga-tabs-toggle-link-border-style, solid);
3546
3548
  border-width: var(--oruga-tabs-toggle-link-border-width, 1px);
3547
- margin-bottom: 0;
3548
3549
  }
3549
3550
  .o-tabs__nav-item-toggle--active {
3550
3551
  background-color: var(--oruga-tabs-toggle-link-active-background-color, var(--oruga-primary));
@@ -3560,6 +3561,14 @@ body {
3560
3561
  background-color: var(--oruga-tabs-toggle-link-hover-background-color, hsl(0, 0%, 96%));
3561
3562
  border-color: var(--oruga-tabs-toggle-link-hover-border-color, hsl(0, 0%, 71%));
3562
3563
  }
3564
+ .o-tabs__nav-item-pills {
3565
+ border-radius: var(--oruga-tabs-boxed-link-radius, var(--oruga-base-border-radius));
3566
+ border-color: transparent;
3567
+ }
3568
+ .o-tabs__nav-item-pills--active {
3569
+ background-color: var(--oruga-tabs-toggle-link-active-background-color, var(--oruga-primary));
3570
+ color: var(--oruga-tabs-toggle-link-active-color, var(--oruga-primary-invert));
3571
+ }
3563
3572
  .o-tabs__content {
3564
3573
  position: relative;
3565
3574
  overflow: visible;