@clayui/css 3.128.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 +193 -70
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +192 -76
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +196 -71
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/send.svg +9 -0
- package/lib/images/icons/speed.svg +10 -0
- package/lib/images/icons/voice.svg +9 -0
- package/package.json +2 -2
- package/src/images/icons/send.svg +9 -0
- package/src/images/icons/speed.svg +10 -0
- package/src/images/icons/voice.svg +9 -0
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_forms.scss +1 -0
- package/src/scss/cadmin/components/_cards.scss +4 -4
- package/src/scss/cadmin/components/_dropdowns.scss +10 -0
- package/src/scss/cadmin/components/_forms.scss +16 -14
- package/src/scss/cadmin/components/_grid.scss +1 -0
- package/src/scss/cadmin/components/_input-groups.scss +12 -1
- package/src/scss/cadmin/components/_type.scss +5 -1
- package/src/scss/cadmin/components/_utilities-functional-important.scss +9 -0
- package/src/scss/cadmin/variables/_cards.scss +24 -38
- package/src/scss/cadmin/variables/_custom-forms.scss +1 -1
- package/src/scss/cadmin/variables/_forms.scss +15 -0
- package/src/scss/cadmin/variables/_loaders.scss +48 -0
- package/src/scss/components/_cards.scss +4 -4
- package/src/scss/components/_dropdowns.scss +10 -0
- package/src/scss/components/_forms.scss +16 -14
- package/src/scss/components/_grid.scss +1 -0
- package/src/scss/components/_input-groups.scss +12 -1
- package/src/scss/components/_type.scss +5 -1
- package/src/scss/components/_utilities-functional-important.scss +6 -0
- package/src/scss/functions/_lx-icons-generated.scss +6 -0
- package/src/scss/mixins/_forms.scss +0 -13
- 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/_custom-forms.scss +1 -1
- package/src/scss/variables/_forms.scss +10 -0
- package/src/scss/variables/_loaders.scss +48 -0
|
@@ -98,6 +98,54 @@ $cadmin-loading-animation-squares: map-deep-merge(
|
|
|
98
98
|
transform: scale(2),
|
|
99
99
|
width: 1em,
|
|
100
100
|
),
|
|
101
|
+
'prefers-reduced-motion': (
|
|
102
|
+
display: block,
|
|
103
|
+
height: 1em,
|
|
104
|
+
margin-left: auto,
|
|
105
|
+
margin-right: auto,
|
|
106
|
+
overflow: hidden,
|
|
107
|
+
position: relative,
|
|
108
|
+
text-align: left,
|
|
109
|
+
vertical-align: middle,
|
|
110
|
+
width: 1em,
|
|
111
|
+
'&::before': (
|
|
112
|
+
animation: loading-animation-circle 1s linear infinite,
|
|
113
|
+
background-color: transparent,
|
|
114
|
+
border-radius: 50%,
|
|
115
|
+
box-shadow: -0.03125em -0.375em 0 0 currentColor,
|
|
116
|
+
content: '',
|
|
117
|
+
display: block,
|
|
118
|
+
font-size: inherit,
|
|
119
|
+
height: 0.25em,
|
|
120
|
+
left: 50%,
|
|
121
|
+
margin-left: -0.125em,
|
|
122
|
+
margin-top: -0.125em,
|
|
123
|
+
opacity: inherit,
|
|
124
|
+
position: absolute,
|
|
125
|
+
top: 50%,
|
|
126
|
+
transform: none,
|
|
127
|
+
width: 0.25em,
|
|
128
|
+
),
|
|
129
|
+
'&::after': (
|
|
130
|
+
animation: loading-animation-circle 1s linear infinite,
|
|
131
|
+
background-color: currentColor,
|
|
132
|
+
border-radius: 50%,
|
|
133
|
+
content: '',
|
|
134
|
+
display: block,
|
|
135
|
+
font-size: inherit,
|
|
136
|
+
height: 1em,
|
|
137
|
+
left: auto,
|
|
138
|
+
-webkit-mask: #{conic-gradient(transparent 10%, #000),
|
|
139
|
+
linear-gradient(#000 0 0) content-box},
|
|
140
|
+
-webkit-mask-composite: source-out,
|
|
141
|
+
mask-composite: subtract,
|
|
142
|
+
padding: 0.25em,
|
|
143
|
+
position: relative,
|
|
144
|
+
top: auto,
|
|
145
|
+
transform: none,
|
|
146
|
+
width: 1em,
|
|
147
|
+
),
|
|
148
|
+
),
|
|
101
149
|
),
|
|
102
150
|
$cadmin-loading-animation-squares
|
|
103
151
|
);
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
// Card Page
|
|
536
536
|
|
|
537
537
|
.card-page {
|
|
538
|
-
@
|
|
538
|
+
@include clay-map-to-css($card-page);
|
|
539
539
|
|
|
540
540
|
&.card-page-equal-height {
|
|
541
541
|
.card-page-item,
|
|
@@ -564,15 +564,15 @@
|
|
|
564
564
|
}
|
|
565
565
|
|
|
566
566
|
.card-page-item-directory {
|
|
567
|
-
@include clay-
|
|
567
|
+
@include clay-map-to-css($card-page-item-directory);
|
|
568
568
|
}
|
|
569
569
|
|
|
570
570
|
.card-page-item-asset {
|
|
571
|
-
@include clay-
|
|
571
|
+
@include clay-map-to-css($card-page-item-asset);
|
|
572
572
|
}
|
|
573
573
|
|
|
574
574
|
.card-page-item-user {
|
|
575
|
-
@include clay-
|
|
575
|
+
@include clay-map-to-css($card-page-item-user);
|
|
576
576
|
}
|
|
577
577
|
|
|
578
578
|
// Card Interactive
|
|
@@ -99,6 +99,16 @@
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
.dropdown-section-grid {
|
|
103
|
+
@extend %list-unstyled !optional;
|
|
104
|
+
|
|
105
|
+
display: grid;
|
|
106
|
+
gap: 0.5rem 0.75rem;
|
|
107
|
+
grid-template-columns: repeat(9, 1fr);
|
|
108
|
+
margin-bottom: 0;
|
|
109
|
+
padding: map-get($dropdown-section, padding);
|
|
110
|
+
}
|
|
111
|
+
|
|
102
112
|
// Dropdown Footer
|
|
103
113
|
|
|
104
114
|
.dropdown-footer {
|
|
@@ -136,20 +136,6 @@ fieldset[disabled] {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
@each $key, $value in $input-palette {
|
|
140
|
-
@if not clay-is-map-unset($value) {
|
|
141
|
-
$selector: if(
|
|
142
|
-
starts-with($key, '.') or starts-with($key, '#'),
|
|
143
|
-
$key,
|
|
144
|
-
str-insert($key, '.', 1)
|
|
145
|
-
);
|
|
146
|
-
|
|
147
|
-
#{$selector} {
|
|
148
|
-
@include clay-form-control-variant($value);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
139
|
.form-control-hidden {
|
|
154
140
|
left: 0;
|
|
155
141
|
opacity: 0;
|
|
@@ -273,6 +259,22 @@ select.form-control[multiple] {
|
|
|
273
259
|
@include clay-select-variant($input-select-multiple);
|
|
274
260
|
}
|
|
275
261
|
|
|
262
|
+
// Form Control Variants
|
|
263
|
+
|
|
264
|
+
@each $key, $value in $input-palette {
|
|
265
|
+
@if not clay-is-map-unset($value) {
|
|
266
|
+
$selector: if(
|
|
267
|
+
starts-with($key, '.') or starts-with($key, '#'),
|
|
268
|
+
$key,
|
|
269
|
+
str-insert($key, '.', 1)
|
|
270
|
+
);
|
|
271
|
+
|
|
272
|
+
#{$selector} {
|
|
273
|
+
@include clay-form-control-variant($value);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
276
278
|
// Form Control Select Variants
|
|
277
279
|
|
|
278
280
|
@each $key, $value in $form-control-select-palette {
|
|
@@ -245,7 +245,8 @@
|
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
.btn-monospaced
|
|
248
|
+
.btn-monospaced,
|
|
249
|
+
.input-group-inset-icon {
|
|
249
250
|
@include clay-button-variant(
|
|
250
251
|
$input-group-inset-item-btn-monospaced
|
|
251
252
|
);
|
|
@@ -260,6 +261,16 @@
|
|
|
260
261
|
}
|
|
261
262
|
}
|
|
262
263
|
|
|
264
|
+
.input-group-inset-icon {
|
|
265
|
+
align-items: center;
|
|
266
|
+
display: flex;
|
|
267
|
+
justify-content: center;
|
|
268
|
+
|
|
269
|
+
.lexicon-icon {
|
|
270
|
+
margin-top: 0;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
263
274
|
.input-group-item .input-group-inset-before.form-control {
|
|
264
275
|
@include border-left-radius(0);
|
|
265
276
|
@include border-right-radius($input-border-radius);
|
|
@@ -130,11 +130,15 @@ mark.clay-dark,
|
|
|
130
130
|
|
|
131
131
|
// Lists
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
%list-unstyled {
|
|
134
134
|
list-style: none;
|
|
135
135
|
padding-left: 0;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
+
.list-unstyled {
|
|
139
|
+
@extend %list-unstyled;
|
|
140
|
+
}
|
|
141
|
+
|
|
138
142
|
// Inline turns list items into inline-block
|
|
139
143
|
|
|
140
144
|
.list-inline {
|
|
@@ -780,6 +780,8 @@
|
|
|
780
780
|
|
|
781
781
|
'select': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline select-border" d="M448 64v384H64V64h384M64 0C28.7 0 0 28.7 0 64v384c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64z" fill="#{$color}"/><path class="lexicon-icon-outline select-caret-up" fill="#{$color}" d="M414.5 224H278.8l67.9-67.9z"/><path class="lexicon-icon-outline select-caret-down" fill="#{$color}" d="M278.8 288h135.7l-67.8 67.9z"/><path class="lexicon-icon-outline select-s" d="M104.8 306.8c14.2 20.2 94.7 49.1 96.9-3.6C205 259 89.5 268.5 91.5 193.3c6-77.3 100-83.3 143.7-35.9-6.2 8.6-20.2 26.4-20.2 26.4-43.2-35.8-84.9-17.7-83.6 7.5C129 237 238 215 242.2 300.1c2.8 92.4-135.7 76.4-160.7 34.9l23.3-28.2z" fill="#{$color}"/></svg>',
|
|
782
782
|
|
|
783
|
+
'send': '<svg class="lexicon-icon" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" fill-rule="evenodd" clip-rule="evenodd" d="M15.343 9.148c.876-.427.876-1.869 0-2.296L1.488.098C.78-.246 0 .356 0 1.246v3.377c0 .951.736 1.74 1.684 1.806l4.65.326h.638c.592 0 1.073.557 1.073 1.245 0 .688-.48 1.245-1.073 1.245h-.637l-4.65.326A1.81 1.81 0 0 0 0 11.377v3.377c0 .89.781 1.492 1.488 1.148l13.855-6.754Z" fill="#{$color}"/></svg>',
|
|
784
|
+
|
|
783
785
|
'seo': '<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" d="M111.994 152.002c0-13.276 10.734-24.001 23.999-24.001 13.265 0 23.999 10.725 23.999 24.001v128.001c0 13.275-10.734 24-23.999 24-13.265 0-23.999-10.725-23.999-24V152.002Zm143.993 96.001c0-13.276 10.734-24.001 23.999-24.001 13.265 0 23.999 10.725 23.999 24.001v32c0 13.275-10.734 24-23.999 24-13.265 0-23.999-10.725-23.999-24v-32Z" fill="#{$color}"/><path class="lexicon-icon-outline" clip-rule="evenodd" d="M499.207 455.48 377.713 333.378C523.706 92.276 229.62-102.426 59.529 59.375-105.563 245.277 101.127 519.98 332.915 378.38l121.494 118.8c35.098 38.6 79.996-6.4 44.798-41.7ZM206.221 63.575c191.891 0 198.091 289.003 0 289.003-192.89 0-187.39-289.003 0-289.003Z" fill="#{$color}"/><path class="lexicon-icon-outline" d="M183.991 200.002c0-13.275 10.734-24 23.999-24 13.265 0 23.999 10.725 23.999 24v80.001c0 13.275-10.734 24-23.999 24-13.265 0-23.999-10.725-23.999-24v-80.001Z" fill="#{$color}"/></svg>',
|
|
784
786
|
|
|
785
787
|
'separator': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline separator-content-2" d="M416 448H96c-17.7 0-32-14.3-32-32v-32c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32z" fill="#{$color}"/><path class="lexicon-icon-outline separator-divider" d="M464 272H48c-21.2 0-20.5-32 0-32h416c20.8 0 21.8 32 0 32z" fill="#{$color}"/><path class="lexicon-icon-outline separator-content-1" d="M416 160H96c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32z" fill="#{$color}"/></svg>',
|
|
@@ -832,6 +834,8 @@
|
|
|
832
834
|
|
|
833
835
|
'special-character': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M255.87 32C35.55 43.31 12.72 299.8 151.6 384H96.29c-43.54 0-42.58 64 0 64h127.99v-78.07c0-12.64-7.49-24.01-19.08-29.07C90.01 293.65 105.82 101.28 256.58 96c144.34 3.53 171.57 193.26 50.77 244.86-11.58 5.06-19.08 16.43-19.08 29.07V448h127.99c41.84 0 42.8-64 0-64h-55.31C501.05 301.56 474.7 38.92 255.87 32z" fill="#{$color}"/></svg>',
|
|
834
836
|
|
|
837
|
+
'speed': '<svg class="lexicon-icon" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline lx-speed-outline" d="M12.985 6.67A5.962 5.962 0 0 1 14 10.003c0 .702-.121 1.375-.343 2H2.342a5.973 5.973 0 0 1-.342-2c0-3.308 2.694-6 6-6 .604 0 1.188.09 1.738.257l1.55-1.55A7.951 7.951 0 0 0 8 2.004c-4.41 0-8 3.587-8 8 0 .97.174 1.902.492 2.765.297.803 1.065 1.235 1.815 1.235h11.385c.75 0 1.518-.432 1.815-1.235A7.961 7.961 0 0 0 16 10.004a7.958 7.958 0 0 0-1.58-4.768L12.985 6.67Z" fill="#{$color}"/><path class="lexicon-icon-outline lx-speed-dial" d="M6.92 10.162a1.316 1.316 0 0 1 .076-2.078l5.908-4.243a.206.206 0 0 1 .285.291L8.815 9.944a1.316 1.316 0 0 1-1.896.218Z" fill="#{$color}"/></svg>',
|
|
838
|
+
|
|
835
839
|
'square-hole-multi': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-square-hole-multi-square-1" d="M460 0H148c-28.6 0-52 23.4-52 52v12h320c17.7 0 32 14.3 32 32v320h12c28.6 0 52-23.4 52-52V52c0-28.6-23.4-52-52-52z" fill="#{$color}"/><path class="lexicon-icon-outline lx-square-hole-multi-square-2" d="M364 96H52c-28.6 0-52 23.4-52 52v312c0 28.6 23.4 52 52 52h312c28.6 0 52-23.4 52-52V148c0-28.6-23.4-52-52-52zm-78 286H130V226h156v156z" fill="#{$color}"/></svg>',
|
|
836
840
|
|
|
837
841
|
'square-hole': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M448 0H64A64 64 0 0 0 0 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64Zm-96 352H160V160h192Z" fill="#{$color}"/></svg>',
|
|
@@ -954,6 +958,8 @@
|
|
|
954
958
|
|
|
955
959
|
'vocabulary': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-vocabulary-a" d="M145.689 252.622c15.808 7.903 35.029 1.497 42.933-14.31L195.777 224h120.446l7.155 14.311c5.607 11.214 16.908 17.697 28.646 17.696 4.81 0 9.694-1.089 14.287-3.386 15.807-7.903 22.214-27.125 14.311-42.932l-96-192a32 32 0 0 0-57.244 0l-96 192c-7.903 15.808-1.496 35.029 14.311 42.933zM256 103.554 284.223 160h-56.446L256 103.554z" fill="#{$color}"/><path class="lexicon-icon-outline lx-vocabulary-b" d="M160 352v-64c0-17.673-14.327-32-32-32H0v256h160c17.673 0 32-14.327 32-32v-96c0-17.673-14.327-32-32-32zm-64-32v32H64v-32h32zm32 128H64v-32h64v32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-vocabulary-c" d="M478.736 448.025c-16.4.646-18.544.48-20.266.344-2.576-.202-5.14-.369-10.47-.369-35.29 0-64-28.71-64-64s28.71-64 64-64c15.178 0 28.193 1.474 28.295 1.485 17.567 2.04 33.444-10.526 35.49-28.08 2.046-17.554-10.526-33.443-28.08-35.49-.67-.078-16.652-1.915-35.705-1.915-70.58 0-128 57.42-128 128s57.42 128 128 128c3.255 0 4.229.076 5.46.173 2.357.185 4.5.325 8.43.325 3.96 0 9.737-.143 19.374-.523 17.659-.698 31.409-15.58 30.71-33.239-.697-17.66-15.608-31.434-33.238-30.71z" fill="#{$color}"/></svg>',
|
|
956
960
|
|
|
961
|
+
'voice': '<svg class="lexicon-icon" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" fill-rule="evenodd" clip-rule="evenodd" d="M14.139 1.922a.9.9 0 0 0-1.353 1.187c.765.872 1.21 2.267 1.225 3.753.015 1.486-.403 2.886-1.15 3.768a.9.9 0 0 0 1.374 1.163c1.107-1.307 1.594-3.174 1.576-4.95-.018-1.774-.542-3.633-1.672-4.921Zm-8.537 9.265a8.667 8.667 0 0 0-2.5.354c-1.047.314-1.992.837-2.7 1.571-.506.525-.047 1.279.681 1.279h.476c.253 0 .494-.1.698-.25.013-.01.025-.02.039-.029.808-.577 1.999-.928 3.3-.925 1.301.004 2.497.362 3.31.944l.021.015c.202.147.44.245.69.245h.486c.73 0 1.187-.758.676-1.281-.709-.725-1.65-1.246-2.692-1.56a8.714 8.714 0 0 0-2.485-.363ZM2.352 6.79c0 1.041.447 1.973 1.152 2.596.566.5 1.298.802 2.098.802a3.15 3.15 0 0 0 2.089-.795A3.455 3.455 0 0 0 8.85 6.79c0-1.877-1.454-3.398-3.25-3.398-1.794 0-3.25 1.521-3.25 3.398Zm4.5 0c0 .857-.643 1.398-1.25 1.398s-1.25-.54-1.25-1.398c0-.857.643-1.398 1.25-1.398s1.25.54 1.25 1.398Zm2.947-2.915a.75.75 0 0 1 1.06-.027c.832.79 1.22 1.935 1.234 3.029.013 1.093-.348 2.247-1.164 3.05a.75.75 0 1 1-1.052-1.07c.462-.455.725-1.18.716-1.962-.01-.781-.29-1.507-.766-1.96a.75.75 0 0 1-.028-1.06Z" fill="#{$color}"/></svg>',
|
|
962
|
+
|
|
957
963
|
'warehouse': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-warehouse-square-1" d="M176 215c0-18.2 14.3-33 32-33h32c17.7 0 32 14.8 32 33v33c0 18.2-14.3 33-32 33h-32c-17.7 0-32-14.8-32-33v-33z" fill="#{$color}"/><path class="lexicon-icon-outline lx-warehouse-square-2" d="M240 347.1c0-18.2-14.3-33-32-33h-32c-17.7 0-32 14.8-32 33v33c0 18.2 14.3 33 32 33h32c17.7 0 32-14.8 32-33v-33z" fill="#{$color}"/><path class="lexicon-icon-outline lx-warehouse-square-3" d="M336 314.1c17.7 0 32 14.8 32 33v33c0 18.2-14.3 33-32 33h-32c-17.7 0-32-14.8-32-33v-33c0-18.2 14.3-33 32-33h32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-warehouse-border" d="M217.6 13.5c22.8-17.6 54-17.6 76.8 0l192 148.6c16.1 12.5 25.6 32.1 25.6 52.9v297.3H0V215c0-20.8 9.5-40.4 25.6-52.9l192-148.6zM448 215 256 66.3 64 215v231.2h384V215z" clip-rule="evenodd" fill-rule="evenodd" fill="#{$color}"/></svg>',
|
|
958
964
|
|
|
959
965
|
'warning-full': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="m506.3 409.3-214-353.7c-16.8-30.6-55.8-32.6-72.6 0L5.7 409.3C-8 436.5 5 480 42 480h428c36 0 52.5-43.5 36.3-70.7zM224 392c0-42.5 64-42 64 0 0 41.5-64 42.5-64 0zm64-104c0 42.5-64 40.5-64 0V184c0-43 64-43.5 64 0v104z" fill="#{$color}"/></svg>',
|
|
@@ -750,19 +750,6 @@
|
|
|
750
750
|
map-get($map, bg-size),
|
|
751
751
|
map-get($map, background-size)
|
|
752
752
|
),
|
|
753
|
-
color:
|
|
754
|
-
setter(
|
|
755
|
-
map-get($map, color),
|
|
756
|
-
if(
|
|
757
|
-
variable-exists(input-color),
|
|
758
|
-
$input-color,
|
|
759
|
-
if(
|
|
760
|
-
variable-exists(cadmin-input-color),
|
|
761
|
-
$cadmin-input-color,
|
|
762
|
-
null
|
|
763
|
-
)
|
|
764
|
-
)
|
|
765
|
-
),
|
|
766
753
|
)
|
|
767
754
|
);
|
|
768
755
|
|
|
@@ -436,6 +436,14 @@
|
|
|
436
436
|
@media #{clay-str-replace('#{$selector}', '@media ', '')} {
|
|
437
437
|
@include clay-map-to-css($value);
|
|
438
438
|
}
|
|
439
|
+
} @else if (starts-with($selector, '@container ')) {
|
|
440
|
+
@at-root {
|
|
441
|
+
@container #{clay-str-replace('#{$selector}', '@container ', '')} {
|
|
442
|
+
& {
|
|
443
|
+
@include clay-map-to-css($value);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
439
447
|
} @else {
|
|
440
448
|
#{$selector} {
|
|
441
449
|
@include clay-map-to-css($value);
|
|
@@ -862,6 +862,16 @@ $user-card: map-deep-merge(
|
|
|
862
862
|
$user-card
|
|
863
863
|
);
|
|
864
864
|
|
|
865
|
+
$card-page: () !default;
|
|
866
|
+
$card-page: map-deep-merge(
|
|
867
|
+
(
|
|
868
|
+
container-name: c-card-page,
|
|
869
|
+
container-type: inline-size,
|
|
870
|
+
extend: '%clay-custom-grid-wrapper',
|
|
871
|
+
),
|
|
872
|
+
$card-page
|
|
873
|
+
);
|
|
874
|
+
|
|
865
875
|
// Card Page Item Asset
|
|
866
876
|
|
|
867
877
|
// base: min-width 0, sm min-width: 576px, md: min-width: 768px,
|
|
@@ -870,27 +880,25 @@ $user-card: map-deep-merge(
|
|
|
870
880
|
$card-page-item-asset: () !default;
|
|
871
881
|
$card-page-item-asset: map-deep-merge(
|
|
872
882
|
(
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
sm: (
|
|
880
|
-
breakpoint: map-get($grid-breakpoints, sm),
|
|
883
|
+
flex-basis: 100%,
|
|
884
|
+
max-width: 100%,
|
|
885
|
+
padding-left: $grid-gutter-width * 0.5,
|
|
886
|
+
padding-right: $grid-gutter-width * 0.5,
|
|
887
|
+
'@container #{map-get($card-page, container-name)} (min-width: #{map-get($container-max-widths, sm)})':
|
|
888
|
+
(
|
|
881
889
|
flex-basis: 50%,
|
|
882
890
|
max-width: 50%,
|
|
883
891
|
),
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
flex-basis: 33.3333%,
|
|
887
|
-
max-width: 33.3333%,
|
|
888
|
-
),
|
|
889
|
-
lg: (
|
|
890
|
-
breakpoint: map-get($grid-breakpoints, lg),
|
|
892
|
+
'@container #{map-get($card-page, container-name)} (min-width: #{map-get($container-max-widths, lg)})':
|
|
893
|
+
(
|
|
891
894
|
flex-basis: 25%,
|
|
892
895
|
max-width: 25%,
|
|
893
896
|
),
|
|
897
|
+
'@container #{map-get($card-page, container-name)} (min-width: #{map-get($container-max-widths, xxl)})':
|
|
898
|
+
(
|
|
899
|
+
flex-basis: 20%,
|
|
900
|
+
max-width: 20%,
|
|
901
|
+
),
|
|
894
902
|
),
|
|
895
903
|
$card-page-item-asset
|
|
896
904
|
);
|
|
@@ -901,26 +909,7 @@ $card-page-item-asset: map-deep-merge(
|
|
|
901
909
|
|
|
902
910
|
$card-page-item-user: () !default;
|
|
903
911
|
$card-page-item-user: map-deep-merge(
|
|
904
|
-
|
|
905
|
-
base: (
|
|
906
|
-
breakpoint: 0,
|
|
907
|
-
flex-basis: 50%,
|
|
908
|
-
max-width: 50%,
|
|
909
|
-
padding-left: $grid-gutter-width * 0.5,
|
|
910
|
-
padding-right: $grid-gutter-width * 0.5,
|
|
911
|
-
),
|
|
912
|
-
sm: (
|
|
913
|
-
breakpoint: map-get($grid-breakpoints, sm),
|
|
914
|
-
flex-basis: 33.33333%,
|
|
915
|
-
max-width: 33.33333%,
|
|
916
|
-
min-width: 200px,
|
|
917
|
-
),
|
|
918
|
-
lg: (
|
|
919
|
-
breakpoint: map-get($grid-breakpoints, lg),
|
|
920
|
-
flex-basis: 20%,
|
|
921
|
-
max-width: 20%,
|
|
922
|
-
),
|
|
923
|
-
),
|
|
912
|
+
$card-page-item-asset,
|
|
924
913
|
$card-page-item-user
|
|
925
914
|
);
|
|
926
915
|
|
|
@@ -536,7 +536,7 @@ $custom-control-outside: () !default;
|
|
|
536
536
|
$custom-control-outside: map-deep-merge(
|
|
537
537
|
(
|
|
538
538
|
label: (
|
|
539
|
-
display: block,
|
|
539
|
+
display: inline-block,
|
|
540
540
|
padding-left:
|
|
541
541
|
calc(
|
|
542
542
|
#{$custom-control-indicator-size} + #{$custom-control-description-padding-left}
|
|
@@ -120,6 +120,16 @@ $input: map-deep-merge(
|
|
|
120
120
|
// Form Control Variants
|
|
121
121
|
|
|
122
122
|
$input-palette: () !default;
|
|
123
|
+
$input-palette: map-deep-merge(
|
|
124
|
+
(
|
|
125
|
+
'.form-control-shrink': (
|
|
126
|
+
max-width: 100%,
|
|
127
|
+
white-space: nowrap,
|
|
128
|
+
width: min-content,
|
|
129
|
+
),
|
|
130
|
+
),
|
|
131
|
+
$input-palette
|
|
132
|
+
);
|
|
123
133
|
|
|
124
134
|
// Form Control Plaintext
|
|
125
135
|
|
|
@@ -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
|
);
|