@acorex/styles 16.19.21 → 16.19.23
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 +1 -1
- package/scss/forms.scss +0 -1
- package/scss/side-menu.scss +73 -0
- package/scss/style.scss +37 -35
package/package.json
CHANGED
package/scss/forms.scss
CHANGED
@@ -0,0 +1,73 @@
|
|
1
|
+
.ax-side-menu-container {
|
2
|
+
padding: 0.5rem;
|
3
|
+
display: flex;
|
4
|
+
justify-content: center;
|
5
|
+
flex-direction: column;
|
6
|
+
gap: 1rem;
|
7
|
+
&.noselect-side-menu {
|
8
|
+
-webkit-touch-callout: none; /* iOS Safari */
|
9
|
+
-webkit-user-select: none; /* Safari */
|
10
|
+
-khtml-user-select: none; /* Konqueror HTML */
|
11
|
+
-moz-user-select: none; /* Old versions of Firefox */
|
12
|
+
-ms-user-select: none; /* Internet Explorer/Edge */
|
13
|
+
user-select: none; /* Non-prefixed version, currently
|
14
|
+
supported by Chrome, Edge, Opera and Firefox */
|
15
|
+
}
|
16
|
+
|
17
|
+
.ax-side-menu-parent-item {
|
18
|
+
font-weight: bold;
|
19
|
+
cursor: pointer;
|
20
|
+
align-items: center;
|
21
|
+
display: flex;
|
22
|
+
gap: 0.5rem;
|
23
|
+
color: #4d566e;
|
24
|
+
|
25
|
+
&.ax-side-menu-parent-item-active-state {
|
26
|
+
color: #000;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.ax-side-menu-children {
|
31
|
+
padding-inline-start: 1rem;
|
32
|
+
|
33
|
+
.ax-side-menu-child-item {
|
34
|
+
padding: 6px 12px;
|
35
|
+
cursor: pointer;
|
36
|
+
position: relative;
|
37
|
+
&::before {
|
38
|
+
content: '';
|
39
|
+
position: absolute;
|
40
|
+
top: 0;
|
41
|
+
inset-inline-start: 0;
|
42
|
+
width: 2px;
|
43
|
+
height: 100%;
|
44
|
+
background-color: #ccc;
|
45
|
+
}
|
46
|
+
|
47
|
+
&:hover {
|
48
|
+
background-color: var(--ax-primary-trans-light-color);
|
49
|
+
}
|
50
|
+
|
51
|
+
&.ax-child-active-state {
|
52
|
+
background-color: var(--ax-primary-trans-light-color);
|
53
|
+
|
54
|
+
&::before {
|
55
|
+
background-color: var(--ax-primary-color);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.ax-side-menu-state-disabled {
|
62
|
+
cursor: not-allowed !important;
|
63
|
+
opacity: 0.5 !important;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
.chevron {
|
68
|
+
transition: transform 0.2s ease-in-out;
|
69
|
+
}
|
70
|
+
|
71
|
+
.chevron.rotated {
|
72
|
+
transform: rotate(180deg);
|
73
|
+
}
|
package/scss/style.scss
CHANGED
@@ -1,52 +1,54 @@
|
|
1
|
-
@use
|
2
|
-
@use
|
3
|
-
@use
|
4
|
-
@use
|
5
|
-
@use
|
6
|
-
@use
|
7
|
-
@use
|
8
|
-
@use
|
9
|
-
@use
|
10
|
-
@use
|
11
|
-
@use
|
12
|
-
@use
|
13
|
-
@use
|
14
|
-
@use
|
15
|
-
@use
|
16
|
-
@use
|
17
|
-
@use
|
18
|
-
@use
|
19
|
-
@use
|
20
|
-
@use
|
1
|
+
@use './buttons';
|
2
|
+
@use './calendar';
|
3
|
+
@use './checkbox';
|
4
|
+
@use './context-menu';
|
5
|
+
@use './drawer';
|
6
|
+
@use './data-grid';
|
7
|
+
@use './fieldset';
|
8
|
+
@use './list';
|
9
|
+
@use './side-menu.scss';
|
10
|
+
@use './menu';
|
11
|
+
@use './progress';
|
12
|
+
@use './selection-list';
|
13
|
+
@use './forms';
|
14
|
+
@use './tooltip';
|
15
|
+
@use './tab';
|
16
|
+
@use './tab-strip';
|
17
|
+
@use './toast';
|
18
|
+
@use './treeview';
|
19
|
+
@use './upload';
|
20
|
+
@use './master';
|
21
|
+
@use './page';
|
21
22
|
|
22
23
|
// Import CSS file for external libraries
|
23
|
-
@import
|
24
|
+
@import 'node_modules/animate.css/animate.min.css';
|
24
25
|
|
25
26
|
* {
|
26
|
-
|
27
|
-
|
27
|
+
box-sizing: border-box;
|
28
|
+
outline-color: transparent;
|
28
29
|
|
29
|
-
|
30
|
-
|
31
|
-
|
30
|
+
&:focus {
|
31
|
+
outline: none;
|
32
|
+
}
|
32
33
|
}
|
33
34
|
|
34
35
|
html,
|
35
36
|
body {
|
36
|
-
|
37
|
-
|
37
|
+
-webkit-overflow-scrolling: touch;
|
38
|
+
scroll-behavior: smooth;
|
38
39
|
|
39
|
-
|
40
|
-
|
41
|
-
|
40
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
41
|
+
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
|
42
|
+
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
43
|
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
42
44
|
}
|
43
45
|
|
44
46
|
.rtl {
|
45
|
-
|
46
|
-
|
47
|
+
direction: rtl;
|
48
|
+
text-align: right;
|
47
49
|
}
|
48
50
|
|
49
51
|
.ltr {
|
50
|
-
|
51
|
-
|
52
|
+
direction: ltr;
|
53
|
+
text-align: left;
|
52
54
|
}
|