@clayui/css 3.51.0 → 3.54.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.
@@ -1,5 +1,15 @@
1
- .popover {
2
- @include clay-popover-variant($popover);
1
+ // Popovers
2
+
3
+ @each $selector, $value in $popovers {
4
+ $selector: if(
5
+ starts-with($selector, '.') or starts-with($selector, '#'),
6
+ $selector,
7
+ str-insert($selector, '.', 1)
8
+ );
9
+
10
+ #{$selector} {
11
+ @include clay-popover-variant($value);
12
+ }
3
13
  }
4
14
 
5
15
  %bs-popover-bottom {
@@ -135,24 +145,46 @@
135
145
  @extend %bs-popover-top !optional;
136
146
  }
137
147
 
138
- .popover-header {
139
- @include clay-css($popover-header);
148
+ // Popover Headers
140
149
 
141
- &::before {
142
- @include clay-css(map-get($popover-header, before));
143
- }
150
+ @each $selector, $value in $popover-headers {
151
+ $selector: if(
152
+ starts-with($selector, '.') or starts-with($selector, '#'),
153
+ $selector,
154
+ str-insert($selector, '.', 1)
155
+ );
144
156
 
145
- &::after {
146
- @include clay-css(map-get($popover-header, after));
157
+ #{$selector} {
158
+ @include clay-popover-header-variant($value);
147
159
  }
160
+ }
148
161
 
149
- &:empty {
150
- @include clay-css(map-get($popover-header, empty));
162
+ // Popover Bodies
163
+
164
+ @each $selector, $value in $popover-bodies {
165
+ $selector: if(
166
+ starts-with($selector, '.') or starts-with($selector, '#'),
167
+ $selector,
168
+ str-insert($selector, '.', 1)
169
+ );
170
+
171
+ #{$selector} {
172
+ @include clay-popover-header-variant($value);
151
173
  }
152
174
  }
153
175
 
154
- .popover-body {
155
- @include clay-css($popover-body);
176
+ // Popover Widths
177
+
178
+ @each $selector, $value in $popover-widths {
179
+ $selector: if(
180
+ starts-with($selector, '.') or starts-with($selector, '#'),
181
+ $selector,
182
+ str-insert($selector, '.', 1)
183
+ );
184
+
185
+ #{$selector} {
186
+ @include clay-popover-variant($value);
187
+ }
156
188
  }
157
189
 
158
190
  // Top
@@ -106,6 +106,10 @@
106
106
 
107
107
  'books': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline books-1-spine-top" d="M96.1 32h-64C14.4 32 .1 46.3.1 64v32h128V64c0-17.7-14.3-32-32-32z" fill="#{$color}"/><path class="lexicon-icon-outline books-1-spine-bottom" d="M.1 448c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32v-32H.1v32z" fill="#{$color}"/><path class="lexicon-icon-outline books-1-spine" fill="#{$color}" d="M.1 128h128v256H.1z"/><path class="lexicon-icon-outline books-2-spine-top" d="M256.1 32h-64c-17.7 0-32 14.3-32 32v32h128V64c0-17.7-14.3-32-32-32z" fill="#{$color}"/><path class="lexicon-icon-outline books-2-spine-bottom" d="M160.1 448c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32v-32h-128v32z" fill="#{$color}"/><path class="lexicon-icon-outline books-2-spine" fill="#{$color}" d="M160.1 128h128v256h-128z"/><path class="lexicon-icon-outline books-3-spine-top" d="m359.2 35.2-31 8.1c-17.1 4.5-27.4 21.9-22.9 39l8.1 31 92.9-24.2-8.1-31c-4.5-17.1-21.9-27.4-39-22.9z" fill="#{$color}"/><path class="lexicon-icon-outline books-3-spine" fill="#{$color}" d="m321.422 144.212 92.909-24.172 64.46 247.756-92.908 24.173z"/><path class="lexicon-icon-outline books-3-spine-bottom" d="M402 453.9c4.5 17.1 21.9 27.4 39 22.9l31-8.1c17.1-4.5 27.4-21.9 22.9-39l-8.1-31-92.9 24.2 8.1 31z" fill="#{$color}"/></svg>',
108
108
 
109
+ 'border-style': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline border-style-rectangle-1" d="M64.001 96c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32h384c17.674 0 32-14.327 32-32 0-17.673-14.326-32-32-32h-384Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-2" d="M64.001 224c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32h128c17.674 0 32-14.327 32-32 0-17.673-14.326-32-32-32h-128Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-3" d="M32.002 384c0-17.673 14.326-32 32-32H128c17.674 0 32 14.327 32 32 0 17.673-14.326 32-32 32h-64c-17.673 0-32-14.327-32-32Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-4" d="M320.001 224c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32h128c17.674 0 32-14.327 32-32 0-17.673-14.326-32-32-32h-128Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-5" d="M192.001 384c0-17.673 14.327-32 32-32h64c17.674 0 32 14.327 32 32 0 17.673-14.326 32-32 32h-64c-17.673 0-32-14.327-32-32Z" fill="#{$color}"/><path class="lexicon-icon-outline border-style-rectangle-6" d="M384.001 352c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32h64c17.674 0 32-14.327 32-32 0-17.673-14.326-32-32-32h-64Z" fill="#{$color}"/></svg>',
110
+
111
+ 'border-width': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-border-width-line-1" d="M32 352h448v96H32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-border-width-line-2" d="M32 192h448v64H32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-border-width-line-3" d="M32 64h448v32H32z" fill="#{$color}"/></svg>',
112
+
109
113
  'box-container': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline box-container-border" d="M448 64v384H64V64h384m0-64H64C28.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-64z" fill="#{$color}"/><path class="lexicon-icon-outline box-container-square1" d="M384 256h-64c-17.7 0-32-14.3-32-32v-64c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32z" fill="#{$color}"/><path class="lexicon-icon-outline box-container-square2" d="M384 416h-64c-17.7 0-32-14.3-32-32v-64c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32z" fill="#{$color}"/><path class="lexicon-icon-outline box-container-square3" d="M224 416h-64c-17.7 0-32-14.3-32-32v-64c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32z" fill="#{$color}"/></svg>',
110
114
 
111
115
  'breadcrumb': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline breadcrumb-arrow-outline" d="M111.8 128 214 255.8 111.8 383.6H32V128h79.8m0-32H32c-19.2 0-32 12.8-32 32v255.6c0 19.2 12.8 32 32 32h79.9c9.6 0 19.2-3.2 25.6-12.8L239.7 275c9.6-12.8 9.6-28.8 0-38.3L137.4 108.8c-6.4-9.6-16-12.8-25.6-12.8z" fill="#{$color}"/><path class="lexicon-icon-outline breadcrumb-arrow-solid" d="M377 415.5H258.8c-25.6 0-41.5-32-25.6-51.1l86.3-108.6-86.3-108.6c-16-19.2 0-51.1 25.6-51.1H377c9.6 0 19.2 3.2 25.6 12.8l102.2 127.8c9.6 12.8 9.6 28.8 0 38.3L402.6 402.7c-6.4 9.6-16 12.8-25.6 12.8z" fill="#{$color}"/></svg>',
@@ -224,6 +228,8 @@
224
228
 
225
229
  'devices': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline devices1" d="M224 128H32c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32zM64 416V192h128v224H64z" fill="#{$color}"/><path class="lexicon-icon-outline devices2" d="M448 0H192c-35.3 0-64 28.7-64 64v32h64V64h256v384H288v64h160c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z" fill="#{$color}"/></svg>',
226
230
 
231
+ 'diagonal-line': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline diagonal-line" d="M108.821 402.901c-18.746-18.745-18.746-49.137 0-67.882l226.274-226.274c18.745-18.746 49.137-18.746 67.882 0 18.745 18.745 18.745 49.137 0 67.882L176.703 402.901c-18.745 18.745-49.137 18.745-67.882 0Z" fill="#{$color}"/></svg>',
232
+
227
233
  'diagram': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline diagram-connector" d="M256 368v-32c0-22.4 32-22.4 32 0v32c0 22.4-32 22.4-32 0zM304 448h-32c-22.4 0-22.4-32 0-32h32c22.4 0 22.4 32 0 32zM256 272v-64c0-22.4 32-22.4 32 0v64c0 22.4-32 22.4-32 0zM256 144v-32c0-22.4 32-22.4 32 0v32c0 22.4-32 22.4-32 0zM272 32h32c22.4 0 22.4 32 0 32h-32c-22.4 0-22.4-32 0-32z" fill="#{$color}"/><path class="lexicon-icon-outline diagram-partbox1" d="M208 224h-16v-64c0-19.2-12.8-32-32-32H32c-19.2 0-32 12.8-32 32v192c0 19.2 12.8 32 32 32h128c19.2 0 32-12.8 32-32v-96h16c19.2 0 22.4-32 0-32zm-80 96H64V192h64v128z" fill="#{$color}"/><path class="lexicon-icon-outline diagram-partbox2" d="M480 384h-64c-19.2 0-32 12.8-32 32h-16c-22.4 0-22.4 32 0 32h16v32c0 19.2 12.8 32 32 32h64c19.2 0 32-12.8 32-32v-64c0-19.2-12.8-32-32-32z" fill="#{$color}"/><path class="lexicon-icon-outline diagram-partbox3" d="M480 0h-64c-19.2 0-32 12.8-32 32h-16c-22.4 0-22.4 32 0 32h16v32c0 19.2 12.8 32 32 32h64c19.2 0 32-12.8 32-32V32c0-19.2-12.8-32-32-32z" fill="#{$color}"/><path class="lexicon-icon-outline diagram-partbox4" d="M480 192h-64c-19.2 0-32 12.8-32 32h-16c-22.4 0-22.4 32 0 32h16v32c0 19.2 12.8 32 32 32h64c19.2 0 32-12.8 32-32v-64c0-19.2-12.8-32-32-32z" fill="#{$color}"/></svg>',
228
234
 
229
235
  'diamond': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M210.81 493.53C162.6 445.66 69.12 346.88 18.7 301.35c-17.9-16.16-30.95-57.26 0-90.54l192-192.28c33.39-30.68 72.58-17.94 90.62.11l192.11 192.17c31.74 34.16 16.43 73.37.11 90.65L301.32 493.53c-16.22 17.01-59.05 31.24-90.51 0z" fill="#{$color}"/></svg>',
@@ -562,6 +568,8 @@
562
568
 
563
569
  'oauth': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline oauth-2-border" d="M256.4 64c254.8 13 256.7 370.5 0 384C-.5 436.4.2 76.4 256.4 64m0-64c-342 15.6-341.7 497.6 0 512 340.5-12.1 341.1-497.8 0-512z" fill="#{$color}"/><path class="lexicon-icon-outline oauth-2-a" d="M350.6 310.3 303.9 164c-7.2-17.7-16-36-47.8-36-32.1 0-40.5 18.2-48 36l-46.7 146.4c-10.9 40.4 45.8 59.7 61.2 19.3l9.2-29h48.3l9.2 29c15.4 40.3 72.3 21.3 61.3-19.4z" fill="#{$color}"/></svg>',
564
570
 
571
+ 'opacity': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-opacity-square-1" d="M0 256h128v128H0z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-2" d="M128 128h128v128H128z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-3" d="M0 64C0 28.654 28.654 0 64 0h64v128H0V64Z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-4" d="M128 384h128v128H128z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-5" d="M256 0h128v128H256z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-6" d="M256 256h128v128H256z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-7" d="M384 384h128v64c0 35.346-28.654 64-64 64h-64V384Z" fill="#{$color}"/><path class="lexicon-icon-outline lx-opacity-square-8" d="M384 128h128v128H384z" fill="#{$color}"/></svg>',
572
+
565
573
  'open-id': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline open-id-tail" d="M224 64v382.2C128.3 436.4 64 383.8 64 336c0-42.3 50.3-88.3 128-105.2v-65C81.6 185.3 0 254 0 336c0 89.7 97.8 165.2 224 176l96-64V0l-96 64z" fill="#{$color}"/><path class="lexicon-icon-outline open-id-head" d="m512 320-32-128-35.2 26.4c-25.6-19.5-56.7-35.5-92.8-45.5v66.9c7.2 2.6 26.3 7.5 41.8 16.8L352 288l160 32z" fill="#{$color}"/></svg>',
566
574
 
567
575
  'order-arrow-down': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="m161.5 367.9 71.6 71.6c11.9 10.8 32.9 11.2 45.8 0l71.6-71.6c29.8-33.6-15.8-74.9-45.8-45.8L288 338.8V96c0-42.5-64-42.5-64 0v242.8l-16.7-16.7c-31.8-29.9-75.5 14.9-45.8 45.8z" fill="#{$color}"/></svg>',