@mjsz-vbr-elements/shared 2.7.0 → 2.7.1

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.
@@ -242,10 +242,14 @@
242
242
 
243
243
  .mjsz-vbr-gamecenter-timeline .mjsz-vbr-period-results span.is-home-team {
244
244
  background-color: var(--vbr-widget-gamecenter-home-team-identifier-color);
245
+ outline: 1px solid var(--vbr-widget-gamecenter-home-team-identifier-border-color);
246
+ outline-offset: -2px;
245
247
  }
246
248
 
247
249
  .mjsz-vbr-gamecenter-timeline .mjsz-vbr-period-results span.is-away-team {
248
250
  background-color: var(--vbr-widget-gamecenter-away-team-identifier-color);
251
+ outline: 1px solid var(--vbr-widget-gamecenter-away-team-identifier-border-color);
252
+ outline-offset: -2px;
249
253
  }
250
254
 
251
255
  .mjsz-vbr-gamecenter-timeline-game-events .is-no-action {
@@ -395,8 +399,6 @@
395
399
  height: 14px;
396
400
  }
397
401
 
398
- /* margin-block-start: 1px; */
399
-
400
402
  @container rows (width > 410px) {
401
403
 
402
404
  .mjsz-vbr-gamecenter-timeline-game-event .is-details-container .is-event-type-icon svg {
@@ -405,22 +407,16 @@
405
407
  }
406
408
  }
407
409
 
408
- /* outline-color: var(--vbr-widget-danger-color-a400); */
409
-
410
410
  .mjsz-vbr-gamecenter-timeline-game-event .is-details-container.is-penalty .is-event-type-icon {
411
411
  color: var(--vbr-widget-primary-color-0);
412
412
  background-color: var(--vbr-widget-danger-color-a400);
413
413
  }
414
414
 
415
- /* outline-color: var(--vbr-widget-gamecenter-home-team-identifier-color); */
416
-
417
415
  .mjsz-vbr-gamecenter-timeline-game-event .is-details-container.is-timeout .is-event-type-icon {
418
416
  color: var(--vbr-widget-primary-color-0);
419
- background-color: var(--vbr-widget-gamecenter-home-team-identifier-color);
417
+ background-color: var(--vbr-widget-gamecenter-events-timeout-bg-color);
420
418
  }
421
419
 
422
- /* outline-color: var(--vbr-widget-gamecenter-home-team-identifier-color); */
423
-
424
420
  .mjsz-vbr-gamecenter-timeline-game-event .is-details-container.is-goalies .is-event-type-icon {
425
421
  color: var(--vbr-widget-primary-color-900);
426
422
  background-color: var(--vbr-widget-neutral-color);
@@ -437,7 +433,6 @@
437
433
  }
438
434
 
439
435
  .mjsz-vbr-gamecenter-timeline-game-event .is-details-container.is-goal {
440
- /* color: var(--vbr-widget-secondary-color-500); */
441
436
  background-color: var(--vbr-widget-gamecenter-card-event-goal-bg-color);
442
437
  outline-color: var(--vbr-widget-gamecenter-card-event-goal-border-color);
443
438
  }
@@ -524,92 +519,10 @@
524
519
  border-radius: 6px;
525
520
  }
526
521
 
527
- /* .is-event-type {
528
- grid-area: event-type;
529
-
530
- justify-self: center;
531
-
532
- p {
533
- display: flex;
534
- align-items: center;
535
- gap: 5px;
536
- margin: 0;
537
- padding-inline: 0.5rem;
538
- color: var(--vbr-widget-primary-color-500);
539
- font-size: small;
540
- line-height: 1.5rem;
541
- background-color: var(--vbr-widget-primary-color-100);
542
- border-radius: 6px;
543
- }
544
-
545
- svg {
546
- display: block;
547
- width: 14px;
548
- height: 14px;
549
- }
550
-
551
- &.is-goal {
552
- p {
553
- color: var(--vbr-widget-primary-color-0);
554
- background-color: var(--vbr-widget-danger-color-a400);
555
- }
556
- }
557
-
558
- &.is-penalty {
559
- p {
560
- color: var(--vbr-widget-primary-color-900);
561
- }
562
- }
563
-
564
- &.is-timeout {
565
- p {
566
- color: var(--vbr-widget-primary-color-0);
567
- background-color: var(--vbr-widget-secondary-color-700);
568
- }
569
- }
570
-
571
- &.is-goalie-in {
572
- p {
573
- color: var(--vbr-widget-secondary-color-700);
574
- border: 1px solid var(--vbr-widget-primary-color-100);
575
- background-color: var(--vbr-widget-primary-color-0);
576
- }
577
- }
578
-
579
- &.is-goalie-out {
580
- p {
581
- color: var(--vbr-widget-danger-color-700);
582
- border: 1px solid var(--vbr-widget-primary-color-100);
583
- background-color: var(--vbr-widget-primary-color-0);
584
- }
585
- }
586
-
587
- &.is-penalty-shot-goal {
588
- p {
589
- color: var(--vbr-widget-primary-color-0);
590
- background-color: var(--vbr-widget-danger-color-a400);
591
- }
592
- }
593
-
594
- &.is-penalty-shot-no-goal {
595
- p {
596
- color: var(--vbr-widget-danger-color-700);
597
- background-color: var(--vbr-widget-danger-color-100);
598
- }
599
- }
600
- } */
601
-
602
522
  .mjsz-vbr-gamecenter-timeline-game-event[data-team='away'] .is-details-container {
603
523
  border-color: var(--vbr-widget-gamecenter-away-team-identifier-color);
604
524
  }
605
525
 
606
- /* &[data-team='home'] {
607
- .is-details-list,
608
- .is-details-title {
609
- text-align: right;
610
- }
611
- } */
612
-
613
526
  @container rows (width > 500px) {
614
527
 
615
528
  .mjsz-vbr-gamecenter-timeline-game-event {
@@ -926,14 +839,19 @@
926
839
  background-color: transparent;
927
840
  border-radius: 100%;
928
841
  margin-inline-end: 0.25rem;
842
+ margin-block-end: 1px;
929
843
  }
930
844
 
931
845
  .mjsz-vbr-gamecenter-timeline-data-table.is-home-team h2:before {
932
846
  width: 8px;
933
847
  background-color: var(--vbr-widget-gamecenter-home-team-identifier-color);
848
+ outline: 1px solid var(--vbr-widget-gamecenter-home-team-identifier-border-color);
849
+ outline-offset: -1px;
934
850
  }
935
851
 
936
852
  .mjsz-vbr-gamecenter-timeline-data-table.is-away-team h2:before {
937
853
  width: 8px;
938
854
  background-color: var(--vbr-widget-gamecenter-away-team-identifier-color);
855
+ outline: 1px solid var(--vbr-widget-gamecenter-away-team-identifier-border-color);
856
+ outline-offset: -1px;
939
857
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mjsz-vbr-elements/shared",
3
3
  "private": false,
4
- "version": "2.7.0",
4
+ "version": "2.7.1",
5
5
  "author": "Ákos Stegner <akos.stegner@gmail.com>",
6
6
  "homepage": "https://api.icehockey.hu/widgets/docs/v2/",
7
7
  "type": "module",