@arsedizioni/ars-utils 19.0.1 → 19.0.3

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,530 @@
1
+ @use '../../styles/ui.scss';
2
+
3
+ .clipper-logo {
4
+ background-size: 110px 48px;
5
+ width: 110px;
6
+ height: 48px;
7
+
8
+ }
9
+
10
+ .clipper-selection-button {
11
+ width: 150px;
12
+ font-size: small;
13
+ font-weight: 600;
14
+ text-transform: uppercase;
15
+ }
16
+
17
+ .clipper-selection-icon-button {
18
+ background-color: var(--ars-color-primary, #00a293);
19
+ color: var(--ars-color-text-low, #e0e2e5);
20
+ }
21
+
22
+ .clipper-selection-icon-button:hover {
23
+ background-color: var(--ars-color-primary-hi, #12c0ae);
24
+ }
25
+
26
+ .unread {
27
+ color: var(--ars-color-error, #ff5449) !important;
28
+ }
29
+
30
+ .expired {
31
+ color: var(--ars-color-error-low, #a80710) !important;
32
+ }
33
+
34
+ .expiring {
35
+ color: var(--ars-color-warning, #FFC107) !important;
36
+ }
37
+
38
+ .closed {
39
+ color: var(--ars-color-ok, #388E3C) !important;
40
+ }
41
+
42
+ .unread-bg {
43
+ background-color: var(--ars-color-error, #ff5449);
44
+ }
45
+
46
+ .error-bg,
47
+ .expired-bg {
48
+ background-color: var(--ars-color-error-low, #a80710);
49
+ }
50
+
51
+ .expiring-bg {
52
+ background-color: var(--ars-color-warning, #FFC107);
53
+ }
54
+
55
+ .popular-bg,
56
+ .closed-bg {
57
+ background-color: var(--ars-color-ok, #388E3C) !important;
58
+ }
59
+
60
+ .very-popular-bg {
61
+ background-color: #4CAF50;
62
+ }
63
+
64
+ .item-selected {
65
+ background-color: var(--ars-item-selected-background-color, #ced1d2);
66
+ border-radius: 0 !important;
67
+ }
68
+
69
+ .item-unread {
70
+ font-weight: bolder;
71
+ }
72
+
73
+
74
+ .items-group-title {
75
+ color: var(--ars-color-accent, #7894ae);
76
+ font-size: large;
77
+ font-weight: 700;
78
+ padding-left: 25px;
79
+ padding-bottom: 10px;
80
+ padding-top: 10px;
81
+
82
+ .group-spaced {
83
+ padding: 10px 0 0 0 !important;
84
+ }
85
+ }
86
+
87
+
88
+ .items-footer {
89
+ padding-top: 10px;
90
+
91
+ }
92
+
93
+
94
+ .item {
95
+ border-radius: 12px;
96
+ padding: 10px 10px 10px 0px;
97
+ min-height: 68px !important;
98
+ margin-bottom: 2px;
99
+ }
100
+
101
+ .item:hover {
102
+ background-color: var(--ars-item-hover-background-color, #eaecef);
103
+
104
+ .item-content {
105
+ -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
106
+ mask-image: linear-gradient(to right, black 85%, transparent 100%);
107
+ }
108
+
109
+ }
110
+
111
+ @media screen and (min-width: 0px) and (max-width: 430px) {
112
+ .item:hover {
113
+ background-color: var(--ars-item-hover-background-color);
114
+
115
+ .item-content {
116
+ -webkit-mask-image: linear-gradient(to right, black 55%, transparent 100%);
117
+ mask-image: linear-gradient(to right, black 55%, transparent 100%);
118
+ }
119
+
120
+ }
121
+ }
122
+
123
+ .item-content {
124
+
125
+ .item-info-1,
126
+ .info-1 {
127
+ font-size: x-small !important;
128
+ font-weight: 700 !important;
129
+ line-height: 15px;
130
+ text-transform: uppercase !important;
131
+ color: var(--ars-color-accent, #7894ae);
132
+ }
133
+
134
+ .item-info-2,
135
+ .info-2 {
136
+ font-size: x-small !important;
137
+ font-weight: 700 !important;
138
+ line-height: 15px;
139
+ text-transform: uppercase !important;
140
+ color: var(--ars-color-accent-low, #456179);
141
+ }
142
+
143
+ .item-title,
144
+ .title {
145
+ font-size: small !important;
146
+ line-height: 18px;
147
+ text-decoration: none !important;
148
+ font-weight: normal;
149
+ min-height: unset;
150
+ min-width: unset;
151
+ white-space: initial !important;
152
+
153
+ @supports (-webkit-line-clamp: 3) {
154
+ overflow: hidden;
155
+ text-overflow: ellipsis;
156
+ white-space: initial;
157
+ display: -webkit-box;
158
+ -webkit-line-clamp: 3;
159
+ -webkit-box-orient: vertical;
160
+ }
161
+ }
162
+
163
+
164
+ .details {
165
+ margin-top: 4px;
166
+ font-size: x-small !important;
167
+ font-weight: 700;
168
+ line-height: 15px;
169
+ color: var(--ars-color-accent-low, #456179);
170
+ text-transform: uppercase !important;
171
+ border-left: 4px solid var(--ars-color-accent-low, #456179);
172
+ padding-left: 10px;
173
+
174
+ .links {
175
+ text-transform: none;
176
+ text-decoration: none;
177
+
178
+ a,
179
+ span,
180
+ div {
181
+ margin-right: 8px;
182
+ font-weight: 600 !important;
183
+ color: var(--ars-color-text, #191c1b);
184
+ }
185
+
186
+ a {
187
+ cursor: pointer !important;
188
+ color: var(--ars-color-link, #03A9F4);
189
+ font-weight: 600 !important;
190
+ }
191
+ }
192
+ }
193
+
194
+ a.link {
195
+ color: var(--ars-color-link, #03A9F4);
196
+ cursor: pointer !important;
197
+ text-decoration: none !important;
198
+ }
199
+ }
200
+
201
+
202
+ .tile:hover {
203
+ background-color: var(--ars-item-hover-background-color, #eaecef);
204
+ border-radius: 12px;
205
+ }
206
+
207
+ .tile {
208
+ cursor: pointer !important;
209
+ padding: 10px 13px 10px 13px !important;
210
+ margin-bottom: 20px !important;
211
+
212
+ .body {
213
+ padding: 4px 6px;
214
+ }
215
+
216
+ .image-mark {
217
+ border-top: 6px solid transparent;
218
+ margin: 0 8px;
219
+
220
+ }
221
+
222
+ .image-mark-unread {
223
+ border-top-color: var(--ars-color-error, #ff5449);
224
+ margin: 0 8px;
225
+ }
226
+
227
+ .tile-image,
228
+ .image {
229
+ height: 125px;
230
+ position: relative;
231
+ background-color: transparent;
232
+ overflow: hidden;
233
+ display: flex;
234
+ justify-content: center;
235
+ align-items: center;
236
+ border-radius: 8px;
237
+
238
+
239
+ img {
240
+ object-fit: cover;
241
+ width: 100%;
242
+ height: 100%;
243
+ }
244
+
245
+
246
+ .tile-info-1,
247
+ .info-1 {
248
+ position: absolute;
249
+ left: 0;
250
+ bottom: 0;
251
+ padding: 4px 8px;
252
+ background-color: var(--ars-color-overlay, rgba(255, 255, 255, 0.75));
253
+ color: var(--ars-color-text, #191c1b);
254
+ font-size: small !important;
255
+ font-weight: 700 !important;
256
+ text-transform: uppercase !important;
257
+ }
258
+
259
+ .tile-info-2,
260
+ .info-2 {
261
+ position: absolute;
262
+ right: 0;
263
+ top: 0;
264
+ padding: 4px 8px;
265
+ background-color: var(--ars-color-overlay, rgba(255, 255, 255, 0.75));
266
+ color: var(--ars-color-accent, #7894ae);
267
+ font-size: small !important;
268
+ font-weight: 700 !important;
269
+ text-transform: uppercase !important;
270
+ }
271
+
272
+ .buttons {
273
+ position: absolute;
274
+ left: 0;
275
+ top: 0;
276
+ height: 42px;
277
+
278
+ .check,
279
+ .read {
280
+ background-color: var(--ars-color-primary, #00a293);
281
+ color: var(--ars-color-text-low, #e0e2e5);
282
+ }
283
+
284
+ .check-selected {
285
+ background-color: var(--ars-color-primary-hi, #12c0ae);
286
+ }
287
+ }
288
+ }
289
+
290
+ .tile-date,
291
+ .date {
292
+ padding: 8px 0 6px 0 !important;
293
+ font-weight: 700 !important;
294
+ text-transform: uppercase !important;
295
+
296
+ .date-day {
297
+ color: var(--ars-accent, #7894ae);
298
+ }
299
+
300
+ .date-divider {
301
+ width: 1px;
302
+ margin: 0 8px;
303
+ border-left: 1px solid var(--ars-color-color-divider, #757d87);
304
+ }
305
+ }
306
+
307
+ .tile-time,
308
+ .time {
309
+ font-size: small !important;
310
+ font-weight: 700 !important;
311
+ }
312
+
313
+ .tile-title,
314
+ .title {
315
+ text-decoration: none !important;
316
+ font-size: 16px !important;
317
+ font-weight: 600;
318
+ min-height: 50px !important; // 2 lines;
319
+ max-height: 70px !important; // 3 lines;
320
+ min-width: 100%;
321
+ white-space: initial !important;
322
+ overflow: hidden !important;
323
+
324
+ @supports (-webkit-line-clamp: 3) {
325
+ overflow: hidden;
326
+ text-overflow: ellipsis;
327
+ white-space: initial;
328
+ display: -webkit-box;
329
+ -webkit-line-clamp: 3;
330
+ -webkit-box-orient: vertical;
331
+ }
332
+ }
333
+
334
+
335
+ }
336
+
337
+
338
+ .stripe:hover {
339
+ background-color: var(--ars-item-hover-background-color, #eaecef);
340
+ border-radius: 12px;
341
+ }
342
+
343
+ .stripe {
344
+ cursor: pointer !important;
345
+ padding: 5px 10px 5px 10px !important;
346
+ margin-bottom: 10px !important;
347
+
348
+ .body {
349
+ padding: 5px 15px !important;
350
+ }
351
+
352
+ .image-mark {
353
+ min-height:100% !important;
354
+ border-left: 6px solid transparent;
355
+ margin: 8px 0;
356
+
357
+ }
358
+
359
+ .image-mark-unread {
360
+ min-height:100% !important;
361
+ border-left-color: var(--ars-color-error, #ff5449) !important;
362
+ margin: 8px 0;
363
+ }
364
+
365
+ .stripe-image,
366
+ .image {
367
+ width: 150px !important;
368
+ height: 70px !important;
369
+ position: relative;
370
+ background-color: transparent;
371
+ overflow: hidden;
372
+ display: flex;
373
+ justify-content: center;
374
+ align-items: center;
375
+ border-radius: 8px;
376
+
377
+
378
+ img {
379
+ object-fit: cover;
380
+ width: 100%;
381
+ height: 100%;
382
+ }
383
+ }
384
+
385
+ .stripe-info-1,
386
+ .info-1 {
387
+ margin-top:8px;
388
+ padding: 4px 8px !important;
389
+ background-color: var(--ars-color-overlay, rgba(255, 255, 255, 0.75)) !important;
390
+ color: var(--ars-color-text, #191c1b) !important;
391
+ font-size: small !important;
392
+ font-weight: 700 !important;
393
+ text-transform: uppercase !important;
394
+ }
395
+
396
+ .stripe-info-2,
397
+ .info-2 {
398
+ margin-top:8px;
399
+ padding: 4px 8px !important;
400
+ background-color: var(--ars-color-overlay, rgba(255, 255, 255, 0.75)) !important;
401
+ color: var(--ars-color-accent, #7894ae) !important;
402
+ font-size: small !important;
403
+ font-weight: 700 !important;
404
+ text-transform: uppercase !important;
405
+ }
406
+
407
+ .buttons {
408
+ position: absolute;
409
+ left: 0;
410
+ top: 0;
411
+ height: 42px;
412
+
413
+ .check,
414
+ .read {
415
+ background-color: var(--ars-color-primary, #00a293);
416
+ color: var(--ars-color-text-low, #e0e2e5);
417
+ }
418
+
419
+ .check-selected {
420
+ background-color: var(--ars-color-primary-hi, #12c0ae);
421
+ }
422
+ }
423
+
424
+
425
+ .stripe-date,
426
+ .date {
427
+ padding: 0 !important;
428
+ font-weight: 700 !important;
429
+ text-transform: uppercase !important;
430
+
431
+ .date-day {
432
+ color: var(--ars-accent, #7894ae);
433
+ }
434
+
435
+ .date-divider {
436
+ width: 1px;
437
+ margin: 0 8px;
438
+ border-left: 1px solid var(--ars-color-color-divider, #757d87);
439
+ }
440
+ }
441
+
442
+ .stripe-time,
443
+ .time {
444
+ font-size: small !important;
445
+ font-weight: 700 !important;
446
+ }
447
+
448
+ .stripe-title,
449
+ .title {
450
+ text-decoration: none !important;
451
+ font-size: 16px !important;
452
+ font-weight: 600;
453
+ min-width: 100%;
454
+ white-space: initial !important;
455
+ overflow: hidden !important;
456
+
457
+ @supports (-webkit-line-clamp: 3) {
458
+ overflow: hidden;
459
+ text-overflow: ellipsis;
460
+ white-space: initial;
461
+ display: -webkit-box;
462
+ -webkit-line-clamp: 3;
463
+ -webkit-box-orient: vertical;
464
+ }
465
+ }
466
+
467
+
468
+ }
469
+
470
+ .badge,
471
+ .badge-red {
472
+ margin-left: 10px;
473
+ padding: 1px 4px;
474
+ border-radius: 3px;
475
+ font-size: x-small;
476
+ font-weight: 600;
477
+ text-align: center;
478
+ background-color: #427505;
479
+ text-transform: uppercase;
480
+ white-space: nowrap;
481
+ color: #e0e2e5;
482
+ }
483
+
484
+ .badge-red {
485
+ background-color: #a80710;
486
+ }
487
+
488
+ .busy-backdrop {
489
+ background-color: rgba(0, 0, 0, 0.42) !important;
490
+ }
491
+
492
+
493
+ .legend-container {
494
+ display: flex;
495
+ flex-direction: row;
496
+ align-items: center;
497
+ font-size: x-small;
498
+ text-transform: uppercase;
499
+ font-weight: 500;
500
+ margin-left: 10px;
501
+
502
+
503
+ .legend {
504
+ display: inline-block;
505
+ height: 8px;
506
+ width: 8px;
507
+ margin-right: 4px;
508
+ }
509
+
510
+ .legend:not(:first-of-type) {
511
+ margin-left: 10px;
512
+ }
513
+
514
+ }
515
+
516
+ .special-date,
517
+ .special-date-expired,
518
+ .special-date-expiring {
519
+ border: 2px var(--ars-color-accent, #7894ae) solid !important;
520
+ border-radius: 100% !important;
521
+ }
522
+
523
+
524
+ .special-date-expired {
525
+ border: 2px var(--ars-color-error, #ff5449) solid !important;
526
+ }
527
+
528
+ .special-date-expiring {
529
+ border: 2px var(--ars-color-warning, #FFC107) solid !important;
530
+ }