jobdone-shared-files 1.0.45 → 1.0.46

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.
Files changed (38) hide show
  1. package/ModuleInfo/LayoutNav.vue +251 -251
  2. package/ModuleInfo/logo-with-text.svg +22 -22
  3. package/ModuleInfo/navButton.vue +218 -218
  4. package/ProjectManagement/projectNavbar.vue +363 -363
  5. package/autocompleteSelect.vue +467 -467
  6. package/common/directives/collapse.js +12 -12
  7. package/common/directives/popovers.js +10 -10
  8. package/common/directives/selectPlaceholder.js +52 -52
  9. package/common/directives/textareaAutoHeight.js +10 -10
  10. package/common/directives/tooltip.js +10 -10
  11. package/common/format.js +26 -26
  12. package/index.js +14 -14
  13. package/lightboxWithOverview.vue +156 -156
  14. package/package.json +19 -19
  15. package/paginate.vue +141 -141
  16. package/style/css/vue-loading-overlay/index.css +40 -40
  17. package/style/scss/Common/Animation.scss +9 -9
  18. package/style/scss/Common/SelectableTable.scss +36 -36
  19. package/style/scss/Common/Tree.scss +281 -281
  20. package/style/scss/Common/filepond.scss +31 -31
  21. package/style/scss/Common/thumbnail-group.scss +14 -14
  22. package/style/scss/Layout/LayoutBase.scss +1032 -1032
  23. package/style/scss/Layout/LayoutInnerColumn.scss +263 -263
  24. package/style/scss/Layout/LayoutProject.scss +126 -126
  25. package/style/scss/Layout/LayoutSinglePage.scss +17 -17
  26. package/style/scss/Layout/LayoutTwoColumn.scss +60 -60
  27. package/style/scss/Settings/_Mixins.scss +232 -232
  28. package/style/scss/Settings/_MobileVariables.scss +11 -11
  29. package/style/scss/Settings/_bs-variables-dark.scss +70 -70
  30. package/style/scss/Settings/_bs-variables.scss +1743 -1743
  31. package/style/scss/Settings/_color-mode.scss +122 -122
  32. package/style/scss/Settings/_custom-variables.scss +10 -10
  33. package/tagEditor.vue +249 -249
  34. package/tree.vue +71 -71
  35. package/treeItem.vue +358 -358
  36. package/treeItemV2.vue +78 -78
  37. package/treeV2.vue +71 -71
  38. package/vueLoadingOverlay.vue +74 -74
@@ -1,264 +1,264 @@
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
- .main-content {
7
- display: flex;
8
- height: 100%;
9
- width: 100%;
10
- .sidebar-content, .detail-content {
11
- border-radius: 0.25rem;
12
- border-bottom-left-radius: 0;
13
- border-bottom-right-radius: 0;
14
- }
15
- .sidebar-content {
16
- flex-basis: 250px;
17
- margin-right: 0.75rem;
18
- height: 100%;
19
-
20
- }
21
- .detail-content {
22
- flex-grow: 1;
23
- flex-shrink: 1;
24
- flex-basis: 500px;
25
- .title-nav {
26
- display: flex;
27
- align-items: center;
28
- position: sticky;
29
- top: 0;
30
- z-index: $zindex-sticky + 2;
31
- height: 2.75rem;
32
- }
33
- }
34
- }
35
-
36
- .form-filter-input{
37
- min-width: 18rem !important;
38
- }
39
-
40
- #col-main{
41
- display: flex;
42
- flex-direction: column;
43
- height: 100%;
44
- width: 100%;
45
- .main-content{
46
- height: auto;
47
- overflow: hidden;
48
- }
49
- }
50
-
51
- .sidebar-content{
52
- .thead-sidebar{
53
- top: calc( -0.5rem - #{$border-width} );
54
- }
55
- .table {
56
- tbody {
57
- .th-num {
58
- @include tableTdNum();
59
- }
60
- tr {
61
- cursor: pointer;
62
- &.is-edit{
63
- cursor: auto;
64
- }
65
- &.disabled, &:disabled{
66
- cursor: not-allowed;
67
- }
68
- &.disabled, &:disabled, &.is-edit{
69
- th, td{
70
- color: $gray-500;
71
- }
72
- &.clicked th, &.clicked td{
73
- background-color: $gray-200;
74
- color: $gray-600;
75
- }
76
-
77
- &.clicked td:nth-last-child(1){
78
- &:nth-last-child(1):after{
79
- background-color: $gray-600;
80
- }
81
- }
82
- }
83
- }
84
- .clicked {
85
- th,
86
- td {
87
- background-color: rgba($primary, 0.1);
88
- color: $primary;
89
- }
90
- td:nth-last-child(1) {
91
- position: relative;
92
- &:after {
93
- content: "";
94
- position: absolute;
95
- height: 100%;
96
- width: 0.25rem;
97
- right: 0;
98
- top: 0;
99
- z-index: 1;
100
- background-color: $primary;
101
- }
102
- }
103
- }
104
- }
105
- }
106
- }
107
-
108
- .fs-7 {
109
- font-size: 0.85rem;
110
- }
111
-
112
-
113
- $w-shadow: 10px;
114
-
115
- .th-shadow-end, .th-shadow-start{
116
- position: relative;
117
- &:after {
118
- content: "";
119
- display: block;
120
- position: absolute;
121
- top: 0;
122
- bottom: 0;
123
- width: $w-shadow;
124
- pointer-events: none;
125
- }
126
-
127
- }
128
- .th-shadow-end{
129
- &:after {
130
- right: -$w-shadow;
131
- background: linear-gradient(90deg, rgba($primary, 0.1) 0%, rgba($primary, 0) 100%);
132
- }
133
- }
134
- .th-shadow-start{
135
- &:after{
136
- left: -$w-shadow;
137
- background: linear-gradient(90deg, rgba($primary, 0) 0%, rgba($primary, 0.1) 100%);
138
- }
139
- }
140
-
141
-
142
- .th-num, .th-code, .th-name, .th-end {
143
- position: sticky;
144
- z-index: $zindex-dropdown + 1;
145
- }
146
-
147
- .th-num {
148
- left: 0;
149
- }
150
-
151
- .th-code {
152
- left: 39px;
153
- }
154
-
155
- .th-name{
156
- left: 166px;
157
- > div{
158
- display: flex;
159
- }
160
- }
161
-
162
- .th-end{
163
- right: 0;
164
- }
165
-
166
- .title-nav, .nav-paginate{
167
- position: sticky;
168
- top: 0;
169
- left: 0;
170
- }
171
-
172
- .btn-more{
173
- transition: .5s;
174
- }
175
-
176
- .text-title:not(.text-line-clamp-1){
177
- + .btn-more{
178
- transform: rotate(-180deg);
179
- }
180
- }
181
-
182
-
183
- // TODO: 統一 UI
184
- $check-full-width: 23rem;
185
- .check-btn{
186
- position: relative;
187
- display: inline-block;
188
- margin: 1rem;
189
- .check-btn-label{
190
- width: $check-full-width;
191
- padding: 1rem 1rem;
192
- color: var(--gray-500);
193
- border: $border-width solid $border-color;
194
- border-radius: $border-radius;
195
- text-align: center;
196
- cursor: pointer;
197
- transition: $transition-base;
198
- &:hover{
199
- color: $info;
200
- border-color: $info;
201
- background-color: $table-hover-bg;
202
- }
203
- &.check-btn-label-lg{
204
- padding: 2rem 1rem;
205
- width: 10.5rem;
206
- }
207
- }
208
- .material-icons{
209
- font-size: 4rem;
210
- }
211
- input[type="checkbox"], input[type="radio"]{
212
- position: absolute;
213
- pointer-events: none;
214
- @include size(0);
215
- opacity: 0;
216
- &:checked ~ .check-btn-label{
217
- color: $primary;
218
- border-color: $primary;
219
- background-color: $table-hover-bg;
220
-
221
- }
222
- }
223
- }
224
-
225
- .list-group-flush{
226
- --bs-list-group-bg: transparent;
227
- }
228
-
229
-
230
-
231
-
232
- .modal-belong-options{
233
- .content-options, .content-items{
234
- padding: .5rem;
235
- background-color: $gray-600;
236
- }
237
- .content-options{
238
- padding-bottom: 0;
239
- }
240
- .content-items{
241
- $line-h: 1.5rem;
242
- position: relative;
243
- padding-left: 2.25rem;
244
- .overflow-y-auto{
245
- height: 62vh;
246
- }
247
- &:before, &:after{
248
- content: "";
249
- position: absolute;
250
- }
251
- &:before{
252
- left: 1.5rem;
253
- top: 0;
254
- height: $line-h;
255
- border-left: 4px solid $gray-500;
256
- }
257
- &:after{
258
- left: 1.5rem;
259
- top: $line-h;
260
- width: .7rem;
261
- border-top: 4px solid $gray-500;
262
- }
263
- }
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
+ .main-content {
7
+ display: flex;
8
+ height: 100%;
9
+ width: 100%;
10
+ .sidebar-content, .detail-content {
11
+ border-radius: 0.25rem;
12
+ border-bottom-left-radius: 0;
13
+ border-bottom-right-radius: 0;
14
+ }
15
+ .sidebar-content {
16
+ flex-basis: 250px;
17
+ margin-right: 0.75rem;
18
+ height: 100%;
19
+
20
+ }
21
+ .detail-content {
22
+ flex-grow: 1;
23
+ flex-shrink: 1;
24
+ flex-basis: 500px;
25
+ .title-nav {
26
+ display: flex;
27
+ align-items: center;
28
+ position: sticky;
29
+ top: 0;
30
+ z-index: $zindex-sticky + 2;
31
+ height: 2.75rem;
32
+ }
33
+ }
34
+ }
35
+
36
+ .form-filter-input{
37
+ min-width: 18rem !important;
38
+ }
39
+
40
+ #col-main{
41
+ display: flex;
42
+ flex-direction: column;
43
+ height: 100%;
44
+ width: 100%;
45
+ .main-content{
46
+ height: auto;
47
+ overflow: hidden;
48
+ }
49
+ }
50
+
51
+ .sidebar-content{
52
+ .thead-sidebar{
53
+ top: calc( -0.5rem - #{$border-width} );
54
+ }
55
+ .table {
56
+ tbody {
57
+ .th-num {
58
+ @include tableTdNum();
59
+ }
60
+ tr {
61
+ cursor: pointer;
62
+ &.is-edit{
63
+ cursor: auto;
64
+ }
65
+ &.disabled, &:disabled{
66
+ cursor: not-allowed;
67
+ }
68
+ &.disabled, &:disabled, &.is-edit{
69
+ th, td{
70
+ color: $gray-500;
71
+ }
72
+ &.clicked th, &.clicked td{
73
+ background-color: $gray-200;
74
+ color: $gray-600;
75
+ }
76
+
77
+ &.clicked td:nth-last-child(1){
78
+ &:nth-last-child(1):after{
79
+ background-color: $gray-600;
80
+ }
81
+ }
82
+ }
83
+ }
84
+ .clicked {
85
+ th,
86
+ td {
87
+ background-color: rgba($primary, 0.1);
88
+ color: $primary;
89
+ }
90
+ td:nth-last-child(1) {
91
+ position: relative;
92
+ &:after {
93
+ content: "";
94
+ position: absolute;
95
+ height: 100%;
96
+ width: 0.25rem;
97
+ right: 0;
98
+ top: 0;
99
+ z-index: 1;
100
+ background-color: $primary;
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+
108
+ .fs-7 {
109
+ font-size: 0.85rem;
110
+ }
111
+
112
+
113
+ $w-shadow: 10px;
114
+
115
+ .th-shadow-end, .th-shadow-start{
116
+ position: relative;
117
+ &:after {
118
+ content: "";
119
+ display: block;
120
+ position: absolute;
121
+ top: 0;
122
+ bottom: 0;
123
+ width: $w-shadow;
124
+ pointer-events: none;
125
+ }
126
+
127
+ }
128
+ .th-shadow-end{
129
+ &:after {
130
+ right: -$w-shadow;
131
+ background: linear-gradient(90deg, rgba($primary, 0.1) 0%, rgba($primary, 0) 100%);
132
+ }
133
+ }
134
+ .th-shadow-start{
135
+ &:after{
136
+ left: -$w-shadow;
137
+ background: linear-gradient(90deg, rgba($primary, 0) 0%, rgba($primary, 0.1) 100%);
138
+ }
139
+ }
140
+
141
+
142
+ .th-num, .th-code, .th-name, .th-end {
143
+ position: sticky;
144
+ z-index: $zindex-dropdown + 1;
145
+ }
146
+
147
+ .th-num {
148
+ left: 0;
149
+ }
150
+
151
+ .th-code {
152
+ left: 39px;
153
+ }
154
+
155
+ .th-name{
156
+ left: 166px;
157
+ > div{
158
+ display: flex;
159
+ }
160
+ }
161
+
162
+ .th-end{
163
+ right: 0;
164
+ }
165
+
166
+ .title-nav, .nav-paginate{
167
+ position: sticky;
168
+ top: 0;
169
+ left: 0;
170
+ }
171
+
172
+ .btn-more{
173
+ transition: .5s;
174
+ }
175
+
176
+ .text-title:not(.text-line-clamp-1){
177
+ + .btn-more{
178
+ transform: rotate(-180deg);
179
+ }
180
+ }
181
+
182
+
183
+ // TODO: 統一 UI
184
+ $check-full-width: 23rem;
185
+ .check-btn{
186
+ position: relative;
187
+ display: inline-block;
188
+ margin: 1rem;
189
+ .check-btn-label{
190
+ width: $check-full-width;
191
+ padding: 1rem 1rem;
192
+ color: var(--gray-500);
193
+ border: $border-width solid $border-color;
194
+ border-radius: $border-radius;
195
+ text-align: center;
196
+ cursor: pointer;
197
+ transition: $transition-base;
198
+ &:hover{
199
+ color: $info;
200
+ border-color: $info;
201
+ background-color: $table-hover-bg;
202
+ }
203
+ &.check-btn-label-lg{
204
+ padding: 2rem 1rem;
205
+ width: 10.5rem;
206
+ }
207
+ }
208
+ .material-icons{
209
+ font-size: 4rem;
210
+ }
211
+ input[type="checkbox"], input[type="radio"]{
212
+ position: absolute;
213
+ pointer-events: none;
214
+ @include size(0);
215
+ opacity: 0;
216
+ &:checked ~ .check-btn-label{
217
+ color: $primary;
218
+ border-color: $primary;
219
+ background-color: $table-hover-bg;
220
+
221
+ }
222
+ }
223
+ }
224
+
225
+ .list-group-flush{
226
+ --bs-list-group-bg: transparent;
227
+ }
228
+
229
+
230
+
231
+
232
+ .modal-belong-options{
233
+ .content-options, .content-items{
234
+ padding: .5rem;
235
+ background-color: $gray-600;
236
+ }
237
+ .content-options{
238
+ padding-bottom: 0;
239
+ }
240
+ .content-items{
241
+ $line-h: 1.5rem;
242
+ position: relative;
243
+ padding-left: 2.25rem;
244
+ .overflow-y-auto{
245
+ height: 62vh;
246
+ }
247
+ &:before, &:after{
248
+ content: "";
249
+ position: absolute;
250
+ }
251
+ &:before{
252
+ left: 1.5rem;
253
+ top: 0;
254
+ height: $line-h;
255
+ border-left: 4px solid $gray-500;
256
+ }
257
+ &:after{
258
+ left: 1.5rem;
259
+ top: $line-h;
260
+ width: .7rem;
261
+ border-top: 4px solid $gray-500;
262
+ }
263
+ }
264
264
  }