@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
|
@@ -96,6 +96,54 @@ $loading-animation-squares: map-deep-merge(
|
|
|
96
96
|
transform: scale(2),
|
|
97
97
|
width: 1em,
|
|
98
98
|
),
|
|
99
|
+
'prefers-reduced-motion': (
|
|
100
|
+
display: block,
|
|
101
|
+
height: 1em,
|
|
102
|
+
margin-left: auto,
|
|
103
|
+
margin-right: auto,
|
|
104
|
+
overflow: hidden,
|
|
105
|
+
position: relative,
|
|
106
|
+
text-align: left,
|
|
107
|
+
vertical-align: middle,
|
|
108
|
+
width: 1em,
|
|
109
|
+
'&::before': (
|
|
110
|
+
animation: loading-animation-circle 1s linear infinite,
|
|
111
|
+
background-color: transparent,
|
|
112
|
+
border-radius: 50%,
|
|
113
|
+
box-shadow: -0.03125em -0.375em 0 0 currentColor,
|
|
114
|
+
content: '',
|
|
115
|
+
display: block,
|
|
116
|
+
font-size: inherit,
|
|
117
|
+
height: 0.25em,
|
|
118
|
+
left: 50%,
|
|
119
|
+
margin-left: -0.125em,
|
|
120
|
+
margin-top: -0.125em,
|
|
121
|
+
opacity: inherit,
|
|
122
|
+
position: absolute,
|
|
123
|
+
top: 50%,
|
|
124
|
+
transform: none,
|
|
125
|
+
width: 0.25em,
|
|
126
|
+
),
|
|
127
|
+
'&::after': (
|
|
128
|
+
animation: loading-animation-circle 1s linear infinite,
|
|
129
|
+
background-color: currentColor,
|
|
130
|
+
border-radius: 50%,
|
|
131
|
+
content: '',
|
|
132
|
+
display: block,
|
|
133
|
+
font-size: inherit,
|
|
134
|
+
height: 1em,
|
|
135
|
+
left: auto,
|
|
136
|
+
-webkit-mask: #{conic-gradient(transparent 10%, #000),
|
|
137
|
+
linear-gradient(#000 0 0) content-box},
|
|
138
|
+
-webkit-mask-composite: source-out,
|
|
139
|
+
mask-composite: subtract,
|
|
140
|
+
padding: 0.25em,
|
|
141
|
+
position: relative,
|
|
142
|
+
top: auto,
|
|
143
|
+
transform: none,
|
|
144
|
+
width: 1em,
|
|
145
|
+
),
|
|
146
|
+
),
|
|
99
147
|
),
|
|
100
148
|
$loading-animation-squares
|
|
101
149
|
);
|
|
@@ -798,22 +798,6 @@ $c-prefers-reduced-motion: map-merge(
|
|
|
798
798
|
(
|
|
799
799
|
scroll-behavior: auto,
|
|
800
800
|
transition: clay-enable-transitions(none),
|
|
801
|
-
'.loading-animation-squares': (
|
|
802
|
-
'&::before': (
|
|
803
|
-
background-color: transparent,
|
|
804
|
-
display: block,
|
|
805
|
-
font-size: inherit,
|
|
806
|
-
opacity: inherit,
|
|
807
|
-
transform: none,
|
|
808
|
-
),
|
|
809
|
-
'&::after': (
|
|
810
|
-
font-size: inherit,
|
|
811
|
-
left: auto,
|
|
812
|
-
position: relative,
|
|
813
|
-
top: auto,
|
|
814
|
-
transform: none,
|
|
815
|
-
),
|
|
816
|
-
),
|
|
817
801
|
),
|
|
818
802
|
$c-prefers-reduced-motion
|
|
819
803
|
);
|