@clayui/css 3.122.0 → 3.126.0
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/lib/css/atlas.css +285 -49
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +244 -8
- package/lib/css/base.css.map +1 -1
- package/lib/css/bootstrap.css +0 -0
- package/lib/css/bootstrap.css.map +1 -1
- package/lib/css/cadmin.css +280 -49
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/flags-de-AT.svg +12 -0
- package/lib/images/icons/flags-de-CH.svg +11 -0
- package/lib/images/icons/flags-fr-BE.svg +12 -0
- package/lib/images/icons/flags-fr-CH.svg +11 -0
- package/lib/images/icons/flags-it-CH.svg +11 -0
- package/lib/images/icons/flags-mk-MK.svg +19 -0
- package/lib/images/icons/flags-no-NO.svg +14 -0
- package/lib/images/icons/gallery.svg +7 -0
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/images/icons/flags-de-AT.svg +12 -0
- package/src/images/icons/flags-de-CH.svg +11 -0
- package/src/images/icons/flags-fr-BE.svg +12 -0
- package/src/images/icons/flags-fr-CH.svg +11 -0
- package/src/images/icons/flags-it-CH.svg +11 -0
- package/src/images/icons/flags-mk-MK.svg +19 -0
- package/src/images/icons/flags-no-NO.svg +14 -0
- package/src/images/icons/gallery.svg +7 -0
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_globals.scss +21 -11
- package/src/scss/cadmin/components/_menubar.scss +8 -0
- package/src/scss/cadmin/components/_multi-step-nav.scss +75 -8
- package/src/scss/cadmin/variables/_globals.scss +21 -11
- package/src/scss/cadmin/variables/_menubar.scss +122 -0
- package/src/scss/cadmin/variables/_multi-step-nav.scss +26 -0
- package/src/scss/cadmin/variables/_stickers.scss +110 -0
- package/src/scss/cadmin/variables/_toggle-switch.scss +2 -3
- package/src/scss/components/_icons.scss +2 -1
- package/src/scss/components/_menubar.scss +8 -0
- package/src/scss/components/_multi-step-nav.scss +68 -8
- package/src/scss/functions/_lx-icons-generated.scss +16 -0
- package/src/scss/mixins/_links.scss +34 -0
- package/src/scss/mixins/_menubar.scss +12 -0
- package/src/scss/variables/_globals.scss +10 -0
- package/src/scss/variables/_menubar.scss +122 -0
- package/src/scss/variables/_multi-step-nav.scss +26 -0
- package/src/scss/variables/_navs.scss +2 -0
- package/src/scss/variables/_stickers.scss +110 -0
- package/src/scss/variables/_toggle-switch.scss +2 -3
package/lib/css/base.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
* Clay 3.
|
|
3
|
+
* Clay 3.126.0
|
|
4
4
|
*
|
|
5
5
|
* SPDX-FileCopyrightText: © 2020 Liferay, Inc. <https://liferay.com>
|
|
6
6
|
* SPDX-FileCopyrightText: © 2020 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
|
|
@@ -948,11 +948,13 @@ pre code {
|
|
|
948
948
|
}
|
|
949
949
|
|
|
950
950
|
a.collapse-icon,
|
|
951
|
-
button.collapse-icon
|
|
951
|
+
button.collapse-icon,
|
|
952
|
+
.collapse-icon[tabindex] {
|
|
952
953
|
padding-right: 2.28125rem;
|
|
953
954
|
}
|
|
954
955
|
a.collapse-icon .c-inner,
|
|
955
|
-
button.collapse-icon .c-inner
|
|
956
|
+
button.collapse-icon .c-inner,
|
|
957
|
+
.collapse-icon[tabindex] .c-inner {
|
|
956
958
|
margin-right: -2.28125rem;
|
|
957
959
|
}
|
|
958
960
|
|
|
@@ -5459,6 +5461,56 @@ input[type=button].btn-block {
|
|
|
5459
5461
|
background-color: #343a40;
|
|
5460
5462
|
color: #fff;
|
|
5461
5463
|
}
|
|
5464
|
+
.sticker-outline-0 {
|
|
5465
|
+
background-color: #f8f9fa;
|
|
5466
|
+
border: 1px solid #343a40;
|
|
5467
|
+
color: #343a40;
|
|
5468
|
+
}
|
|
5469
|
+
.sticker-outline-1 {
|
|
5470
|
+
background-color: #f2e5ff;
|
|
5471
|
+
border: 1px solid #6f42c1;
|
|
5472
|
+
color: #6f42c1;
|
|
5473
|
+
}
|
|
5474
|
+
.sticker-outline-2 {
|
|
5475
|
+
background-color: #fff8e5;
|
|
5476
|
+
border: 1px solid #b38900;
|
|
5477
|
+
color: #b38900;
|
|
5478
|
+
}
|
|
5479
|
+
.sticker-outline-3 {
|
|
5480
|
+
background-color: #f1fce9;
|
|
5481
|
+
border: 1px solid #28a745;
|
|
5482
|
+
color: #28a745;
|
|
5483
|
+
}
|
|
5484
|
+
.sticker-outline-4 {
|
|
5485
|
+
background-color: #ffe5e5;
|
|
5486
|
+
border: 1px solid #dc3545;
|
|
5487
|
+
color: #dc3545;
|
|
5488
|
+
}
|
|
5489
|
+
.sticker-outline-5 {
|
|
5490
|
+
background-color: #fff0e5;
|
|
5491
|
+
border: 1px solid #fd7e14;
|
|
5492
|
+
color: #fd7e14;
|
|
5493
|
+
}
|
|
5494
|
+
.sticker-outline-6 {
|
|
5495
|
+
background-color: #eafbf8;
|
|
5496
|
+
border: 1px solid #20c997;
|
|
5497
|
+
color: #20c997;
|
|
5498
|
+
}
|
|
5499
|
+
.sticker-outline-7 {
|
|
5500
|
+
background-color: #e5f6ff;
|
|
5501
|
+
border: 1px solid #17a2b8;
|
|
5502
|
+
color: #17a2b8;
|
|
5503
|
+
}
|
|
5504
|
+
.sticker-outline-8 {
|
|
5505
|
+
background-color: #ffe5f4;
|
|
5506
|
+
border: 1px solid #e83e8c;
|
|
5507
|
+
color: #800048;
|
|
5508
|
+
}
|
|
5509
|
+
.sticker-outline-9 {
|
|
5510
|
+
background-color: #fff;
|
|
5511
|
+
border: 1px solid #828e9a;
|
|
5512
|
+
color: #828e9a;
|
|
5513
|
+
}
|
|
5462
5514
|
.sticker-circle {
|
|
5463
5515
|
border-radius: 5000px;
|
|
5464
5516
|
}
|
|
@@ -12537,6 +12589,9 @@ label.custom-control-label {
|
|
|
12537
12589
|
margin-bottom: 10px;
|
|
12538
12590
|
position: relative;
|
|
12539
12591
|
}
|
|
12592
|
+
.multi-step-item:last-child .multi-step-divider {
|
|
12593
|
+
display: none;
|
|
12594
|
+
}
|
|
12540
12595
|
.multi-step-item.active .multi-step-icon {
|
|
12541
12596
|
background-color: #007bff;
|
|
12542
12597
|
background-position: center;
|
|
@@ -12592,9 +12647,10 @@ label.custom-control-label {
|
|
|
12592
12647
|
cursor: not-allowed;
|
|
12593
12648
|
opacity: 1;
|
|
12594
12649
|
}
|
|
12595
|
-
.multi-step-item.disabled .multi-step-icon:focus {
|
|
12650
|
+
.multi-step-item.disabled .multi-step-icon.focus, .multi-step-item.disabled .multi-step-icon:focus-visible {
|
|
12596
12651
|
box-shadow: none;
|
|
12597
12652
|
}
|
|
12653
|
+
|
|
12598
12654
|
.multi-step-item.disabled .multi-step-indicator-label {
|
|
12599
12655
|
color: #ced4da;
|
|
12600
12656
|
}
|
|
@@ -12665,6 +12721,7 @@ label.custom-control-label {
|
|
|
12665
12721
|
padding-left: 0;
|
|
12666
12722
|
padding-right: 0;
|
|
12667
12723
|
padding-top: 0;
|
|
12724
|
+
position: relative;
|
|
12668
12725
|
transition: box-shadow 0.15s ease-in-out;
|
|
12669
12726
|
width: 2rem;
|
|
12670
12727
|
}
|
|
@@ -12682,13 +12739,14 @@ label.custom-control-label {
|
|
|
12682
12739
|
color: rgba(0, 0, 0, 0.7);
|
|
12683
12740
|
text-decoration: none;
|
|
12684
12741
|
}
|
|
12685
|
-
.multi-step-icon:focus {
|
|
12742
|
+
.multi-step-icon.focus, .multi-step-icon:focus-visible {
|
|
12686
12743
|
background-color: #e9ecef;
|
|
12687
12744
|
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
|
|
12688
12745
|
color: rgba(0, 0, 0, 0.7);
|
|
12689
12746
|
outline: 0;
|
|
12690
12747
|
text-decoration: none;
|
|
12691
12748
|
}
|
|
12749
|
+
|
|
12692
12750
|
.multi-step-icon[data-multi-step-icon]::before {
|
|
12693
12751
|
content: '\FEFF' attr(data-multi-step-icon);
|
|
12694
12752
|
height: 2rem;
|
|
@@ -12718,6 +12776,28 @@ label.custom-control-label {
|
|
|
12718
12776
|
width: 150px;
|
|
12719
12777
|
}
|
|
12720
12778
|
|
|
12779
|
+
.multi-step-nav-center {
|
|
12780
|
+
padding: 0;
|
|
12781
|
+
text-align: center;
|
|
12782
|
+
}
|
|
12783
|
+
.multi-step-nav-center .multi-step-item {
|
|
12784
|
+
flex-grow: 1;
|
|
12785
|
+
width: 75px;
|
|
12786
|
+
}
|
|
12787
|
+
.multi-step-nav-center .multi-step-divider {
|
|
12788
|
+
left: 50%;
|
|
12789
|
+
margin-left: 1rem;
|
|
12790
|
+
width: calc(100% - 2rem);
|
|
12791
|
+
}
|
|
12792
|
+
.multi-step-nav-center .multi-step-indicator {
|
|
12793
|
+
left: 50%;
|
|
12794
|
+
transform: translateX(-50%);
|
|
12795
|
+
}
|
|
12796
|
+
.multi-step-nav-center .multi-step-title {
|
|
12797
|
+
margin-left: 12.5%;
|
|
12798
|
+
max-width: 75%;
|
|
12799
|
+
}
|
|
12800
|
+
|
|
12721
12801
|
@media (max-width: 767.98px) {
|
|
12722
12802
|
.multi-step-nav-collapse-sm {
|
|
12723
12803
|
flex-wrap: nowrap;
|
|
@@ -12735,6 +12815,23 @@ label.custom-control-label {
|
|
|
12735
12815
|
max-width: none;
|
|
12736
12816
|
transform: none;
|
|
12737
12817
|
}
|
|
12818
|
+
.multi-step-nav-collapse-sm.multi-step-nav-center .multi-step-item {
|
|
12819
|
+
flex-grow: 0;
|
|
12820
|
+
width: auto;
|
|
12821
|
+
}
|
|
12822
|
+
.multi-step-nav-collapse-sm.multi-step-nav-center .multi-step-item-expand {
|
|
12823
|
+
flex-grow: 1;
|
|
12824
|
+
width: 75px;
|
|
12825
|
+
}
|
|
12826
|
+
.multi-step-nav-collapse-sm.multi-step-nav-center .multi-step-divider {
|
|
12827
|
+
left: auto;
|
|
12828
|
+
margin-left: 2rem;
|
|
12829
|
+
width: auto;
|
|
12830
|
+
}
|
|
12831
|
+
.multi-step-nav-collapse-sm.multi-step-nav-center .multi-step-indicator {
|
|
12832
|
+
left: auto;
|
|
12833
|
+
transform: none;
|
|
12834
|
+
}
|
|
12738
12835
|
.multi-step-nav-collapse-sm .active.multi-step-item {
|
|
12739
12836
|
position: static;
|
|
12740
12837
|
}
|
|
@@ -12784,12 +12881,17 @@ label.custom-control-label {
|
|
|
12784
12881
|
}
|
|
12785
12882
|
|
|
12786
12883
|
.nav-link {
|
|
12884
|
+
cursor: pointer;
|
|
12787
12885
|
display: block;
|
|
12788
12886
|
padding-bottom: 0.5rem;
|
|
12789
12887
|
padding-left: 1rem;
|
|
12790
12888
|
padding-right: 1rem;
|
|
12791
12889
|
padding-top: 0.5rem;
|
|
12792
12890
|
position: relative;
|
|
12891
|
+
-ms-user-select: none;
|
|
12892
|
+
-moz-user-select: none;
|
|
12893
|
+
-webkit-user-select: none;
|
|
12894
|
+
user-select: none;
|
|
12793
12895
|
}
|
|
12794
12896
|
.nav-link:hover, .nav-link.hover {
|
|
12795
12897
|
text-decoration: none;
|
|
@@ -13172,6 +13274,141 @@ label.custom-control-label {
|
|
|
13172
13274
|
display: none;
|
|
13173
13275
|
}
|
|
13174
13276
|
|
|
13277
|
+
.menubar-primary .nav-item {
|
|
13278
|
+
position: relative;
|
|
13279
|
+
}
|
|
13280
|
+
.menubar-primary .nav-link {
|
|
13281
|
+
border-radius: 0;
|
|
13282
|
+
color: #212529;
|
|
13283
|
+
line-height: 24px;
|
|
13284
|
+
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
13285
|
+
}
|
|
13286
|
+
@media (prefers-reduced-motion: reduce) {
|
|
13287
|
+
.menubar-primary .nav-link {
|
|
13288
|
+
transition: none;
|
|
13289
|
+
}
|
|
13290
|
+
}
|
|
13291
|
+
.c-prefers-reduced-motion .menubar-primary .nav-link {
|
|
13292
|
+
transition: none;
|
|
13293
|
+
}
|
|
13294
|
+
|
|
13295
|
+
.menubar-primary .nav-link::before {
|
|
13296
|
+
bottom: 0;
|
|
13297
|
+
content: "";
|
|
13298
|
+
display: block;
|
|
13299
|
+
left: 0;
|
|
13300
|
+
position: absolute;
|
|
13301
|
+
top: 0;
|
|
13302
|
+
transition: all 0.2s ease-in-out;
|
|
13303
|
+
}
|
|
13304
|
+
@media (prefers-reduced-motion: reduce) {
|
|
13305
|
+
.menubar-primary .nav-link::before {
|
|
13306
|
+
transition: none;
|
|
13307
|
+
}
|
|
13308
|
+
}
|
|
13309
|
+
.c-prefers-reduced-motion .menubar-primary .nav-link::before {
|
|
13310
|
+
transition: none;
|
|
13311
|
+
}
|
|
13312
|
+
|
|
13313
|
+
.menubar-primary .nav-link:hover, .menubar-primary .nav-link.hover {
|
|
13314
|
+
background-color: #e5f2ff;
|
|
13315
|
+
color: #212529;
|
|
13316
|
+
letter-spacing: 0;
|
|
13317
|
+
}
|
|
13318
|
+
.menubar-primary .nav-link:hover::before, .menubar-primary .nav-link.hover::before {
|
|
13319
|
+
background: #949ca3;
|
|
13320
|
+
width: 0.125rem;
|
|
13321
|
+
}
|
|
13322
|
+
.menubar-primary .nav-link.focus, .menubar-primary .nav-link:focus-visible, .c-prefers-focus .menubar-primary .nav-link:focus {
|
|
13323
|
+
box-shadow: none;
|
|
13324
|
+
color: #212529;
|
|
13325
|
+
outline: 0;
|
|
13326
|
+
}
|
|
13327
|
+
.menubar-primary .nav-link.focus::after, .menubar-primary .nav-link:focus-visible::after, .c-prefers-focus .menubar-primary .nav-link:focus::after {
|
|
13328
|
+
bottom: 0;
|
|
13329
|
+
box-shadow: inset 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
|
|
13330
|
+
content: "";
|
|
13331
|
+
display: block;
|
|
13332
|
+
left: 0;
|
|
13333
|
+
pointer-events: none;
|
|
13334
|
+
position: absolute;
|
|
13335
|
+
right: 0;
|
|
13336
|
+
top: 0;
|
|
13337
|
+
}
|
|
13338
|
+
.menubar-primary .nav-link:active {
|
|
13339
|
+
color: rgba(0, 0, 0, 0.9);
|
|
13340
|
+
}
|
|
13341
|
+
.menubar-primary .nav-link.active {
|
|
13342
|
+
font-weight: 500;
|
|
13343
|
+
background-color: #e5f2ff;
|
|
13344
|
+
color: #212529;
|
|
13345
|
+
}
|
|
13346
|
+
.menubar-primary .nav-link.active::before {
|
|
13347
|
+
background-color: #007bff;
|
|
13348
|
+
width: 0.375rem;
|
|
13349
|
+
}
|
|
13350
|
+
.menubar-primary .nav-link.active:focus-visible::before, .c-prefers-focus .menubar-primary .nav-link.active:focus::before {
|
|
13351
|
+
display: none;
|
|
13352
|
+
}
|
|
13353
|
+
.menubar-primary .nav-link:disabled, .menubar-primary .nav-link.disabled {
|
|
13354
|
+
background-color: transparent;
|
|
13355
|
+
color: rgba(0, 0, 0, 0.3);
|
|
13356
|
+
box-shadow: none;
|
|
13357
|
+
font-weight: 400;
|
|
13358
|
+
}
|
|
13359
|
+
.menubar-primary .nav-link:disabled::before, .menubar-primary .nav-link.disabled::before {
|
|
13360
|
+
content: none;
|
|
13361
|
+
}
|
|
13362
|
+
.menubar-primary .nav-link:disabled::after, .menubar-primary .nav-link.disabled::after {
|
|
13363
|
+
content: none;
|
|
13364
|
+
}
|
|
13365
|
+
.menubar-primary .nav-link[aria-expanded=true], .menubar-primary .nav-link.show {
|
|
13366
|
+
font-weight: 500;
|
|
13367
|
+
color: #212529;
|
|
13368
|
+
}
|
|
13369
|
+
.menubar-primary .nav-link[aria-expanded=true]::before, .menubar-primary .nav-link.show::before {
|
|
13370
|
+
background-color: transparent;
|
|
13371
|
+
width: 0;
|
|
13372
|
+
}
|
|
13373
|
+
.menubar-primary .nav-link[aria-expanded=true]:hover::before, .menubar-primary .nav-link.show:hover::before {
|
|
13374
|
+
background-color: #949ca3;
|
|
13375
|
+
width: 0.125rem;
|
|
13376
|
+
}
|
|
13377
|
+
.menubar-primary .nav-link[aria-expanded=true]:focus-visible::before, .c-prefers-focus .menubar-primary .nav-link[aria-expanded=true]:focus::before, .menubar-primary .nav-link.show:focus-visible::before, .c-prefers-focus .menubar-primary .nav-link.show:focus::before {
|
|
13378
|
+
display: none;
|
|
13379
|
+
}
|
|
13380
|
+
.menubar-primary .nav-link.collapse-icon {
|
|
13381
|
+
font-size: 0.75rem;
|
|
13382
|
+
font-weight: 500;
|
|
13383
|
+
text-transform: uppercase;
|
|
13384
|
+
}
|
|
13385
|
+
.menubar-primary .nav-link.collapse-icon .collapse-icon-closed {
|
|
13386
|
+
top: calc(22px - 0.5em);
|
|
13387
|
+
}
|
|
13388
|
+
.menubar-primary .nav-link.collapse-icon .collapse-icon-open {
|
|
13389
|
+
top: calc(22px - 0.5em);
|
|
13390
|
+
}
|
|
13391
|
+
.menubar-primary .nav-link .autofit-row {
|
|
13392
|
+
align-items: center;
|
|
13393
|
+
margin-left: -0.25rem;
|
|
13394
|
+
margin-right: -0.25rem;
|
|
13395
|
+
}
|
|
13396
|
+
.menubar-primary .nav-link .autofit-row .autofit-col {
|
|
13397
|
+
padding-left: 0.25rem;
|
|
13398
|
+
padding-right: 0.25rem;
|
|
13399
|
+
}
|
|
13400
|
+
.menubar-primary .menubar-actions-1 {
|
|
13401
|
+
padding-right: 4rem;
|
|
13402
|
+
}
|
|
13403
|
+
.menubar-primary .menubar-action {
|
|
13404
|
+
position: absolute;
|
|
13405
|
+
top: 0.625rem;
|
|
13406
|
+
right: 2rem;
|
|
13407
|
+
}
|
|
13408
|
+
.menubar-primary .nav .nav .nav > li > .nav-link {
|
|
13409
|
+
margin-left: 1rem;
|
|
13410
|
+
}
|
|
13411
|
+
|
|
13175
13412
|
.menubar-vertical-expand-md {
|
|
13176
13413
|
max-width: 15.625rem;
|
|
13177
13414
|
}
|
|
@@ -21441,7 +21678,7 @@ td.table-focus {
|
|
|
21441
21678
|
margin-right: 0.5rem;
|
|
21442
21679
|
}
|
|
21443
21680
|
.toggle-switch-sm .simple-toggle-switch .toggle-switch-label, .simple-toggle-switch.toggle-switch-sm .toggle-switch-label {
|
|
21444
|
-
max-width: calc(100% -
|
|
21681
|
+
max-width: calc(100% - 34px);
|
|
21445
21682
|
}
|
|
21446
21683
|
.toggle-switch-sm .toggle-switch-check {
|
|
21447
21684
|
height: 16px;
|
|
@@ -21460,10 +21697,9 @@ td.table-focus {
|
|
|
21460
21697
|
}
|
|
21461
21698
|
.toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle {
|
|
21462
21699
|
min-width: 30px;
|
|
21463
|
-
max-width: 30px;
|
|
21464
21700
|
}
|
|
21465
21701
|
.toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::after {
|
|
21466
|
-
margin-left:
|
|
21702
|
+
margin-left: 34px;
|
|
21467
21703
|
}
|
|
21468
21704
|
.toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon {
|
|
21469
21705
|
font-size: 0.6875rem;
|