@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/atlas.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>
|
|
@@ -3590,6 +3590,7 @@ input[type=button].btn-block {
|
|
|
3590
3590
|
}
|
|
3591
3591
|
|
|
3592
3592
|
.card-page {
|
|
3593
|
+
container-type: inline-size;
|
|
3593
3594
|
display: flex;
|
|
3594
3595
|
flex-wrap: wrap;
|
|
3595
3596
|
list-style: none;
|
|
@@ -6454,6 +6455,10 @@ input[type=button].btn-block {
|
|
|
6454
6455
|
transform: none;
|
|
6455
6456
|
}
|
|
6456
6457
|
|
|
6458
|
+
.card-page {
|
|
6459
|
+
container-name: c-card-page;
|
|
6460
|
+
container-type: inline-size;
|
|
6461
|
+
}
|
|
6457
6462
|
.card-page.card-page-equal-height .card-page-item,
|
|
6458
6463
|
.card-page.card-page-equal-height .card-page-item-asset,
|
|
6459
6464
|
.card-page.card-page-equal-height .card-page-item-directory {
|
|
@@ -6476,101 +6481,74 @@ input[type=button].btn-block {
|
|
|
6476
6481
|
}
|
|
6477
6482
|
|
|
6478
6483
|
.card-page-item-directory {
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
min-width: 193px;
|
|
6484
|
+
flex-basis: 100%;
|
|
6485
|
+
max-width: 100%;
|
|
6482
6486
|
padding-left: 12px;
|
|
6483
6487
|
padding-right: 12px;
|
|
6484
|
-
position: relative;
|
|
6485
|
-
width: 100%;
|
|
6486
|
-
}
|
|
6487
|
-
@media (min-width: 0) {
|
|
6488
|
-
.card-page-item-directory {
|
|
6489
|
-
min-width: 193px;
|
|
6490
|
-
padding-left: 12px;
|
|
6491
|
-
padding-right: 12px;
|
|
6492
|
-
}
|
|
6493
6488
|
}
|
|
6494
|
-
@
|
|
6489
|
+
@container c-card-page (min-width: 540px) {
|
|
6495
6490
|
.card-page-item-directory {
|
|
6496
6491
|
flex-basis: 50%;
|
|
6497
6492
|
max-width: 50%;
|
|
6498
6493
|
}
|
|
6499
6494
|
}
|
|
6500
|
-
@
|
|
6495
|
+
@container c-card-page (min-width: 960px) {
|
|
6501
6496
|
.card-page-item-directory {
|
|
6502
|
-
flex-basis:
|
|
6503
|
-
max-width:
|
|
6497
|
+
flex-basis: 25%;
|
|
6498
|
+
max-width: 25%;
|
|
6504
6499
|
}
|
|
6505
6500
|
}
|
|
6506
|
-
@
|
|
6501
|
+
@container c-card-page (min-width: 1392px) {
|
|
6507
6502
|
.card-page-item-directory {
|
|
6508
|
-
flex-basis:
|
|
6509
|
-
max-width:
|
|
6503
|
+
flex-basis: 20%;
|
|
6504
|
+
max-width: 20%;
|
|
6510
6505
|
}
|
|
6511
6506
|
}
|
|
6512
6507
|
|
|
6513
6508
|
.card-page-item-asset {
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
min-width: 193px;
|
|
6509
|
+
flex-basis: 100%;
|
|
6510
|
+
max-width: 100%;
|
|
6517
6511
|
padding-left: 12px;
|
|
6518
6512
|
padding-right: 12px;
|
|
6519
|
-
position: relative;
|
|
6520
|
-
width: 100%;
|
|
6521
|
-
}
|
|
6522
|
-
@media (min-width: 0) {
|
|
6523
|
-
.card-page-item-asset {
|
|
6524
|
-
min-width: 193px;
|
|
6525
|
-
padding-left: 12px;
|
|
6526
|
-
padding-right: 12px;
|
|
6527
|
-
}
|
|
6528
6513
|
}
|
|
6529
|
-
@
|
|
6514
|
+
@container c-card-page (min-width: 540px) {
|
|
6530
6515
|
.card-page-item-asset {
|
|
6531
6516
|
flex-basis: 50%;
|
|
6532
6517
|
max-width: 50%;
|
|
6533
6518
|
}
|
|
6534
6519
|
}
|
|
6535
|
-
@
|
|
6520
|
+
@container c-card-page (min-width: 960px) {
|
|
6536
6521
|
.card-page-item-asset {
|
|
6537
|
-
flex-basis:
|
|
6538
|
-
max-width:
|
|
6522
|
+
flex-basis: 25%;
|
|
6523
|
+
max-width: 25%;
|
|
6539
6524
|
}
|
|
6540
6525
|
}
|
|
6541
|
-
@
|
|
6526
|
+
@container c-card-page (min-width: 1392px) {
|
|
6542
6527
|
.card-page-item-asset {
|
|
6543
|
-
flex-basis:
|
|
6544
|
-
max-width:
|
|
6528
|
+
flex-basis: 20%;
|
|
6529
|
+
max-width: 20%;
|
|
6545
6530
|
}
|
|
6546
6531
|
}
|
|
6547
6532
|
|
|
6548
6533
|
.card-page-item-user {
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
flex-grow: 1;
|
|
6552
|
-
max-width: 50%;
|
|
6534
|
+
flex-basis: 100%;
|
|
6535
|
+
max-width: 100%;
|
|
6553
6536
|
padding-left: 12px;
|
|
6554
6537
|
padding-right: 12px;
|
|
6555
|
-
position: relative;
|
|
6556
|
-
width: 100%;
|
|
6557
6538
|
}
|
|
6558
|
-
@
|
|
6539
|
+
@container c-card-page (min-width: 540px) {
|
|
6559
6540
|
.card-page-item-user {
|
|
6560
6541
|
flex-basis: 50%;
|
|
6561
6542
|
max-width: 50%;
|
|
6562
|
-
padding-left: 12px;
|
|
6563
|
-
padding-right: 12px;
|
|
6564
6543
|
}
|
|
6565
6544
|
}
|
|
6566
|
-
@
|
|
6545
|
+
@container c-card-page (min-width: 960px) {
|
|
6567
6546
|
.card-page-item-user {
|
|
6568
|
-
flex-basis:
|
|
6569
|
-
max-width:
|
|
6570
|
-
min-width: 200px;
|
|
6547
|
+
flex-basis: 25%;
|
|
6548
|
+
max-width: 25%;
|
|
6571
6549
|
}
|
|
6572
6550
|
}
|
|
6573
|
-
@
|
|
6551
|
+
@container c-card-page (min-width: 1392px) {
|
|
6574
6552
|
.card-page-item-user {
|
|
6575
6553
|
flex-basis: 20%;
|
|
6576
6554
|
max-width: 20%;
|
|
@@ -34843,19 +34821,69 @@ a.text-dark:hover, a.text-dark:focus {
|
|
|
34843
34821
|
scroll-behavior: auto;
|
|
34844
34822
|
transition: none;
|
|
34845
34823
|
}
|
|
34824
|
+
.c-prefers-reduced-motion .loading-animation-squares {
|
|
34825
|
+
display: block;
|
|
34826
|
+
height: 1em;
|
|
34827
|
+
margin-left: auto;
|
|
34828
|
+
margin-right: auto;
|
|
34829
|
+
overflow: hidden;
|
|
34830
|
+
position: relative;
|
|
34831
|
+
text-align: left;
|
|
34832
|
+
vertical-align: middle;
|
|
34833
|
+
width: 1em;
|
|
34834
|
+
}
|
|
34846
34835
|
.c-prefers-reduced-motion .loading-animation-squares::before {
|
|
34836
|
+
animation: loading-animation-circle 1s linear infinite;
|
|
34847
34837
|
background-color: transparent;
|
|
34838
|
+
border-radius: 50%;
|
|
34839
|
+
box-shadow: -0.03125em -0.375em 0 0 currentColor;
|
|
34840
|
+
content: "";
|
|
34848
34841
|
display: block;
|
|
34849
34842
|
font-size: inherit;
|
|
34843
|
+
height: 0.25em;
|
|
34844
|
+
left: 50%;
|
|
34845
|
+
margin-left: -0.125em;
|
|
34846
|
+
margin-top: -0.125em;
|
|
34850
34847
|
opacity: inherit;
|
|
34848
|
+
position: absolute;
|
|
34849
|
+
top: 50%;
|
|
34851
34850
|
transform: none;
|
|
34851
|
+
width: 0.25em;
|
|
34852
34852
|
}
|
|
34853
|
+
@media (prefers-reduced-motion: reduce) {
|
|
34854
|
+
.c-prefers-reduced-motion .loading-animation-squares::before {
|
|
34855
|
+
animation: none;
|
|
34856
|
+
}
|
|
34857
|
+
}
|
|
34858
|
+
.c-prefers-reduced-motion .c-prefers-reduced-motion .loading-animation-squares::before {
|
|
34859
|
+
animation: none;
|
|
34860
|
+
}
|
|
34861
|
+
|
|
34853
34862
|
.c-prefers-reduced-motion .loading-animation-squares::after {
|
|
34863
|
+
animation: loading-animation-circle 1s linear infinite;
|
|
34864
|
+
background-color: currentColor;
|
|
34865
|
+
border-radius: 50%;
|
|
34866
|
+
content: "";
|
|
34867
|
+
display: block;
|
|
34854
34868
|
font-size: inherit;
|
|
34869
|
+
height: 1em;
|
|
34855
34870
|
left: auto;
|
|
34871
|
+
-webkit-mask: conic-gradient(transparent 10%, #000), linear-gradient(#000 0 0) content-box;
|
|
34872
|
+
-webkit-mask-composite: source-out;
|
|
34873
|
+
mask-composite: subtract;
|
|
34874
|
+
padding: 0.25em;
|
|
34856
34875
|
position: relative;
|
|
34857
34876
|
top: auto;
|
|
34858
34877
|
transform: none;
|
|
34878
|
+
width: 1em;
|
|
34879
|
+
}
|
|
34880
|
+
@media (prefers-reduced-motion: reduce) {
|
|
34881
|
+
.c-prefers-reduced-motion .loading-animation-squares::after {
|
|
34882
|
+
animation: none;
|
|
34883
|
+
}
|
|
34884
|
+
}
|
|
34885
|
+
.c-prefers-reduced-motion .c-prefers-reduced-motion .loading-animation-squares::after {
|
|
34886
|
+
animation: none;
|
|
34859
34887
|
}
|
|
34860
34888
|
|
|
34861
34889
|
@keyframes loading-animation-circle {
|
|
@@ -34863,7 +34891,7 @@ a.text-dark:hover, a.text-dark:focus {
|
|
|
34863
34891
|
transform: rotate(360deg);
|
|
34864
34892
|
}
|
|
34865
34893
|
}
|
|
34866
|
-
.loading-animation
|
|
34894
|
+
.loading-animation {
|
|
34867
34895
|
display: block;
|
|
34868
34896
|
height: 1em;
|
|
34869
34897
|
margin-left: auto;
|
|
@@ -34874,7 +34902,7 @@ a.text-dark:hover, a.text-dark:focus {
|
|
|
34874
34902
|
vertical-align: middle;
|
|
34875
34903
|
width: 1em;
|
|
34876
34904
|
}
|
|
34877
|
-
.loading-animation::before
|
|
34905
|
+
.loading-animation::before {
|
|
34878
34906
|
animation: loading-animation-circle 1s linear infinite;
|
|
34879
34907
|
border-radius: 50%;
|
|
34880
34908
|
box-shadow: -0.03125em -0.375em 0 0 currentColor;
|
|
@@ -34888,15 +34916,15 @@ a.text-dark:hover, a.text-dark:focus {
|
|
|
34888
34916
|
width: 0.25em;
|
|
34889
34917
|
}
|
|
34890
34918
|
@media (prefers-reduced-motion: reduce) {
|
|
34891
|
-
.loading-animation::before
|
|
34919
|
+
.loading-animation::before {
|
|
34892
34920
|
animation: none;
|
|
34893
34921
|
}
|
|
34894
34922
|
}
|
|
34895
|
-
.c-prefers-reduced-motion .loading-animation::before
|
|
34923
|
+
.c-prefers-reduced-motion .loading-animation::before {
|
|
34896
34924
|
animation: none;
|
|
34897
34925
|
}
|
|
34898
34926
|
|
|
34899
|
-
.loading-animation::after
|
|
34927
|
+
.loading-animation::after {
|
|
34900
34928
|
animation: loading-animation-circle 1s linear infinite;
|
|
34901
34929
|
background-color: currentColor;
|
|
34902
34930
|
border-radius: 50%;
|
|
@@ -34910,11 +34938,11 @@ a.text-dark:hover, a.text-dark:focus {
|
|
|
34910
34938
|
width: 1em;
|
|
34911
34939
|
}
|
|
34912
34940
|
@media (prefers-reduced-motion: reduce) {
|
|
34913
|
-
.loading-animation::after
|
|
34941
|
+
.loading-animation::after {
|
|
34914
34942
|
animation: none;
|
|
34915
34943
|
}
|
|
34916
34944
|
}
|
|
34917
|
-
.c-prefers-reduced-motion .loading-animation::after
|
|
34945
|
+
.c-prefers-reduced-motion .loading-animation::after {
|
|
34918
34946
|
animation: none;
|
|
34919
34947
|
}
|
|
34920
34948
|
|
|
@@ -35028,6 +35056,78 @@ a.text-dark:hover, a.text-dark:focus {
|
|
|
35028
35056
|
animation: none;
|
|
35029
35057
|
}
|
|
35030
35058
|
|
|
35059
|
+
@media (prefers-reduced-motion: reduce) {
|
|
35060
|
+
.loading-animation-squares {
|
|
35061
|
+
display: block;
|
|
35062
|
+
height: 1em;
|
|
35063
|
+
margin-left: auto;
|
|
35064
|
+
margin-right: auto;
|
|
35065
|
+
overflow: hidden;
|
|
35066
|
+
position: relative;
|
|
35067
|
+
text-align: left;
|
|
35068
|
+
vertical-align: middle;
|
|
35069
|
+
width: 1em;
|
|
35070
|
+
}
|
|
35071
|
+
.loading-animation-squares::before {
|
|
35072
|
+
animation: loading-animation-circle 1s linear infinite;
|
|
35073
|
+
background-color: transparent;
|
|
35074
|
+
border-radius: 50%;
|
|
35075
|
+
box-shadow: -0.03125em -0.375em 0 0 currentColor;
|
|
35076
|
+
content: "";
|
|
35077
|
+
display: block;
|
|
35078
|
+
font-size: inherit;
|
|
35079
|
+
height: 0.25em;
|
|
35080
|
+
left: 50%;
|
|
35081
|
+
margin-left: -0.125em;
|
|
35082
|
+
margin-top: -0.125em;
|
|
35083
|
+
opacity: inherit;
|
|
35084
|
+
position: absolute;
|
|
35085
|
+
top: 50%;
|
|
35086
|
+
transform: none;
|
|
35087
|
+
width: 0.25em;
|
|
35088
|
+
}
|
|
35089
|
+
}
|
|
35090
|
+
@media (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
|
|
35091
|
+
.loading-animation-squares::before {
|
|
35092
|
+
animation: none;
|
|
35093
|
+
}
|
|
35094
|
+
}
|
|
35095
|
+
@media (prefers-reduced-motion: reduce) {
|
|
35096
|
+
.c-prefers-reduced-motion .loading-animation-squares::before {
|
|
35097
|
+
animation: none;
|
|
35098
|
+
}
|
|
35099
|
+
}
|
|
35100
|
+
@media (prefers-reduced-motion: reduce) {
|
|
35101
|
+
.loading-animation-squares::after {
|
|
35102
|
+
animation: loading-animation-circle 1s linear infinite;
|
|
35103
|
+
background-color: currentColor;
|
|
35104
|
+
border-radius: 50%;
|
|
35105
|
+
content: "";
|
|
35106
|
+
display: block;
|
|
35107
|
+
font-size: inherit;
|
|
35108
|
+
height: 1em;
|
|
35109
|
+
left: auto;
|
|
35110
|
+
-webkit-mask: conic-gradient(transparent 10%, #000), linear-gradient(#000 0 0) content-box;
|
|
35111
|
+
-webkit-mask-composite: source-out;
|
|
35112
|
+
mask-composite: subtract;
|
|
35113
|
+
padding: 0.25em;
|
|
35114
|
+
position: relative;
|
|
35115
|
+
top: auto;
|
|
35116
|
+
transform: none;
|
|
35117
|
+
width: 1em;
|
|
35118
|
+
}
|
|
35119
|
+
}
|
|
35120
|
+
@media (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
|
|
35121
|
+
.loading-animation-squares::after {
|
|
35122
|
+
animation: none;
|
|
35123
|
+
}
|
|
35124
|
+
}
|
|
35125
|
+
@media (prefers-reduced-motion: reduce) {
|
|
35126
|
+
.c-prefers-reduced-motion .loading-animation-squares::after {
|
|
35127
|
+
animation: none;
|
|
35128
|
+
}
|
|
35129
|
+
}
|
|
35130
|
+
|
|
35031
35131
|
.loading-animation-xs {
|
|
35032
35132
|
font-size: 0.625rem;
|
|
35033
35133
|
}
|