platformscode-new-react 0.0.4 → 0.0.5
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/style.css +1 -1
- package/package.json +4 -1
- package/.editorconfig +0 -15
- package/.prettierrc.json +0 -13
- package/src/assets/styles/abstracts/_functions.scss +0 -3
- package/src/assets/styles/abstracts/_mixins.scss +0 -60
- package/src/assets/styles/abstracts/_variables.scss +0 -46
- package/src/assets/styles/abstracts/variables/_colors.scss +0 -145
- package/src/assets/styles/abstracts/variables/_radius.scss +0 -19
- package/src/assets/styles/abstracts/variables/_shadows.scss +0 -9
- package/src/assets/styles/abstracts/variables/_spacing.scss +0 -35
- package/src/assets/styles/abstracts/variables/_widths.scss +0 -306
- package/src/assets/styles/base/_animation.scss +0 -0
- package/src/assets/styles/base/_base.scss +0 -29
- package/src/assets/styles/base/_typography.scss +0 -73
- package/src/assets/styles/base/_utilities.scss +0 -260
- package/src/assets/styles/components/_accordions.scss +0 -184
- package/src/assets/styles/components/_avatar.scss +0 -87
- package/src/assets/styles/components/_breadcrumbs.scss +0 -63
- package/src/assets/styles/components/_btns.scss +0 -815
- package/src/assets/styles/components/_card.scss +0 -91
- package/src/assets/styles/components/_checkbox.scss +0 -241
- package/src/assets/styles/components/_content-switcher.scss +0 -108
- package/src/assets/styles/components/_data-table.scss +0 -155
- package/src/assets/styles/components/_date-picker.scss +0 -257
- package/src/assets/styles/components/_dropdown.scss +0 -479
- package/src/assets/styles/components/_featured-icons.scss +0 -127
- package/src/assets/styles/components/_file-upload.scss +0 -164
- package/src/assets/styles/components/_icons.scss +0 -3
- package/src/assets/styles/components/_inline-alert.scss +0 -166
- package/src/assets/styles/components/_input.scss +0 -473
- package/src/assets/styles/components/_links.scss +0 -130
- package/src/assets/styles/components/_list.scss +0 -130
- package/src/assets/styles/components/_loading.scss +0 -135
- package/src/assets/styles/components/_menu.scss +0 -85
- package/src/assets/styles/components/_modals.scss +0 -108
- package/src/assets/styles/components/_notification-toast.scss +0 -177
- package/src/assets/styles/components/_notifications.scss +0 -139
- package/src/assets/styles/components/_pagination.scss +0 -79
- package/src/assets/styles/components/_progress-indicator.scss +0 -230
- package/src/assets/styles/components/_radio.scss +0 -183
- package/src/assets/styles/components/_rating.scss +0 -77
- package/src/assets/styles/components/_shadows.scss +0 -23
- package/src/assets/styles/components/_structured-list.scss +0 -95
- package/src/assets/styles/components/_switch.scss +0 -192
- package/src/assets/styles/components/_tabs.scss +0 -231
- package/src/assets/styles/components/_tag.scss +0 -191
- package/src/assets/styles/components/_textarea.scss +0 -294
- package/src/assets/styles/components/_tooltip.scss +0 -257
- package/src/assets/styles/layout/_footer.scss +0 -186
- package/src/assets/styles/layout/_grid.scss +0 -73
- package/src/assets/styles/layout/_header.scss +0 -0
- package/src/assets/styles/layout/_layouts.scss +0 -33
- package/src/assets/styles/layout/_nav-header.scss +0 -449
- package/src/assets/styles/layout/_sidepanel.scss +0 -340
- package/src/assets/styles/layout/_table-of-content.scss +0 -179
- package/src/assets/styles/main.scss +0 -54
- package/src/assets/styles/themes/_dark.scss +0 -416
- package/src/assets/styles/themes/_light.scss +0 -404
- package/src/components.ts +0 -132
- package/src/index.ts +0 -2
- package/tsconfig.json +0 -32
- package/vite.config.ts +0 -44
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
*,
|
|
2
|
-
*::after,
|
|
3
|
-
*::before {
|
|
4
|
-
margin: 0;
|
|
5
|
-
padding: 0;
|
|
6
|
-
box-sizing: inherit;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
* {
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
html {
|
|
14
|
-
// This defines what 1rem is
|
|
15
|
-
font-size: 62.5%; //1 rem = 10px; 10px/16px = 62.5%
|
|
16
|
-
|
|
17
|
-
@include responsive(tab-port) {
|
|
18
|
-
// width < 900?
|
|
19
|
-
font-size: 75%;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
body {
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
// direction: rtl;
|
|
26
|
-
margin: 0;
|
|
27
|
-
padding: 0;
|
|
28
|
-
overflow-x: hidden;
|
|
29
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: 'IBMPlexSansArabic';
|
|
3
|
-
src:
|
|
4
|
-
url('/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Regular.woff2') format('woff2'),
|
|
5
|
-
url('/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Regular.woff') format('woff');
|
|
6
|
-
font-weight: 400;
|
|
7
|
-
font-style: normal;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@font-face {
|
|
11
|
-
font-family: 'IBMPlexSansArabic';
|
|
12
|
-
src:
|
|
13
|
-
url('/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Medium.woff2') format('woff2'),
|
|
14
|
-
url('/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Medium.woff') format('woff');
|
|
15
|
-
font-weight: 500;
|
|
16
|
-
font-style: normal;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@font-face {
|
|
20
|
-
font-family: 'IBMPlexSansArabic';
|
|
21
|
-
src:
|
|
22
|
-
url('/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-SemiBold.woff2') format('woff2'),
|
|
23
|
-
url('/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-SemiBold.woff') format('woff');
|
|
24
|
-
font-weight: 600;
|
|
25
|
-
font-style: normal;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@font-face {
|
|
29
|
-
font-family: 'IBMPlexSansArabic';
|
|
30
|
-
src:
|
|
31
|
-
url('/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Bold.woff2') format('woff2'),
|
|
32
|
-
url('/assets/fonts/IBM-Plex-Sans-Arabic/IBMPlexSansArabic-Bold.woff') format('woff');
|
|
33
|
-
font-weight: 700;
|
|
34
|
-
font-style: normal;
|
|
35
|
-
font-display: auto;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
$main-font: 'IBMPlexSansArabic';
|
|
39
|
-
|
|
40
|
-
body {
|
|
41
|
-
font-family: $main-font;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
a,
|
|
45
|
-
a:active,
|
|
46
|
-
a:focus {
|
|
47
|
-
color: inherit;
|
|
48
|
-
text-decoration: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// headings h1, h2, h3, h4
|
|
52
|
-
|
|
53
|
-
//----------------------
|
|
54
|
-
//--- typo utilities ---
|
|
55
|
-
//----------------------
|
|
56
|
-
|
|
57
|
-
$typo-verients: ('regular' 400, 'medium' 500, 'semibold' 600, 'bold' 700);
|
|
58
|
-
$typo-desplays: ('2xl' 72px 90px, 'xl' 60px 72px, 'lg' 48px 60px, 'md' 36px 44px, 'sm' 30px 38px, 'xs' 24px 32px);
|
|
59
|
-
$typo-text: ('xl' 20px 30px, 'lg' 18px 28px, 'md' 16px 24px, 'sm' 14px 20px, 'xs' 12px 18px, '2xs' 10px 14px);
|
|
60
|
-
|
|
61
|
-
@each $verient, $value in $typo-verients {
|
|
62
|
-
@each $display, $size, $ln-height in $typo-desplays {
|
|
63
|
-
.display-#{$display}-#{$verient} {
|
|
64
|
-
font: $value #{$size}/#{$ln-height} $main-font;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
@each $display, $size, $ln-height in $typo-text {
|
|
69
|
-
.text-#{$display}-#{$verient} {
|
|
70
|
-
font: $value #{$size}/#{$ln-height} $main-font;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
// spacings
|
|
2
|
-
$spacings: (
|
|
3
|
-
0,
|
|
4
|
-
2,
|
|
5
|
-
4,
|
|
6
|
-
8,
|
|
7
|
-
12,
|
|
8
|
-
16,
|
|
9
|
-
24,
|
|
10
|
-
32,
|
|
11
|
-
40,
|
|
12
|
-
48,
|
|
13
|
-
56,
|
|
14
|
-
64,
|
|
15
|
-
72,
|
|
16
|
-
80,
|
|
17
|
-
88,
|
|
18
|
-
96,
|
|
19
|
-
104,
|
|
20
|
-
112,
|
|
21
|
-
120
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
@each $value in $spacings {
|
|
25
|
-
.spacing-hor-#{$value} {
|
|
26
|
-
height: #{$value}px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.spacing-vert-#{$value} {
|
|
30
|
-
width: #{$value}px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.p-#{$value} {
|
|
34
|
-
padding: #{$value}px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.px-#{$value} {
|
|
38
|
-
padding-inline: #{$value}px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.py-#{$value} {
|
|
42
|
-
padding-block: #{$value}px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.pl-#{$value} {
|
|
46
|
-
padding-left: #{$value}px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.pr-#{$value} {
|
|
50
|
-
padding-right: #{$value}px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.pt-#{$value} {
|
|
54
|
-
padding-top: #{$value}px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.pb-#{$value} {
|
|
58
|
-
padding-bottom: #{$value}px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.mx-#{$value} {
|
|
62
|
-
margin-inline: #{$value}px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.my-#{$value} {
|
|
66
|
-
margin-block: #{$value}px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.ml-#{$value} {
|
|
70
|
-
margin-left: #{$value}px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.mr-#{$value} {
|
|
74
|
-
margin-right: #{$value}px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.mt-#{$value} {
|
|
78
|
-
margin-top: #{$value}px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.mb-#{$value} {
|
|
82
|
-
margin-bottom: #{$value}px;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
$radiuses: (
|
|
87
|
-
small: 2,
|
|
88
|
-
medium: 4,
|
|
89
|
-
large: 8,
|
|
90
|
-
xlarge: 12,
|
|
91
|
-
);
|
|
92
|
-
|
|
93
|
-
@each $varient, $value in $radiuses {
|
|
94
|
-
// radius small
|
|
95
|
-
.radius-#{$varient} {
|
|
96
|
-
border-radius: #{$value}px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.radius-#{$varient}-t {
|
|
100
|
-
border-radius: #{$value}px #{$value}px 0 0;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.radius-#{$varient}-tl {
|
|
104
|
-
border-radius: #{$value}px 0px 0 0;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.radius-#{$varient}-tr {
|
|
108
|
-
border-radius: 0px #{$value}px 0 0;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.radius-#{$varient}-b {
|
|
112
|
-
border-radius: 0 0 #{$value}px #{$value}px;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.radius-#{$varient}-bl {
|
|
116
|
-
border-radius: 0 0 #{$value}px 0px;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.radius-#{$varient}-br {
|
|
120
|
-
border-radius: 0 0 0px #{$value}px;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.radius-none {
|
|
125
|
-
border-radius: 0px;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.radius-circular {
|
|
129
|
-
border-radius: 100%;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// flexs
|
|
133
|
-
.flex {
|
|
134
|
-
display: flex;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.flex-column {
|
|
138
|
-
display: flex;
|
|
139
|
-
flex-direction: column;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.flex-center {
|
|
143
|
-
display: flex;
|
|
144
|
-
align-items: center;
|
|
145
|
-
justify-content: center;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.flex-center-y {
|
|
149
|
-
display: flex;
|
|
150
|
-
align-items: center;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.flex-center-x {
|
|
154
|
-
display: flex;
|
|
155
|
-
justify-content: center;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.flex-between {
|
|
159
|
-
display: flex;
|
|
160
|
-
justify-content: space-between;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.flex-wrap {
|
|
164
|
-
flex-wrap: wrap;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.flex-align-stretch {
|
|
168
|
-
align-items: stretch;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.flex-align-start {
|
|
172
|
-
align-items: flex-start;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.flex-align-end {
|
|
176
|
-
align-items: flex-end;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.flex-justify-end {
|
|
180
|
-
justify-content: flex-end;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.flex-justify-start {
|
|
184
|
-
justify-content: flex-start;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
//text align
|
|
188
|
-
$aligns: (right, left, center);
|
|
189
|
-
|
|
190
|
-
@each $align in $aligns {
|
|
191
|
-
.text-#{$align} {
|
|
192
|
-
text-align: $align;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// shadows utilities
|
|
197
|
-
.shadow-xs {
|
|
198
|
-
box-shadow: var(--shadow-xs);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.shadow-sm {
|
|
202
|
-
box-shadow: var(--shadow-sm);
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.shadow-md {
|
|
206
|
-
box-shadow: var(--shadow-md);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.shadow-lg {
|
|
210
|
-
box-shadow: var(--shadow-lg);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.shadow-xl {
|
|
214
|
-
box-shadow: var(--shadow-xl);
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.shadow-2xl {
|
|
218
|
-
box-shadow: var(--shadow-2xl);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.shadow-3xl {
|
|
222
|
-
box-shadow: var(--shadow-3xl);
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
// colors utilities
|
|
226
|
-
|
|
227
|
-
// other utis
|
|
228
|
-
.ver-divider {
|
|
229
|
-
width: 1px;
|
|
230
|
-
height: 48px;
|
|
231
|
-
background: hsla(var(--colors-alpha-black) / 20%);
|
|
232
|
-
margin-inline: var(--spacing-xl);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
// responsive utils
|
|
236
|
-
@include responsive(phone) {
|
|
237
|
-
.xs-hide {
|
|
238
|
-
display: none;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
$position: (start, end, center, between, around);
|
|
243
|
-
@each $position in $position {
|
|
244
|
-
.flex-justify-#{$position} {
|
|
245
|
-
justify-content: $position;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
$align: (start, end, center, stretch);
|
|
250
|
-
@each $align in $align {
|
|
251
|
-
.flex-align-#{$align} {
|
|
252
|
-
align-items: $align;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
@mixin add-dynamic-class($key, $value) {
|
|
257
|
-
.#{$key}-#{$value} {
|
|
258
|
-
content: "#{$key}: #{$value}";
|
|
259
|
-
}
|
|
260
|
-
}
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
.accordion {
|
|
2
|
-
// background-color: #ccc;
|
|
3
|
-
|
|
4
|
-
&-list {
|
|
5
|
-
padding: 0;
|
|
6
|
-
margin: 0;
|
|
7
|
-
list-style: none;
|
|
8
|
-
display: inline-block;
|
|
9
|
-
width: 100%;
|
|
10
|
-
|
|
11
|
-
&__item {
|
|
12
|
-
&:last-child {
|
|
13
|
-
border-bottom: 1px solid var(--border-neutral-primary);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.accordion {
|
|
20
|
-
&-item {
|
|
21
|
-
border-top: 1px solid var(--border-neutral-primary);
|
|
22
|
-
width: 100%; //to be edited
|
|
23
|
-
min-width: 366px;
|
|
24
|
-
z-index: 1;
|
|
25
|
-
position: relative;
|
|
26
|
-
|
|
27
|
-
&__header {
|
|
28
|
-
display: flex;
|
|
29
|
-
padding: var(--spacing-xl);
|
|
30
|
-
align-items: center;
|
|
31
|
-
justify-content: space-between;
|
|
32
|
-
gap: var(--spacing-xl);
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
border: 2px solid transparent;
|
|
35
|
-
// transition: background .2s ease-in-out;
|
|
36
|
-
|
|
37
|
-
&:hover {
|
|
38
|
-
background: var(--button-background-neutral-hovered);
|
|
39
|
-
mix-blend-mode: multiply;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&__title {
|
|
44
|
-
color: var(--text-default);
|
|
45
|
-
width: 100%;
|
|
46
|
-
@extend .text-md-semibold;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&__arrow {
|
|
50
|
-
transition: transform 0.3s ease-in-out;
|
|
51
|
-
&,
|
|
52
|
-
& > dga-icon {
|
|
53
|
-
width: 16px;
|
|
54
|
-
height: 16px;
|
|
55
|
-
display: flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: center;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&__body {
|
|
62
|
-
display: flex;
|
|
63
|
-
align-items: flex-start;
|
|
64
|
-
padding: 0 var(--spacing-6xl) 0 var(--spacing-xl);
|
|
65
|
-
gap: var(--spacing-md);
|
|
66
|
-
color: var(--text-primary-paragraph);
|
|
67
|
-
@extend .text-md-regular;
|
|
68
|
-
max-height: 0;
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
// will-change: max-height;
|
|
71
|
-
opacity: 0;
|
|
72
|
-
transition: all 0.3s ease-in-out;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&.active &__body {
|
|
76
|
-
padding: var(--spacing-md) var(--spacing-6xl) var(--spacing-3xl) var(--spacing-xl);
|
|
77
|
-
opacity: 1;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&.active &__arrow {
|
|
81
|
-
transform: rotate(180deg);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&.focused &__header,
|
|
85
|
-
&__header:focus {
|
|
86
|
-
background-color: transparent;
|
|
87
|
-
border: 2px solid var(--border-black);
|
|
88
|
-
outline: none;
|
|
89
|
-
position: relative;
|
|
90
|
-
z-index: 1;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&__header:active {
|
|
94
|
-
background-color: var(--button-background-neutral-pressed);
|
|
95
|
-
outline: none;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.disabled &__header:active,
|
|
99
|
-
&.disabled &__header:focus,
|
|
100
|
-
&.disabled &__header:hover {
|
|
101
|
-
background-color: transparent;
|
|
102
|
-
outline: none;
|
|
103
|
-
border: 2px solid transparent;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&.disabled &__title,
|
|
107
|
-
&.disabled &__arrow,
|
|
108
|
-
&.disabled &__arrow path,
|
|
109
|
-
//to be edited when add icons
|
|
110
|
-
&.disabled &__body {
|
|
111
|
-
color: var(--text-default-disabled) !important;
|
|
112
|
-
stroke: var(--text-default-disabled) !important; //to be edited when add icons
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&--lg {
|
|
116
|
-
.accordion-item__header {
|
|
117
|
-
padding: var(--spacing-xl);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.accordion__body {
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&--md {
|
|
125
|
-
.accordion-item__header {
|
|
126
|
-
padding: var(--spacing-lg) var(--spacing-xl);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.accordion__body {
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&--sm {
|
|
134
|
-
.accordion-item__header {
|
|
135
|
-
padding: var(--spacing-md) var(--spacing-xl);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.accordion__body {
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&--flush {
|
|
143
|
-
width: 100%;
|
|
144
|
-
position: relative;
|
|
145
|
-
border-top: 0;
|
|
146
|
-
/* Create the "cut" border effect */
|
|
147
|
-
&:before {
|
|
148
|
-
content: '';
|
|
149
|
-
position: absolute;
|
|
150
|
-
top: 0;
|
|
151
|
-
left: 0;
|
|
152
|
-
right: 0;
|
|
153
|
-
height: 1px;
|
|
154
|
-
background: linear-gradient(to right, transparent 0 16px, var(--border-neutral-primary) 16px calc(100% - 16px), transparent calc(100% - 16px) 100%);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
&--icon-leading {
|
|
159
|
-
.accordion-item__body {
|
|
160
|
-
padding: 0 var(--spacing-none) 0 var(--spacing-6xl);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
&.active .accordion-item__body {
|
|
164
|
-
padding: var(--spacing-md) var(--spacing-none) var(--spacing-3xl) var(--spacing-6xl);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
:is(html[lang='ar'], html[dir='rtl']) .accordion-item .accordion-item__body {
|
|
171
|
-
padding: 0 var(--spacing-xl) 0 var(--spacing-6xl);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
:is(html[lang='ar'], html[dir='rtl']) .accordion-item--icon-leading .accordion-item__body {
|
|
175
|
-
padding: 0 var(--spacing-6xl) 0 var(--spacing-none);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
:is(html[lang='ar'], html[dir='rtl']) .accordion-item.active .accordion-item__body {
|
|
179
|
-
padding: var(--spacing-md) var(--spacing-xl) var(--spacing-3xl) var(--spacing-6xl);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
:is(html[lang='ar'], html[dir='rtl']) .accordion-item--icon-leading.active .accordion-item__body {
|
|
183
|
-
padding: var(--spacing-md) var(--spacing-6xl) var(--spacing-3xl) var(--spacing-none);
|
|
184
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
$avatar_sizes: (
|
|
2
|
-
120: (
|
|
3
|
-
'display-md-regular',
|
|
4
|
-
80,
|
|
5
|
-
),
|
|
6
|
-
80: (
|
|
7
|
-
'display-sm-regular',
|
|
8
|
-
56,
|
|
9
|
-
),
|
|
10
|
-
68: (
|
|
11
|
-
'text-xl-medium',
|
|
12
|
-
40,
|
|
13
|
-
),
|
|
14
|
-
48: (
|
|
15
|
-
'text-md-medium',
|
|
16
|
-
32,
|
|
17
|
-
),
|
|
18
|
-
40: (
|
|
19
|
-
'text-sm-semibold',
|
|
20
|
-
32,
|
|
21
|
-
),
|
|
22
|
-
32: (
|
|
23
|
-
'text-xs-semibold',
|
|
24
|
-
24,
|
|
25
|
-
),
|
|
26
|
-
24: (
|
|
27
|
-
'text-2xs-bold',
|
|
28
|
-
16,
|
|
29
|
-
),
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
.avatar {
|
|
33
|
-
border-radius: var(--radius-full);
|
|
34
|
-
border: 2px solid var(--border-white);
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: center;
|
|
38
|
-
background: var(--button-background-neutral-default);
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
|
|
41
|
-
&--initials {
|
|
42
|
-
// border: 4px solid var(--colors-border-white, #FFF);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&--image {
|
|
46
|
-
img {
|
|
47
|
-
width: 100%;
|
|
48
|
-
height: 100%;
|
|
49
|
-
object-fit: cover;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
&--icon {
|
|
53
|
-
}
|
|
54
|
-
&--square {
|
|
55
|
-
border-radius: var(--radius-8);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@each $size, $properties in $avatar_sizes {
|
|
59
|
-
$text: nth($properties, 1);
|
|
60
|
-
$icon_size: nth($properties, 2);
|
|
61
|
-
|
|
62
|
-
&--#{$size} {
|
|
63
|
-
width: #{$size}px;
|
|
64
|
-
height: #{$size}px;
|
|
65
|
-
|
|
66
|
-
@if ($size == 120) {
|
|
67
|
-
border-width: 4px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
& .avatar__text {
|
|
71
|
-
@extend .#{$text};
|
|
72
|
-
text-transform: uppercase;
|
|
73
|
-
}
|
|
74
|
-
& .avatar__icon {
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
justify-content: center;
|
|
78
|
-
width: #{$icon_size}px;
|
|
79
|
-
height: #{$icon_size}px;
|
|
80
|
-
& > * {
|
|
81
|
-
width: 100%;
|
|
82
|
-
height: 100%;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
@media only screen and (max-width: 768px) {
|
|
2
|
-
.breadcrumb {
|
|
3
|
-
justify-content: center;
|
|
4
|
-
}
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.breadcrumb {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
|
|
11
|
-
&-item {
|
|
12
|
-
display: inline-flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
gap: var(--size-4, 4px);
|
|
15
|
-
color: var(--link-neutral);
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
padding-right: var(--size-4, 4px);
|
|
18
|
-
|
|
19
|
-
&.active {
|
|
20
|
-
color: var(--text-default-disabled);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&:first-child {
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&:not(:first-child) {
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
// gap: 8px;
|
|
30
|
-
}
|
|
31
|
-
& .disabled-link {
|
|
32
|
-
cursor: not-allowed;
|
|
33
|
-
&:hover {
|
|
34
|
-
text-decoration: none;
|
|
35
|
-
& .link__label {
|
|
36
|
-
text-decoration: none;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&.ellipsis .link {
|
|
42
|
-
align-items: flex-end;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&-icon {
|
|
47
|
-
color: var(--text-default-disabled);
|
|
48
|
-
width: 16px;
|
|
49
|
-
height: 16px;
|
|
50
|
-
font-size: 20px;
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
:is(html[lang="ar"], html[dir="rtl"]) .breadcrumb-item:first-child {
|
|
57
|
-
padding-right: 0;
|
|
58
|
-
padding-left: 4px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
:is(html[lang="ar"], html[dir="rtl"]) .breadcrumb-icon {
|
|
62
|
-
transform: rotate(180deg);
|
|
63
|
-
}
|