@visns-studio/visns-components 5.1.18 → 5.1.20

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.
@@ -182,7 +182,7 @@
182
182
 
183
183
  .widgetTitle {
184
184
  padding-bottom: 10px;
185
- border-bottom: 2px solid rgba(var(--tertiary-rgb), 0.5);
185
+ border-bottom: 2px solid rgba(var(--tertiary-color-rgb), 0.5);
186
186
  }
187
187
  }
188
188
 
@@ -261,6 +261,7 @@
261
261
  gap: 1rem; // Gap between fields
262
262
  align-items: flex-end; // Align fields vertically
263
263
  }
264
+
264
265
  .filter-field {
265
266
  flex: 1; // Ensures equal spacing for each field
266
267
  display: flex;
@@ -292,6 +293,37 @@
292
293
  }
293
294
  }
294
295
 
296
+ .filter-field-highlight {
297
+ flex: 1; // Ensures equal spacing for each field
298
+ display: flex;
299
+ flex-direction: column;
300
+ min-width: 200px; // Sets a minimum width for smaller screens
301
+
302
+ label {
303
+ font-size: 0.875rem;
304
+ font-weight: 600;
305
+ margin-bottom: 0.5rem;
306
+ color: var(--tertiary-color);
307
+ }
308
+
309
+ input,
310
+ select {
311
+ border: 1px solid #dadce0;
312
+ border-radius: 5px;
313
+ padding: 0.5rem 0.75rem;
314
+ font-size: 0.875rem;
315
+ color: #333;
316
+ outline: none;
317
+ background-color: #f9f9f9;
318
+ width: 100%; // Ensures full width within the container
319
+
320
+ &:focus {
321
+ border-color: #007bff;
322
+ box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); // Focus effect
323
+ }
324
+ }
325
+ }
326
+
295
327
  .filter-actions {
296
328
  display: flex;
297
329
  gap: 0.75rem; // Gap between buttons
@@ -1,21 +1,21 @@
1
1
  .schedulingTable {
2
2
  width: 100%;
3
3
  border-collapse: collapse;
4
- margin: 1em 0;
4
+ margin: 0.5em 0; // Reduced margin
5
5
 
6
6
  th,
7
7
  td {
8
- padding: 0.25rem;
8
+ padding: 0.2rem; // Reduced padding for cells
9
9
  text-align: left;
10
10
  border: 1px solid rgba(var(--primary-rgb), 0.1);
11
11
  }
12
12
 
13
13
  th {
14
- padding: 0.75rem 1rem; /* Add more padding for better spacing */
15
- font-size: 1.1rem; /* Increase font size */
14
+ padding: 0.5rem 0.75rem; // Less padding than before
15
+ font-size: 1rem; // Slightly smaller font size
16
16
  font-weight: bold;
17
- background-color: var(--primary-color); /* Apply a background color */
18
- color: white; /* Change text color to white */
17
+ background-color: var(--primary-color);
18
+ color: white;
19
19
  text-align: center;
20
20
  }
21
21
 
@@ -25,16 +25,13 @@
25
25
  }
26
26
 
27
27
  .categoryRow {
28
- background-color: rgba(
29
- var(--primary-rgb),
30
- 0.15
31
- ); /* Lighter background for category */
32
- font-size: 1.1rem; /* Increase font size */
28
+ background-color: rgba(var(--primary-rgb), 0.15);
29
+ font-size: 1rem; // Reduced font size
33
30
  font-weight: bold;
34
31
  text-align: left;
35
- padding: 0.75rem 1rem; /* Add padding for better spacing */
36
- border-bottom: 2px solid var(--primary-color); /* Add border under category row */
37
- color: var(--primary-color); /* Set text color to primary color */
32
+ padding: 0.5rem 0.75rem; // Reduced padding
33
+ border-bottom: 2px solid var(--primary-color);
34
+ color: var(--primary-color);
38
35
  }
39
36
 
40
37
  .totalRow {
@@ -46,9 +43,9 @@
46
43
  .noDataMessage {
47
44
  text-align: center;
48
45
  color: var(--secondary-color);
49
- font-size: 1.125em;
50
- padding: 1.5em;
51
- margin: 2em auto;
46
+ font-size: 1rem;
47
+ padding: 1em;
48
+ margin: 1em auto;
52
49
  background: #f9f9f9;
53
50
  border: 1px solid #ddd;
54
51
  border-radius: 6px;
@@ -186,16 +183,13 @@
186
183
  }
187
184
 
188
185
  .subtotalRow {
189
- background-color: rgba(
190
- var(--secondary-rgb),
191
- 0.15
192
- ); /* Lighter background for subtotal */
186
+ background-color: rgba(var(--secondary-rgb), 0.15);
193
187
  font-weight: bold;
194
- text-align: right; /* Align to the right like total column */
195
- padding: 1em; /* Add padding for better spacing */
196
- font-size: 0.9rem; /* Increase font size */
197
- color: var(--primary-color); /* Set text color to primary color */
198
- border-top: 2px solid var(--primary-color); /* Add border top to separate subtotal row */
188
+ text-align: right;
189
+ padding: 0.5em; // Reduced padding
190
+ font-size: 0.8rem; // Reduced font size
191
+ color: var(--primary-color);
192
+ border-top: 2px solid var(--primary-color);
199
193
  }
200
194
 
201
195
  .colour {
@@ -210,9 +204,9 @@
210
204
  &__popover {
211
205
  position: absolute;
212
206
  z-index: 9999;
213
- left: 50%; /* Position to the center or adjust accordingly */
214
- top: 50%; /* Adjust top based on your layout */
215
- transform: translate(-50%, -50%); /* Center it */
207
+ left: 50%;
208
+ top: 50%;
209
+ transform: translate(-50%, -50%);
216
210
  }
217
211
  }
218
212
 
@@ -226,30 +220,30 @@
226
220
  flex: 1;
227
221
 
228
222
  button {
229
- width: 40px; /* Keep it compact */
230
- height: 40px; /* Square button */
231
- font-size: 1.5rem; /* Adjusted for a better icon size */
223
+ width: 40px;
224
+ height: 40px;
225
+ font-size: 1.5rem;
232
226
  font-weight: 600;
233
- color: #fff; /* White icon color */
234
- background-color: #b0b0b0; /* Neutral grey base */
235
- border: 2px solid #999; /* Light border for definition */
236
- border-radius: 8px; /* Rounded corners */
227
+ color: #fff;
228
+ background-color: #b0b0b0;
229
+ border: 2px solid #999;
230
+ border-radius: 8px;
237
231
  cursor: pointer;
238
- transition: all 0.3s ease; /* Smooth transition for hover effect */
232
+ transition: all 0.3s ease;
239
233
 
240
234
  &:hover {
241
- background-color: #999; /* Darken the background on hover */
242
- border-color: #666; /* Darken the border on hover */
235
+ background-color: #999;
236
+ border-color: #666;
243
237
  }
244
238
 
245
239
  &:focus {
246
- outline: none; /* Remove default focus outline */
247
- box-shadow: 0 0 0 2px rgba(72, 168, 58, 0.5); /* Custom focus outline */
240
+ outline: none;
241
+ box-shadow: 0 0 0 2px rgba(72, 168, 58, 0.5);
248
242
  }
249
243
 
250
244
  &:active {
251
- background-color: #888; /* Lighter grey on click */
252
- transform: scale(0.98); /* Shrink on click */
245
+ background-color: #888;
246
+ transform: scale(0.98);
253
247
  }
254
248
  }
255
249
  }