@visns-studio/visns-components 5.15.26 → 5.15.28

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.
@@ -0,0 +1,251 @@
1
+ .scroll-indicators {
2
+ position: absolute;
3
+ width: 100%;
4
+ height: 100%;
5
+ pointer-events: none;
6
+ z-index: 10;
7
+ }
8
+
9
+ .scroll-left,
10
+ .scroll-right {
11
+ position: absolute;
12
+ top: 50%;
13
+ transform: translateY(-50%);
14
+ pointer-events: auto;
15
+ transition: opacity 0.3s ease;
16
+ }
17
+
18
+ .scroll-left {
19
+ left: 10px;
20
+ }
21
+
22
+ .scroll-right {
23
+ right: 10px;
24
+ }
25
+
26
+ .scroll-left button,
27
+ .scroll-right button {
28
+ background-color: rgba(0, 123, 255, 0.8);
29
+ color: white;
30
+ border: 1px solid #0056b3;
31
+ border-radius: 50%;
32
+ width: 40px;
33
+ height: 40px;
34
+ font-size: 18px;
35
+ cursor: pointer;
36
+ display: flex;
37
+ align-items: center;
38
+ justify-content: center;
39
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
40
+ transition: all 0.2s ease;
41
+ }
42
+
43
+ .scroll-left button:hover,
44
+ .scroll-right button:hover {
45
+ background-color: rgba(0, 86, 179, 0.9);
46
+ transform: scale(1.1);
47
+ }
48
+
49
+ .scroll-left button:focus,
50
+ .scroll-right button:focus {
51
+ outline: none;
52
+ box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
53
+ }
54
+
55
+ /* Custom scrollbar styles for webkit browsers */
56
+ #chart-scroll-container::-webkit-scrollbar,
57
+ .dock-usage-grid::-webkit-scrollbar {
58
+ height: 12px;
59
+ width: 12px;
60
+ }
61
+
62
+ #chart-scroll-container::-webkit-scrollbar-track,
63
+ .dock-usage-grid::-webkit-scrollbar-track {
64
+ background: #f1f1f1;
65
+ border-radius: 6px;
66
+ border: 1px solid #ddd;
67
+ }
68
+
69
+ #chart-scroll-container::-webkit-scrollbar-thumb,
70
+ .dock-usage-grid::-webkit-scrollbar-thumb {
71
+ background: #0077cc;
72
+ border-radius: 6px;
73
+ border: 2px solid #f1f1f1;
74
+ }
75
+
76
+ #chart-scroll-container::-webkit-scrollbar-thumb:hover,
77
+ .dock-usage-grid::-webkit-scrollbar-thumb:hover {
78
+ background: #005fa3;
79
+ }
80
+
81
+ .dock-usage-grid::-webkit-scrollbar-corner {
82
+ background: #f1f1f1;
83
+ }
84
+
85
+ /* Scroll indicator animation */
86
+ @keyframes pulseRight {
87
+ 0% {
88
+ transform: translateX(0);
89
+ }
90
+ 50% {
91
+ transform: translateX(5px);
92
+ }
93
+ 100% {
94
+ transform: translateX(0);
95
+ }
96
+ }
97
+
98
+ .scroll-right button {
99
+ animation: pulseRight 1.5s infinite;
100
+ }
101
+
102
+ /* Hide animation when user has scrolled */
103
+ .scroll-right.has-scrolled button {
104
+ animation: none;
105
+ }
106
+
107
+ /* Fade in/out effect for scroll buttons */
108
+ .scroll-left,
109
+ .scroll-right {
110
+ opacity: 0.7;
111
+ }
112
+
113
+ .scroll-left:hover,
114
+ .scroll-right:hover {
115
+ opacity: 1;
116
+ }
117
+
118
+ /* Excel-style Grid Styles */
119
+ .dock-usage-grid {
120
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
121
+ font-size: 10px;
122
+ border-radius: 4px;
123
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
124
+ }
125
+
126
+ .dock-usage-grid:focus {
127
+ outline: 2px solid #007bff;
128
+ outline-offset: 2px;
129
+ }
130
+
131
+ .grid-container {
132
+ position: relative;
133
+ }
134
+
135
+ .grid-header {
136
+ position: sticky;
137
+ top: 0;
138
+ z-index: 100;
139
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
140
+ }
141
+
142
+ .header-cell {
143
+ user-select: none;
144
+ white-space: nowrap;
145
+ overflow: hidden;
146
+ text-overflow: ellipsis;
147
+ }
148
+
149
+ .resource-header {
150
+ position: sticky;
151
+ left: 0;
152
+ z-index: 101;
153
+ box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
154
+ }
155
+
156
+ .date-header {
157
+ writing-mode: horizontal-tb;
158
+ height: 24px;
159
+ display: flex;
160
+ align-items: center;
161
+ justify-content: center;
162
+ line-height: 1;
163
+ }
164
+
165
+ .facility-group {
166
+ border-bottom: 2px solid #007bff;
167
+ }
168
+
169
+ .facility-header {
170
+ position: sticky;
171
+ z-index: 50;
172
+ }
173
+
174
+ .facility-header > div:first-child {
175
+ position: sticky;
176
+ left: 0;
177
+ z-index: 51;
178
+ box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
179
+ }
180
+
181
+ .grid-row {
182
+ transition: background-color 0.2s ease;
183
+ }
184
+
185
+ .grid-row:hover {
186
+ background-color: #e3f2fd !important;
187
+ }
188
+
189
+ .grid-row:hover .resource-cell {
190
+ background-color: #bbdefb !important;
191
+ }
192
+
193
+ .resource-cell {
194
+ position: sticky;
195
+ left: 0;
196
+ z-index: 10;
197
+ box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
198
+ white-space: nowrap;
199
+ overflow: hidden;
200
+ text-overflow: ellipsis;
201
+ transition: background-color 0.2s ease;
202
+ }
203
+
204
+ .data-cell {
205
+ transition: all 0.2s ease;
206
+ position: relative;
207
+ }
208
+
209
+ .data-cell:hover {
210
+ transform: scale(1.05);
211
+ z-index: 5;
212
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
213
+ border-color: #007bff !important;
214
+ }
215
+
216
+ /* Responsive design */
217
+ @media (max-width: 768px) {
218
+ .dock-usage-grid {
219
+ font-size: 9px;
220
+ }
221
+
222
+ .header-cell,
223
+ .resource-cell,
224
+ .data-cell {
225
+ padding: 2px 4px;
226
+ }
227
+
228
+ .date-header {
229
+ height: 20px;
230
+ font-size: 8px;
231
+ }
232
+ }
233
+
234
+ @media (max-width: 480px) {
235
+ .dock-usage-grid {
236
+ font-size: 8px;
237
+ }
238
+
239
+ .grid-container {
240
+ min-width: 500px;
241
+ }
242
+
243
+ .resource-header {
244
+ width: 150px;
245
+ }
246
+
247
+ .date-header {
248
+ height: 18px;
249
+ font-size: 7px;
250
+ }
251
+ }
@@ -24,7 +24,7 @@
24
24
  border-radius: var(--br);
25
25
  border: 1px solid rgba(var(--item-color-rgb), 1.15);
26
26
  box-sizing: border-box;
27
- overflow: visible;
27
+ overflow: hidden;
28
28
  position: relative;
29
29
  padding: 20px;
30
30
  margin: 8px 0;
@@ -37,7 +37,7 @@
37
37
  border-radius: var(--br);
38
38
  border: 1px solid rgba(var(--item-color-rgb), 1.15);
39
39
  box-sizing: border-box;
40
- overflow: visible;
40
+ overflow: hidden;
41
41
  position: relative;
42
42
  padding: 20px;
43
43
  margin: 8px 0;