platformscode-new-react 0.0.2 → 0.0.4
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/dist/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Bold.woff +0 -0
- package/dist/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Bold.woff2 +0 -0
- package/dist/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Medium.woff +0 -0
- package/dist/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Medium.woff2 +0 -0
- package/dist/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Regular.woff +0 -0
- package/dist/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Regular.woff2 +0 -0
- package/dist/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-SemiBold.woff +0 -0
- package/dist/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-SemiBold.woff2 +0 -0
- package/dist/components.d.ts +12 -1
- package/dist/index.cjs.js +68346 -1161
- package/dist/index.js +69302 -1852
- package/dist/style.css +1 -0
- package/package.json +5 -3
- package/src/assets/styles/abstracts/_functions.scss +3 -0
- package/src/assets/styles/abstracts/_mixins.scss +60 -0
- package/src/assets/styles/abstracts/_variables.scss +46 -0
- package/src/assets/styles/abstracts/variables/_colors.scss +145 -0
- package/src/assets/styles/abstracts/variables/_radius.scss +19 -0
- package/src/assets/styles/abstracts/variables/_shadows.scss +9 -0
- package/src/assets/styles/abstracts/variables/_spacing.scss +35 -0
- package/src/assets/styles/abstracts/variables/_widths.scss +306 -0
- package/src/assets/styles/base/_animation.scss +0 -0
- package/src/assets/styles/base/_base.scss +29 -0
- package/src/assets/styles/base/_typography.scss +73 -0
- package/src/assets/styles/base/_utilities.scss +260 -0
- package/src/assets/styles/components/_accordions.scss +184 -0
- package/src/assets/styles/components/_avatar.scss +87 -0
- package/src/assets/styles/components/_breadcrumbs.scss +63 -0
- package/src/assets/styles/components/_btns.scss +815 -0
- package/src/assets/styles/components/_card.scss +91 -0
- package/src/assets/styles/components/_checkbox.scss +241 -0
- package/src/assets/styles/components/_content-switcher.scss +108 -0
- package/src/assets/styles/components/_data-table.scss +155 -0
- package/src/assets/styles/components/_date-picker.scss +257 -0
- package/src/assets/styles/components/_dropdown.scss +479 -0
- package/src/assets/styles/components/_featured-icons.scss +127 -0
- package/src/assets/styles/components/_file-upload.scss +164 -0
- package/src/assets/styles/components/_icons.scss +3 -0
- package/src/assets/styles/components/_inline-alert.scss +166 -0
- package/src/assets/styles/components/_input.scss +473 -0
- package/src/assets/styles/components/_links.scss +130 -0
- package/src/assets/styles/components/_list.scss +130 -0
- package/src/assets/styles/components/_loading.scss +135 -0
- package/src/assets/styles/components/_menu.scss +85 -0
- package/src/assets/styles/components/_modals.scss +108 -0
- package/src/assets/styles/components/_notification-toast.scss +177 -0
- package/src/assets/styles/components/_notifications.scss +139 -0
- package/src/assets/styles/components/_pagination.scss +79 -0
- package/src/assets/styles/components/_progress-indicator.scss +230 -0
- package/src/assets/styles/components/_radio.scss +183 -0
- package/src/assets/styles/components/_rating.scss +77 -0
- package/src/assets/styles/components/_shadows.scss +23 -0
- package/src/assets/styles/components/_structured-list.scss +95 -0
- package/src/assets/styles/components/_switch.scss +192 -0
- package/src/assets/styles/components/_tabs.scss +231 -0
- package/src/assets/styles/components/_tag.scss +191 -0
- package/src/assets/styles/components/_textarea.scss +294 -0
- package/src/assets/styles/components/_tooltip.scss +257 -0
- package/src/assets/styles/layout/_footer.scss +186 -0
- package/src/assets/styles/layout/_grid.scss +73 -0
- package/src/assets/styles/layout/_header.scss +0 -0
- package/src/assets/styles/layout/_layouts.scss +33 -0
- package/src/assets/styles/layout/_nav-header.scss +449 -0
- package/src/assets/styles/layout/_sidepanel.scss +340 -0
- package/src/assets/styles/layout/_table-of-content.scss +179 -0
- package/src/assets/styles/main.scss +54 -0
- package/src/assets/styles/themes/_dark.scss +416 -0
- package/src/assets/styles/themes/_light.scss +404 -0
- package/src/components.ts +45 -1
- package/src/index.ts +1 -0
- package/vite.config.ts +21 -1
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
.card {
|
|
2
|
+
max-width: 350px;
|
|
3
|
+
padding: var(--spacing-xl, 16px);
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
gap: var(--spacing-3xl, 24px);
|
|
7
|
+
border-radius: var(--radius-lg, 16px);
|
|
8
|
+
background: var(--Colors-Base-white, #fff);
|
|
9
|
+
border: 2px solid var(--Colors-Base-black, #fff);
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
position: relative;
|
|
12
|
+
|
|
13
|
+
&__image-container {
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 200px;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
border-radius: var(--radius-lg, 16px);
|
|
18
|
+
|
|
19
|
+
img {
|
|
20
|
+
width: auto;
|
|
21
|
+
height: 100%;
|
|
22
|
+
border-radius: inherit;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__checkbox-container {
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 16px;
|
|
29
|
+
right: 16px;
|
|
30
|
+
& > .checkbox {
|
|
31
|
+
.checkbox-main {
|
|
32
|
+
min-width: fit-content;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
& > .badge--icon.badge--lg {
|
|
38
|
+
width: 48px;
|
|
39
|
+
height: 48px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@extend .shadow-md;
|
|
43
|
+
&__content-text {
|
|
44
|
+
gap: 8px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__action {
|
|
48
|
+
width: 100%;
|
|
49
|
+
display: flex;
|
|
50
|
+
|
|
51
|
+
&--default {
|
|
52
|
+
gap: 12px;
|
|
53
|
+
}
|
|
54
|
+
&--expanded {
|
|
55
|
+
// position: relative;
|
|
56
|
+
justify-content: flex-end;
|
|
57
|
+
|
|
58
|
+
.btn {
|
|
59
|
+
svg {
|
|
60
|
+
width: 24px;
|
|
61
|
+
height: 24px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.disabled {
|
|
68
|
+
color: var(--colors-gray-neutral-300);
|
|
69
|
+
background-color: transparent;
|
|
70
|
+
border-color: transparent;
|
|
71
|
+
|
|
72
|
+
&::after {
|
|
73
|
+
content: "";
|
|
74
|
+
position: absolute;
|
|
75
|
+
top: 0;
|
|
76
|
+
bottom: 0;
|
|
77
|
+
left: 0;
|
|
78
|
+
right: 0;
|
|
79
|
+
width: 100%;
|
|
80
|
+
height: 100%;
|
|
81
|
+
background-color: var(--colors-gray-neutral-100);
|
|
82
|
+
opacity: 0.3;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&.focused {
|
|
87
|
+
border-radius: var(--radius-lg, 16px);
|
|
88
|
+
border: 2px solid var(--Colors-Base-black, #000);
|
|
89
|
+
@extend .shadow-md;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
.checkbox {
|
|
2
|
+
margin: var(--spacing-md);
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: var(--spacing-xl);
|
|
5
|
+
padding: var(--spacing-none);
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
|
|
8
|
+
user-select: none;
|
|
9
|
+
|
|
10
|
+
&-icon {
|
|
11
|
+
display: none !important;
|
|
12
|
+
color: var(--colors-base-white);
|
|
13
|
+
|
|
14
|
+
width: 16px;
|
|
15
|
+
height: 16px;
|
|
16
|
+
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.focus {
|
|
23
|
+
border-radius: var(--radius-sm);
|
|
24
|
+
outline: 2px solid var(--colors-base-black);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&-main {
|
|
28
|
+
&,
|
|
29
|
+
&__content {
|
|
30
|
+
display: flex;
|
|
31
|
+
column-gap: var(--spacing-xl);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
gap: var(--spacing-xs);
|
|
36
|
+
max-width: 382px;
|
|
37
|
+
// min-width: 160px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
& input {
|
|
41
|
+
position: absolute;
|
|
42
|
+
opacity: 0;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
height: 0;
|
|
45
|
+
width: 0;
|
|
46
|
+
|
|
47
|
+
&:checked {
|
|
48
|
+
& ~ .checkbox-container {
|
|
49
|
+
background-color: var(--colors-gray-neutral-950);
|
|
50
|
+
|
|
51
|
+
& .checkbox__checked-icon {
|
|
52
|
+
display: inline-flex !important;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:hover {
|
|
58
|
+
& ~ .checkbox-container {
|
|
59
|
+
&::after {
|
|
60
|
+
transform: translate(-50%, -50%) scale(1);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.active input:not(:checked) ~ .checkbox-container {
|
|
67
|
+
background-color: var(--colors-gray-neutral-300);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&-container {
|
|
71
|
+
width: 24px;
|
|
72
|
+
height: 24px;
|
|
73
|
+
min-width: 24px;
|
|
74
|
+
border-radius: var(--radius-xs);
|
|
75
|
+
border: 1px solid var(--colors-gray-neutral-500);
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
position: relative;
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
margin: var(--spacing-xs);
|
|
82
|
+
-webkit-user-select: none;
|
|
83
|
+
/* Safari */
|
|
84
|
+
-ms-user-select: none;
|
|
85
|
+
/* IE 10 and IE 11 */
|
|
86
|
+
user-select: none;
|
|
87
|
+
/* Standard syntax */
|
|
88
|
+
|
|
89
|
+
&::after {
|
|
90
|
+
content: "";
|
|
91
|
+
border-radius: var(--radius-full);
|
|
92
|
+
background: var(--colors-gray-neutral-100);
|
|
93
|
+
width: 48px;
|
|
94
|
+
height: 48px;
|
|
95
|
+
position: absolute;
|
|
96
|
+
top: 50%;
|
|
97
|
+
left: 50%;
|
|
98
|
+
transform: translate(-50%, -50%) scale(0);
|
|
99
|
+
z-index: -1;
|
|
100
|
+
transition: all 0.3s ease-in-out;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&--indeterminate {
|
|
105
|
+
& .checkbox-container {
|
|
106
|
+
background-color: var(--colors-gray-neutral-950);
|
|
107
|
+
|
|
108
|
+
.checkbox-icon {
|
|
109
|
+
display: none;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.checkbox__indeterminate-icon {
|
|
113
|
+
display: inline-block !important;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
& input:checked {
|
|
118
|
+
& ~ .checkbox-container {
|
|
119
|
+
.checkbox__indeterminate-icon {
|
|
120
|
+
display: none !important;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.checkbox__checked-icon {
|
|
124
|
+
display: inline-block !important;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
& input:disabled {
|
|
131
|
+
& ~ .checkbox-container {
|
|
132
|
+
border-color: var(--colors-border-disabled);
|
|
133
|
+
background-color: var(--colors-border-disabled);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&:checked ~ .checkbox-container .checkbox__checked-icon {
|
|
137
|
+
// display: inline-block !important;
|
|
138
|
+
// color: var(--colors-gray-neutral-300);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
& ~ .checkbox__label,
|
|
142
|
+
& ~ div > .checkbox__label,
|
|
143
|
+
& ~ div > .checkbox__helper-text {
|
|
144
|
+
color: var(--colors-border-disabled);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&__label {
|
|
149
|
+
@extend .text-md-medium;
|
|
150
|
+
margin-top: var(--spacing-xs);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&__helper-text {
|
|
154
|
+
color: var(--colors-text-tertiary);
|
|
155
|
+
@extend .text-sm-regular;
|
|
156
|
+
margin-block: var(--spacing-xs);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&__warning {
|
|
160
|
+
display: flex;
|
|
161
|
+
align-items: center;
|
|
162
|
+
gap: var(--spacing-xl);
|
|
163
|
+
|
|
164
|
+
color: var(--colors-text-error-primary);
|
|
165
|
+
@extend .text-sm-medium;
|
|
166
|
+
|
|
167
|
+
&-icon {
|
|
168
|
+
width: 24px;
|
|
169
|
+
height: 24px;
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
justify-content: center;
|
|
173
|
+
margin: var(--spacing-xs);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&-text {
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&--brand {
|
|
181
|
+
& input:checked {
|
|
182
|
+
& ~ .checkbox-container {
|
|
183
|
+
border-color: var(--colors-brand-600);
|
|
184
|
+
background-color: var(--colors-brand-600);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
& ~ .checkbox__label,
|
|
188
|
+
& ~ div > .checkbox__label {
|
|
189
|
+
color: var(--colors-text-brand-secondary);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&:disabled {
|
|
193
|
+
& ~ .checkbox-container {
|
|
194
|
+
background-color: var(--colors-border-disabled);
|
|
195
|
+
|
|
196
|
+
.checkbox__checked-icon {
|
|
197
|
+
display: inline-block !important;
|
|
198
|
+
// color: var(--colors-gray-neutral-300);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
& input:disabled {
|
|
205
|
+
& ~ .checkbox-container {
|
|
206
|
+
border-color: var(--colors-border-disabled);
|
|
207
|
+
background-color: transparent;
|
|
208
|
+
|
|
209
|
+
&::after {
|
|
210
|
+
display: none;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&:checked {
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
& ~ .checkbox__label,
|
|
218
|
+
& ~ div > .checkbox__label,
|
|
219
|
+
& ~ div > .checkbox__helper-text {
|
|
220
|
+
color: var(--colors-border-disabled);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
&.active input:checked ~ .checkbox-container {
|
|
225
|
+
background-color: var(--colors-brand-700);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&--readonly {
|
|
230
|
+
& .checkbox-container {
|
|
231
|
+
background-color: transparent !important;
|
|
232
|
+
|
|
233
|
+
.checkbox-icon {
|
|
234
|
+
color: var(--colors-gray-neutral-600);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
&--indeterminate {
|
|
240
|
+
}
|
|
241
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
.content-switcher {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
margin: 10px;
|
|
5
|
+
|
|
6
|
+
&__items {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&__item {
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
min-width: 76px;
|
|
14
|
+
padding: var(--spacing-xs) 10px;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: 10px;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
// border: 3px solid transparent !important;
|
|
20
|
+
border: 0;
|
|
21
|
+
|
|
22
|
+
background: var(--colors-gray-neutral-100);
|
|
23
|
+
color: var(--colors-2-text-primary, #161616);
|
|
24
|
+
@extend .text-md-regular;
|
|
25
|
+
// box-shadow: 0 0 0 2px transparent;
|
|
26
|
+
|
|
27
|
+
&:hover {
|
|
28
|
+
background: var(--colors-gray-neutral-200, #e5e7eb);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:focus {
|
|
32
|
+
outline: none;
|
|
33
|
+
border: 1px solid white !important;
|
|
34
|
+
box-shadow: 0 0 0 2px black;
|
|
35
|
+
z-index: 9;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&--selected {
|
|
39
|
+
&,
|
|
40
|
+
&:hover {
|
|
41
|
+
background-color: var(--colors-gray-neutral-950, #0d121c);
|
|
42
|
+
color: var(--colors-2-text-primary_on-color, #fff);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--first {
|
|
47
|
+
border-radius: var(--radius-md) 0px 0px var(--radius-md);
|
|
48
|
+
border-right: 0.5px solid var(--colors-2-border-secondary, #e5e7eb);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:is(html[lang="ar"], html[dir="rtl"]) &--first {
|
|
52
|
+
border-radius: 0px var(--radius-md) var(--radius-md) 0px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&--mid {
|
|
56
|
+
border-radius: var(--radius-none);
|
|
57
|
+
border-right: 0.5px solid var(--colors-2-border-secondary, #e5e7eb);
|
|
58
|
+
border-left: 0.5px solid var(--colors-2-border-secondary, #e5e7eb);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&--last {
|
|
62
|
+
border-radius: 0px var(--radius-md) var(--radius-md) 0px;
|
|
63
|
+
border-left: 0.5px solid var(--colors-2-border-secondary, #e5e7eb);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
:is(html[lang="ar"], html[dir="rtl"]) &--last {
|
|
67
|
+
border-radius: var(--radius-md) 0px 0px var(--radius-md);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&--on-color {
|
|
71
|
+
color: var(--colors-2-text-primary_on-color, #fff);
|
|
72
|
+
background-color: alpha("white", 10%);
|
|
73
|
+
border-color: alpha("white", 10%);
|
|
74
|
+
|
|
75
|
+
&:hover {
|
|
76
|
+
background: alpha("white", 30%);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.content-switcher__item--selected {
|
|
80
|
+
&,
|
|
81
|
+
&:hover {
|
|
82
|
+
background-color: var(--colors-brand-600);
|
|
83
|
+
// color: var(--colors-2-text-primary_on-color, #FFF);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&--sm {
|
|
89
|
+
height: auto;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&--md {
|
|
93
|
+
height: 40px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&--lg {
|
|
97
|
+
height: 48px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&__content {
|
|
102
|
+
color: #000;
|
|
103
|
+
|
|
104
|
+
&--on-color {
|
|
105
|
+
color: #fff;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
div.table-wrapper {
|
|
2
|
+
.azm-table {
|
|
3
|
+
width: 100%;
|
|
4
|
+
border-collapse: collapse;
|
|
5
|
+
margin: 0px;
|
|
6
|
+
padding: 0px;
|
|
7
|
+
tr.row-divider:not(:last-child) {
|
|
8
|
+
border-bottom: 1px solid var(--colors-gray-neutral-300);
|
|
9
|
+
}
|
|
10
|
+
thead {
|
|
11
|
+
border-bottom: 1px solid var(--colors-gray-neutral-300);
|
|
12
|
+
border-top: 1px solid var(--colors-gray-neutral-300);
|
|
13
|
+
background: var(--Colors-Gray-neutral-100, #f3f4f6);
|
|
14
|
+
// th:first-child {
|
|
15
|
+
// width: 20px;
|
|
16
|
+
// }
|
|
17
|
+
th {
|
|
18
|
+
height: 48px;
|
|
19
|
+
border-right: 1px solid var(--colors-gray-neutral-300);
|
|
20
|
+
&:last-child {
|
|
21
|
+
border-right: none;
|
|
22
|
+
}
|
|
23
|
+
// border: 1px solid var(--colors-gray-neutral-300);
|
|
24
|
+
padding: var(--spacing-md, 8px) var(--spacing-xl, 16px);
|
|
25
|
+
span {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
align-items: center;
|
|
29
|
+
span.text {
|
|
30
|
+
color: var(--colors-gray-neutral-600);
|
|
31
|
+
@extend .text-xs-medium;
|
|
32
|
+
}
|
|
33
|
+
span.icon-wrapper {
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
align-items: center;
|
|
37
|
+
gap: 2px;
|
|
38
|
+
// @media (prefers-color-scheme: light) {
|
|
39
|
+
// button {
|
|
40
|
+
// cursor: pointer;
|
|
41
|
+
// margin-inline: 3px;
|
|
42
|
+
// background-color: white;
|
|
43
|
+
// border-radius: 4px;
|
|
44
|
+
// color: black;
|
|
45
|
+
// &:hover {
|
|
46
|
+
// transition: all 0.2s ease-in-out;
|
|
47
|
+
// background-color: white;
|
|
48
|
+
// }
|
|
49
|
+
// &:active {
|
|
50
|
+
// transition: all 0.2s ease-in-out;
|
|
51
|
+
// background-color: var(--colors-gray-neutral-600);
|
|
52
|
+
// // background-color: var(--colors-gray-neutral-500);
|
|
53
|
+
// }
|
|
54
|
+
// &:visited,
|
|
55
|
+
// &:focus {
|
|
56
|
+
// transition: all 0.2s ease-in-out;
|
|
57
|
+
// background-color: white;
|
|
58
|
+
// color: black;
|
|
59
|
+
// border: 2px solid white;
|
|
60
|
+
// outline: 3px solid #0e0e0e;
|
|
61
|
+
// }
|
|
62
|
+
// }
|
|
63
|
+
// }
|
|
64
|
+
// @media (prefers-color-scheme: dark) {
|
|
65
|
+
// button {
|
|
66
|
+
// cursor: pointer;
|
|
67
|
+
// margin-inline: 3px;
|
|
68
|
+
// background-color: var(--colors-gray-modern-950);
|
|
69
|
+
// border-radius: 4px;
|
|
70
|
+
// color: white;
|
|
71
|
+
// &:hover {
|
|
72
|
+
// transition: all 0.2s ease-in-out;
|
|
73
|
+
// background-color: var(--colors-gray-modern-950);
|
|
74
|
+
// }
|
|
75
|
+
// &:active {
|
|
76
|
+
// transition: all 0.2s ease-in-out;
|
|
77
|
+
// background-color: var(--colors-gray-neutral-600);
|
|
78
|
+
// // background-color: var(--colors-gray-neutral-500);
|
|
79
|
+
// }
|
|
80
|
+
// &:visited,
|
|
81
|
+
// &:focus {
|
|
82
|
+
// transition: all 0.2s ease-in-out;
|
|
83
|
+
// border-radius: var(--radius-4, 4px);
|
|
84
|
+
// border: 2px solid var(--colors-base-black);
|
|
85
|
+
// background-color: var(--colors-gray-neutral-600);
|
|
86
|
+
// }
|
|
87
|
+
// }
|
|
88
|
+
// }
|
|
89
|
+
// button {
|
|
90
|
+
// cursor: pointer;
|
|
91
|
+
// margin-inline: 3px;
|
|
92
|
+
// background-color: var(--colors-gray-modern-950);
|
|
93
|
+
// border-radius: 4px;
|
|
94
|
+
// color: white;
|
|
95
|
+
// &:hover {
|
|
96
|
+
// transition: all 0.2s ease-in-out;
|
|
97
|
+
// background-color: var(--colors-gray-modern-950);
|
|
98
|
+
// }
|
|
99
|
+
// &:active {
|
|
100
|
+
// transition: all 0.2s ease-in-out;
|
|
101
|
+
// background-color: var(--colors-gray-neutral-600);
|
|
102
|
+
// // background-color: var(--colors-gray-neutral-500);
|
|
103
|
+
// }
|
|
104
|
+
// &:visited,
|
|
105
|
+
// &:focus {
|
|
106
|
+
// transition: all 0.2s ease-in-out;
|
|
107
|
+
// border-radius: var(--radius-4, 4px);
|
|
108
|
+
// border: 2px solid var(--colors-base-black);
|
|
109
|
+
// background-color: var(--colors-gray-neutral-600);
|
|
110
|
+
// }
|
|
111
|
+
// }
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
tbody {
|
|
117
|
+
tr {
|
|
118
|
+
&.alternate:nth-child(even):not(&:hover, &.row-selected) {
|
|
119
|
+
transition: all 0.2s ease-in-out;
|
|
120
|
+
background-color: var(--colors-gray-50);
|
|
121
|
+
}
|
|
122
|
+
&:hover {
|
|
123
|
+
background-color: var(--colors-gray-neutral-100);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
tr.row-selected {
|
|
127
|
+
background-color: var(--colors-brand-200);
|
|
128
|
+
}
|
|
129
|
+
// td:first-child {
|
|
130
|
+
// width: 20px;
|
|
131
|
+
// }
|
|
132
|
+
td {
|
|
133
|
+
height: 64px;
|
|
134
|
+
color: var(--text-text-primary);
|
|
135
|
+
padding: var(--spacing-md, 8px) var(--spacing-xl, 16px);
|
|
136
|
+
@extend .text-md-regular;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
.table-contained {
|
|
142
|
+
overflow: hidden; /* Optional */
|
|
143
|
+
border-radius: var(--radius-md, 8px);
|
|
144
|
+
border: 1px solid var(--colors-gray-neutral-300);
|
|
145
|
+
padding: 0px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.selected-cell {
|
|
149
|
+
border: 3px solid var(--colors-brand-200);
|
|
150
|
+
background: var(--Colors-Gray-neutral-950, #0d121c);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:is(html[lang="ar"], html[dir="rtl"]) .azm-table {
|
|
154
|
+
direction: ltr;
|
|
155
|
+
}
|