@clayui/css 3.45.0 → 3.48.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/README.md +23 -69
- package/lib/css/atlas.css +265 -97
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +219 -79
- package/lib/css/base.css.map +1 -1
- package/lib/css/bootstrap.css.map +1 -1
- package/lib/css/cadmin.css +182 -76
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/export.svg +11 -0
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/images/icons/export.svg +11 -0
- package/src/scss/_cadmin-variables.scss +2 -0
- package/src/scss/_variables.scss +1 -0
- package/src/scss/atlas/variables/_buttons.scss +3 -0
- package/src/scss/atlas/variables/_cards.scss +12 -0
- package/src/scss/atlas/variables/_globals.scss +42 -13
- package/src/scss/atlas/variables/_list-group.scss +28 -12
- package/src/scss/atlas-variables.scss +2 -0
- package/src/scss/atlas.scss +2 -0
- package/src/scss/base-variables.scss +2 -0
- package/src/scss/base.scss +2 -0
- package/src/scss/cadmin/_variables.scss +1 -0
- package/src/scss/cadmin/components/_aspect-ratio.scss +25 -38
- package/src/scss/cadmin/components/_cards.scss +10 -120
- package/src/scss/cadmin/components/_empty-state.scss +36 -0
- package/src/scss/cadmin/components/_links.scss +0 -8
- package/src/scss/cadmin/components/_treeview.scss +58 -1
- package/src/scss/cadmin/components/_type.scss +27 -42
- package/src/scss/cadmin/components/_utilities-functional-important.scss +35 -15
- package/src/scss/cadmin/variables/_aspect-ratio.scss +26 -0
- package/src/scss/cadmin/variables/_cards.scss +164 -1
- package/src/scss/cadmin/variables/_empty-state.scss +23 -0
- package/src/scss/cadmin/variables/_globals.scss +173 -11
- package/src/scss/cadmin/variables/_links.scss +14 -0
- package/src/scss/cadmin/variables/_list-group.scss +32 -16
- package/src/scss/cadmin/variables/_sidebar.scss +1 -1
- package/src/scss/cadmin/variables/_treeview.scss +17 -1
- package/src/scss/cadmin/variables/_utilities.scss +42 -0
- package/src/scss/cadmin.scss +2 -0
- package/src/scss/components/_aspect-ratio.scss +25 -38
- package/src/scss/components/_cards.scss +28 -122
- package/src/scss/components/_custom-forms.scss +2 -2
- package/src/scss/components/_dropdowns.scss +0 -28
- package/src/scss/components/_empty-state.scss +30 -0
- package/src/scss/components/_links.scss +1 -9
- package/src/scss/components/_multi-step-nav.scss +11 -5
- package/src/scss/components/_tables.scss +0 -8
- package/src/scss/components/_treeview.scss +58 -1
- package/src/scss/components/_type.scss +27 -41
- package/src/scss/components/_utilities-functional-important.scss +35 -15
- package/src/scss/functions/_lx-icons-generated.scss +2 -0
- package/src/scss/mixins/_alerts.scss +180 -113
- package/src/scss/mixins/_buttons.scss +4 -0
- package/src/scss/mixins/_cards.scss +59 -25
- package/src/scss/mixins/_dropdown-menu.scss +17 -0
- package/src/scss/mixins/_grid.scss +29 -0
- package/src/scss/mixins/_links.scss +22 -2
- package/src/scss/variables/_aspect-ratio.scss +26 -0
- package/src/scss/variables/_buttons.scss +6 -0
- package/src/scss/variables/_cards.scss +158 -4
- package/src/scss/variables/_custom-forms.scss +19 -4
- package/src/scss/variables/_dropdowns.scss +45 -0
- package/src/scss/variables/_empty-state.scss +23 -0
- package/src/scss/variables/_globals.scss +172 -11
- package/src/scss/variables/_links.scss +21 -3
- package/src/scss/variables/_list-group.scss +22 -12
- package/src/scss/variables/_multi-step-nav.scss +6 -0
- package/src/scss/variables/_range.scss +4 -2
- package/src/scss/variables/_sidebar.scss +3 -3
- package/src/scss/variables/_stickers.scss +3 -3
- package/src/scss/variables/_tables.scss +14 -0
- package/src/scss/variables/_toggle-switch.scss +14 -2
- package/src/scss/variables/_treeview.scss +21 -1
- package/src/scss/variables/_utilities.scss +42 -0
|
@@ -47,6 +47,8 @@ $list-group-header-bg: $list-group-bg !default;
|
|
|
47
47
|
$list-group-header-padding-x: $list-group-item-padding-x !default;
|
|
48
48
|
$list-group-header-padding-y: $list-group-item-padding-y !default;
|
|
49
49
|
|
|
50
|
+
// .list-group-header-title
|
|
51
|
+
|
|
50
52
|
$list-group-header-title: () !default;
|
|
51
53
|
$list-group-header-title: map-deep-merge(
|
|
52
54
|
(
|
|
@@ -58,14 +60,16 @@ $list-group-header-title: map-deep-merge(
|
|
|
58
60
|
$list-group-header-title
|
|
59
61
|
);
|
|
60
62
|
|
|
61
|
-
//
|
|
63
|
+
// .list-group-title
|
|
62
64
|
|
|
63
65
|
$list-group-title-link: () !default;
|
|
64
66
|
$list-group-title-link: map-deep-merge(
|
|
65
67
|
(
|
|
66
68
|
color: $gray-900,
|
|
67
69
|
max-width: 100%,
|
|
68
|
-
hover
|
|
70
|
+
hover: (
|
|
71
|
+
color: clay-darken($gray-900, 15%),
|
|
72
|
+
),
|
|
69
73
|
),
|
|
70
74
|
$list-group-title-link
|
|
71
75
|
);
|
|
@@ -79,20 +83,22 @@ $list-group-title: map-deep-merge(
|
|
|
79
83
|
line-height: $line-height-base,
|
|
80
84
|
margin-bottom: 0,
|
|
81
85
|
margin-top: $list-group-item-flex-list-group-title-offset-top,
|
|
82
|
-
|
|
86
|
+
href: $list-group-title-link
|
|
83
87
|
),
|
|
84
88
|
$list-group-title
|
|
85
89
|
);
|
|
86
90
|
|
|
87
91
|
$list-group-title-active-color: $list-group-active-color !default;
|
|
88
92
|
|
|
89
|
-
//
|
|
93
|
+
// .list-group-subtitle
|
|
90
94
|
|
|
91
95
|
$list-group-subtitle-link: () !default;
|
|
92
96
|
$list-group-subtitle-link: map-deep-merge(
|
|
93
97
|
(
|
|
94
98
|
color: $gray-600,
|
|
95
|
-
hover
|
|
99
|
+
hover: (
|
|
100
|
+
color: clay-darken($gray-600, 15%),
|
|
101
|
+
),
|
|
96
102
|
),
|
|
97
103
|
$list-group-subtitle-link
|
|
98
104
|
);
|
|
@@ -102,18 +108,20 @@ $list-group-subtitle: map-deep-merge(
|
|
|
102
108
|
(
|
|
103
109
|
color: $gray-600,
|
|
104
110
|
margin-bottom: 0,
|
|
105
|
-
|
|
111
|
+
href: $list-group-subtitle-link,
|
|
106
112
|
),
|
|
107
113
|
$list-group-subtitle
|
|
108
114
|
);
|
|
109
115
|
|
|
110
|
-
//
|
|
116
|
+
// .list-group-text
|
|
111
117
|
|
|
112
118
|
$list-group-text-link: () !default;
|
|
113
119
|
$list-group-text-link: map-deep-merge(
|
|
114
120
|
(
|
|
115
121
|
color: $gray-900,
|
|
116
|
-
hover
|
|
122
|
+
hover: (
|
|
123
|
+
color: clay-darken($gray-900, 15%),
|
|
124
|
+
),
|
|
117
125
|
),
|
|
118
126
|
$list-group-text-link
|
|
119
127
|
);
|
|
@@ -123,20 +131,22 @@ $list-group-text: map-deep-merge(
|
|
|
123
131
|
(
|
|
124
132
|
color: $gray-900,
|
|
125
133
|
margin-bottom: 0,
|
|
126
|
-
|
|
134
|
+
href: $list-group-text-link,
|
|
127
135
|
),
|
|
128
136
|
$list-group-text
|
|
129
137
|
);
|
|
130
138
|
|
|
131
139
|
$list-group-text-active-color: $list-group-active-color !default;
|
|
132
140
|
|
|
133
|
-
//
|
|
141
|
+
// .list-group-subtext
|
|
134
142
|
|
|
135
143
|
$list-group-subtext-link: () !default;
|
|
136
144
|
$list-group-subtext-link: map-deep-merge(
|
|
137
145
|
(
|
|
138
146
|
color: $gray-600,
|
|
139
|
-
hover
|
|
147
|
+
hover: (
|
|
148
|
+
color: clay-darken($gray-600, 15%),
|
|
149
|
+
),
|
|
140
150
|
),
|
|
141
151
|
$list-group-subtext-link
|
|
142
152
|
);
|
|
@@ -146,7 +156,7 @@ $list-group-subtext: map-deep-merge(
|
|
|
146
156
|
(
|
|
147
157
|
color: $gray-600,
|
|
148
158
|
margin-bottom: 0,
|
|
149
|
-
|
|
159
|
+
href: $list-group-subtext-link,
|
|
150
160
|
),
|
|
151
161
|
$list-group-subtext
|
|
152
162
|
);
|
|
@@ -28,6 +28,12 @@ $multi-step-icon-focus-color: $multi-step-icon-hover-color !default;
|
|
|
28
28
|
$multi-step-icon-focus-outline: 0 !default;
|
|
29
29
|
$multi-step-icon-focus-text-decoration: $multi-step-icon-hover-text-decoration !default;
|
|
30
30
|
|
|
31
|
+
// See https://issues.liferay.com/browse/LPS-147457.
|
|
32
|
+
|
|
33
|
+
$data-multi-step-icon-before-content: unquote(
|
|
34
|
+
"'\\FEFF' attr(data-multi-step-icon)"
|
|
35
|
+
) !default;
|
|
36
|
+
|
|
31
37
|
$multi-step-divider-bg: $gray-200 !default;
|
|
32
38
|
$multi-step-divider-height: 0.25rem !default;
|
|
33
39
|
$multi-step-divider-spacer-x: 0 !default;
|
|
@@ -45,6 +45,8 @@ $clay-range-title: map-deep-merge(
|
|
|
45
45
|
$clay-range-title
|
|
46
46
|
);
|
|
47
47
|
|
|
48
|
+
// `data-label-before-content` and `data-label-after-content`, see https://issues.liferay.com/browse/LPS-147457
|
|
49
|
+
|
|
48
50
|
$clay-range-input: () !default;
|
|
49
51
|
$clay-range-input: map-deep-merge(
|
|
50
52
|
(
|
|
@@ -92,8 +94,8 @@ $clay-range-input: map-deep-merge(
|
|
|
92
94
|
data-label-text-align: center,
|
|
93
95
|
data-label-top: 0,
|
|
94
96
|
data-label-width: 1.5rem,
|
|
95
|
-
data-label-before-content: attr(data-label-min),
|
|
96
|
-
data-label-after-content: attr(data-label-max),
|
|
97
|
+
data-label-before-content: unquote("'\\FEFF' attr(data-label-min)"),
|
|
98
|
+
data-label-after-content: unquote("'\\FEFF' attr(data-label-max)"),
|
|
97
99
|
data-label-after-right: 0,
|
|
98
100
|
hover-cursor: $link-cursor,
|
|
99
101
|
focus-outline: 0,
|
|
@@ -3,21 +3,21 @@ $sidebar-padding-left: 1rem !default; // 16px
|
|
|
3
3
|
$sidebar-padding-right: 1rem !default; // 16px
|
|
4
4
|
$sidebar-padding-top: 1rem !default; // 16px
|
|
5
5
|
|
|
6
|
-
//
|
|
6
|
+
// .sidebar-header .component-title
|
|
7
7
|
|
|
8
8
|
$sidebar-header-component-title: () !default;
|
|
9
9
|
$sidebar-header-component-title: map-deep-merge(
|
|
10
10
|
(
|
|
11
11
|
font-size: 1.5rem,
|
|
12
12
|
font-weight: $font-weight-semi-bold,
|
|
13
|
-
|
|
13
|
+
href: (
|
|
14
14
|
color: $gray-900,
|
|
15
15
|
),
|
|
16
16
|
),
|
|
17
17
|
$sidebar-header-component-title
|
|
18
18
|
);
|
|
19
19
|
|
|
20
|
-
//
|
|
20
|
+
// .sidebar-header .component-subtitle
|
|
21
21
|
|
|
22
22
|
$sidebar-header-component-subtitle: () !default;
|
|
23
23
|
$sidebar-header-component-subtitle: map-deep-merge(
|
|
@@ -79,7 +79,7 @@ $sticker-sm: map-deep-merge(
|
|
|
79
79
|
bottom: -0.75rem,
|
|
80
80
|
top: auto,
|
|
81
81
|
),
|
|
82
|
-
sticker-
|
|
82
|
+
sticker-bottom-right: (
|
|
83
83
|
bottom: -0.75rem,
|
|
84
84
|
left: auto,
|
|
85
85
|
right: -0.75rem,
|
|
@@ -110,7 +110,7 @@ $sticker-lg: map-deep-merge(
|
|
|
110
110
|
bottom: -1.25rem,
|
|
111
111
|
top: auto,
|
|
112
112
|
),
|
|
113
|
-
sticker-
|
|
113
|
+
sticker-bottom-right: (
|
|
114
114
|
bottom: -1.25rem,
|
|
115
115
|
left: auto,
|
|
116
116
|
right: -1.25rem,
|
|
@@ -141,7 +141,7 @@ $sticker-xl: map-deep-merge(
|
|
|
141
141
|
bottom: -1.5rem,
|
|
142
142
|
top: auto,
|
|
143
143
|
),
|
|
144
|
-
sticker-
|
|
144
|
+
sticker-bottom-right: (
|
|
145
145
|
bottom: -1.5rem,
|
|
146
146
|
left: auto,
|
|
147
147
|
right: -1.5rem,
|
|
@@ -177,6 +177,13 @@ $table-title-link: map-deep-merge(
|
|
|
177
177
|
$table-title-link
|
|
178
178
|
);
|
|
179
179
|
|
|
180
|
+
$table-title: map-deep-merge(
|
|
181
|
+
$table-title,
|
|
182
|
+
(
|
|
183
|
+
href: $table-title-link,
|
|
184
|
+
)
|
|
185
|
+
);
|
|
186
|
+
|
|
180
187
|
// Table Link
|
|
181
188
|
|
|
182
189
|
$table-link: () !default;
|
|
@@ -386,6 +393,13 @@ $table-list-title-link: map-deep-merge(
|
|
|
386
393
|
$table-list-title-link
|
|
387
394
|
);
|
|
388
395
|
|
|
396
|
+
$table-list-title: map-deep-merge(
|
|
397
|
+
$table-list-title,
|
|
398
|
+
(
|
|
399
|
+
href: $table-list-title-link,
|
|
400
|
+
)
|
|
401
|
+
);
|
|
402
|
+
|
|
389
403
|
// Table List Link
|
|
390
404
|
|
|
391
405
|
$table-list-link: () !default;
|
|
@@ -34,6 +34,12 @@ $toggle-switch-button-font-size: $toggle-switch-bar-font-size !default;
|
|
|
34
34
|
$toggle-switch-button-font-size-mobile: $toggle-switch-button-font-size !default; // null
|
|
35
35
|
$toggle-switch-button-icon-color: $input-color !default;
|
|
36
36
|
|
|
37
|
+
// See https://issues.liferay.com/browse/LPS-147457.
|
|
38
|
+
|
|
39
|
+
$toggle-switch-handle-after-content: unquote(
|
|
40
|
+
"'\\FEFF' attr(data-label-off)"
|
|
41
|
+
) !default;
|
|
42
|
+
|
|
37
43
|
// Toggle Switch On
|
|
38
44
|
|
|
39
45
|
$toggle-switch-bar-on-bg: $component-active-bg !default;
|
|
@@ -45,6 +51,12 @@ $toggle-switch-button-on-border-color: $toggle-switch-bar-on-bg !default;
|
|
|
45
51
|
$toggle-switch-button-on-border-radius: 0 3px 3px 0 !default;
|
|
46
52
|
$toggle-switch-button-on-icon-color: $toggle-switch-bar-on-bg !default;
|
|
47
53
|
|
|
54
|
+
// See https://issues.liferay.com/browse/LPS-147457.
|
|
55
|
+
|
|
56
|
+
$toggle-switch-handle-on-after-content: unquote(
|
|
57
|
+
"'\\FEFF' attr(data-label-on)"
|
|
58
|
+
) !default;
|
|
59
|
+
|
|
48
60
|
// Toggle Switch Disabled
|
|
49
61
|
|
|
50
62
|
$toggle-switch-disabled-cursor: $disabled-cursor !default;
|
|
@@ -179,7 +191,7 @@ $toggle-switch-check: map-deep-merge(
|
|
|
179
191
|
clay-enable-transitions($toggle-switch-transition),
|
|
180
192
|
),
|
|
181
193
|
after: (
|
|
182
|
-
content:
|
|
194
|
+
content: $toggle-switch-handle-after-content,
|
|
183
195
|
margin-left:
|
|
184
196
|
clay-data-label-text-position(
|
|
185
197
|
$toggle-switch-bar-width,
|
|
@@ -253,7 +265,7 @@ $toggle-switch-check: map-deep-merge(
|
|
|
253
265
|
),
|
|
254
266
|
toggle-switch-handle: (
|
|
255
267
|
after: (
|
|
256
|
-
content:
|
|
268
|
+
content: $toggle-switch-handle-on-after-content,
|
|
257
269
|
),
|
|
258
270
|
),
|
|
259
271
|
toggle-switch-icon: (
|
|
@@ -52,6 +52,7 @@ $treeview: map-merge(
|
|
|
52
52
|
),
|
|
53
53
|
),
|
|
54
54
|
treeview-link: (
|
|
55
|
+
background-color: transparent,
|
|
55
56
|
cursor: pointer,
|
|
56
57
|
display: block,
|
|
57
58
|
border-color: transparent,
|
|
@@ -62,6 +63,7 @@ $treeview: map-merge(
|
|
|
62
63
|
min-width: 100%,
|
|
63
64
|
padding: 0,
|
|
64
65
|
position: relative,
|
|
66
|
+
text-align: left,
|
|
65
67
|
user-select: none,
|
|
66
68
|
treeview-dropping-bottom: (
|
|
67
69
|
box-shadow: 0 2px 0 0 $primary-l1,
|
|
@@ -80,6 +82,9 @@ $treeview: map-merge(
|
|
|
80
82
|
box-shadow: $component-focus-inset-box-shadow,
|
|
81
83
|
outline: 0,
|
|
82
84
|
),
|
|
85
|
+
disabled: (
|
|
86
|
+
cursor: $disabled-cursor,
|
|
87
|
+
),
|
|
83
88
|
),
|
|
84
89
|
component-action: (
|
|
85
90
|
display: none,
|
|
@@ -160,6 +165,10 @@ $treeview-light: map-deep-merge(
|
|
|
160
165
|
hover: (
|
|
161
166
|
color: $primary,
|
|
162
167
|
),
|
|
168
|
+
disabled: (
|
|
169
|
+
color: $secondary,
|
|
170
|
+
opacity: 0.5,
|
|
171
|
+
),
|
|
163
172
|
btn-secondary: (
|
|
164
173
|
background-color: $white,
|
|
165
174
|
),
|
|
@@ -178,6 +187,10 @@ $treeview-light: map-deep-merge(
|
|
|
178
187
|
background-color: $gray-200,
|
|
179
188
|
color: $gray-900,
|
|
180
189
|
),
|
|
190
|
+
disabled: (
|
|
191
|
+
background-color: transparent,
|
|
192
|
+
color: rgba($gray-600, 0.5),
|
|
193
|
+
),
|
|
181
194
|
show: (
|
|
182
195
|
background-color: null,
|
|
183
196
|
color: null,
|
|
@@ -195,6 +208,10 @@ $treeview-dark: map-deep-merge(
|
|
|
195
208
|
hover: (
|
|
196
209
|
color: $primary-l1,
|
|
197
210
|
),
|
|
211
|
+
disabled: (
|
|
212
|
+
color: $secondary-l1,
|
|
213
|
+
opacity: 0.5,
|
|
214
|
+
),
|
|
198
215
|
),
|
|
199
216
|
treeview-link: (
|
|
200
217
|
color: $secondary-l1,
|
|
@@ -207,7 +224,7 @@ $treeview-dark: map-deep-merge(
|
|
|
207
224
|
),
|
|
208
225
|
disabled: (
|
|
209
226
|
background-color: transparent,
|
|
210
|
-
color: rgba($secondary-l1, 0.
|
|
227
|
+
color: rgba($secondary-l1, 0.5),
|
|
211
228
|
),
|
|
212
229
|
show: (
|
|
213
230
|
background-color: null,
|
|
@@ -216,6 +233,9 @@ $treeview-dark: map-deep-merge(
|
|
|
216
233
|
),
|
|
217
234
|
component-action: (
|
|
218
235
|
color: $secondary-l1,
|
|
236
|
+
disabled: (
|
|
237
|
+
color: $secondary-l1,
|
|
238
|
+
),
|
|
219
239
|
),
|
|
220
240
|
),
|
|
221
241
|
$treeview-dark
|
|
@@ -305,6 +305,48 @@ $overflows: auto, hidden !default;
|
|
|
305
305
|
|
|
306
306
|
$positions: static, relative, absolute, fixed, sticky !default;
|
|
307
307
|
|
|
308
|
+
// Font Sizes
|
|
309
|
+
|
|
310
|
+
$font-sizes: () !default;
|
|
311
|
+
$font-sizes: map-deep-merge(
|
|
312
|
+
(
|
|
313
|
+
text-1: (
|
|
314
|
+
font-size: 0.625rem,
|
|
315
|
+
),
|
|
316
|
+
text-2: (
|
|
317
|
+
font-size: 0.75rem,
|
|
318
|
+
),
|
|
319
|
+
text-3: (
|
|
320
|
+
font-size: 0.875rem,
|
|
321
|
+
),
|
|
322
|
+
text-4: (
|
|
323
|
+
font-size: 1rem,
|
|
324
|
+
),
|
|
325
|
+
text-5: (
|
|
326
|
+
font-size: 1.125rem,
|
|
327
|
+
),
|
|
328
|
+
text-6: (
|
|
329
|
+
font-size: 1.25rem,
|
|
330
|
+
),
|
|
331
|
+
text-7: (
|
|
332
|
+
font-size: 1.5rem,
|
|
333
|
+
),
|
|
334
|
+
text-8: (
|
|
335
|
+
font-size: 1.75rem,
|
|
336
|
+
),
|
|
337
|
+
text-9: (
|
|
338
|
+
font-size: 2rem,
|
|
339
|
+
),
|
|
340
|
+
text-10: (
|
|
341
|
+
font-size: 2.25rem,
|
|
342
|
+
),
|
|
343
|
+
text-11: (
|
|
344
|
+
font-size: 2.5rem,
|
|
345
|
+
),
|
|
346
|
+
),
|
|
347
|
+
$font-sizes
|
|
348
|
+
);
|
|
349
|
+
|
|
308
350
|
// Text
|
|
309
351
|
|
|
310
352
|
$text-theme-colors: () !default;
|