@clayui/css 3.53.0 → 3.56.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.
Files changed (55) hide show
  1. package/lib/css/atlas.css +184 -181
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +101 -128
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/bootstrap.css.map +1 -1
  6. package/lib/css/cadmin.css +47 -65
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/diagonal-line.svg +9 -0
  9. package/lib/images/icons/icons.svg +1 -1
  10. package/package.json +2 -2
  11. package/src/images/icons/diagonal-line.svg +9 -0
  12. package/src/scss/_license-text.scss +1 -1
  13. package/src/scss/atlas/variables/_buttons.scss +1 -1
  14. package/src/scss/atlas/variables/_dropdowns.scss +1 -1
  15. package/src/scss/atlas/variables/_globals.scss +5 -5
  16. package/src/scss/atlas/variables/_navigation-bar.scss +1 -1
  17. package/src/scss/atlas/variables/_navs.scss +1 -1
  18. package/src/scss/atlas/variables/_panels.scss +2 -2
  19. package/src/scss/atlas/variables/_range.scss +24 -6
  20. package/src/scss/atlas/variables/_sheets.scss +2 -1
  21. package/src/scss/atlas/variables/_sidebar.scss +3 -2
  22. package/src/scss/atlas/variables/_type.scss +0 -2
  23. package/src/scss/cadmin/components/_breadcrumbs.scss +12 -62
  24. package/src/scss/cadmin/variables/_breadcrumbs.scss +94 -16
  25. package/src/scss/cadmin/variables/_range.scss +110 -51
  26. package/src/scss/components/_breadcrumbs.scss +12 -71
  27. package/src/scss/components/_tables.scss +2 -2
  28. package/src/scss/functions/_color-functions.scss +66 -26
  29. package/src/scss/functions/_global-functions.scss +10 -3
  30. package/src/scss/functions/_lx-icons-generated.scss +2 -0
  31. package/src/scss/mixins/_buttons.scss +4 -0
  32. package/src/scss/mixins/_forms.scss +1020 -378
  33. package/src/scss/variables/_alerts.scss +8 -0
  34. package/src/scss/variables/_breadcrumbs.scss +90 -15
  35. package/src/scss/variables/_buttons.scss +116 -67
  36. package/src/scss/variables/_cards.scss +1 -1
  37. package/src/scss/variables/_date-picker.scss +1 -1
  38. package/src/scss/variables/_dropdowns.scss +4 -4
  39. package/src/scss/variables/_forms.scss +1 -1
  40. package/src/scss/variables/_globals.scss +2 -2
  41. package/src/scss/variables/_links.scss +1 -1
  42. package/src/scss/variables/_list-group.scss +2 -2
  43. package/src/scss/variables/_multi-step-nav.scss +1 -1
  44. package/src/scss/variables/_navbar.scss +2 -2
  45. package/src/scss/variables/_navs.scss +1 -1
  46. package/src/scss/variables/_pagination.scss +1 -1
  47. package/src/scss/variables/_panels.scss +5 -4
  48. package/src/scss/variables/_range.scss +114 -50
  49. package/src/scss/variables/_sheets.scss +1 -1
  50. package/src/scss/variables/_sidebar.scss +2 -0
  51. package/src/scss/variables/_tables.scss +9 -4
  52. package/src/scss/variables/_tbar.scss +14 -13
  53. package/src/scss/variables/_time.scss +1 -1
  54. package/src/scss/variables/_type.scss +2 -2
  55. package/src/scss/variables/_utilities.scss +1 -1
@@ -54,57 +54,116 @@ $cadmin-clay-range-input: map-deep-merge(
54
54
  position: relative,
55
55
  vertical-align: middle,
56
56
  width: 100%,
57
- thumb-appearance: none,
58
- thumb-bg: $cadmin-white,
59
- thumb-border-radius: 100px,
60
- thumb-border-width: 0,
61
- thumb-box-shadow: 0 1px 5px -1px rgba(0, 0, 0, 0.3),
62
- thumb-height: 24px,
63
- thumb-width: 24px,
64
- track-appearance: none,
65
- track-bg: $cadmin-gray-200,
66
- track-border-radius: 100px,
67
- track-height: 4px,
68
- track-position: absolute,
69
- track-top: 50%,
70
- track-width: 100%,
71
- progress-bg: $cadmin-primary,
72
- progress-border-radius: 100px 0 0 100px,
73
- progress-position: absolute,
74
- progress-top: 50%,
75
- progress-width: 50%,
76
- tooltip-padding: 8px 12px,
77
- tooltip-spacer-y: 4px,
78
- tooltip-transition: opacity 0.15s linear,
79
- tooltip-visibility: hidden,
80
- tooltip-white-space: nowrap,
81
- tooltip-arrow-size: 6px,
82
- form-control-appearance: none,
83
- form-control-bg: transparent,
84
- form-control-height: $cadmin-input-height,
85
- form-control-position: relative,
86
- form-control-z-index: $cadmin-zindex-clay-range-input-form-control,
87
- data-label-font-size: 14px,
88
- data-label-font-weight: $cadmin-font-weight-semi-bold,
89
- data-label-line-height: 1,
90
- data-label-margin-top: 40px,
91
- data-label-position: absolute,
92
- data-label-spacer: 16px,
93
- data-label-text-align: center,
94
- data-label-top: 0,
95
- data-label-width: 24px,
96
- data-label-before-content: attr(data-label-min),
97
- data-label-after-content: attr(data-label-max),
98
- data-label-after-right: 0,
99
- hover-cursor: $cadmin-link-cursor,
100
- hover-thumb-bg: $cadmin-primary-l3,
101
- focus-outline: 0,
102
- focus-thumb-box-shadow: $cadmin-component-focus-inset-box-shadow,
103
- disabled-color: $cadmin-clay-range-disabled-color,
104
- disabled-cursor: $cadmin-disabled-cursor,
105
- disabled-thumb-bg: $cadmin-gray-100,
106
- disabled-progress-bg: $cadmin-primary-l2,
107
- disabled-track-bg: $cadmin-gray-200,
57
+ clay-range-thumb: (
58
+ background-color: $cadmin-white,
59
+ border-radius: 100px,
60
+ border-width: 0,
61
+ box-shadow: 0 1px 5px -1px rgba(0, 0, 0, 0.3),
62
+ height: 24px,
63
+ width: 24px,
64
+ ),
65
+ clay-range-track: (
66
+ background-color: $cadmin-gray-200,
67
+ border-radius: 100px,
68
+ height: 4px,
69
+ position: absolute,
70
+ top: 50%,
71
+ width: 100%,
72
+ ),
73
+ clay-range-progress: (
74
+ background-color: $cadmin-primary,
75
+ border-radius: 100px 0 0 100px,
76
+ position: absolute,
77
+ top: 50%,
78
+ width: 50%,
79
+ ),
80
+ tooltip: (
81
+ margin-left: 13px,
82
+ transition: opacity 0.15s linear,
83
+ visibility: hidden,
84
+ white-space: nowrap,
85
+ ),
86
+ tooltip-inner: (
87
+ padding: 8px 12px,
88
+ ),
89
+ tooltip-arrow: (
90
+ height: 6px,
91
+ width: 6px,
92
+ ),
93
+ clay-tooltip-bottom: (
94
+ margin-top: 4px,
95
+ padding-top: 3px,
96
+ top: 100%,
97
+ transform: translateX(-50%),
98
+ tooltip-arrow: (
99
+ margin-left: -4px,
100
+ ),
101
+ ),
102
+ clay-tooltip-top: (
103
+ bottom: 100%,
104
+ margin-bottom: 4px,
105
+ padding-bottom: 3px,
106
+ transform: translateX(-50%),
107
+ tooltip-arrow: (
108
+ margin-left: -4px,
109
+ ),
110
+ ),
111
+ form-control-range: (
112
+ appearance: none,
113
+ background-color: transparent,
114
+ height: $cadmin-input-height,
115
+ position: relative,
116
+ z-index: $cadmin-zindex-clay-range-input-form-control,
117
+ hover: (
118
+ cursor: $cadmin-link-cursor,
119
+ clay-range-thumb: (
120
+ background-color: $cadmin-primary-l3,
121
+ ),
122
+ ),
123
+ focus: (
124
+ outline: 0,
125
+ clay-range-thumb: (
126
+ box-shadow: $cadmin-component-focus-inset-box-shadow,
127
+ ),
128
+ ),
129
+ disabled: (
130
+ color: $cadmin-clay-range-disabled-color,
131
+ cursor: $cadmin-disabled-cursor,
132
+ clay-range-thumb: (
133
+ background-color: $cadmin-gray-100,
134
+ ),
135
+ clay-range-progress: (
136
+ background-color: $cadmin-primary-l2,
137
+ ),
138
+ clay-range-track: (
139
+ background-color: $cadmin-gray-200,
140
+ ),
141
+ ),
142
+ ),
143
+ data-label-min-max: (
144
+ margin-bottom: 16px,
145
+ ),
146
+ before-after: (
147
+ font-size: 14px,
148
+ font-weight: $cadmin-font-weight-semi-bold,
149
+ line-height: 1,
150
+ margin-top: 40px,
151
+ position: absolute,
152
+ text-align: center,
153
+ top: 0,
154
+ width: 24px,
155
+ ),
156
+ data-label-min: (
157
+ before: (
158
+ content: unquote("'\\FEFF' attr(data-label-min)"),
159
+ ),
160
+ ),
161
+ data-label-max: (
162
+ after: (
163
+ content: unquote("'\\FEFF' attr(data-label-max)"),
164
+ right: 0,
165
+ ),
166
+ ),
108
167
  ),
109
168
  $cadmin-clay-range-input
110
169
  );
@@ -1,81 +1,30 @@
1
1
  .breadcrumb {
2
- background-color: $breadcrumb-bg;
3
-
4
- @include border-radius($breadcrumb-border-radius);
5
-
6
- display: flex;
7
- flex-wrap: wrap;
8
- font-size: $breadcrumb-font-size;
9
- list-style: none;
10
- margin-bottom: $breadcrumb-margin-bottom;
11
- padding: $breadcrumb-padding-y $breadcrumb-padding-x;
2
+ @include clay-css($breadcrumb);
12
3
  }
13
4
 
14
5
  .breadcrumb-link {
15
6
  @include clay-link($breadcrumb-link);
16
-
17
- > .breadcrumb-text-truncate {
18
- text-decoration: $breadcrumb-link-text-decoration;
19
-
20
- &:hover,
21
- &:focus {
22
- text-decoration: $breadcrumb-link-hover-text-decoration;
23
- }
24
- }
25
7
  }
26
8
 
27
9
  .breadcrumb-item {
28
- font-size: $breadcrumb-font-size;
29
- font-weight: $breadcrumb-font-weight;
30
-
31
- @if ($breadcrumb-divider-svg-icon) {
32
- margin-right: 0.5em;
33
- position: relative;
34
- }
10
+ @include clay-css($breadcrumb-item);
35
11
 
36
12
  &.active,
37
13
  .active {
38
- color: $breadcrumb-active-color;
39
- font-weight: $breadcrumb-active-font-weight;
14
+ @include clay-css(map-get($breadcrumb-item, active));
40
15
  }
41
16
 
42
17
  > span {
43
- text-transform: $breadcrumb-text-transform;
18
+ text-transform: inherit;
44
19
  }
45
20
 
46
21
  + .breadcrumb-item {
47
- padding-left: if(
48
- $breadcrumb-divider-svg-icon,
49
- 1em,
50
- $breadcrumb-item-padding
51
- );
22
+ @include clay-css(map-get($breadcrumb-item, breadcrumb-item));
52
23
 
53
24
  &::before {
54
- color: $breadcrumb-divider-color;
55
- display: block;
56
- float: left;
57
-
58
- @if ($breadcrumb-divider-svg-icon) {
59
- background-image: $breadcrumb-divider-svg-icon;
60
- background-repeat: no-repeat;
61
- background-size: 100%;
62
- content: '';
63
- height: $breadcrumb-divider-svg-icon-height;
64
- left: 0;
65
- margin-top: calc(
66
- #{math-sign($breadcrumb-divider-svg-icon-height)} / 2
67
- );
68
- padding: 0;
69
- position: absolute;
70
- top: 50%;
71
- width: $breadcrumb-divider-svg-icon-width;
72
- } @else {
73
- content: escape-svg($breadcrumb-divider);
74
- font-family: $breadcrumb-divider-font-family;
75
- font-weight: $breadcrumb-divider-font-weight;
76
- padding-left: 0.4em;
77
- padding-right: 0.4em;
78
- }
25
+ @include clay-css(
26
+ map-deep-get($breadcrumb-item, breadcrumb-item, before)
27
+ );
79
28
  }
80
29
  }
81
30
 
@@ -95,22 +44,14 @@
95
44
  }
96
45
 
97
46
  .dropdown-toggle {
98
- text-decoration: none;
99
-
100
- &:hover,
101
- &:focus {
102
- text-decoration: none;
103
- }
47
+ @include clay-button-variant(
48
+ map-get($breadcrumb-item, dropdown-toggle)
49
+ );
104
50
  }
105
51
  }
106
52
 
107
53
  .breadcrumb-text-truncate {
108
- display: inline-block;
109
- max-width: $breadcrumb-text-truncate-max-width;
110
-
111
- @include text-truncate;
112
-
113
- vertical-align: bottom;
54
+ @include clay-css($breadcrumb-text-truncate);
114
55
 
115
56
  @include clay-scale-component {
116
57
  max-width: $breadcrumb-text-truncate-max-width-mobile;
@@ -107,7 +107,7 @@ caption {
107
107
  }
108
108
 
109
109
  tbody + tbody {
110
- border-top: (2 * $table-border-width) solid $table-border-color;
110
+ border-top: calc(2 * #{$table-border-width}) solid $table-border-color;
111
111
  }
112
112
 
113
113
  tfoot {
@@ -170,7 +170,7 @@ caption {
170
170
  thead {
171
171
  td,
172
172
  th {
173
- border-bottom-width: 2 * $table-border-width;
173
+ border-bottom-width: calc(2 * #{$table-border-width});
174
174
 
175
175
  @if (
176
176
  $table-head-border-top-width ==
@@ -34,9 +34,14 @@
34
34
  /// An alias for the Sass `darken` function. It converts CSS Custom Properties with a fallback value to the correct type in Sass.
35
35
  /// @param {Color} $color - The color to darken
36
36
  /// @param {Number} $amount - A number between 0% and 100%
37
-
38
- @function clay-darken($color, $amount) {
39
- @if (is-css-var($color) and not clay-color-functions-process-fallback()) {
37
+ /// @param {Bool} $fallback[$enable-clay-color-functions-process-fallback] - Force Sass to process the CSS Custom Property fallback colors
38
+
39
+ @function clay-darken(
40
+ $color,
41
+ $amount,
42
+ $fallback: clay-color-functions-process-fallback()
43
+ ) {
44
+ @if (is-css-var($color) and not $fallback) {
40
45
  @return $color;
41
46
  }
42
47
 
@@ -49,9 +54,14 @@
49
54
  /// An alias for the Sass `lighten` function. It converts CSS Custom Properties with a fallback value to the correct type in Sass.
50
55
  /// @param {Color} $color - The color to lighten
51
56
  /// @param {Number} $amount - A number between 0% and 100%
52
-
53
- @function clay-lighten($color, $amount) {
54
- @if (is-css-var($color) and not clay-color-functions-process-fallback()) {
57
+ /// @param {Bool} $fallback[$enable-clay-color-functions-process-fallback] - Force Sass to process the CSS Custom Property fallback colors
58
+
59
+ @function clay-lighten(
60
+ $color,
61
+ $amount,
62
+ $fallback: clay-color-functions-process-fallback()
63
+ ) {
64
+ @if (is-css-var($color) and not $fallback) {
55
65
  @return $color;
56
66
  }
57
67
 
@@ -64,9 +74,14 @@
64
74
  /// An alias for the Sass `adjust-hue` function. It converts CSS Custom Properties with a fallback value to the correct type in Sass.
65
75
  /// @param {Color} $color - The color to adjust
66
76
  /// @param {Number} $degrees - A number between -360deg and 360deg
67
-
68
- @function clay-adjust-hue($color, $degrees) {
69
- @if (is-css-var($color) and not clay-color-functions-process-fallback()) {
77
+ /// @param {Bool} $fallback[$enable-clay-color-functions-process-fallback] - Force Sass to process the CSS Custom Property fallback colors
78
+
79
+ @function clay-adjust-hue(
80
+ $color,
81
+ $degrees,
82
+ $fallback: clay-color-functions-process-fallback()
83
+ ) {
84
+ @if (is-css-var($color) and not $fallback) {
70
85
  @return $color;
71
86
  }
72
87
 
@@ -79,9 +94,14 @@
79
94
  /// An alias for the Sass `desaturate` function. It converts CSS Custom Properties with a fallback value to the correct type in Sass.
80
95
  /// @param {Color} $color - The color to desaturate
81
96
  /// @param {Number} $amount - A number between 0% and 100%
82
-
83
- @function clay-desaturate($color, $amount) {
84
- @if (is-css-var($color) and not clay-color-functions-process-fallback()) {
97
+ /// @param {Bool} $fallback[$enable-clay-color-functions-process-fallback] - Force Sass to process the CSS Custom Property fallback colors
98
+
99
+ @function clay-desaturate(
100
+ $color,
101
+ $amount,
102
+ $fallback: clay-color-functions-process-fallback()
103
+ ) {
104
+ @if (is-css-var($color) and not $fallback) {
85
105
  @return $color;
86
106
  }
87
107
 
@@ -94,9 +114,14 @@
94
114
  /// An alias for the Sass `saturate` function. It converts CSS Custom Properties with a fallback value to the correct type in Sass.
95
115
  /// @param {Color} $color - The color to saturate
96
116
  /// @param {Number} $amount - A number between 0% and 100%
97
-
98
- @function clay-saturate($color, $amount) {
99
- @if (is-css-var($color) and not clay-color-functions-process-fallback()) {
117
+ /// @param {Bool} $fallback[$enable-clay-color-functions-process-fallback] - Force Sass to process the CSS Custom Property fallback colors
118
+
119
+ @function clay-saturate(
120
+ $color,
121
+ $amount,
122
+ $fallback: clay-color-functions-process-fallback()
123
+ ) {
124
+ @if (is-css-var($color) and not $fallback) {
100
125
  @return $color;
101
126
  }
102
127
 
@@ -110,17 +135,23 @@
110
135
  /// @param {Color} $color1 - The first color to mix
111
136
  /// @param {Color} $color2 - The second color to mix
112
137
  /// @param {Number} $weight - A number between 0% and 100%
113
-
114
- @function clay-mix($color1, $color2, $weight: 50%) {
115
- @if (is-css-var($color1) and not clay-color-functions-process-fallback()) {
138
+ /// @param {Bool} $fallback[$enable-clay-color-functions-process-fallback] - Force Sass to process the CSS Custom Property fallback colors
139
+
140
+ @function clay-mix(
141
+ $color1,
142
+ $color2,
143
+ $weight: 50%,
144
+ $fallback: clay-color-functions-process-fallback()
145
+ ) {
146
+ @if (is-css-var($color1) and not $fallback) {
116
147
  @return $color1;
117
148
  }
118
149
 
119
- @if (is-css-var($color2) and not clay-color-functions-process-fallback()) {
150
+ @if (is-css-var($color2) and not $fallback) {
120
151
  @return $color2;
121
152
  }
122
153
 
123
- @if (is-css-var($weight) and not clay-color-functions-process-fallback()) {
154
+ @if (is-css-var($weight) and not $fallback) {
124
155
  @return $weight;
125
156
  }
126
157
 
@@ -133,9 +164,13 @@
133
164
 
134
165
  /// An alias for the Sass `blue` function. It converts CSS Custom Properties with a fallback value to the correct type in Sass.
135
166
  /// @param {Color} $color - The color to get the blue channel from
167
+ /// @param {Bool} $fallback[$enable-clay-color-functions-process-fallback] - Force Sass to process the CSS Custom Property fallback colors
136
168
 
137
- @function clay-blue($color) {
138
- @if (is-css-var($color) and not clay-color-functions-process-fallback()) {
169
+ @function clay-blue(
170
+ $color,
171
+ $fallback: clay-color-functions-process-fallback()
172
+ ) {
173
+ @if (is-css-var($color) and not $fallback) {
139
174
  @return $color;
140
175
  }
141
176
 
@@ -146,9 +181,13 @@
146
181
 
147
182
  /// An alias for the Sass `green` function. It converts CSS Custom Properties with a fallback value to the correct type in Sass.
148
183
  /// @param {Color} $color - The color to get the green channel from
184
+ /// @param {Bool} $fallback[$enable-clay-color-functions-process-fallback] - Force Sass to process the CSS Custom Property fallback colors
149
185
 
150
- @function clay-green($color) {
151
- @if (is-css-var($color) and not clay-color-functions-process-fallback()) {
186
+ @function clay-green(
187
+ $color,
188
+ $fallback: clay-color-functions-process-fallback()
189
+ ) {
190
+ @if (is-css-var($color) and not $fallback) {
152
191
  @return $color;
153
192
  }
154
193
 
@@ -159,9 +198,10 @@
159
198
 
160
199
  /// An alias for the Sass `red` function. It converts CSS Custom Properties with a fallback value to the correct type in Sass.
161
200
  /// @param {Color} $color - The color to get the red channel from
201
+ /// @param {Bool} $fallback[$enable-clay-color-functions-process-fallback] - Force Sass to process the CSS Custom Property fallback colors
162
202
 
163
- @function clay-red($color) {
164
- @if (is-css-var($color) and not clay-color-functions-process-fallback()) {
203
+ @function clay-red($color, $fallback: clay-color-functions-process-fallback()) {
204
+ @if (is-css-var($color) and not $fallback) {
165
205
  @return $color;
166
206
  }
167
207
 
@@ -477,9 +477,16 @@
477
477
  /// @param {Color} $color - The color to convert
478
478
  /// @param {Color} $dark[$yiq-text-dark] - The color to return if `$color` >= `$yiq-contrasted-threshold`
479
479
  /// @param {Color} $light[$yiq-text-light] - The color to return if `$color` < `$yiq-contrasted-threshold`
480
-
481
- @function color-yiq($color, $dark: null, $light: null, $threshold: null) {
482
- @if (is-css-var($color) and not clay-color-functions-process-fallback()) {
480
+ /// @param {Bool} $fallback[$enable-clay-color-functions-process-fallback] - Force Sass to process the CSS Custom Property fallback colors
481
+
482
+ @function color-yiq(
483
+ $color,
484
+ $dark: null,
485
+ $light: null,
486
+ $threshold: null,
487
+ $fallback: clay-color-functions-process-fallback()
488
+ ) {
489
+ @if (is-css-var($color) and not $fallback) {
483
490
  @return $color;
484
491
  }
485
492
 
@@ -228,6 +228,8 @@
228
228
 
229
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>',
230
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
+
231
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>',
232
234
 
233
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>',
@@ -735,6 +735,10 @@
735
735
  @include clay-css($active-class-after);
736
736
  }
737
737
 
738
+ &:focus {
739
+ @include clay-css(map-deep-get($map, active-class, focus));
740
+ }
741
+
738
742
  .inline-item {
739
743
  @include clay-css(map-get($active-class, inline-item));
740
744
  }