@acorex/styles 4.0.25 → 4.1.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/fonts/font-awesome/fa-brands-400.eot +0 -0
- package/fonts/font-awesome/fa-brands-400.svg +3570 -0
- package/fonts/font-awesome/fa-brands-400.ttf +0 -0
- package/fonts/font-awesome/fa-brands-400.woff +0 -0
- package/fonts/font-awesome/fa-brands-400.woff2 +0 -0
- package/fonts/font-awesome/fa-duotone-900.eot +0 -0
- package/fonts/font-awesome/fa-duotone-900.svg +15055 -0
- package/fonts/font-awesome/fa-duotone-900.ttf +0 -0
- package/fonts/font-awesome/fa-duotone-900.woff +0 -0
- package/fonts/font-awesome/fa-duotone-900.woff2 +0 -0
- package/fonts/font-awesome/fa-light-300.eot +0 -0
- package/fonts/font-awesome/fa-light-300.svg +12330 -0
- package/fonts/font-awesome/fa-light-300.ttf +0 -0
- package/fonts/font-awesome/fa-light-300.woff +0 -0
- package/fonts/font-awesome/fa-light-300.woff2 +0 -0
- package/fonts/font-awesome/fa-regular-400.eot +0 -0
- package/fonts/font-awesome/fa-regular-400.svg +11256 -0
- package/fonts/font-awesome/fa-regular-400.ttf +0 -0
- package/fonts/font-awesome/fa-regular-400.woff +0 -0
- package/fonts/font-awesome/fa-regular-400.woff2 +0 -0
- package/fonts/font-awesome/fa-solid-900.eot +0 -0
- package/fonts/font-awesome/fa-solid-900.svg +9588 -0
- package/fonts/font-awesome/fa-solid-900.ttf +0 -0
- package/fonts/font-awesome/fa-solid-900.woff +0 -0
- package/fonts/font-awesome/fa-solid-900.woff2 +0 -0
- package/fonts/font-awesome/font-awesome.css +16960 -0
- package/package.json +3 -3
- package/scss/buttons.scss +64 -0
- package/scss/calendar.scss +128 -0
- package/scss/checkbox.scss +47 -0
- package/scss/context-menu.scss +82 -0
- package/scss/data-grid.scss +107 -0
- package/scss/drawer.scss +27 -0
- package/scss/fieldset.scss +23 -0
- package/scss/forms.scss +529 -0
- package/scss/list.scss +60 -0
- package/scss/master.scss +253 -0
- package/scss/menu.scss +481 -0
- package/scss/mixin.scss +12 -0
- package/scss/page.scss +54 -0
- package/scss/progress.scss +11 -0
- package/scss/selection-list.scss +116 -0
- package/scss/style.scss +49 -0
- package/scss/tab-strip.scss +30 -0
- package/scss/tab.scss +33 -0
- package/scss/toast.scss +24 -0
- package/scss/tooltip.scss +53 -0
- package/scss/treeview.scss +133 -0
- package/scss/upload.scss +169 -0
- package/scss/variables.scss +106 -0
- package/index.scss +0 -48
- package/scss/ax-icon/fonts/acorex.eot +0 -0
- package/scss/ax-icon/fonts/acorex.svg +0 -1434
- package/scss/ax-icon/fonts/acorex.ttf +0 -0
- package/scss/ax-icon/fonts/acorex.woff +0 -0
- package/scss/ax-icon/selection.json +0 -1
- package/scss/ax-icon/style.scss +0 -7218
- package/scss/ax-icon/variables.scss +0 -1428
- package/scss/bases/accessiblity.scss +0 -38
- package/scss/bases/background.scss +0 -76
- package/scss/bases/border.scss +0 -453
- package/scss/bases/effects.scss +0 -56
- package/scss/bases/filter.scss +0 -184
- package/scss/bases/flexbox-and-grid.scss +0 -254
- package/scss/bases/interactivity.scss +0 -42
- package/scss/bases/layout.scss +0 -207
- package/scss/bases/root.scss +0 -53
- package/scss/bases/sizing.scss +0 -43
- package/scss/bases/skeleton.scss +0 -30
- package/scss/bases/spacing.scss +0 -245
- package/scss/bases/svg.scss +0 -18
- package/scss/bases/table.scss +0 -15
- package/scss/bases/transform.scss +0 -114
- package/scss/bases/transition-and-animation.scss +0 -116
- package/scss/bases/typography.scss +0 -210
- package/scss/components/alert.scss +0 -131
- package/scss/components/badge.scss +0 -6
- package/scss/components/button.scss +0 -264
- package/scss/components/calendar.scss +0 -120
- package/scss/components/carousel.scss +0 -67
- package/scss/components/checkbox.scss +0 -36
- package/scss/components/datapager.scss +0 -80
- package/scss/components/datepicker.scss +0 -8
- package/scss/components/dialog.scss +0 -61
- package/scss/components/drawer.scss +0 -78
- package/scss/components/dropdown.scss +0 -35
- package/scss/components/editor-container.scss +0 -105
- package/scss/components/input.scss +0 -47
- package/scss/components/label.scss +0 -6
- package/scss/components/list.scss +0 -55
- package/scss/components/loading.scss +0 -47
- package/scss/components/popup.scss +0 -103
- package/scss/components/radio.scss +0 -36
- package/scss/components/selectbox.scss +0 -39
- package/scss/components/selection-list.scss +0 -22
- package/scss/components/side-menu.scss +0 -44
- package/scss/components/switch.scss +0 -178
- package/scss/components/table.scss +0 -22
- package/scss/components/tabs.scss +0 -115
- package/scss/components/text-box.scss +0 -4
- package/scss/components/toast.scss +0 -82
- package/scss/components/tooltip.scss +0 -42
- package/variables/bases/_accessiblity.scss +0 -22
- package/variables/bases/_background.scss +0 -57
- package/variables/bases/_border.scss +0 -106
- package/variables/bases/_color.scss +0 -135
- package/variables/bases/_common.scss +0 -6
- package/variables/bases/_effects.scss +0 -36
- package/variables/bases/_filter.scss +0 -62
- package/variables/bases/_flexbox-and-grid.scss +0 -138
- package/variables/bases/_interactivity.scss +0 -31
- package/variables/bases/_layout.scss +0 -102
- package/variables/bases/_root.scss +0 -70
- package/variables/bases/_sizing.scss +0 -322
- package/variables/bases/_spacing.scss +0 -38
- package/variables/bases/_svg.scss +0 -1
- package/variables/bases/_table.scss +0 -2
- package/variables/bases/_transform.scss +0 -88
- package/variables/bases/_transition-and-animation.scss +0 -26
- package/variables/bases/_typography.scss +0 -191
- package/variables/components/_button.scss +0 -0
- package/variables/components/_editor-container.scss +0 -5
- package/variables/components/_input.scss +0 -0
package/scss/menu.scss
ADDED
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
/* nav */
|
|
2
|
+
.ax.nav-menu,
|
|
3
|
+
.ax.nav-menu ul,
|
|
4
|
+
.ax.nav-menu li,
|
|
5
|
+
.ax.nav-menu span {
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
line-height: normal;
|
|
9
|
+
list-style: none;
|
|
10
|
+
display: block;
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
.rtl {
|
|
14
|
+
.ax {
|
|
15
|
+
&.nav-menu {
|
|
16
|
+
li.ax-menu-item {
|
|
17
|
+
&:hover {
|
|
18
|
+
&::after {
|
|
19
|
+
right: 0 !important;
|
|
20
|
+
left: initial !important;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.ax {
|
|
28
|
+
&.nav-menu {
|
|
29
|
+
li.tooltip {
|
|
30
|
+
position: relative; /* making the .tooltip span a container for the tooltip text */
|
|
31
|
+
|
|
32
|
+
&:hover {
|
|
33
|
+
&::before {
|
|
34
|
+
display: block;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
&::before {
|
|
38
|
+
content: attr(data-text);
|
|
39
|
+
position: absolute;
|
|
40
|
+
bottom: -85%;
|
|
41
|
+
left: 0;
|
|
42
|
+
padding: 0.5rem 1rem;
|
|
43
|
+
border-radius: var(--ax-size-border-radius);
|
|
44
|
+
background: var(--ax-dark-color);
|
|
45
|
+
color: var(--ax-dark-fore-color);
|
|
46
|
+
text-align: center;
|
|
47
|
+
display: none; /* hide by default */
|
|
48
|
+
z-index: 1;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
&.rtl {
|
|
52
|
+
ul {
|
|
53
|
+
right: -9999px !important;
|
|
54
|
+
left: initial !important;
|
|
55
|
+
|
|
56
|
+
li {
|
|
57
|
+
&:hover {
|
|
58
|
+
> ul {
|
|
59
|
+
right: 100% !important;
|
|
60
|
+
left: initial !important;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
.drop-icon {
|
|
64
|
+
position: absolute;
|
|
65
|
+
left: 10px;
|
|
66
|
+
right: initial;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
li {
|
|
72
|
+
|
|
73
|
+
&:hover {
|
|
74
|
+
> ul {
|
|
75
|
+
right: 0 !important;
|
|
76
|
+
left: initial !important;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
ul {
|
|
83
|
+
opacity: 0;
|
|
84
|
+
position: absolute;
|
|
85
|
+
top: 100%;
|
|
86
|
+
left: -9999px;
|
|
87
|
+
z-index: 50000;
|
|
88
|
+
-webkit-transition: opacity 0.3s;
|
|
89
|
+
transition: opacity 0.3s;
|
|
90
|
+
min-width: 12em;
|
|
91
|
+
box-shadow: 0 1px 7px 0 var(--ax-border-color);
|
|
92
|
+
background: #fff;
|
|
93
|
+
|
|
94
|
+
li {
|
|
95
|
+
float: none;
|
|
96
|
+
|
|
97
|
+
.drop-icon {
|
|
98
|
+
position: absolute;
|
|
99
|
+
right: 10px;
|
|
100
|
+
left: initial;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&:hover {
|
|
104
|
+
// background-color: var(--ax-border-color);
|
|
105
|
+
|
|
106
|
+
> ul {
|
|
107
|
+
top: 0;
|
|
108
|
+
left: 100%;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
li {
|
|
115
|
+
// cursor: default;
|
|
116
|
+
// float: left;
|
|
117
|
+
white-space: nowrap;
|
|
118
|
+
cursor: pointer;
|
|
119
|
+
|
|
120
|
+
&.disabled {
|
|
121
|
+
// color: var(--ax-gray-color) !important;
|
|
122
|
+
// background-color: var(--ax-gray-trans-light-color) !important;
|
|
123
|
+
opacity: 0.6;
|
|
124
|
+
cursor: not-allowed !important;
|
|
125
|
+
|
|
126
|
+
i {
|
|
127
|
+
color: var(--ax-gray-dark-color) !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// &:hover {
|
|
131
|
+
// background: var(--ax-light-light-color) !important;
|
|
132
|
+
// border-color: var(--ax-light-light-color) !important;
|
|
133
|
+
// color: var(--ax-gray-dark-color) !important;
|
|
134
|
+
// cursor: not-allowed !important;
|
|
135
|
+
// }
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
> ul {
|
|
139
|
+
// padding: 0.25rem 0;
|
|
140
|
+
li{
|
|
141
|
+
border-top: none;
|
|
142
|
+
border-right: none;
|
|
143
|
+
border-left: none;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&:hover {
|
|
148
|
+
> ul {
|
|
149
|
+
left: 0;
|
|
150
|
+
opacity: 1;
|
|
151
|
+
z-index: 1000;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
span {
|
|
157
|
+
display: flex;
|
|
158
|
+
padding: 0 10px;
|
|
159
|
+
font-weight: normal;
|
|
160
|
+
font-size: 1rem;
|
|
161
|
+
line-height: 40px;
|
|
162
|
+
text-decoration: none;
|
|
163
|
+
align-items: center;
|
|
164
|
+
|
|
165
|
+
// i {
|
|
166
|
+
// margin-inline-end: 0.5em;
|
|
167
|
+
// }
|
|
168
|
+
|
|
169
|
+
span {
|
|
170
|
+
padding: 0 5px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.drop-icon {
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
&.nav-center {
|
|
178
|
+
> li {
|
|
179
|
+
display: inline-flex;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&.nav-vertical {
|
|
184
|
+
max-width: 220px;
|
|
185
|
+
background-color: var(--ax-white-color);
|
|
186
|
+
ul {
|
|
187
|
+
top: 0;
|
|
188
|
+
left: -9999px;
|
|
189
|
+
|
|
190
|
+
[dir="rtl"] & {
|
|
191
|
+
right: -9999px !important;
|
|
192
|
+
left: initial !important;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
li {
|
|
197
|
+
width: 100%;
|
|
198
|
+
float: none;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
> li {
|
|
203
|
+
> .nav-active {
|
|
204
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
:hover {
|
|
208
|
+
> ul {
|
|
209
|
+
left: 100%;
|
|
210
|
+
|
|
211
|
+
[dir="rtl"] & {
|
|
212
|
+
right: 100% !important;
|
|
213
|
+
left: initial !important;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.ax.nav-menu span:hover,
|
|
222
|
+
.ax.nav-menu span:focus,
|
|
223
|
+
.ax.nav-menu li:hover span {
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/* 2 */
|
|
227
|
+
.ax.nav-menu li li span,
|
|
228
|
+
.ax.nav-menu li:hover li span {
|
|
229
|
+
padding: 5px 10px;
|
|
230
|
+
font-size: 12px;
|
|
231
|
+
line-height: normal;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/* 2: hover/persistence */
|
|
235
|
+
.ax.nav-menu li:hover li span:hover,
|
|
236
|
+
.ax.nav-menu li:hover li span:focus,
|
|
237
|
+
.ax.nav-menu li:hover li:hover span {
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/* 3 */
|
|
241
|
+
.ax.nav-menu li:hover li:hover li span {
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/* 3: hover/persistence */
|
|
245
|
+
.ax.nav-menu li:hover li:hover li span:hover,
|
|
246
|
+
.ax.nav-menu li:hover li:hover li span:focus,
|
|
247
|
+
.ax.nav-menu li:hover li:hover li:hover span {
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/* 4 */
|
|
251
|
+
.ax.nav-menu li:hover li:hover li:hover li span {
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/* 4: hover */
|
|
255
|
+
.ax.nav-menu li:hover li:hover li:hover li span:hover,
|
|
256
|
+
.ax.nav-menu li:hover li:hover li:hover li span:focus {
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/* vertical */
|
|
260
|
+
// .nav-vertical {
|
|
261
|
+
// max-width: 220px;
|
|
262
|
+
// }
|
|
263
|
+
|
|
264
|
+
// .nav-vertical ul {
|
|
265
|
+
// top: 0;
|
|
266
|
+
// left: -9999px;
|
|
267
|
+
// }
|
|
268
|
+
|
|
269
|
+
// .nav-vertical li {
|
|
270
|
+
// width: 100%;
|
|
271
|
+
// float: none;
|
|
272
|
+
// }
|
|
273
|
+
|
|
274
|
+
// .nav-vertical li:hover>ul {
|
|
275
|
+
// left: 100%;
|
|
276
|
+
// }
|
|
277
|
+
// .nav-menu li:hover>ul {
|
|
278
|
+
// left: 0;
|
|
279
|
+
// opacity: 1;
|
|
280
|
+
// z-index: 1000;
|
|
281
|
+
// }
|
|
282
|
+
|
|
283
|
+
// .nav-menu ul li:hover>ul {
|
|
284
|
+
// top: 0;
|
|
285
|
+
// left: 100%;
|
|
286
|
+
// }
|
|
287
|
+
|
|
288
|
+
// .nav-menu li {
|
|
289
|
+
// cursor: default;
|
|
290
|
+
// float: left;
|
|
291
|
+
// white-space: nowrap;
|
|
292
|
+
// }
|
|
293
|
+
|
|
294
|
+
// .nav-menu ul li {
|
|
295
|
+
// float: none;
|
|
296
|
+
// }
|
|
297
|
+
|
|
298
|
+
/* sub width */
|
|
299
|
+
// .nav-menu ul {
|
|
300
|
+
// min-width: 12em;
|
|
301
|
+
// -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
|
|
302
|
+
// box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
|
|
303
|
+
// }
|
|
304
|
+
|
|
305
|
+
/* center */
|
|
306
|
+
// .nav-center {
|
|
307
|
+
// float: right;
|
|
308
|
+
// right: 50%;
|
|
309
|
+
// }
|
|
310
|
+
|
|
311
|
+
// .nav-center>li {
|
|
312
|
+
// left: 50%;
|
|
313
|
+
// }
|
|
314
|
+
|
|
315
|
+
/* root */
|
|
316
|
+
// .nav-menu a {
|
|
317
|
+
// padding: 0 10px;
|
|
318
|
+
// color: #5BC0DE;
|
|
319
|
+
// font-weight: normal;
|
|
320
|
+
// font-size: 16px;
|
|
321
|
+
// line-height: 40px;
|
|
322
|
+
// text-decoration: none;
|
|
323
|
+
// }
|
|
324
|
+
|
|
325
|
+
/* root: active */
|
|
326
|
+
// .nav-menu>li>.nav-active {
|
|
327
|
+
// background-color: rgba(0, 0, 0, 0.05);
|
|
328
|
+
// }
|
|
329
|
+
|
|
330
|
+
/* root: hover/persistence */
|
|
331
|
+
|
|
332
|
+
// .ax {
|
|
333
|
+
// &.menu-container {
|
|
334
|
+
// > ul {
|
|
335
|
+
// margin: 0;
|
|
336
|
+
// padding: 0;
|
|
337
|
+
// list-style: none;
|
|
338
|
+
// display: flex;
|
|
339
|
+
|
|
340
|
+
// li {
|
|
341
|
+
// position: relative;
|
|
342
|
+
// cursor: pointer;
|
|
343
|
+
// height: 25px;
|
|
344
|
+
|
|
345
|
+
// &.disabled {
|
|
346
|
+
// background: var(--ax-light-light-color) !important;
|
|
347
|
+
// border-color: var(--ax-light-light-color) !important;
|
|
348
|
+
// color: var(--ax-gray-dark-color) !important;
|
|
349
|
+
// cursor: not-allowed;
|
|
350
|
+
// }
|
|
351
|
+
// .content-side{
|
|
352
|
+
// flex: 1;
|
|
353
|
+
// text-align: left;
|
|
354
|
+
// [dir="rtl"] & {
|
|
355
|
+
// text-align: right;
|
|
356
|
+
// }
|
|
357
|
+
// }
|
|
358
|
+
// .sub-icon-side {
|
|
359
|
+
// height: 100%;
|
|
360
|
+
// display: flex;
|
|
361
|
+
// justify-content: center;
|
|
362
|
+
// align-items: center;
|
|
363
|
+
// padding: 0 0.5em;
|
|
364
|
+
// margin: 0.3em -0.5em 0em 0em;
|
|
365
|
+
// }
|
|
366
|
+
|
|
367
|
+
// i.ax-menu-item-icon {
|
|
368
|
+
// position: absolute;
|
|
369
|
+
// width: 2em;
|
|
370
|
+
// height: 100%;
|
|
371
|
+
// background: rgba(0, 0, 0, 0.14);
|
|
372
|
+
// bottom: 0;
|
|
373
|
+
// padding: 0px 0.5em;
|
|
374
|
+
// display: flex;
|
|
375
|
+
// align-items: center;
|
|
376
|
+
// justify-content: center;
|
|
377
|
+
// }
|
|
378
|
+
|
|
379
|
+
// &.startIcon {
|
|
380
|
+
// padding-inline-start: 2em;
|
|
381
|
+
|
|
382
|
+
// i.start-icon {
|
|
383
|
+
// left: 0;
|
|
384
|
+
|
|
385
|
+
// [dir="rtl"] &{
|
|
386
|
+
// right: 0;
|
|
387
|
+
// left: initial !important;
|
|
388
|
+
// }
|
|
389
|
+
// }
|
|
390
|
+
// }
|
|
391
|
+
|
|
392
|
+
// &.endIcon {
|
|
393
|
+
// padding-inline-end: 2em;
|
|
394
|
+
|
|
395
|
+
// i.end-icon {
|
|
396
|
+
// right: 0;
|
|
397
|
+
|
|
398
|
+
// [dir="rtl"] &{
|
|
399
|
+
// left: 0;
|
|
400
|
+
// right: initial !important;
|
|
401
|
+
// }
|
|
402
|
+
// }
|
|
403
|
+
// }
|
|
404
|
+
|
|
405
|
+
// .ax-toolbar-menu-item-text {
|
|
406
|
+
// span {
|
|
407
|
+
// padding: 0 0.5em;
|
|
408
|
+
// }
|
|
409
|
+
// }
|
|
410
|
+
// }
|
|
411
|
+
|
|
412
|
+
// > li {
|
|
413
|
+
// //padding: 0.4em 0.2em;
|
|
414
|
+
// display: flex;
|
|
415
|
+
// position: relative;
|
|
416
|
+
// align-items: center;
|
|
417
|
+
// overflow: hidden;
|
|
418
|
+
// }
|
|
419
|
+
|
|
420
|
+
// &.horizontal {
|
|
421
|
+
// flex-direction: row;
|
|
422
|
+
// align-items: center;
|
|
423
|
+
|
|
424
|
+
// > li {
|
|
425
|
+
// margin-inline-end: 0.6em;
|
|
426
|
+
// -webkit-border-radius: var(--ax-size-border-radius);
|
|
427
|
+
// -moz-border-radius: var(--ax-size-border-radius);
|
|
428
|
+
// border-radius: var(--ax-size-border-radius);
|
|
429
|
+
// }
|
|
430
|
+
// }
|
|
431
|
+
|
|
432
|
+
// &.vertical {
|
|
433
|
+
// flex-direction: column;
|
|
434
|
+
// align-items: flex-start;
|
|
435
|
+
|
|
436
|
+
// > li {
|
|
437
|
+
// margin-block-end: 0.6em;
|
|
438
|
+
// width: 100%;
|
|
439
|
+
// }
|
|
440
|
+
// }
|
|
441
|
+
|
|
442
|
+
// .collapsed {
|
|
443
|
+
// display: none;
|
|
444
|
+
// }
|
|
445
|
+
|
|
446
|
+
// .sub-menu {
|
|
447
|
+
// background-color: var(--ax-white-color);
|
|
448
|
+
// box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
|
|
449
|
+
// border: 1px solid -var(--ax-border-color);
|
|
450
|
+
// min-width: 120px;
|
|
451
|
+
// position: fixed;
|
|
452
|
+
// list-style: none;
|
|
453
|
+
// padding: 0;
|
|
454
|
+
// color: var(--ax-black-color);
|
|
455
|
+
// text-align: start;
|
|
456
|
+
// z-index: 100;
|
|
457
|
+
|
|
458
|
+
// li {
|
|
459
|
+
// cursor: pointer;
|
|
460
|
+
// padding-top: 0.5em;
|
|
461
|
+
// padding-bottom: 0.5em;
|
|
462
|
+
// display: flex;
|
|
463
|
+
// &.divider {
|
|
464
|
+
// border-block-end: 1px solid var(--ax-border-color);
|
|
465
|
+
// }
|
|
466
|
+
// &.split {
|
|
467
|
+
// border-top: 1px solid -var(--ax-border-color);
|
|
468
|
+
// }
|
|
469
|
+
// }
|
|
470
|
+
// }
|
|
471
|
+
|
|
472
|
+
// .more {
|
|
473
|
+
// padding: 0.6em 0.8em;
|
|
474
|
+
// display: flex;
|
|
475
|
+
// background-color: var(--ax-light-light-color);
|
|
476
|
+
// position: relative;
|
|
477
|
+
// align-items: center;
|
|
478
|
+
// }
|
|
479
|
+
// }
|
|
480
|
+
// }
|
|
481
|
+
// }
|
package/scss/mixin.scss
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@mixin ax-border-radius($size) {
|
|
2
|
+
border-radius: $size;
|
|
3
|
+
-moz-border-radius: $size;
|
|
4
|
+
-webkit-border-radius: $size;
|
|
5
|
+
-o-border-radius: $size;
|
|
6
|
+
}
|
|
7
|
+
@mixin ax-transition-all {
|
|
8
|
+
transition: all 0.3s;
|
|
9
|
+
-moz-transition: all 0.3s;
|
|
10
|
+
-webkit-transition: all 0.3s;
|
|
11
|
+
-o-transition: all 0.3s;
|
|
12
|
+
}
|
package/scss/page.scss
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.ax-page-toolbar {
|
|
2
|
+
position: sticky;
|
|
3
|
+
top: 0;
|
|
4
|
+
z-index: 1600;
|
|
5
|
+
background: white;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.page-content-wrap {
|
|
9
|
+
height: 100%;
|
|
10
|
+
|
|
11
|
+
.inner-content {
|
|
12
|
+
height: 100%;
|
|
13
|
+
max-height: 90vh;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ax-overlay-wrapper {
|
|
18
|
+
z-index: 1701;
|
|
19
|
+
position: fixed;
|
|
20
|
+
left: 0px;
|
|
21
|
+
top: 0px;
|
|
22
|
+
transform: translate(0px, 0px);
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ax-overlay-modal {
|
|
28
|
+
width: 100%;
|
|
29
|
+
height: 100%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ax-loading-host {
|
|
33
|
+
display: block;
|
|
34
|
+
position: relative;
|
|
35
|
+
min-height: 100%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ax-loading-overlay {
|
|
39
|
+
position: absolute !important;
|
|
40
|
+
background: rgba(255, 255, 255, 0.5);
|
|
41
|
+
display: flex;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
align-content: center;
|
|
44
|
+
align-items: center;
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ax-tab-page-host {
|
|
49
|
+
height: 100%;
|
|
50
|
+
display: block;
|
|
51
|
+
position: relative;
|
|
52
|
+
overflow-y: auto;
|
|
53
|
+
width: 100%;
|
|
54
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
.ax {
|
|
2
|
+
&.selection-list {
|
|
3
|
+
display: flex;
|
|
4
|
+
|
|
5
|
+
&.vertical {
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
margin-block-end: 1em;
|
|
8
|
+
|
|
9
|
+
label {
|
|
10
|
+
margin-block-end: 1em;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.horizontal {
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
margin-block-end: 1em;
|
|
17
|
+
|
|
18
|
+
label {
|
|
19
|
+
margin-inline-end: 1em;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.ax {
|
|
25
|
+
&.radio {
|
|
26
|
+
display: block;
|
|
27
|
+
position: relative;
|
|
28
|
+
padding-left: 2em;
|
|
29
|
+
line-height: 1.5em;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
font-size: inherit;
|
|
32
|
+
-webkit-user-select: none;
|
|
33
|
+
-moz-user-select: none;
|
|
34
|
+
-ms-user-select: none;
|
|
35
|
+
user-select: none;
|
|
36
|
+
|
|
37
|
+
[dir="rtl"] &{
|
|
38
|
+
padding-left: 0 !important;
|
|
39
|
+
padding-right: 2em;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.disabled .checkmark {
|
|
43
|
+
background: var(--ax-light-light-color) !important;
|
|
44
|
+
border-color: var(--ax-light-light-color) !important;
|
|
45
|
+
cursor: not-allowed;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.disabled .checkmark:after {
|
|
49
|
+
background-color: var(--ax-gray-color) !important;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Hide the browser's default radio */
|
|
54
|
+
&.radio input {
|
|
55
|
+
position: absolute;
|
|
56
|
+
opacity: 0;
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
height: 0;
|
|
59
|
+
width: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Create a custom radio */
|
|
63
|
+
&.radio .checkmark {
|
|
64
|
+
position: absolute;
|
|
65
|
+
top: 0;
|
|
66
|
+
left: 0;
|
|
67
|
+
height: 1.5em;
|
|
68
|
+
width: 1.5em;
|
|
69
|
+
background-color: var(--ax-white-color);
|
|
70
|
+
border-style: solid;
|
|
71
|
+
border-width: 1px;
|
|
72
|
+
border-color: var(--ax-border-color);
|
|
73
|
+
-webkit-border-radius: 50%;
|
|
74
|
+
-moz-border-radius: 50%;
|
|
75
|
+
border-radius: 50%;
|
|
76
|
+
|
|
77
|
+
[dir="rtl"] &{
|
|
78
|
+
right: 0 !important;
|
|
79
|
+
left: inherit !important;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* On mouse-over, add a grey background color */
|
|
84
|
+
&.radio:hover input ~ .checkmark {
|
|
85
|
+
border-color: var(--ax-border-dark-color);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* When the radio is checked, add a blue background */
|
|
89
|
+
&.radio input:checked ~ .checkmark {
|
|
90
|
+
background-color: var(--ax-white-color);
|
|
91
|
+
border-color: var(--ax-primary-color);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Create the checkmark/indicator (hidden when not checked) */
|
|
95
|
+
&.radio .checkmark:after {
|
|
96
|
+
content: "";
|
|
97
|
+
position: absolute;
|
|
98
|
+
display: none;
|
|
99
|
+
border-radius: 50%;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Show the checkmark when checked */
|
|
103
|
+
&.radio input:checked ~ .checkmark:after {
|
|
104
|
+
display: block;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* Style the checkmark/indicator */
|
|
108
|
+
&.radio .checkmark:after {
|
|
109
|
+
left: 31.5%;
|
|
110
|
+
top: 33.3%;
|
|
111
|
+
width: 0.5em;
|
|
112
|
+
height: 0.5em;
|
|
113
|
+
background-color: var(--ax-primary-color);
|
|
114
|
+
border-radius: 50%;
|
|
115
|
+
}
|
|
116
|
+
}
|