jobdone-shared-files 0.0.1-beta.6 → 0.0.1-beta.60

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 (113) hide show
  1. package/ProjectManagement/projectNavbar.vue +144 -70
  2. package/README.md +77 -6
  3. package/common/directives/popovers.js +11 -0
  4. package/common/directives/tooltip.js +11 -0
  5. package/common/format.js +16 -2
  6. package/lightboxWithOverview.vue +132 -0
  7. package/package.json +4 -3
  8. package/style/scss/Common/Animation.scss +6 -0
  9. package/style/scss/Common/SelectableTable.scss +31 -0
  10. package/style/scss/Common/filepond.scss +28 -0
  11. package/style/scss/Common/thumbnail-group.scss +14 -0
  12. package/style/scss/Layout/LayoutBase.scss +25 -10
  13. package/style/scss/Layout/LayoutMobile.scss +203 -0
  14. package/style/scss/Layout/LayoutProject.scss +3 -5
  15. package/style/scss/Layout/LayoutTwoColumn.scss +3 -3
  16. package/style/scss/Settings/_Mixins.scss +1 -0
  17. package/style/scss/Settings/_MobileVariables.scss +12 -0
  18. package/style/scss/Settings/_basic-import.scss +3 -2
  19. package/style/scss/Settings/_bs-variables.scss +114 -74
  20. package/style/scss/Settings/_custom-variables.scss +4 -1
  21. package/tree.vue +17 -10
  22. package/treeItem.vue +1 -1
  23. package/vueLoadingOverlay.vue +10 -19
  24. package/style/scss/Bootstrap/_accordion.scss +0 -158
  25. package/style/scss/Bootstrap/_alert.scss +0 -68
  26. package/style/scss/Bootstrap/_badge.scss +0 -38
  27. package/style/scss/Bootstrap/_breadcrumb.scss +0 -40
  28. package/style/scss/Bootstrap/_button-group.scss +0 -142
  29. package/style/scss/Bootstrap/_buttons.scss +0 -207
  30. package/style/scss/Bootstrap/_card.scss +0 -238
  31. package/style/scss/Bootstrap/_carousel.scss +0 -238
  32. package/style/scss/Bootstrap/_close.scss +0 -61
  33. package/style/scss/Bootstrap/_containers.scss +0 -41
  34. package/style/scss/Bootstrap/_dropdown.scss +0 -250
  35. package/style/scss/Bootstrap/_forms.scss +0 -9
  36. package/style/scss/Bootstrap/_functions.scss +0 -302
  37. package/style/scss/Bootstrap/_grid.scss +0 -33
  38. package/style/scss/Bootstrap/_helpers.scss +0 -10
  39. package/style/scss/Bootstrap/_images.scss +0 -42
  40. package/style/scss/Bootstrap/_list-group.scss +0 -204
  41. package/style/scss/Bootstrap/_maps.scss +0 -121
  42. package/style/scss/Bootstrap/_mixins.scss +0 -42
  43. package/style/scss/Bootstrap/_modal.scss +0 -237
  44. package/style/scss/Bootstrap/_nav.scss +0 -172
  45. package/style/scss/Bootstrap/_navbar.scss +0 -286
  46. package/style/scss/Bootstrap/_offcanvas.scss +0 -146
  47. package/style/scss/Bootstrap/_pagination.scss +0 -109
  48. package/style/scss/Bootstrap/_placeholders.scss +0 -51
  49. package/style/scss/Bootstrap/_popover.scss +0 -196
  50. package/style/scss/Bootstrap/_progress.scss +0 -68
  51. package/style/scss/Bootstrap/_reboot.scss +0 -610
  52. package/style/scss/Bootstrap/_root.scss +0 -195
  53. package/style/scss/Bootstrap/_spinners.scss +0 -85
  54. package/style/scss/Bootstrap/_tables.scss +0 -164
  55. package/style/scss/Bootstrap/_toasts.scss +0 -73
  56. package/style/scss/Bootstrap/_tooltip.scss +0 -120
  57. package/style/scss/Bootstrap/_transitions.scss +0 -27
  58. package/style/scss/Bootstrap/_type.scss +0 -106
  59. package/style/scss/Bootstrap/_utilities.scss +0 -748
  60. package/style/scss/Bootstrap/_variables-dark.scss +0 -70
  61. package/style/scss/Bootstrap/_variables.scss +0 -1703
  62. package/style/scss/Bootstrap/bootstrap-grid.scss +0 -66
  63. package/style/scss/Bootstrap/bootstrap-reboot.scss +0 -10
  64. package/style/scss/Bootstrap/bootstrap-utilities.scss +0 -19
  65. package/style/scss/Bootstrap/bootstrap.scss +0 -52
  66. package/style/scss/Bootstrap/forms/_floating-labels.scss +0 -90
  67. package/style/scss/Bootstrap/forms/_form-check.scss +0 -188
  68. package/style/scss/Bootstrap/forms/_form-control.scss +0 -201
  69. package/style/scss/Bootstrap/forms/_form-range.scss +0 -91
  70. package/style/scss/Bootstrap/forms/_form-select.scss +0 -81
  71. package/style/scss/Bootstrap/forms/_form-text.scss +0 -11
  72. package/style/scss/Bootstrap/forms/_input-group.scss +0 -132
  73. package/style/scss/Bootstrap/forms/_labels.scss +0 -36
  74. package/style/scss/Bootstrap/forms/_validation.scss +0 -12
  75. package/style/scss/Bootstrap/helpers/_clearfix.scss +0 -3
  76. package/style/scss/Bootstrap/helpers/_color-bg.scss +0 -10
  77. package/style/scss/Bootstrap/helpers/_colored-links.scss +0 -12
  78. package/style/scss/Bootstrap/helpers/_position.scss +0 -36
  79. package/style/scss/Bootstrap/helpers/_ratio.scss +0 -26
  80. package/style/scss/Bootstrap/helpers/_stacks.scss +0 -15
  81. package/style/scss/Bootstrap/helpers/_stretched-link.scss +0 -15
  82. package/style/scss/Bootstrap/helpers/_text-truncation.scss +0 -7
  83. package/style/scss/Bootstrap/helpers/_visually-hidden.scss +0 -8
  84. package/style/scss/Bootstrap/helpers/_vr.scss +0 -8
  85. package/style/scss/Bootstrap/mixins/_alert.scss +0 -18
  86. package/style/scss/Bootstrap/mixins/_backdrop.scss +0 -14
  87. package/style/scss/Bootstrap/mixins/_banner.scss +0 -7
  88. package/style/scss/Bootstrap/mixins/_border-radius.scss +0 -78
  89. package/style/scss/Bootstrap/mixins/_box-shadow.scss +0 -18
  90. package/style/scss/Bootstrap/mixins/_breakpoints.scss +0 -127
  91. package/style/scss/Bootstrap/mixins/_buttons.scss +0 -70
  92. package/style/scss/Bootstrap/mixins/_caret.scss +0 -69
  93. package/style/scss/Bootstrap/mixins/_clearfix.scss +0 -9
  94. package/style/scss/Bootstrap/mixins/_color-mode.scss +0 -21
  95. package/style/scss/Bootstrap/mixins/_color-scheme.scss +0 -7
  96. package/style/scss/Bootstrap/mixins/_container.scss +0 -11
  97. package/style/scss/Bootstrap/mixins/_deprecate.scss +0 -10
  98. package/style/scss/Bootstrap/mixins/_forms.scss +0 -153
  99. package/style/scss/Bootstrap/mixins/_gradients.scss +0 -47
  100. package/style/scss/Bootstrap/mixins/_grid.scss +0 -151
  101. package/style/scss/Bootstrap/mixins/_image.scss +0 -16
  102. package/style/scss/Bootstrap/mixins/_list-group.scss +0 -27
  103. package/style/scss/Bootstrap/mixins/_lists.scss +0 -7
  104. package/style/scss/Bootstrap/mixins/_pagination.scss +0 -10
  105. package/style/scss/Bootstrap/mixins/_reset-text.scss +0 -17
  106. package/style/scss/Bootstrap/mixins/_resize.scss +0 -6
  107. package/style/scss/Bootstrap/mixins/_table-variants.scss +0 -24
  108. package/style/scss/Bootstrap/mixins/_text-truncate.scss +0 -8
  109. package/style/scss/Bootstrap/mixins/_transition.scss +0 -26
  110. package/style/scss/Bootstrap/mixins/_utilities.scss +0 -97
  111. package/style/scss/Bootstrap/mixins/_visually-hidden.scss +0 -29
  112. package/style/scss/Bootstrap/utilities/_api.scss +0 -47
  113. package/style/scss/Bootstrap/vendor/_rfs.scss +0 -354
@@ -0,0 +1,14 @@
1
+
2
+ .thumbnail-group{
3
+ $offset: .5rem;
4
+ position: relative;
5
+ display: inline-flex;
6
+ margin-right: $offset;
7
+ margin-bottom: $offset;
8
+ .thumbnail-pin{
9
+ position: absolute;
10
+ right: -$offset;
11
+ bottom: -$offset;
12
+ box-shadow: $box-shadow;
13
+ }
14
+ }
@@ -3,9 +3,9 @@
3
3
  // ====================================
4
4
 
5
5
  // Custom Bootstrap
6
- @import "../Bootstrap/functions";
6
+ @import "bootstrap/scss/functions";
7
7
  @import "../Settings/bs-variables";
8
- @import "../Bootstrap/bootstrap.scss";
8
+ @import "bootstrap/scss/bootstrap.scss";
9
9
 
10
10
 
11
11
  // ====================================
@@ -142,6 +142,12 @@ a{
142
142
  // badge outline ------------------------------------------
143
143
 
144
144
 
145
+ // input ------------------------------------------
146
+ .form-control{
147
+ caret-color: $primary;
148
+ }
149
+ // input ------------------------------------------
150
+
145
151
 
146
152
  // checkbox / radio ------------------------------------------
147
153
 
@@ -395,6 +401,7 @@ th, td{
395
401
  --bs-table-bg: transparent;
396
402
  background-color: $table-danger-bg;
397
403
  color: var(--bs-danger);
404
+ box-shadow: none;
398
405
  }
399
406
  }
400
407
 
@@ -451,11 +458,14 @@ th, td{
451
458
  }
452
459
  }
453
460
 
454
- // @property --rotate {
455
- // syntax: "<angle>";
456
- // initial-value: 132deg;
457
- // inherits: false;
458
- // }
461
+ .btn-link-light-bg {
462
+ text-decoration: none;
463
+ &:hover {
464
+ color: var(--bs-btn-color);
465
+ background-color: rgba(var(--bs-link-color-rgb), .1);
466
+ }
467
+ }
468
+
459
469
 
460
470
  @keyframes gradient-position {
461
471
  0% {
@@ -573,6 +583,10 @@ th, td{
573
583
  .modal-md{
574
584
  min-width: 650px;
575
585
  }
586
+
587
+ .modal-long-content .overflow-y-auto{
588
+ height: 75vh;
589
+ }
576
590
  // modal ------------------------------------------
577
591
 
578
592
 
@@ -880,7 +894,7 @@ a.navbar-line-item{
880
894
  .w-66{
881
895
  width: 66.66%;
882
896
  }
883
- @for $i from 1 through 10 {
897
+ @for $i from 1 through 25 {
884
898
  .w-#{$i}rem {
885
899
  width: #{$i}rem;
886
900
  }
@@ -897,7 +911,8 @@ a.navbar-line-item{
897
911
  opacity: .7;
898
912
  }
899
913
  .content-img > .material-icons{
900
- font-size: 7rem;
914
+ font-size: 6rem;
915
+ margin-bottom: 0.5rem;
901
916
  opacity: .5;
902
917
  }
903
918
  p{
@@ -912,7 +927,7 @@ a.navbar-line-item{
912
927
  .mobile-forbidden{
913
928
  display: none;
914
929
  }
915
- @media (max-width: 992px) {
930
+ @media only screen and (max-width: 992px) {
916
931
  body{
917
932
  overflow: hidden;
918
933
  }
@@ -0,0 +1,203 @@
1
+ @import "../Settings/basic-import";
2
+ @import "../Common/Animation.scss";
3
+ @import "../Settings/MobileVariables";
4
+
5
+ @media only screen and (max-width: 768px) {
6
+ // default layout ---------------------------------------------
7
+
8
+ html, body, #app{
9
+ min-height: 100%;
10
+ }
11
+
12
+ html{
13
+ position: relative;
14
+ &:before{
15
+ content: "";
16
+ position: fixed;
17
+ top: 0;
18
+ left: 0;
19
+ right: 0;
20
+ bottom: 0;
21
+ z-index: -1;
22
+ background: $gradient-bg;
23
+ background-repeat: no-repeat;
24
+ pointer-events: none;
25
+ }
26
+ }
27
+
28
+ body{
29
+ background: transparent;
30
+ scroll-behavior: smooth;
31
+ }
32
+
33
+ #app{
34
+ width: 100%;
35
+ max-width: 767px;
36
+ transition: 1s;
37
+ }
38
+
39
+ // background ---------------------------------------------
40
+
41
+ .bg-gradient-main, .bg-gradient-main-translucent{
42
+ color: rgba( $white, .7 );
43
+ .text-emphasis{
44
+ color: $white;
45
+ }
46
+ }
47
+
48
+ .bg-gradient-main{
49
+ background: $gradient-main;
50
+ }
51
+
52
+ .bg-gradient-main-translucent{
53
+ background: $gradient-main-translucent;
54
+ backdrop-filter: $backdrop-blur-base;
55
+ }
56
+
57
+ .bg-dark-translucent{
58
+ background-color: rgba( 0, 22, 44, .8 );
59
+ backdrop-filter: $backdrop-blur-base;
60
+ }
61
+
62
+ .bg-light-translucent{
63
+ background-color: rgba( $white, .5 );
64
+ backdrop-filter: $backdrop-blur-base;
65
+ }
66
+
67
+ .bg-extend{
68
+ position: relative;
69
+ &:before{
70
+ content: "";
71
+ position: absolute;
72
+ top: 0;
73
+ left: 0;
74
+ right: 0;
75
+ z-index: -1;
76
+ height: 3rem;
77
+ }
78
+ }
79
+
80
+ .bg-extend-gradient-main-translucent{
81
+ &:before{
82
+ background: $gradient-main-translucent;
83
+ }
84
+ }
85
+
86
+ // navbar ---------------------------------------------
87
+
88
+ .navbar-main{
89
+ color: $gray-500;
90
+ }
91
+
92
+ // width ---------------------------------------------
93
+
94
+ .w-85{
95
+ width: 85% !important;
96
+ }
97
+
98
+ .w-min-3rem{
99
+ min-width: 3rem;
100
+ }
101
+
102
+ // font size ---------------------------------------------
103
+
104
+ .fs-min{
105
+ font-size: 12px;
106
+ }
107
+
108
+ // button ---------------------------------------------
109
+
110
+ .btn-glow{
111
+ background-image: $gradient-glow;
112
+ }
113
+
114
+ .btn-glow-2end{
115
+ --bs-btn-color: #fff;
116
+ --bs-btn-hover-color: #fff;
117
+ --bs-btn-border-color: rgba(255, 255, 255, 0.5);
118
+ --bs-btn-hover-border-color: rgba(255, 255, 255, 0.3);
119
+ background: $gradient-glow-2end;
120
+ }
121
+
122
+ // input ---------------------------------------------
123
+
124
+
125
+ // input-group-icon
126
+ .input-group-icon{
127
+ $padding-left: 2rem;
128
+
129
+ position: relative;
130
+ .material-icons, .input-group-placeholder{
131
+ position: absolute;
132
+ top: 50%;
133
+ transform: translateY(-50%);
134
+ z-index: 6;
135
+ }
136
+ .material-icons{
137
+ left: 0.6rem;
138
+ }
139
+ .input-group-placeholder{
140
+ left: $padding-left;
141
+ }
142
+ .form-control{
143
+ &:-webkit-date-and-time-value{
144
+ text-align: left;
145
+ }
146
+ &:nth-child(1){
147
+ padding-left: $padding-left;
148
+ }
149
+ }
150
+ }
151
+
152
+
153
+ // animation ---------------------------------------------
154
+
155
+ .fadeIn{
156
+ animation-name: fadeIn;
157
+ animation-duration: 1s;
158
+ }
159
+
160
+ // image ---------------------------------------------
161
+
162
+ .thumbnail-circle{
163
+ border: 3px solid rgba($white, .3);
164
+ border-radius: 50%;
165
+ &-sm{
166
+ border-width: 2px;
167
+ }
168
+ }
169
+
170
+
171
+ // scroll ---------------------------------------------
172
+
173
+ .overflow-y-auto{
174
+ overscroll-behavior: contain;
175
+ }
176
+
177
+ .body-opened-modal{
178
+ // position: fixed;
179
+ overflow: hidden;
180
+ .bg-gradient-main-translucent, .bg-dark-translucent, .bg-light-translucent{
181
+ backdrop-filter: unset;
182
+ }
183
+ }
184
+
185
+ .backdrop-filter-none{
186
+ backdrop-filter: unset;
187
+ }
188
+
189
+ // list-group-item ---------------------------------------------
190
+
191
+ .list-group-item{
192
+ outline: none !important;
193
+ }
194
+
195
+
196
+ // reset ---------------------------------------------
197
+
198
+ @media only screen and (max-width: 992px) {
199
+ body{
200
+ overflow: visible;
201
+ }
202
+ }
203
+ }
@@ -115,10 +115,8 @@ $aside-transition: .5s;
115
115
  }
116
116
  }
117
117
 
118
-
119
-
120
118
  .thead-sticky{
121
119
  position: sticky;
122
- top: 2.75rem;
123
- z-index: 10;
124
- }
120
+ top: 2.7rem;
121
+ z-index: $zindex-dropdown + 2;
122
+ }
@@ -1,14 +1,14 @@
1
1
  @import "../Settings/basic-import";
2
- html, body, #app,
2
+ html, body, #app.layout-two-column,
3
3
  #col-aside, #col-main{
4
4
  height: 100%;
5
5
  }
6
6
 
7
- body, #app{
7
+ body, #app.layout-two-column{
8
8
  overflow: hidden;
9
9
  }
10
10
 
11
- #app{
11
+ #app.layout-two-column{
12
12
  display: flex;
13
13
  flex-direction: row-reverse;
14
14
  }
@@ -215,6 +215,7 @@
215
215
  vertical-align: middle !important;
216
216
  }
217
217
 
218
+ // TODO: 待刪除,已改成 LayoutBase 的 .btn-link-light-bg
218
219
  @mixin linkBtn() {
219
220
  text-decoration: none;
220
221
  letter-spacing: 0.5px;
@@ -0,0 +1,12 @@
1
+ $safe-area-inset-top: env(safe-area-inset-top);
2
+ $safe-area-inset-bottom: env(safe-area-inset-bottom);
3
+
4
+ $gradient-bg: linear-gradient(138deg, rgba(100, 148, 241, 0.05) 26.2%, rgba(165, 185, 255, 0.29) 88.06%), var(--gray-000);
5
+
6
+ $gradient-main: linear-gradient(270deg, #647AF1 33.33%, #0084E4 100%);
7
+ $gradient-main-translucent: linear-gradient(270deg, rgba(63, 90, 233, 0.8) 33.33%, rgba(0, 130, 220, 0.8) 100%);
8
+
9
+ $gradient-glow: linear-gradient(131deg, rgba(17, 198, 245, 0.55) 0%, rgba(24, 196, 255, 0.00) 100%);
10
+ $gradient-glow-2end: linear-gradient(131deg, rgba(17, 198, 245, 0.20) 0%, rgba(24, 196, 255, 0.00) 45.31%, rgba(17, 198, 245, 0.20) 100%);
11
+
12
+ $backdrop-blur-base: blur(5px);
@@ -1,5 +1,6 @@
1
- @import "../Bootstrap/functions";
2
- @import "../Bootstrap/mixins";
1
+ @import "bootstrap/scss/functions";
2
+ @import "bootstrap/scss/mixins";
3
3
  @import "./bs-variables";
4
4
  @import "./custom-variables";
5
+ @import "./color-mode";
5
6
  @import "./Mixins";