jobdone-shared-files 1.0.13 → 1.0.14
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/ProjectManagement/projectNavbar.vue +363 -363
- package/autocompleteSelect.vue +461 -461
- package/common/directives/collapse.js +12 -12
- package/common/directives/popovers.js +10 -10
- package/common/directives/selectPlaceholder.js +52 -52
- package/common/directives/textareaAutoHeight.js +10 -10
- package/common/directives/tooltip.js +10 -10
- package/common/format.js +26 -26
- package/index.js +14 -14
- package/lightboxWithOverview.vue +156 -156
- package/package.json +19 -19
- package/paginate.vue +141 -141
- package/style/css/vue-loading-overlay/index.css +40 -40
- package/style/scss/Common/Animation.scss +9 -9
- package/style/scss/Common/SelectableTable.scss +34 -34
- package/style/scss/Common/filepond.scss +31 -31
- package/style/scss/Common/thumbnail-group.scss +14 -14
- package/style/scss/Layout/LayoutBase.scss +1031 -1031
- package/style/scss/Layout/LayoutMobile.scss +206 -206
- package/style/scss/Layout/LayoutProject.scss +126 -126
- package/style/scss/Layout/LayoutSinglePage.scss +17 -17
- package/style/scss/Layout/LayoutTwoColumn.scss +60 -60
- package/style/scss/Settings/_Mixins.scss +232 -232
- package/style/scss/Settings/_MobileVariables.scss +11 -11
- package/style/scss/Settings/_bs-variables-dark.scss +70 -70
- package/style/scss/Settings/_bs-variables.scss +1743 -1743
- package/style/scss/Settings/_color-mode.scss +122 -122
- package/style/scss/Settings/_custom-variables.scss +10 -10
- package/tagEditor.vue +249 -249
- package/tree.vue +69 -69
- package/treeItem.vue +355 -371
- package/vueLoadingOverlay.vue +74 -74
|
@@ -1,207 +1,207 @@
|
|
|
1
|
-
@import "../../../../bootstrap/scss/functions";
|
|
2
|
-
@import "../Settings/bs-variables";
|
|
3
|
-
@import "../../../../bootstrap/scss/mixins";
|
|
4
|
-
@import "../Settings/custom-variables";
|
|
5
|
-
@import "../Settings/Mixins";
|
|
6
|
-
@import "../Common/Animation.scss";
|
|
7
|
-
@import "../Settings/MobileVariables";
|
|
8
|
-
|
|
9
|
-
@media only screen and (max-width: 768px) {
|
|
10
|
-
// default layout ---------------------------------------------
|
|
11
|
-
|
|
12
|
-
html, body, #app{
|
|
13
|
-
min-height: 100%;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
html{
|
|
17
|
-
position: relative;
|
|
18
|
-
&:before{
|
|
19
|
-
content: "";
|
|
20
|
-
position: fixed;
|
|
21
|
-
top: 0;
|
|
22
|
-
left: 0;
|
|
23
|
-
right: 0;
|
|
24
|
-
bottom: 0;
|
|
25
|
-
z-index: -1;
|
|
26
|
-
background: $gradient-bg;
|
|
27
|
-
background-repeat: no-repeat;
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
body{
|
|
33
|
-
background: transparent;
|
|
34
|
-
scroll-behavior: smooth;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
#app{
|
|
38
|
-
width: 100%;
|
|
39
|
-
max-width: 767px;
|
|
40
|
-
transition: 1s;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// background ---------------------------------------------
|
|
44
|
-
|
|
45
|
-
.bg-gradient-main, .bg-gradient-main-translucent{
|
|
46
|
-
color: rgba( $white, .7 );
|
|
47
|
-
.text-emphasis{
|
|
48
|
-
color: $white;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.bg-gradient-main{
|
|
53
|
-
background: $gradient-main;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.bg-gradient-main-translucent{
|
|
57
|
-
background: $gradient-main-translucent;
|
|
58
|
-
backdrop-filter: $backdrop-blur-base;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.bg-dark-translucent{
|
|
62
|
-
background-color: rgba( 0, 22, 44, .8 );
|
|
63
|
-
backdrop-filter: $backdrop-blur-base;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.bg-light-translucent{
|
|
67
|
-
background-color: rgba( $white, .5 );
|
|
68
|
-
backdrop-filter: $backdrop-blur-base;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.bg-extend{
|
|
72
|
-
position: relative;
|
|
73
|
-
&:before{
|
|
74
|
-
content: "";
|
|
75
|
-
position: absolute;
|
|
76
|
-
top: 0;
|
|
77
|
-
left: 0;
|
|
78
|
-
right: 0;
|
|
79
|
-
z-index: -1;
|
|
80
|
-
height: 3rem;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.bg-extend-gradient-main-translucent{
|
|
85
|
-
&:before{
|
|
86
|
-
background: $gradient-main-translucent;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// navbar ---------------------------------------------
|
|
91
|
-
|
|
92
|
-
.navbar-main{
|
|
93
|
-
color: $gray-500;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// width ---------------------------------------------
|
|
97
|
-
|
|
98
|
-
.w-85{
|
|
99
|
-
width: 85% !important;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.w-min-3rem{
|
|
103
|
-
min-width: 3rem;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// font size ---------------------------------------------
|
|
107
|
-
|
|
108
|
-
.fs-min{
|
|
109
|
-
font-size: 12px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// button ---------------------------------------------
|
|
113
|
-
|
|
114
|
-
.btn-glow{
|
|
115
|
-
background-image: $gradient-glow;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.btn-glow-2end{
|
|
119
|
-
--bs-btn-color: #fff;
|
|
120
|
-
--bs-btn-hover-color: #fff;
|
|
121
|
-
--bs-btn-border-color: rgba(255, 255, 255, 0.5);
|
|
122
|
-
--bs-btn-hover-border-color: rgba(255, 255, 255, 0.3);
|
|
123
|
-
background: $gradient-glow-2end;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// input ---------------------------------------------
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
// input-group-icon
|
|
130
|
-
.input-group-icon{
|
|
131
|
-
$padding-left: 2rem;
|
|
132
|
-
|
|
133
|
-
position: relative;
|
|
134
|
-
.material-icons, .input-group-placeholder{
|
|
135
|
-
position: absolute;
|
|
136
|
-
top: 50%;
|
|
137
|
-
transform: translateY(-50%);
|
|
138
|
-
z-index: 6;
|
|
139
|
-
}
|
|
140
|
-
.material-icons{
|
|
141
|
-
left: 0.6rem;
|
|
142
|
-
}
|
|
143
|
-
.input-group-placeholder{
|
|
144
|
-
left: $padding-left;
|
|
145
|
-
}
|
|
146
|
-
.form-control{
|
|
147
|
-
&:-webkit-date-and-time-value{
|
|
148
|
-
text-align: left;
|
|
149
|
-
}
|
|
150
|
-
&:nth-child(1){
|
|
151
|
-
padding-left: $padding-left;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
// animation ---------------------------------------------
|
|
158
|
-
|
|
159
|
-
.fadeIn{
|
|
160
|
-
animation-name: fadeIn;
|
|
161
|
-
animation-duration: 1s;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
// image ---------------------------------------------
|
|
165
|
-
|
|
166
|
-
.thumbnail-circle{
|
|
167
|
-
border: 3px solid rgba($white, .3);
|
|
168
|
-
border-radius: 50%;
|
|
169
|
-
&-sm{
|
|
170
|
-
border-width: 2px;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
// scroll ---------------------------------------------
|
|
176
|
-
|
|
177
|
-
.overflow-y-auto{
|
|
178
|
-
overscroll-behavior: contain;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.body-opened-modal{
|
|
182
|
-
// position: fixed;
|
|
183
|
-
overflow: hidden;
|
|
184
|
-
.bg-gradient-main-translucent, .bg-dark-translucent, .bg-light-translucent{
|
|
185
|
-
backdrop-filter: unset;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.backdrop-filter-none{
|
|
190
|
-
backdrop-filter: unset;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
// list-group-item ---------------------------------------------
|
|
194
|
-
|
|
195
|
-
.list-group-item{
|
|
196
|
-
outline: none !important;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
// reset ---------------------------------------------
|
|
201
|
-
|
|
202
|
-
@media only screen and (max-width: 992px) {
|
|
203
|
-
body{
|
|
204
|
-
overflow: visible;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
1
|
+
@import "../../../../bootstrap/scss/functions";
|
|
2
|
+
@import "../Settings/bs-variables";
|
|
3
|
+
@import "../../../../bootstrap/scss/mixins";
|
|
4
|
+
@import "../Settings/custom-variables";
|
|
5
|
+
@import "../Settings/Mixins";
|
|
6
|
+
@import "../Common/Animation.scss";
|
|
7
|
+
@import "../Settings/MobileVariables";
|
|
8
|
+
|
|
9
|
+
@media only screen and (max-width: 768px) {
|
|
10
|
+
// default layout ---------------------------------------------
|
|
11
|
+
|
|
12
|
+
html, body, #app{
|
|
13
|
+
min-height: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
html{
|
|
17
|
+
position: relative;
|
|
18
|
+
&:before{
|
|
19
|
+
content: "";
|
|
20
|
+
position: fixed;
|
|
21
|
+
top: 0;
|
|
22
|
+
left: 0;
|
|
23
|
+
right: 0;
|
|
24
|
+
bottom: 0;
|
|
25
|
+
z-index: -1;
|
|
26
|
+
background: $gradient-bg;
|
|
27
|
+
background-repeat: no-repeat;
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
body{
|
|
33
|
+
background: transparent;
|
|
34
|
+
scroll-behavior: smooth;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
#app{
|
|
38
|
+
width: 100%;
|
|
39
|
+
max-width: 767px;
|
|
40
|
+
transition: 1s;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// background ---------------------------------------------
|
|
44
|
+
|
|
45
|
+
.bg-gradient-main, .bg-gradient-main-translucent{
|
|
46
|
+
color: rgba( $white, .7 );
|
|
47
|
+
.text-emphasis{
|
|
48
|
+
color: $white;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.bg-gradient-main{
|
|
53
|
+
background: $gradient-main;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.bg-gradient-main-translucent{
|
|
57
|
+
background: $gradient-main-translucent;
|
|
58
|
+
backdrop-filter: $backdrop-blur-base;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.bg-dark-translucent{
|
|
62
|
+
background-color: rgba( 0, 22, 44, .8 );
|
|
63
|
+
backdrop-filter: $backdrop-blur-base;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.bg-light-translucent{
|
|
67
|
+
background-color: rgba( $white, .5 );
|
|
68
|
+
backdrop-filter: $backdrop-blur-base;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.bg-extend{
|
|
72
|
+
position: relative;
|
|
73
|
+
&:before{
|
|
74
|
+
content: "";
|
|
75
|
+
position: absolute;
|
|
76
|
+
top: 0;
|
|
77
|
+
left: 0;
|
|
78
|
+
right: 0;
|
|
79
|
+
z-index: -1;
|
|
80
|
+
height: 3rem;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.bg-extend-gradient-main-translucent{
|
|
85
|
+
&:before{
|
|
86
|
+
background: $gradient-main-translucent;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// navbar ---------------------------------------------
|
|
91
|
+
|
|
92
|
+
.navbar-main{
|
|
93
|
+
color: $gray-500;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// width ---------------------------------------------
|
|
97
|
+
|
|
98
|
+
.w-85{
|
|
99
|
+
width: 85% !important;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.w-min-3rem{
|
|
103
|
+
min-width: 3rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// font size ---------------------------------------------
|
|
107
|
+
|
|
108
|
+
.fs-min{
|
|
109
|
+
font-size: 12px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// button ---------------------------------------------
|
|
113
|
+
|
|
114
|
+
.btn-glow{
|
|
115
|
+
background-image: $gradient-glow;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.btn-glow-2end{
|
|
119
|
+
--bs-btn-color: #fff;
|
|
120
|
+
--bs-btn-hover-color: #fff;
|
|
121
|
+
--bs-btn-border-color: rgba(255, 255, 255, 0.5);
|
|
122
|
+
--bs-btn-hover-border-color: rgba(255, 255, 255, 0.3);
|
|
123
|
+
background: $gradient-glow-2end;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// input ---------------------------------------------
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
// input-group-icon
|
|
130
|
+
.input-group-icon{
|
|
131
|
+
$padding-left: 2rem;
|
|
132
|
+
|
|
133
|
+
position: relative;
|
|
134
|
+
.material-icons, .input-group-placeholder{
|
|
135
|
+
position: absolute;
|
|
136
|
+
top: 50%;
|
|
137
|
+
transform: translateY(-50%);
|
|
138
|
+
z-index: 6;
|
|
139
|
+
}
|
|
140
|
+
.material-icons{
|
|
141
|
+
left: 0.6rem;
|
|
142
|
+
}
|
|
143
|
+
.input-group-placeholder{
|
|
144
|
+
left: $padding-left;
|
|
145
|
+
}
|
|
146
|
+
.form-control{
|
|
147
|
+
&:-webkit-date-and-time-value{
|
|
148
|
+
text-align: left;
|
|
149
|
+
}
|
|
150
|
+
&:nth-child(1){
|
|
151
|
+
padding-left: $padding-left;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
// animation ---------------------------------------------
|
|
158
|
+
|
|
159
|
+
.fadeIn{
|
|
160
|
+
animation-name: fadeIn;
|
|
161
|
+
animation-duration: 1s;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// image ---------------------------------------------
|
|
165
|
+
|
|
166
|
+
.thumbnail-circle{
|
|
167
|
+
border: 3px solid rgba($white, .3);
|
|
168
|
+
border-radius: 50%;
|
|
169
|
+
&-sm{
|
|
170
|
+
border-width: 2px;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
// scroll ---------------------------------------------
|
|
176
|
+
|
|
177
|
+
.overflow-y-auto{
|
|
178
|
+
overscroll-behavior: contain;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.body-opened-modal{
|
|
182
|
+
// position: fixed;
|
|
183
|
+
overflow: hidden;
|
|
184
|
+
.bg-gradient-main-translucent, .bg-dark-translucent, .bg-light-translucent{
|
|
185
|
+
backdrop-filter: unset;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.backdrop-filter-none{
|
|
190
|
+
backdrop-filter: unset;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// list-group-item ---------------------------------------------
|
|
194
|
+
|
|
195
|
+
.list-group-item{
|
|
196
|
+
outline: none !important;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
// reset ---------------------------------------------
|
|
201
|
+
|
|
202
|
+
@media only screen and (max-width: 992px) {
|
|
203
|
+
body{
|
|
204
|
+
overflow: visible;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
207
|
}
|
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
@import "../../../../bootstrap/scss/functions";
|
|
2
|
-
@import "../Settings/bs-variables";
|
|
3
|
-
@import "../../../../bootstrap/scss/mixins";
|
|
4
|
-
@import "../Settings/custom-variables";
|
|
5
|
-
@import "../Settings/Mixins";
|
|
6
|
-
|
|
7
|
-
html, body, #app{
|
|
8
|
-
height: 100%;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
#app{
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
body{
|
|
17
|
-
background-color: var(--gray-300);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
// 兩欄開合 UI
|
|
23
|
-
|
|
24
|
-
#col-aside:has(label[for="toggle-aside"]:hover){
|
|
25
|
-
will-change: margin-left;
|
|
26
|
-
~ #col-main{
|
|
27
|
-
will-change: width;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
.content-2-column{
|
|
33
|
-
position: relative;
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-grow: 1;
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
z-index: 1;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
#col-aside, #col-main{
|
|
41
|
-
height: 100%;
|
|
42
|
-
overflow-y: auto;
|
|
43
|
-
@include scrollbar();
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
$aside-w: 16.25rem;
|
|
48
|
-
$aside-close-w: 2.5rem;
|
|
49
|
-
$aside-transition: .5s;
|
|
50
|
-
#col-aside{
|
|
51
|
-
@include solid-size($aside-w, auto);
|
|
52
|
-
background-color: var(--gray-100);
|
|
53
|
-
transition: $aside-transition;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
#col-main{
|
|
57
|
-
flex-grow: 1;
|
|
58
|
-
transition: $aside-transition;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.toggler-open{
|
|
62
|
-
padding: 0.5rem;
|
|
63
|
-
background-color: var(--gray-200);
|
|
64
|
-
> label[for="toggle-aside"]{
|
|
65
|
-
cursor: pointer;
|
|
66
|
-
}
|
|
67
|
-
> label[for="toggle-aside"]:hover{
|
|
68
|
-
.material-icons{
|
|
69
|
-
color: var(--bs-primary);
|
|
70
|
-
}
|
|
71
|
-
.toggler-open-text{
|
|
72
|
-
color: rgba(var(--bs-link-color-rgb), 0.5);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.toggler-open-text, .material-icons{
|
|
77
|
-
transition: $transition-base;
|
|
78
|
-
}
|
|
79
|
-
.material-icons{
|
|
80
|
-
color: var(--gray-600);
|
|
81
|
-
margin-right: 0.2rem;
|
|
82
|
-
margin-left: 0.5rem;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.toggler-text{
|
|
87
|
-
color: var(--gray-500);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.content-menu{
|
|
91
|
-
position: relative;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.toggler-close{
|
|
95
|
-
display: none;
|
|
96
|
-
position: absolute;
|
|
97
|
-
top: 0;
|
|
98
|
-
right: 0;
|
|
99
|
-
width: $aside-close-w;
|
|
100
|
-
text-align: center;
|
|
101
|
-
padding: .5rem;
|
|
102
|
-
line-height: 1.25;
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
transition: $aside-transition;
|
|
105
|
-
.toggler-close-text:hover{
|
|
106
|
-
color: rgba(var(--bs-link-color-rgb), 0.5);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
#toggle-aside:checked{
|
|
111
|
-
~ #col-aside{
|
|
112
|
-
margin-left: -$aside-w + $aside-close-w;
|
|
113
|
-
.toggler-open-text, nav{
|
|
114
|
-
display: none;
|
|
115
|
-
}
|
|
116
|
-
.toggler-close{
|
|
117
|
-
display: block;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.thead-sticky{
|
|
123
|
-
position: sticky;
|
|
124
|
-
top: 2.7rem;
|
|
125
|
-
z-index: $zindex-dropdown + 2;
|
|
126
|
-
}
|
|
1
|
+
@import "../../../../bootstrap/scss/functions";
|
|
2
|
+
@import "../Settings/bs-variables";
|
|
3
|
+
@import "../../../../bootstrap/scss/mixins";
|
|
4
|
+
@import "../Settings/custom-variables";
|
|
5
|
+
@import "../Settings/Mixins";
|
|
6
|
+
|
|
7
|
+
html, body, #app{
|
|
8
|
+
height: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
#app{
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
body{
|
|
17
|
+
background-color: var(--gray-300);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
// 兩欄開合 UI
|
|
23
|
+
|
|
24
|
+
#col-aside:has(label[for="toggle-aside"]:hover){
|
|
25
|
+
will-change: margin-left;
|
|
26
|
+
~ #col-main{
|
|
27
|
+
will-change: width;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
.content-2-column{
|
|
33
|
+
position: relative;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-grow: 1;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
z-index: 1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
#col-aside, #col-main{
|
|
41
|
+
height: 100%;
|
|
42
|
+
overflow-y: auto;
|
|
43
|
+
@include scrollbar();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
$aside-w: 16.25rem;
|
|
48
|
+
$aside-close-w: 2.5rem;
|
|
49
|
+
$aside-transition: .5s;
|
|
50
|
+
#col-aside{
|
|
51
|
+
@include solid-size($aside-w, auto);
|
|
52
|
+
background-color: var(--gray-100);
|
|
53
|
+
transition: $aside-transition;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
#col-main{
|
|
57
|
+
flex-grow: 1;
|
|
58
|
+
transition: $aside-transition;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.toggler-open{
|
|
62
|
+
padding: 0.5rem;
|
|
63
|
+
background-color: var(--gray-200);
|
|
64
|
+
> label[for="toggle-aside"]{
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
}
|
|
67
|
+
> label[for="toggle-aside"]:hover{
|
|
68
|
+
.material-icons{
|
|
69
|
+
color: var(--bs-primary);
|
|
70
|
+
}
|
|
71
|
+
.toggler-open-text{
|
|
72
|
+
color: rgba(var(--bs-link-color-rgb), 0.5);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.toggler-open-text, .material-icons{
|
|
77
|
+
transition: $transition-base;
|
|
78
|
+
}
|
|
79
|
+
.material-icons{
|
|
80
|
+
color: var(--gray-600);
|
|
81
|
+
margin-right: 0.2rem;
|
|
82
|
+
margin-left: 0.5rem;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.toggler-text{
|
|
87
|
+
color: var(--gray-500);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.content-menu{
|
|
91
|
+
position: relative;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.toggler-close{
|
|
95
|
+
display: none;
|
|
96
|
+
position: absolute;
|
|
97
|
+
top: 0;
|
|
98
|
+
right: 0;
|
|
99
|
+
width: $aside-close-w;
|
|
100
|
+
text-align: center;
|
|
101
|
+
padding: .5rem;
|
|
102
|
+
line-height: 1.25;
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
transition: $aside-transition;
|
|
105
|
+
.toggler-close-text:hover{
|
|
106
|
+
color: rgba(var(--bs-link-color-rgb), 0.5);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
#toggle-aside:checked{
|
|
111
|
+
~ #col-aside{
|
|
112
|
+
margin-left: -$aside-w + $aside-close-w;
|
|
113
|
+
.toggler-open-text, nav{
|
|
114
|
+
display: none;
|
|
115
|
+
}
|
|
116
|
+
.toggler-close{
|
|
117
|
+
display: block;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.thead-sticky{
|
|
123
|
+
position: sticky;
|
|
124
|
+
top: 2.7rem;
|
|
125
|
+
z-index: $zindex-dropdown + 2;
|
|
126
|
+
}
|