@mjsz-vbr-elements/shared 2.1.0-beta.53 → 2.1.0-beta.55
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/cards.css +45 -0
- package/dist/css/common.css +7 -0
- package/dist/css/grid.css +4 -0
- package/dist/css/table.css +10 -1
- package/dist/css/teams.css +0 -52
- package/dist/css/typography.css +23 -0
- package/package.json +1 -1
package/dist/css/cards.css
CHANGED
|
@@ -99,3 +99,48 @@
|
|
|
99
99
|
margin: 20px 0;
|
|
100
100
|
border-bottom: 1px solid var(--vbr-widget-primary-color-200);
|
|
101
101
|
}
|
|
102
|
+
|
|
103
|
+
.mjsz-vbr-main-image-wrapper {
|
|
104
|
+
--overlay-size: 160px;
|
|
105
|
+
--overlay-radius: 50%;
|
|
106
|
+
|
|
107
|
+
display: grid;
|
|
108
|
+
grid-template-columns: 1fr var(--overlay-size) 1fr;
|
|
109
|
+
grid-template-rows: 1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.mjsz-vbr-main-image-wrapper:has(img.is-default) {
|
|
113
|
+
min-height: 470px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.mjsz-vbr-main-image-wrapper .is-main-image {
|
|
117
|
+
grid-column: 1/4;
|
|
118
|
+
grid-row: 1/5;
|
|
119
|
+
|
|
120
|
+
display: flex;
|
|
121
|
+
justify-content: center;
|
|
122
|
+
align-items: center;
|
|
123
|
+
|
|
124
|
+
background-color: var(--vbr-widget-primary-color-50);
|
|
125
|
+
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.mjsz-vbr-main-image-wrapper .is-main-image .is-default {
|
|
129
|
+
filter: grayscale(1);
|
|
130
|
+
opacity: 0.3;
|
|
131
|
+
mix-blend-mode: multiply;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.mjsz-vbr-main-image-wrapper .is-ovarlay-image {
|
|
135
|
+
grid-row: 4/-1;
|
|
136
|
+
grid-column: 2;
|
|
137
|
+
justify-self: center;
|
|
138
|
+
overflow: hidden;
|
|
139
|
+
border-radius: var(--overlay-radius);
|
|
140
|
+
z-index: 1;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.mjsz-vbr-main-image-wrapper .is-ovarlay-image img {
|
|
144
|
+
width: 100%;
|
|
145
|
+
aspect-ratio: 1;
|
|
146
|
+
}
|
package/dist/css/common.css
CHANGED
|
@@ -80,6 +80,12 @@ ul {
|
|
|
80
80
|
--vbr-widget-typography-text-lg-lineheight: 2rem; /* 32px */
|
|
81
81
|
--vbr-widget-typography-text-xl-size: 1.25rem; /* 20px */
|
|
82
82
|
--vbr-widget-typography-text-xl-lineheight: 2rem; /* 32px */
|
|
83
|
+
--vbr-widget-typography-text-2xl-size: 1.5rem; /* 24px */
|
|
84
|
+
--vbr-widget-typography-text-2xl-lineheight: 2.5rem; /* 40px */
|
|
85
|
+
--vbr-widget-typography-text-3xl-size: 1.75rem; /* 28px */
|
|
86
|
+
--vbr-widget-typography-text-3xl-lineheight: 2.5rem; /* 40px */
|
|
87
|
+
--vbr-widget-typography-text-4xl-size: 2rem; /* 32px */
|
|
88
|
+
--vbr-widget-typography-text-4xl-lineheight: 2.75rem; /* 44px */
|
|
83
89
|
--vbr-widget-typography-heading-weight: 500;
|
|
84
90
|
|
|
85
91
|
--vbr-widget-table-header-font-size: var(--vbr-widget-typography-text-xs-size);
|
|
@@ -108,6 +114,7 @@ ul {
|
|
|
108
114
|
--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);
|
|
109
115
|
--vbr-widget-table-cell-logo-size: 20px;
|
|
110
116
|
--vbr-widget-table-cell-portrait-size: 26px;
|
|
117
|
+
--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);
|
|
111
118
|
|
|
112
119
|
--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);
|
|
113
120
|
--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);
|
package/dist/css/grid.css
CHANGED
package/dist/css/table.css
CHANGED
|
@@ -83,6 +83,15 @@
|
|
|
83
83
|
background-color: var(--vbr-widget-table-active-bg-color);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
.mjsz-vbr-table td.is-zero {
|
|
87
|
+
color: var(--vbr-widget-table-zero-color);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.mjsz-vbr-table td.is-possible-empty:empty:before {
|
|
91
|
+
content: '0';
|
|
92
|
+
color: var(--vbr-widget-table-zero-color);
|
|
93
|
+
}
|
|
94
|
+
|
|
86
95
|
.mjsz-vbr-table td .is-text-light,
|
|
87
96
|
.mjsz-vbr-table td.is-text-light {
|
|
88
97
|
color: var(--vbr-widget-table-cell-light-color);
|
|
@@ -126,7 +135,7 @@
|
|
|
126
135
|
}
|
|
127
136
|
|
|
128
137
|
.mjsz-vbr-table td.is-text-xl {
|
|
129
|
-
font-size: 1.
|
|
138
|
+
font-size: 1.2rem;
|
|
130
139
|
}
|
|
131
140
|
|
|
132
141
|
.mjsz-vbr-table td .is-text-accent {
|
package/dist/css/teams.css
CHANGED
|
@@ -21,55 +21,3 @@
|
|
|
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
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
font-size: var(--vbr-widget-typography-text-xl-size);
|
|
31
31
|
line-height: var(--vbr-widget-typography-text-xl-lineheight);
|
|
32
32
|
}
|
|
33
|
+
.is-text-4xl {
|
|
34
|
+
font-size: var(--vbr-widget-typography-text-4xl-size);
|
|
35
|
+
line-height: var(--vbr-widget-typography-text-4xl-lineheight);
|
|
36
|
+
}
|
|
33
37
|
.is-uppercase {
|
|
34
38
|
text-transform: uppercase;
|
|
35
39
|
}
|
|
@@ -75,3 +79,22 @@
|
|
|
75
79
|
margin-block-start: var(--vbr-widget-typography-text-base-size);
|
|
76
80
|
margin-block-end: calc(var(--vbr-widget-typography-text-base-size) / 2);
|
|
77
81
|
}
|
|
82
|
+
.is-rounded {
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
border-radius: 100%;
|
|
85
|
+
}
|
|
86
|
+
.is-rounded + .is-rounded {
|
|
87
|
+
margin-left: 3px;
|
|
88
|
+
}
|
|
89
|
+
.is-rounded img {
|
|
90
|
+
display: block;
|
|
91
|
+
}
|
|
92
|
+
.is-w-5 {
|
|
93
|
+
width: 16px;
|
|
94
|
+
}
|
|
95
|
+
.is-w-7 {
|
|
96
|
+
width: 24px;
|
|
97
|
+
}
|
|
98
|
+
.is-w-10 {
|
|
99
|
+
width: 32px;
|
|
100
|
+
}
|
package/package.json
CHANGED