@mjsz-vbr-elements/shared 2.1.0-beta.45 → 2.1.0-beta.47
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.
- package/dist/css/common.css +1 -0
- package/dist/css/players.css +22 -0
- package/dist/css/teams.css +52 -0
- package/dist/css/typography.css +21 -0
- package/package.json +1 -1
package/dist/css/common.css
CHANGED
|
@@ -79,6 +79,7 @@ ul {
|
|
|
79
79
|
--vbr-widget-typography-text-lg-lineheight: 2rem; /* 32px */
|
|
80
80
|
--vbr-widget-typography-text-xl-size: 1.25rem; /* 20px */
|
|
81
81
|
--vbr-widget-typography-text-xl-lineheight: 2rem; /* 32px */
|
|
82
|
+
--vbr-widget-typography-heading-weight: 500;
|
|
82
83
|
|
|
83
84
|
--vbr-widget-table-header-font-size: var(--vbr-widget-typography-text-xs-size);
|
|
84
85
|
--vbr-widget-table-default-column-width: 30px;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.mjsz-vbr-main-image-wrapper {
|
|
2
|
+
--overlay-size: 160px;
|
|
3
|
+
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-template-columns: 1fr var(--overlay-size) 1fr;
|
|
6
|
+
grid-template-rows: 1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.mjsz-vbr-main-image-wrapper .is-main-image {
|
|
10
|
+
grid-column: 1/4;
|
|
11
|
+
grid-row: 1/5;
|
|
12
|
+
|
|
13
|
+
background-color: var(--vbr-widget-primary-color-50);
|
|
14
|
+
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.mjsz-vbr-main-image-wrapper .is-ovarlay-image {
|
|
18
|
+
grid-row: 4/-1;
|
|
19
|
+
grid-column: 2;
|
|
20
|
+
justify-self: center;
|
|
21
|
+
z-index: 1;
|
|
22
|
+
}
|
package/dist/css/teams.css
CHANGED
|
@@ -21,3 +21,55 @@
|
|
|
21
21
|
width: 100%;
|
|
22
22
|
aspect-ratio: 1;
|
|
23
23
|
}
|
|
24
|
+
|
|
25
|
+
.mjsz-vbr-team-image-wrapper {
|
|
26
|
+
position: relative;
|
|
27
|
+
margin-bottom: 100px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.mjsz-vbr-team-image-wrapper .is-team-picture {
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
align-items: center;
|
|
34
|
+
height: 120px;
|
|
35
|
+
width: 100%;
|
|
36
|
+
background-color: var(--vbr-widget-primary-color-50);
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.mjsz-vbr-team-image-wrapper .is-team-picture img {
|
|
42
|
+
object-fit: cover;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media all and (min-width: 576px) {
|
|
46
|
+
|
|
47
|
+
.mjsz-vbr-team-image-wrapper .is-team-picture {
|
|
48
|
+
height: 320px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media all and (min-width: 768px) {
|
|
53
|
+
|
|
54
|
+
.mjsz-vbr-team-image-wrapper .is-team-picture {
|
|
55
|
+
height: 420px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.mjsz-vbr-team-image-wrapper .is-team-logo {
|
|
60
|
+
position: absolute;
|
|
61
|
+
bottom: 0;
|
|
62
|
+
left: 50%;
|
|
63
|
+
display: block;
|
|
64
|
+
width: 80px;
|
|
65
|
+
height: 80px;
|
|
66
|
+
transform: translate(-50%, 50%);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@media all and (min-width: 576px) {
|
|
70
|
+
|
|
71
|
+
.mjsz-vbr-team-image-wrapper .is-team-logo {
|
|
72
|
+
width: 160px;
|
|
73
|
+
height: 160px
|
|
74
|
+
}
|
|
75
|
+
}
|
package/dist/css/typography.css
CHANGED
|
@@ -54,3 +54,24 @@
|
|
|
54
54
|
.is-whitespace-nowrap {
|
|
55
55
|
white-space: nowrap;
|
|
56
56
|
}
|
|
57
|
+
.is-heading-1 {
|
|
58
|
+
font-size: var(--vbr-widget-typography-text-xl-size);
|
|
59
|
+
line-height: var(--vbr-widget-typography-text-xl-lineheight);
|
|
60
|
+
margin-block-start: var(--vbr-widget-typography-text-xl-size);
|
|
61
|
+
margin-block-end: calc(var(--vbr-widget-typography-text-xl-size) / 2);
|
|
62
|
+
font-weight: var(--vbr-widget-typography-heading-weight);
|
|
63
|
+
}
|
|
64
|
+
.is-heading-2 {
|
|
65
|
+
font-size: var(--vbr-widget-typography-text-lg-size);
|
|
66
|
+
line-height: var(--vbr-widget-typography-text-lg-lineheight);
|
|
67
|
+
font-weight: var(--vbr-widget-typography-heading-weight);
|
|
68
|
+
margin-block-start: var(--vbr-widget-typography-text-lg-size);
|
|
69
|
+
margin-block-end: calc(var(--vbr-widget-typography-text-lg-size) / 2);
|
|
70
|
+
}
|
|
71
|
+
.is-heading-3 {
|
|
72
|
+
font-size: var(--vbr-widget-typography-text-base-size);
|
|
73
|
+
line-height: var(--vbr-widget-typography-text-base-lineheight);
|
|
74
|
+
font-weight: var(--vbr-widget-typography-heading-weight);
|
|
75
|
+
margin-block-start: var(--vbr-widget-typography-text-base-size);
|
|
76
|
+
margin-block-end: calc(var(--vbr-widget-typography-text-base-size) / 2);
|
|
77
|
+
}
|
package/package.json
CHANGED