@clayui/css 3.130.0 → 3.131.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 +160 -60
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +160 -60
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +160 -61
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/cadmin/components/_cards.scss +4 -4
- package/src/scss/cadmin/components/_grid.scss +1 -0
- package/src/scss/cadmin/components/_utilities-functional-important.scss +3 -5
- package/src/scss/cadmin/variables/_cards.scss +24 -38
- package/src/scss/cadmin/variables/_loaders.scss +48 -0
- package/src/scss/cadmin/variables/_utilities.scss +0 -16
- package/src/scss/components/_cards.scss +4 -4
- package/src/scss/components/_grid.scss +1 -0
- package/src/scss/components/_utilities-functional-important.scss +1 -3
- package/src/scss/mixins/_globals.scss +8 -0
- package/src/scss/mixins/_grid.scss +2 -0
- package/src/scss/mixins/_loaders.scss +6 -0
- package/src/scss/variables/_cards.scss +24 -35
- package/src/scss/variables/_loaders.scss +48 -0
- package/src/scss/variables/_utilities.scss +0 -16
package/lib/css/base.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
|
-
* Clay 3.
|
|
3
|
+
* Clay 3.131.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>
|
|
@@ -3553,6 +3553,7 @@ input[type=button].btn-block {
|
|
|
3553
3553
|
}
|
|
3554
3554
|
|
|
3555
3555
|
.card-page {
|
|
3556
|
+
container-type: inline-size;
|
|
3556
3557
|
display: flex;
|
|
3557
3558
|
flex-wrap: wrap;
|
|
3558
3559
|
list-style: none;
|
|
@@ -6287,6 +6288,10 @@ input[type=button].btn-block {
|
|
|
6287
6288
|
transform: none;
|
|
6288
6289
|
}
|
|
6289
6290
|
|
|
6291
|
+
.card-page {
|
|
6292
|
+
container-name: c-card-page;
|
|
6293
|
+
container-type: inline-size;
|
|
6294
|
+
}
|
|
6290
6295
|
.card-page.card-page-equal-height .card-page-item,
|
|
6291
6296
|
.card-page.card-page-equal-height .card-page-item-asset,
|
|
6292
6297
|
.card-page.card-page-equal-height .card-page-item-directory {
|
|
@@ -6309,101 +6314,74 @@ input[type=button].btn-block {
|
|
|
6309
6314
|
}
|
|
6310
6315
|
|
|
6311
6316
|
.card-page-item-directory {
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
min-width: 193px;
|
|
6317
|
+
flex-basis: 100%;
|
|
6318
|
+
max-width: 100%;
|
|
6315
6319
|
padding-left: 15px;
|
|
6316
6320
|
padding-right: 15px;
|
|
6317
|
-
position: relative;
|
|
6318
|
-
width: 100%;
|
|
6319
|
-
}
|
|
6320
|
-
@media (min-width: 0) {
|
|
6321
|
-
.card-page-item-directory {
|
|
6322
|
-
min-width: 193px;
|
|
6323
|
-
padding-left: 15px;
|
|
6324
|
-
padding-right: 15px;
|
|
6325
|
-
}
|
|
6326
6321
|
}
|
|
6327
|
-
@
|
|
6322
|
+
@container c-card-page (min-width: 540px) {
|
|
6328
6323
|
.card-page-item-directory {
|
|
6329
6324
|
flex-basis: 50%;
|
|
6330
6325
|
max-width: 50%;
|
|
6331
6326
|
}
|
|
6332
6327
|
}
|
|
6333
|
-
@
|
|
6328
|
+
@container c-card-page (min-width: 960px) {
|
|
6334
6329
|
.card-page-item-directory {
|
|
6335
|
-
flex-basis:
|
|
6336
|
-
max-width:
|
|
6330
|
+
flex-basis: 25%;
|
|
6331
|
+
max-width: 25%;
|
|
6337
6332
|
}
|
|
6338
6333
|
}
|
|
6339
|
-
@
|
|
6334
|
+
@container c-card-page (min-width: 1392px) {
|
|
6340
6335
|
.card-page-item-directory {
|
|
6341
|
-
flex-basis:
|
|
6342
|
-
max-width:
|
|
6336
|
+
flex-basis: 20%;
|
|
6337
|
+
max-width: 20%;
|
|
6343
6338
|
}
|
|
6344
6339
|
}
|
|
6345
6340
|
|
|
6346
6341
|
.card-page-item-asset {
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
min-width: 193px;
|
|
6342
|
+
flex-basis: 100%;
|
|
6343
|
+
max-width: 100%;
|
|
6350
6344
|
padding-left: 15px;
|
|
6351
6345
|
padding-right: 15px;
|
|
6352
|
-
position: relative;
|
|
6353
|
-
width: 100%;
|
|
6354
|
-
}
|
|
6355
|
-
@media (min-width: 0) {
|
|
6356
|
-
.card-page-item-asset {
|
|
6357
|
-
min-width: 193px;
|
|
6358
|
-
padding-left: 15px;
|
|
6359
|
-
padding-right: 15px;
|
|
6360
|
-
}
|
|
6361
6346
|
}
|
|
6362
|
-
@
|
|
6347
|
+
@container c-card-page (min-width: 540px) {
|
|
6363
6348
|
.card-page-item-asset {
|
|
6364
6349
|
flex-basis: 50%;
|
|
6365
6350
|
max-width: 50%;
|
|
6366
6351
|
}
|
|
6367
6352
|
}
|
|
6368
|
-
@
|
|
6353
|
+
@container c-card-page (min-width: 960px) {
|
|
6369
6354
|
.card-page-item-asset {
|
|
6370
|
-
flex-basis:
|
|
6371
|
-
max-width:
|
|
6355
|
+
flex-basis: 25%;
|
|
6356
|
+
max-width: 25%;
|
|
6372
6357
|
}
|
|
6373
6358
|
}
|
|
6374
|
-
@
|
|
6359
|
+
@container c-card-page (min-width: 1392px) {
|
|
6375
6360
|
.card-page-item-asset {
|
|
6376
|
-
flex-basis:
|
|
6377
|
-
max-width:
|
|
6361
|
+
flex-basis: 20%;
|
|
6362
|
+
max-width: 20%;
|
|
6378
6363
|
}
|
|
6379
6364
|
}
|
|
6380
6365
|
|
|
6381
6366
|
.card-page-item-user {
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
flex-grow: 1;
|
|
6385
|
-
max-width: 50%;
|
|
6367
|
+
flex-basis: 100%;
|
|
6368
|
+
max-width: 100%;
|
|
6386
6369
|
padding-left: 15px;
|
|
6387
6370
|
padding-right: 15px;
|
|
6388
|
-
position: relative;
|
|
6389
|
-
width: 100%;
|
|
6390
6371
|
}
|
|
6391
|
-
@
|
|
6372
|
+
@container c-card-page (min-width: 540px) {
|
|
6392
6373
|
.card-page-item-user {
|
|
6393
6374
|
flex-basis: 50%;
|
|
6394
6375
|
max-width: 50%;
|
|
6395
|
-
padding-left: 15px;
|
|
6396
|
-
padding-right: 15px;
|
|
6397
6376
|
}
|
|
6398
6377
|
}
|
|
6399
|
-
@
|
|
6378
|
+
@container c-card-page (min-width: 960px) {
|
|
6400
6379
|
.card-page-item-user {
|
|
6401
|
-
flex-basis:
|
|
6402
|
-
max-width:
|
|
6403
|
-
min-width: 200px;
|
|
6380
|
+
flex-basis: 25%;
|
|
6381
|
+
max-width: 25%;
|
|
6404
6382
|
}
|
|
6405
6383
|
}
|
|
6406
|
-
@
|
|
6384
|
+
@container c-card-page (min-width: 1392px) {
|
|
6407
6385
|
.card-page-item-user {
|
|
6408
6386
|
flex-basis: 20%;
|
|
6409
6387
|
max-width: 20%;
|
|
@@ -31625,19 +31603,69 @@ a.text-dark:hover, a.text-dark:focus {
|
|
|
31625
31603
|
scroll-behavior: auto;
|
|
31626
31604
|
transition: none;
|
|
31627
31605
|
}
|
|
31606
|
+
.c-prefers-reduced-motion .loading-animation-squares {
|
|
31607
|
+
display: block;
|
|
31608
|
+
height: 1em;
|
|
31609
|
+
margin-left: auto;
|
|
31610
|
+
margin-right: auto;
|
|
31611
|
+
overflow: hidden;
|
|
31612
|
+
position: relative;
|
|
31613
|
+
text-align: left;
|
|
31614
|
+
vertical-align: middle;
|
|
31615
|
+
width: 1em;
|
|
31616
|
+
}
|
|
31628
31617
|
.c-prefers-reduced-motion .loading-animation-squares::before {
|
|
31618
|
+
animation: loading-animation-circle 1s linear infinite;
|
|
31629
31619
|
background-color: transparent;
|
|
31620
|
+
border-radius: 50%;
|
|
31621
|
+
box-shadow: -0.03125em -0.375em 0 0 currentColor;
|
|
31622
|
+
content: "";
|
|
31630
31623
|
display: block;
|
|
31631
31624
|
font-size: inherit;
|
|
31625
|
+
height: 0.25em;
|
|
31626
|
+
left: 50%;
|
|
31627
|
+
margin-left: -0.125em;
|
|
31628
|
+
margin-top: -0.125em;
|
|
31632
31629
|
opacity: inherit;
|
|
31630
|
+
position: absolute;
|
|
31631
|
+
top: 50%;
|
|
31633
31632
|
transform: none;
|
|
31633
|
+
width: 0.25em;
|
|
31634
31634
|
}
|
|
31635
|
+
@media (prefers-reduced-motion: reduce) {
|
|
31636
|
+
.c-prefers-reduced-motion .loading-animation-squares::before {
|
|
31637
|
+
animation: none;
|
|
31638
|
+
}
|
|
31639
|
+
}
|
|
31640
|
+
.c-prefers-reduced-motion .c-prefers-reduced-motion .loading-animation-squares::before {
|
|
31641
|
+
animation: none;
|
|
31642
|
+
}
|
|
31643
|
+
|
|
31635
31644
|
.c-prefers-reduced-motion .loading-animation-squares::after {
|
|
31645
|
+
animation: loading-animation-circle 1s linear infinite;
|
|
31646
|
+
background-color: currentColor;
|
|
31647
|
+
border-radius: 50%;
|
|
31648
|
+
content: "";
|
|
31649
|
+
display: block;
|
|
31636
31650
|
font-size: inherit;
|
|
31651
|
+
height: 1em;
|
|
31637
31652
|
left: auto;
|
|
31653
|
+
-webkit-mask: conic-gradient(transparent 10%, #000), linear-gradient(#000 0 0) content-box;
|
|
31654
|
+
-webkit-mask-composite: source-out;
|
|
31655
|
+
mask-composite: subtract;
|
|
31656
|
+
padding: 0.25em;
|
|
31638
31657
|
position: relative;
|
|
31639
31658
|
top: auto;
|
|
31640
31659
|
transform: none;
|
|
31660
|
+
width: 1em;
|
|
31661
|
+
}
|
|
31662
|
+
@media (prefers-reduced-motion: reduce) {
|
|
31663
|
+
.c-prefers-reduced-motion .loading-animation-squares::after {
|
|
31664
|
+
animation: none;
|
|
31665
|
+
}
|
|
31666
|
+
}
|
|
31667
|
+
.c-prefers-reduced-motion .c-prefers-reduced-motion .loading-animation-squares::after {
|
|
31668
|
+
animation: none;
|
|
31641
31669
|
}
|
|
31642
31670
|
|
|
31643
31671
|
@keyframes loading-animation-circle {
|
|
@@ -31645,7 +31673,7 @@ a.text-dark:hover, a.text-dark:focus {
|
|
|
31645
31673
|
transform: rotate(360deg);
|
|
31646
31674
|
}
|
|
31647
31675
|
}
|
|
31648
|
-
.loading-animation
|
|
31676
|
+
.loading-animation {
|
|
31649
31677
|
display: block;
|
|
31650
31678
|
height: 1em;
|
|
31651
31679
|
margin-left: auto;
|
|
@@ -31656,7 +31684,7 @@ a.text-dark:hover, a.text-dark:focus {
|
|
|
31656
31684
|
vertical-align: middle;
|
|
31657
31685
|
width: 1em;
|
|
31658
31686
|
}
|
|
31659
|
-
.loading-animation::before
|
|
31687
|
+
.loading-animation::before {
|
|
31660
31688
|
animation: loading-animation-circle 1s linear infinite;
|
|
31661
31689
|
border-radius: 50%;
|
|
31662
31690
|
box-shadow: -0.03125em -0.375em 0 0 currentColor;
|
|
@@ -31670,15 +31698,15 @@ a.text-dark:hover, a.text-dark:focus {
|
|
|
31670
31698
|
width: 0.25em;
|
|
31671
31699
|
}
|
|
31672
31700
|
@media (prefers-reduced-motion: reduce) {
|
|
31673
|
-
.loading-animation::before
|
|
31701
|
+
.loading-animation::before {
|
|
31674
31702
|
animation: none;
|
|
31675
31703
|
}
|
|
31676
31704
|
}
|
|
31677
|
-
.c-prefers-reduced-motion .loading-animation::before
|
|
31705
|
+
.c-prefers-reduced-motion .loading-animation::before {
|
|
31678
31706
|
animation: none;
|
|
31679
31707
|
}
|
|
31680
31708
|
|
|
31681
|
-
.loading-animation::after
|
|
31709
|
+
.loading-animation::after {
|
|
31682
31710
|
animation: loading-animation-circle 1s linear infinite;
|
|
31683
31711
|
background-color: currentColor;
|
|
31684
31712
|
border-radius: 50%;
|
|
@@ -31692,11 +31720,11 @@ a.text-dark:hover, a.text-dark:focus {
|
|
|
31692
31720
|
width: 1em;
|
|
31693
31721
|
}
|
|
31694
31722
|
@media (prefers-reduced-motion: reduce) {
|
|
31695
|
-
.loading-animation::after
|
|
31723
|
+
.loading-animation::after {
|
|
31696
31724
|
animation: none;
|
|
31697
31725
|
}
|
|
31698
31726
|
}
|
|
31699
|
-
.c-prefers-reduced-motion .loading-animation::after
|
|
31727
|
+
.c-prefers-reduced-motion .loading-animation::after {
|
|
31700
31728
|
animation: none;
|
|
31701
31729
|
}
|
|
31702
31730
|
|
|
@@ -31810,6 +31838,78 @@ a.text-dark:hover, a.text-dark:focus {
|
|
|
31810
31838
|
animation: none;
|
|
31811
31839
|
}
|
|
31812
31840
|
|
|
31841
|
+
@media (prefers-reduced-motion: reduce) {
|
|
31842
|
+
.loading-animation-squares {
|
|
31843
|
+
display: block;
|
|
31844
|
+
height: 1em;
|
|
31845
|
+
margin-left: auto;
|
|
31846
|
+
margin-right: auto;
|
|
31847
|
+
overflow: hidden;
|
|
31848
|
+
position: relative;
|
|
31849
|
+
text-align: left;
|
|
31850
|
+
vertical-align: middle;
|
|
31851
|
+
width: 1em;
|
|
31852
|
+
}
|
|
31853
|
+
.loading-animation-squares::before {
|
|
31854
|
+
animation: loading-animation-circle 1s linear infinite;
|
|
31855
|
+
background-color: transparent;
|
|
31856
|
+
border-radius: 50%;
|
|
31857
|
+
box-shadow: -0.03125em -0.375em 0 0 currentColor;
|
|
31858
|
+
content: "";
|
|
31859
|
+
display: block;
|
|
31860
|
+
font-size: inherit;
|
|
31861
|
+
height: 0.25em;
|
|
31862
|
+
left: 50%;
|
|
31863
|
+
margin-left: -0.125em;
|
|
31864
|
+
margin-top: -0.125em;
|
|
31865
|
+
opacity: inherit;
|
|
31866
|
+
position: absolute;
|
|
31867
|
+
top: 50%;
|
|
31868
|
+
transform: none;
|
|
31869
|
+
width: 0.25em;
|
|
31870
|
+
}
|
|
31871
|
+
}
|
|
31872
|
+
@media (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
|
|
31873
|
+
.loading-animation-squares::before {
|
|
31874
|
+
animation: none;
|
|
31875
|
+
}
|
|
31876
|
+
}
|
|
31877
|
+
@media (prefers-reduced-motion: reduce) {
|
|
31878
|
+
.c-prefers-reduced-motion .loading-animation-squares::before {
|
|
31879
|
+
animation: none;
|
|
31880
|
+
}
|
|
31881
|
+
}
|
|
31882
|
+
@media (prefers-reduced-motion: reduce) {
|
|
31883
|
+
.loading-animation-squares::after {
|
|
31884
|
+
animation: loading-animation-circle 1s linear infinite;
|
|
31885
|
+
background-color: currentColor;
|
|
31886
|
+
border-radius: 50%;
|
|
31887
|
+
content: "";
|
|
31888
|
+
display: block;
|
|
31889
|
+
font-size: inherit;
|
|
31890
|
+
height: 1em;
|
|
31891
|
+
left: auto;
|
|
31892
|
+
-webkit-mask: conic-gradient(transparent 10%, #000), linear-gradient(#000 0 0) content-box;
|
|
31893
|
+
-webkit-mask-composite: source-out;
|
|
31894
|
+
mask-composite: subtract;
|
|
31895
|
+
padding: 0.25em;
|
|
31896
|
+
position: relative;
|
|
31897
|
+
top: auto;
|
|
31898
|
+
transform: none;
|
|
31899
|
+
width: 1em;
|
|
31900
|
+
}
|
|
31901
|
+
}
|
|
31902
|
+
@media (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
|
|
31903
|
+
.loading-animation-squares::after {
|
|
31904
|
+
animation: none;
|
|
31905
|
+
}
|
|
31906
|
+
}
|
|
31907
|
+
@media (prefers-reduced-motion: reduce) {
|
|
31908
|
+
.c-prefers-reduced-motion .loading-animation-squares::after {
|
|
31909
|
+
animation: none;
|
|
31910
|
+
}
|
|
31911
|
+
}
|
|
31912
|
+
|
|
31813
31913
|
.loading-animation-xs {
|
|
31814
31914
|
font-size: 0.625rem;
|
|
31815
31915
|
}
|