@acorex/styles 6.5.11 → 6.5.13
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/treeview.scss +39 -9
package/package.json
CHANGED
package/scss/treeview.scss
CHANGED
@@ -1,35 +1,50 @@
|
|
1
1
|
$ident: 1.5rem;
|
2
2
|
$left: -($ident);
|
3
|
+
|
3
4
|
.treeview {
|
4
5
|
padding: 0 1.2rem;
|
5
6
|
font-size: 0.875rem;
|
7
|
+
|
6
8
|
&.sm {
|
7
9
|
.child {
|
8
10
|
padding-inline-start: 1.5em;
|
9
11
|
}
|
12
|
+
|
10
13
|
.bordered {
|
11
14
|
&::before {
|
12
15
|
width: 1.5em;
|
13
16
|
}
|
17
|
+
|
14
18
|
&::after {
|
15
19
|
width: 1.5em;
|
16
20
|
}
|
17
21
|
}
|
22
|
+
|
18
23
|
.check-box {
|
19
24
|
margin-top: -1rem;
|
20
25
|
}
|
21
26
|
}
|
27
|
+
|
28
|
+
.disabled {
|
29
|
+
background: var(--ax-gray-light-color) !important;
|
30
|
+
color: var(--ax-gray-fore-color);
|
31
|
+
cursor: not-allowed !important;
|
32
|
+
}
|
33
|
+
|
22
34
|
li {
|
23
35
|
list-style-type: none;
|
24
36
|
position: relative;
|
25
37
|
cursor: pointer;
|
26
|
-
|
27
|
-
|
38
|
+
|
39
|
+
.ax-checkbox-container {
|
40
|
+
span {
|
28
41
|
display: none;
|
29
42
|
}
|
30
43
|
}
|
44
|
+
|
31
45
|
&.node {
|
32
|
-
|
46
|
+
padding-inline-start: 1rem;
|
47
|
+
|
33
48
|
// .start-side {
|
34
49
|
// display: none;
|
35
50
|
// }
|
@@ -38,9 +53,11 @@ $left: -($ident);
|
|
38
53
|
z-index: 1;
|
39
54
|
}
|
40
55
|
}
|
56
|
+
|
41
57
|
&.selected {
|
42
58
|
background-color: var(--ax-primary-trans-dark-color);
|
43
59
|
}
|
60
|
+
|
44
61
|
&.bordered {
|
45
62
|
&:before {
|
46
63
|
content: "";
|
@@ -52,6 +69,7 @@ $left: -($ident);
|
|
52
69
|
width: 1.5em;
|
53
70
|
height: 17.8px;
|
54
71
|
}
|
72
|
+
|
55
73
|
&:after {
|
56
74
|
position: absolute;
|
57
75
|
content: "";
|
@@ -62,19 +80,23 @@ $left: -($ident);
|
|
62
80
|
width: $ident;
|
63
81
|
height: 100%;
|
64
82
|
}
|
83
|
+
|
65
84
|
&:last-child:after {
|
66
85
|
display: none;
|
67
86
|
}
|
68
87
|
}
|
88
|
+
|
69
89
|
[dir="rtl"] & {
|
70
90
|
.fas {
|
71
91
|
-webkit-transform: scaleX(-1);
|
72
92
|
transform: scaleX(-1);
|
73
93
|
}
|
74
94
|
}
|
95
|
+
|
75
96
|
.start-side {
|
76
97
|
display: flex;
|
77
98
|
align-items: center;
|
99
|
+
|
78
100
|
.collapse-icon {
|
79
101
|
display: flex;
|
80
102
|
align-items: center;
|
@@ -84,39 +106,47 @@ $left: -($ident);
|
|
84
106
|
border: 1px solid var(--ax-gray-dark-color);
|
85
107
|
background: var(--ax-white-color);
|
86
108
|
z-index: 1;
|
109
|
+
|
87
110
|
i {
|
88
111
|
font-size: 0.875rem;
|
89
112
|
text-align: center;
|
90
|
-
|
113
|
+
|
114
|
+
:not(.fa-spin) {
|
91
115
|
font-size: initial !important;
|
92
116
|
}
|
93
117
|
}
|
94
118
|
}
|
119
|
+
|
95
120
|
.ax-checkbox-container {
|
96
121
|
margin-inline-start: 0.5rem;
|
97
122
|
}
|
98
123
|
}
|
124
|
+
|
99
125
|
.check-box {
|
100
126
|
margin-top: -1.5em;
|
101
127
|
}
|
128
|
+
|
102
129
|
.text-list {
|
103
130
|
flex: 1;
|
104
131
|
display: flex;
|
105
132
|
margin-inline-start: 0.5rem;
|
106
133
|
|
107
134
|
}
|
135
|
+
|
108
136
|
>div {
|
109
137
|
padding: 0.5em 0;
|
138
|
+
|
110
139
|
&:hover {
|
111
140
|
background-color: var(--ax-gray-trans-light-color);
|
112
141
|
}
|
113
142
|
}
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
143
|
+
|
144
|
+
.child {
|
145
|
+
li:not(.node) {
|
146
|
+
.text-list {
|
147
|
+
margin-inline-start: 0.5rem;
|
118
148
|
}
|
119
149
|
}
|
120
150
|
}
|
121
151
|
}
|
122
|
-
}
|
152
|
+
}
|