@rolster/styles-foundations 2.3.30 → 2.3.32
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/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Rolster Technology Datatable Component
|
|
2
|
-
// v2.1
|
|
2
|
+
// v2.2.1
|
|
3
3
|
// @license MIT
|
|
4
4
|
// Author: Rolster Developers
|
|
5
5
|
// Created: 20/Mar/2018
|
|
6
|
-
// Updated:
|
|
6
|
+
// Updated: 02/Mar/2025
|
|
7
7
|
|
|
8
8
|
@mixin datatable_cell_control() {
|
|
9
9
|
--rlc-avatar-border-radius: var(--rls-sizing-x3);
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
.rls-datatable {
|
|
34
34
|
--pvt-datatable-record-background: var(--rlc-datatable-record-background);
|
|
35
|
+
--pvt-datatable-padding-component: 0rem;
|
|
35
36
|
--pvt-header-padding-right: var(--rlc-datatable-padding-scroll);
|
|
36
37
|
|
|
37
38
|
--rlc-amount-font-size: var(--rlc-datatable-font-size);
|
|
@@ -71,6 +72,10 @@
|
|
|
71
72
|
--pvt-header-padding-right: calc(
|
|
72
73
|
var(--rlc-datatable-padding-scroll) + var(--rlc-datatable-width-scroll)
|
|
73
74
|
);
|
|
75
|
+
|
|
76
|
+
--pvt-datatable-padding-component: 0rem
|
|
77
|
+
calc(var(--rlc-datatable-padding-scroll) + 5rem) 0rem
|
|
78
|
+
var(--rlc-datatable-padding-scroll);
|
|
74
79
|
}
|
|
75
80
|
|
|
76
81
|
& > table {
|
|
@@ -81,7 +86,17 @@
|
|
|
81
86
|
border-collapse: collapse;
|
|
82
87
|
}
|
|
83
88
|
|
|
84
|
-
&
|
|
89
|
+
&__toolbar {
|
|
90
|
+
display: flex;
|
|
91
|
+
column-gap: var(--rls-sizing-x6);
|
|
92
|
+
padding: var(--pvt-datatable-padding-component);
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
background: var(--rlc-datatable-header-background);
|
|
95
|
+
border: var(--rls-app-border-1-100);
|
|
96
|
+
border-radius: var(--rls-sizing-x4);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&__head {
|
|
85
100
|
width: 100%;
|
|
86
101
|
padding-left: var(--rlc-datatable-padding-scroll);
|
|
87
102
|
padding-right: var(--pvt-header-padding-right);
|
|
@@ -96,6 +111,14 @@
|
|
|
96
111
|
background: var(--rlc-datatable-header-background);
|
|
97
112
|
border: var(--rls-app-border-1-100);
|
|
98
113
|
border-radius: var(--rls-sizing-x4);
|
|
114
|
+
|
|
115
|
+
.rls-poster {
|
|
116
|
+
width: calc(100% - var(--rls-sizing-x2));
|
|
117
|
+
overflow: hidden;
|
|
118
|
+
text-overflow: ellipsis;
|
|
119
|
+
white-space: nowrap;
|
|
120
|
+
margin: auto 0rem;
|
|
121
|
+
}
|
|
99
122
|
}
|
|
100
123
|
|
|
101
124
|
&__title {
|
|
@@ -127,7 +150,7 @@
|
|
|
127
150
|
}
|
|
128
151
|
}
|
|
129
152
|
|
|
130
|
-
&
|
|
153
|
+
&__body {
|
|
131
154
|
display: flex;
|
|
132
155
|
flex-direction: column;
|
|
133
156
|
row-gap: var(--rls-sizing-x6);
|
|
@@ -137,6 +160,7 @@
|
|
|
137
160
|
max-height: var(--rlc-datatable-body-max-height);
|
|
138
161
|
}
|
|
139
162
|
|
|
163
|
+
&__subheader,
|
|
140
164
|
&__record,
|
|
141
165
|
&__totals {
|
|
142
166
|
position: relative;
|
|
@@ -169,6 +193,14 @@
|
|
|
169
193
|
}
|
|
170
194
|
}
|
|
171
195
|
|
|
196
|
+
&__subheader {
|
|
197
|
+
position: sticky;
|
|
198
|
+
top: 0px;
|
|
199
|
+
z-index: var(--rls-z-index-4);
|
|
200
|
+
background: rgba(241, 238, 247, 0.8);
|
|
201
|
+
backdrop-filter: blur(2px);
|
|
202
|
+
}
|
|
203
|
+
|
|
172
204
|
&__cell,
|
|
173
205
|
&__data {
|
|
174
206
|
position: relative;
|
|
@@ -190,6 +222,14 @@
|
|
|
190
222
|
@include datatable_cell_control();
|
|
191
223
|
}
|
|
192
224
|
|
|
225
|
+
&.rls-align-center {
|
|
226
|
+
& > .rls-checkbox,
|
|
227
|
+
& > .rls-radiobutton,
|
|
228
|
+
& > .rls-switch {
|
|
229
|
+
margin: auto;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
193
233
|
& > span {
|
|
194
234
|
display: block;
|
|
195
235
|
width: 100%;
|
|
@@ -216,8 +256,7 @@
|
|
|
216
256
|
--rlc-fieldlist-suggestions-top: var(--rls-sizing-x24);
|
|
217
257
|
}
|
|
218
258
|
|
|
219
|
-
.rls-poster
|
|
220
|
-
rls-poster {
|
|
259
|
+
.rls-poster {
|
|
221
260
|
width: calc(100% - var(--rls-sizing-x2));
|
|
222
261
|
overflow: hidden;
|
|
223
262
|
text-overflow: ellipsis;
|
|
@@ -232,7 +271,7 @@
|
|
|
232
271
|
}
|
|
233
272
|
}
|
|
234
273
|
|
|
235
|
-
&
|
|
274
|
+
&__summary {
|
|
236
275
|
--pvt-datatable-record-background: var(--rls-theme-color-050);
|
|
237
276
|
|
|
238
277
|
padding-left: var(--rlc-datatable-padding-scroll);
|
|
@@ -240,13 +279,13 @@
|
|
|
240
279
|
box-sizing: border-box;
|
|
241
280
|
}
|
|
242
281
|
|
|
243
|
-
&
|
|
282
|
+
&__footer {
|
|
244
283
|
--pvt-datatable-record-background: var(--rls-theme-color-050);
|
|
245
284
|
|
|
246
285
|
position: relative;
|
|
247
286
|
width: 100%;
|
|
248
|
-
|
|
249
|
-
border-radius: 0rem 0rem var(--rls-sizing-x4) var(--rls-sizing-x4);
|
|
287
|
+
padding: var(--pvt-datatable-padding-component);
|
|
250
288
|
box-sizing: border-box;
|
|
289
|
+
overflow: hidden;
|
|
251
290
|
}
|
|
252
291
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Rolster Technology Colors Foundations
|
|
2
|
-
// v2.5.
|
|
2
|
+
// v2.5.1
|
|
3
3
|
// @license MIT
|
|
4
4
|
// Author: Rolster Developers
|
|
5
5
|
// Created: 03/Mar/2022
|
|
6
|
-
// Updated:
|
|
6
|
+
// Updated: 12/Mar/2025
|
|
7
7
|
|
|
8
8
|
@mixin rolster-theme-900($theme, $r, $g, $b) {
|
|
9
9
|
--rls-#{$theme}-backdrop-900: rgba(#{$r}, #{$g}, #{$b}, 0.8);
|
|
@@ -320,6 +320,48 @@
|
|
|
320
320
|
var(--rls-amaizing-color-500) 100%
|
|
321
321
|
);
|
|
322
322
|
|
|
323
|
+
// COLORS AMBER
|
|
324
|
+
|
|
325
|
+
--rls-amber-color-950: rgba(66, 27, 8, 1);
|
|
326
|
+
|
|
327
|
+
@include rolster-theme-900('amber', 123, 59, 19);
|
|
328
|
+
|
|
329
|
+
--rls-amber-color-800: rgba(152, 69, 20, 1);
|
|
330
|
+
|
|
331
|
+
@include rolster-theme-700('amber', 192, 88, 14);
|
|
332
|
+
|
|
333
|
+
--rls-amber-color-600: rgba(238, 119, 15, 1);
|
|
334
|
+
|
|
335
|
+
@include rolster-theme-500('amber', 246, 142, 25);
|
|
336
|
+
|
|
337
|
+
--rls-amber-color-400: rgba(249, 169, 62, 1);
|
|
338
|
+
|
|
339
|
+
--rls-amber-color-300: rgba(251, 202, 118, 1);
|
|
340
|
+
|
|
341
|
+
--rls-amber-color-200: rgba(253, 225, 171, 1);
|
|
342
|
+
|
|
343
|
+
--rls-amber-color-100: rgba(255, 242, 213, 1);
|
|
344
|
+
|
|
345
|
+
--rls-amber-color-050: rgba(255, 249, 237, 1);
|
|
346
|
+
|
|
347
|
+
--rls-amber-gradient-700: linear-gradient(
|
|
348
|
+
180deg,
|
|
349
|
+
var(--rls-amber-color-700) 0%,
|
|
350
|
+
var(--rls-amber-color-900) 100%
|
|
351
|
+
);
|
|
352
|
+
|
|
353
|
+
--rls-amber-gradient-500: linear-gradient(
|
|
354
|
+
180deg,
|
|
355
|
+
var(--rls-amber-color-500) 0%,
|
|
356
|
+
var(--rls-amber-color-700) 100%
|
|
357
|
+
);
|
|
358
|
+
|
|
359
|
+
--rls-amber-gradient-300: linear-gradient(
|
|
360
|
+
180deg,
|
|
361
|
+
var(--rls-amber-color-300) 0%,
|
|
362
|
+
var(--rls-amber-color-500) 100%
|
|
363
|
+
);
|
|
364
|
+
|
|
323
365
|
// COLORS SMARTNESS
|
|
324
366
|
|
|
325
367
|
--rls-smartness-color-950: rgba(50, 24, 22, 1);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Rolster Technology Themes Foundations
|
|
2
|
-
// v2.3.
|
|
2
|
+
// v2.3.3
|
|
3
3
|
// @license MIT
|
|
4
4
|
// Author: Rolster Developers
|
|
5
5
|
// Created: 03/Mar/2022
|
|
6
|
-
// Updated:
|
|
6
|
+
// Updated: 12/Mar/2025
|
|
7
7
|
|
|
8
8
|
@mixin app-border-token($theme, $token) {
|
|
9
9
|
--rls-app-border-1-#{$token}: var(--rls-border-1) solid
|
|
@@ -149,6 +149,7 @@
|
|
|
149
149
|
@include rolster-border-token('warning');
|
|
150
150
|
@include rolster-border-token('danger');
|
|
151
151
|
@include rolster-border-token('amaizing');
|
|
152
|
+
@include rolster-border-token('amber');
|
|
152
153
|
@include rolster-border-token('smartness');
|
|
153
154
|
@include rolster-border-token('obsidian');
|
|
154
155
|
|
|
@@ -175,6 +176,10 @@
|
|
|
175
176
|
@include rolster-theme('amaizing');
|
|
176
177
|
}
|
|
177
178
|
|
|
179
|
+
*[rls-theme='amber'] {
|
|
180
|
+
@include rolster-theme('amber');
|
|
181
|
+
}
|
|
182
|
+
|
|
178
183
|
*[rls-theme='smartness'] {
|
|
179
184
|
@include rolster-theme('smartness');
|
|
180
185
|
}
|