@meduza/ui-kit-2 1.4.6 → 1.4.7-b
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/ui-kit-2.cjs.development.js +7 -7
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +7 -7
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit-game.css +17 -96
- package/dist/ui-kit.css +17 -96
- package/package.json +13 -13
- package/src/GroupedBlock/index.tsx +2 -2
- package/src/Meta/Meta.module.css +0 -4
- package/src/RelatedRichBlock/RelatedRichBlock.module.css +16 -54
- package/src/RelatedRichBlock/index.tsx +2 -2
- package/src/RichTitle/RichTitle.module.css +0 -20
package/dist/ui-kit-game.css
CHANGED
|
@@ -2431,10 +2431,6 @@
|
|
|
2431
2431
|
color: #757575;
|
|
2432
2432
|
}
|
|
2433
2433
|
|
|
2434
|
-
.Meta-module_richRelated__fIo0x {
|
|
2435
|
-
color: rgba(0, 0, 0, 0.4);
|
|
2436
|
-
}
|
|
2437
|
-
|
|
2438
2434
|
.Meta-module_isInBookRelated__Ohidg {
|
|
2439
2435
|
opacity: 0.5;
|
|
2440
2436
|
}
|
|
@@ -3258,29 +3254,6 @@
|
|
|
3258
3254
|
}
|
|
3259
3255
|
}
|
|
3260
3256
|
|
|
3261
|
-
.RichTitle-module_root__U5XQu.RichTitle-module_richRelated__cvt3o {
|
|
3262
|
-
margin: 0;
|
|
3263
|
-
|
|
3264
|
-
font-size: 18px;
|
|
3265
|
-
line-height: 1.3;
|
|
3266
|
-
letter-spacing: normal;
|
|
3267
|
-
}
|
|
3268
|
-
|
|
3269
|
-
.RichTitle-module_root__U5XQu.RichTitle-module_richRelated__cvt3o span {
|
|
3270
|
-
margin-top: 0;
|
|
3271
|
-
padding-top: 0;
|
|
3272
|
-
|
|
3273
|
-
font-size: 16px;
|
|
3274
|
-
line-height: 1.3;
|
|
3275
|
-
}
|
|
3276
|
-
|
|
3277
|
-
@media only screen and (min-width: 40.625em) {
|
|
3278
|
-
|
|
3279
|
-
.RichTitle-module_root__U5XQu.RichTitle-module_richRelated__cvt3o span {
|
|
3280
|
-
font-size: 18px;
|
|
3281
|
-
}
|
|
3282
|
-
}
|
|
3283
|
-
|
|
3284
3257
|
.RichTitle-module_isInBookRelated__LcCPV {
|
|
3285
3258
|
margin: 6px 0 20px;
|
|
3286
3259
|
}
|
|
@@ -6055,12 +6028,11 @@ ul.VersesBlock-module_root__CrgSZ:first-child {
|
|
|
6055
6028
|
|
|
6056
6029
|
display: flex;
|
|
6057
6030
|
flex-flow: column nowrap;
|
|
6058
|
-
gap:
|
|
6031
|
+
gap: 20px;
|
|
6059
6032
|
|
|
6060
|
-
padding:
|
|
6033
|
+
padding: 10px 20px 20px;
|
|
6061
6034
|
overflow: hidden;
|
|
6062
6035
|
|
|
6063
|
-
color: #000;
|
|
6064
6036
|
text-decoration: none;
|
|
6065
6037
|
|
|
6066
6038
|
background-color: #f7f7f7;
|
|
@@ -6071,74 +6043,38 @@ ul.VersesBlock-module_root__CrgSZ:first-child {
|
|
|
6071
6043
|
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
|
|
6072
6044
|
}
|
|
6073
6045
|
|
|
6074
|
-
|
|
6075
|
-
margin: 16px -20px;
|
|
6076
|
-
}
|
|
6077
|
-
|
|
6078
|
-
@media only screen and (min-width: 40.625em) {
|
|
6046
|
+
@media only screen and (min-width: 32em) {
|
|
6079
6047
|
|
|
6080
|
-
.RelatedRichBlock-module_root__-SEe7 {
|
|
6081
|
-
|
|
6082
|
-
margin-bottom: 25px;
|
|
6048
|
+
.RelatedRichBlock-module_root__-SEe7:hover {
|
|
6049
|
+
opacity: 0.95;
|
|
6083
6050
|
}
|
|
6084
6051
|
}
|
|
6085
6052
|
|
|
6086
|
-
.RelatedRichBlock-module_root__-SEe7
|
|
6087
|
-
margin
|
|
6088
|
-
}
|
|
6089
|
-
|
|
6090
|
-
.RelatedRichBlock-module_root__-SEe7:last-child {
|
|
6091
|
-
margin-bottom: 0;
|
|
6092
|
-
}
|
|
6093
|
-
|
|
6094
|
-
.RelatedRichBlock-module_isInCard__F3ip3 {
|
|
6095
|
-
margin-right: -11px;
|
|
6096
|
-
margin-left: -11px;
|
|
6053
|
+
.RelatedRichBlock-module_root__-SEe7 {
|
|
6054
|
+
margin: 16px 0;
|
|
6097
6055
|
}
|
|
6098
6056
|
|
|
6099
6057
|
@media only screen and (min-width: 40.625em) {
|
|
6100
6058
|
|
|
6101
|
-
.RelatedRichBlock-
|
|
6102
|
-
margin
|
|
6103
|
-
margin-left: 0;
|
|
6059
|
+
.RelatedRichBlock-module_root__-SEe7 {
|
|
6060
|
+
margin: 25px 0;
|
|
6104
6061
|
}
|
|
6105
6062
|
}
|
|
6106
6063
|
|
|
6107
6064
|
.RelatedRichBlock-module_content__iyMrN {
|
|
6108
6065
|
display: flex;
|
|
6109
|
-
flex-flow:
|
|
6066
|
+
flex-flow: row nowrap;
|
|
6110
6067
|
gap: 20px;
|
|
6111
6068
|
}
|
|
6112
6069
|
|
|
6113
|
-
@media only screen and (min-width: 40.625em) {
|
|
6114
|
-
|
|
6115
|
-
.RelatedRichBlock-module_content__iyMrN {
|
|
6116
|
-
flex-flow: row nowrap;
|
|
6117
|
-
}
|
|
6118
|
-
}
|
|
6119
|
-
|
|
6120
6070
|
.RelatedRichBlock-module_cover__3gnIx {
|
|
6121
6071
|
flex-shrink: 0;
|
|
6122
|
-
width:
|
|
6123
|
-
}
|
|
6124
|
-
|
|
6125
|
-
@media only screen and (min-width: 40.625em) {
|
|
6126
|
-
|
|
6127
|
-
.RelatedRichBlock-module_cover__3gnIx {
|
|
6128
|
-
width: 200px;
|
|
6072
|
+
width: 200px;
|
|
6129
6073
|
}
|
|
6130
|
-
}
|
|
6131
6074
|
|
|
6132
6075
|
.RelatedRichBlock-module_body__XhS0U {
|
|
6133
6076
|
display: flex;
|
|
6134
6077
|
flex-flow: column nowrap;
|
|
6135
|
-
gap: 16px;
|
|
6136
|
-
|
|
6137
|
-
transition: color 0.15s;
|
|
6138
|
-
}
|
|
6139
|
-
|
|
6140
|
-
.RelatedRichBlock-module_root__-SEe7:hover .RelatedRichBlock-module_body__XhS0U {
|
|
6141
|
-
color: #5c5c5c;
|
|
6142
6078
|
}
|
|
6143
6079
|
|
|
6144
6080
|
.RelatedRichBlock-module_isCard__wkMw- .RelatedRichBlock-module_cover__3gnIx {
|
|
@@ -6154,36 +6090,21 @@ ul.VersesBlock-module_root__CrgSZ:first-child {
|
|
|
6154
6090
|
}
|
|
6155
6091
|
|
|
6156
6092
|
.RelatedRichBlock-module_isCard__wkMw- .RelatedRichBlock-module_cover__3gnIx > div {
|
|
6157
|
-
width:
|
|
6158
|
-
height:
|
|
6159
|
-
}
|
|
6160
|
-
|
|
6161
|
-
@media only screen and (min-width: 40.625em) {
|
|
6162
|
-
|
|
6163
|
-
.RelatedRichBlock-module_isCard__wkMw- .RelatedRichBlock-module_cover__3gnIx > div {
|
|
6164
|
-
width: 100px;
|
|
6165
|
-
height: 100px;
|
|
6093
|
+
width: 100px;
|
|
6094
|
+
height: 100px;
|
|
6166
6095
|
}
|
|
6167
|
-
}
|
|
6168
6096
|
|
|
6169
6097
|
.RelatedRichBlock-module_tag__c18sv {
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
color: #7f7f7f;
|
|
6098
|
+
color: rgba(0, 0, 0, 0.5);
|
|
6173
6099
|
}
|
|
6174
6100
|
|
|
6175
6101
|
.RelatedRichBlock-module_center__KANd- {
|
|
6102
|
+
width: 100%;
|
|
6176
6103
|
max-width: 650px;
|
|
6104
|
+
margin-right: auto;
|
|
6105
|
+
margin-left: auto;
|
|
6177
6106
|
}
|
|
6178
6107
|
|
|
6179
|
-
@media only screen and (min-width: 32em) {
|
|
6180
|
-
|
|
6181
|
-
.RelatedRichBlock-module_center__KANd- {
|
|
6182
|
-
margin-right: auto;
|
|
6183
|
-
margin-left: auto;
|
|
6184
|
-
}
|
|
6185
|
-
}
|
|
6186
|
-
|
|
6187
6108
|
/* Display */
|
|
6188
6109
|
|
|
6189
6110
|
@media only screen and (min-width: 32em) {
|
package/dist/ui-kit.css
CHANGED
|
@@ -2431,10 +2431,6 @@
|
|
|
2431
2431
|
color: #757575;
|
|
2432
2432
|
}
|
|
2433
2433
|
|
|
2434
|
-
.Meta-module_richRelated__fIo0x {
|
|
2435
|
-
color: rgba(0, 0, 0, 0.4);
|
|
2436
|
-
}
|
|
2437
|
-
|
|
2438
2434
|
.Meta-module_isInBookRelated__Ohidg {
|
|
2439
2435
|
opacity: 0.5;
|
|
2440
2436
|
}
|
|
@@ -3258,29 +3254,6 @@
|
|
|
3258
3254
|
}
|
|
3259
3255
|
}
|
|
3260
3256
|
|
|
3261
|
-
.RichTitle-module_root__U5XQu.RichTitle-module_richRelated__cvt3o {
|
|
3262
|
-
margin: 0;
|
|
3263
|
-
|
|
3264
|
-
font-size: 18px;
|
|
3265
|
-
line-height: 1.3;
|
|
3266
|
-
letter-spacing: normal;
|
|
3267
|
-
}
|
|
3268
|
-
|
|
3269
|
-
.RichTitle-module_root__U5XQu.RichTitle-module_richRelated__cvt3o span {
|
|
3270
|
-
margin-top: 0;
|
|
3271
|
-
padding-top: 0;
|
|
3272
|
-
|
|
3273
|
-
font-size: 16px;
|
|
3274
|
-
line-height: 1.3;
|
|
3275
|
-
}
|
|
3276
|
-
|
|
3277
|
-
@media only screen and (min-width: 64em) {
|
|
3278
|
-
|
|
3279
|
-
.RichTitle-module_root__U5XQu.RichTitle-module_richRelated__cvt3o span {
|
|
3280
|
-
font-size: 18px;
|
|
3281
|
-
}
|
|
3282
|
-
}
|
|
3283
|
-
|
|
3284
3257
|
.RichTitle-module_isInBookRelated__LcCPV {
|
|
3285
3258
|
margin: 6px 0 20px;
|
|
3286
3259
|
}
|
|
@@ -6055,12 +6028,11 @@ ul.VersesBlock-module_root__CrgSZ:first-child {
|
|
|
6055
6028
|
|
|
6056
6029
|
display: flex;
|
|
6057
6030
|
flex-flow: column nowrap;
|
|
6058
|
-
gap:
|
|
6031
|
+
gap: 20px;
|
|
6059
6032
|
|
|
6060
|
-
padding:
|
|
6033
|
+
padding: 10px 20px 20px;
|
|
6061
6034
|
overflow: hidden;
|
|
6062
6035
|
|
|
6063
|
-
color: #000;
|
|
6064
6036
|
text-decoration: none;
|
|
6065
6037
|
|
|
6066
6038
|
background-color: #f7f7f7;
|
|
@@ -6071,74 +6043,38 @@ ul.VersesBlock-module_root__CrgSZ:first-child {
|
|
|
6071
6043
|
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
|
|
6072
6044
|
}
|
|
6073
6045
|
|
|
6074
|
-
|
|
6075
|
-
margin: 16px -20px;
|
|
6076
|
-
}
|
|
6077
|
-
|
|
6078
|
-
@media only screen and (min-width: 48em) {
|
|
6046
|
+
@media only screen and (min-width: 32em) {
|
|
6079
6047
|
|
|
6080
|
-
.RelatedRichBlock-module_root__-SEe7 {
|
|
6081
|
-
|
|
6082
|
-
margin-bottom: 25px;
|
|
6048
|
+
.RelatedRichBlock-module_root__-SEe7:hover {
|
|
6049
|
+
opacity: 0.95;
|
|
6083
6050
|
}
|
|
6084
6051
|
}
|
|
6085
6052
|
|
|
6086
|
-
.RelatedRichBlock-module_root__-SEe7
|
|
6087
|
-
margin
|
|
6088
|
-
}
|
|
6089
|
-
|
|
6090
|
-
.RelatedRichBlock-module_root__-SEe7:last-child {
|
|
6091
|
-
margin-bottom: 0;
|
|
6092
|
-
}
|
|
6093
|
-
|
|
6094
|
-
.RelatedRichBlock-module_isInCard__F3ip3 {
|
|
6095
|
-
margin-right: -11px;
|
|
6096
|
-
margin-left: -11px;
|
|
6053
|
+
.RelatedRichBlock-module_root__-SEe7 {
|
|
6054
|
+
margin: 16px 0;
|
|
6097
6055
|
}
|
|
6098
6056
|
|
|
6099
6057
|
@media only screen and (min-width: 48em) {
|
|
6100
6058
|
|
|
6101
|
-
.RelatedRichBlock-
|
|
6102
|
-
margin
|
|
6103
|
-
margin-left: 0;
|
|
6059
|
+
.RelatedRichBlock-module_root__-SEe7 {
|
|
6060
|
+
margin: 25px 0;
|
|
6104
6061
|
}
|
|
6105
6062
|
}
|
|
6106
6063
|
|
|
6107
6064
|
.RelatedRichBlock-module_content__iyMrN {
|
|
6108
6065
|
display: flex;
|
|
6109
|
-
flex-flow:
|
|
6066
|
+
flex-flow: row nowrap;
|
|
6110
6067
|
gap: 20px;
|
|
6111
6068
|
}
|
|
6112
6069
|
|
|
6113
|
-
@media only screen and (min-width: 48em) {
|
|
6114
|
-
|
|
6115
|
-
.RelatedRichBlock-module_content__iyMrN {
|
|
6116
|
-
flex-flow: row nowrap;
|
|
6117
|
-
}
|
|
6118
|
-
}
|
|
6119
|
-
|
|
6120
6070
|
.RelatedRichBlock-module_cover__3gnIx {
|
|
6121
6071
|
flex-shrink: 0;
|
|
6122
|
-
width:
|
|
6123
|
-
}
|
|
6124
|
-
|
|
6125
|
-
@media only screen and (min-width: 48em) {
|
|
6126
|
-
|
|
6127
|
-
.RelatedRichBlock-module_cover__3gnIx {
|
|
6128
|
-
width: 200px;
|
|
6072
|
+
width: 200px;
|
|
6129
6073
|
}
|
|
6130
|
-
}
|
|
6131
6074
|
|
|
6132
6075
|
.RelatedRichBlock-module_body__XhS0U {
|
|
6133
6076
|
display: flex;
|
|
6134
6077
|
flex-flow: column nowrap;
|
|
6135
|
-
gap: 16px;
|
|
6136
|
-
|
|
6137
|
-
transition: color 0.15s;
|
|
6138
|
-
}
|
|
6139
|
-
|
|
6140
|
-
.RelatedRichBlock-module_root__-SEe7:hover .RelatedRichBlock-module_body__XhS0U {
|
|
6141
|
-
color: #5c5c5c;
|
|
6142
6078
|
}
|
|
6143
6079
|
|
|
6144
6080
|
.RelatedRichBlock-module_isCard__wkMw- .RelatedRichBlock-module_cover__3gnIx {
|
|
@@ -6154,36 +6090,21 @@ ul.VersesBlock-module_root__CrgSZ:first-child {
|
|
|
6154
6090
|
}
|
|
6155
6091
|
|
|
6156
6092
|
.RelatedRichBlock-module_isCard__wkMw- .RelatedRichBlock-module_cover__3gnIx > div {
|
|
6157
|
-
width:
|
|
6158
|
-
height:
|
|
6159
|
-
}
|
|
6160
|
-
|
|
6161
|
-
@media only screen and (min-width: 48em) {
|
|
6162
|
-
|
|
6163
|
-
.RelatedRichBlock-module_isCard__wkMw- .RelatedRichBlock-module_cover__3gnIx > div {
|
|
6164
|
-
width: 100px;
|
|
6165
|
-
height: 100px;
|
|
6093
|
+
width: 100px;
|
|
6094
|
+
height: 100px;
|
|
6166
6095
|
}
|
|
6167
|
-
}
|
|
6168
6096
|
|
|
6169
6097
|
.RelatedRichBlock-module_tag__c18sv {
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
color: #7f7f7f;
|
|
6098
|
+
color: rgba(0, 0, 0, 0.5);
|
|
6173
6099
|
}
|
|
6174
6100
|
|
|
6175
6101
|
.RelatedRichBlock-module_center__KANd- {
|
|
6102
|
+
width: 100%;
|
|
6176
6103
|
max-width: 650px;
|
|
6104
|
+
margin-right: auto;
|
|
6105
|
+
margin-left: auto;
|
|
6177
6106
|
}
|
|
6178
6107
|
|
|
6179
|
-
@media only screen and (min-width: 32em) {
|
|
6180
|
-
|
|
6181
|
-
.RelatedRichBlock-module_center__KANd- {
|
|
6182
|
-
margin-right: auto;
|
|
6183
|
-
margin-left: auto;
|
|
6184
|
-
}
|
|
6185
|
-
}
|
|
6186
|
-
|
|
6187
6108
|
/* Display */
|
|
6188
6109
|
|
|
6189
6110
|
@media only screen and (min-width: 32em) {
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.4.
|
|
2
|
+
"version": "1.4.7b",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"description": "UIKit for Meduza",
|
|
5
5
|
"repository": "https://github.com/meduza-corp/ui-kit-2.git",
|
|
@@ -15,17 +15,6 @@
|
|
|
15
15
|
"engines": {
|
|
16
16
|
"node": ">=16"
|
|
17
17
|
},
|
|
18
|
-
"scripts": {
|
|
19
|
-
"start": "dts watch --tsconfig ./tsconfig.build.json --mode development",
|
|
20
|
-
"build": "dts build --tsconfig ./tsconfig.build.json --mode production && node build.sh",
|
|
21
|
-
"generate": "plop --plopfile generators/index.js",
|
|
22
|
-
"test": "dts test --passWithNoTests",
|
|
23
|
-
"test:watch": "dts test --watch",
|
|
24
|
-
"test:coverage": "dts test --coverage",
|
|
25
|
-
"lint": "eslint src",
|
|
26
|
-
"storybook": "storybook dev -p 6006",
|
|
27
|
-
"build-storybook": "storybook build"
|
|
28
|
-
},
|
|
29
18
|
"peerDependencies": {
|
|
30
19
|
"dayjs": "^1.10.3",
|
|
31
20
|
"react": ">=16",
|
|
@@ -128,5 +117,16 @@
|
|
|
128
117
|
},
|
|
129
118
|
"dependencies": {
|
|
130
119
|
"embla-carousel-react": "^8.6.0"
|
|
120
|
+
},
|
|
121
|
+
"scripts": {
|
|
122
|
+
"start": "dts watch --tsconfig ./tsconfig.build.json --mode development",
|
|
123
|
+
"build": "dts build --tsconfig ./tsconfig.build.json --mode production && node build.sh",
|
|
124
|
+
"generate": "plop --plopfile generators/index.js",
|
|
125
|
+
"test": "dts test --passWithNoTests",
|
|
126
|
+
"test:watch": "dts test --watch",
|
|
127
|
+
"test:coverage": "dts test --coverage",
|
|
128
|
+
"lint": "eslint src",
|
|
129
|
+
"storybook": "storybook dev -p 6006",
|
|
130
|
+
"build-storybook": "storybook build"
|
|
131
131
|
}
|
|
132
|
-
}
|
|
132
|
+
}
|
|
@@ -22,9 +22,9 @@ export const GroupedBlock: React.FC<GroupedBlockProps> = ({
|
|
|
22
22
|
|
|
23
23
|
const normalizedBoxesWidth = block.data.map((item) => {
|
|
24
24
|
const width =
|
|
25
|
-
(item.data && item.data.width) || (item.item && item.item.data.
|
|
25
|
+
(item.data && item.data.width) || (item.item && item.item.data.width)
|
|
26
26
|
const height =
|
|
27
|
-
(item.data && item.data.height) || (item.item && item.item.data.
|
|
27
|
+
(item.data && item.data.height) || (item.item && item.item.data.height)
|
|
28
28
|
return width / (height / maxHeight)
|
|
29
29
|
})
|
|
30
30
|
|
package/src/Meta/Meta.module.css
CHANGED
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-flow: column nowrap;
|
|
7
|
-
gap:
|
|
7
|
+
gap: 20px;
|
|
8
8
|
|
|
9
|
-
padding:
|
|
9
|
+
padding: 10px 20px 20px;
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
|
|
12
|
-
color: #000;
|
|
13
12
|
text-decoration: none;
|
|
14
13
|
|
|
15
14
|
background-color: #f7f7f7;
|
|
@@ -20,62 +19,34 @@
|
|
|
20
19
|
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
|
|
21
20
|
}
|
|
22
21
|
|
|
23
|
-
.root {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
@media $portraitTablet {
|
|
27
|
-
margin-top: 25px;
|
|
28
|
-
margin-bottom: 25px;
|
|
22
|
+
.root:hover {
|
|
23
|
+
@media $mobile {
|
|
24
|
+
opacity: 0.95;
|
|
29
25
|
}
|
|
30
26
|
}
|
|
31
27
|
|
|
32
|
-
.root
|
|
33
|
-
margin
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.root:last-child {
|
|
37
|
-
margin-bottom: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.isInCard {
|
|
41
|
-
margin-right: -11px;
|
|
42
|
-
margin-left: -11px;
|
|
28
|
+
.root {
|
|
29
|
+
margin: 16px 0;
|
|
43
30
|
|
|
44
31
|
@media $portraitTablet {
|
|
45
|
-
margin
|
|
46
|
-
margin-left: 0;
|
|
32
|
+
margin: 25px 0;
|
|
47
33
|
}
|
|
48
34
|
}
|
|
49
35
|
|
|
50
36
|
.content {
|
|
51
37
|
display: flex;
|
|
52
|
-
flex-flow:
|
|
38
|
+
flex-flow: row nowrap;
|
|
53
39
|
gap: 20px;
|
|
54
|
-
|
|
55
|
-
@media $portraitTablet {
|
|
56
|
-
flex-flow: row nowrap;
|
|
57
|
-
}
|
|
58
40
|
}
|
|
59
41
|
|
|
60
42
|
.cover {
|
|
61
43
|
flex-shrink: 0;
|
|
62
|
-
width:
|
|
63
|
-
|
|
64
|
-
@media $portraitTablet {
|
|
65
|
-
width: 200px;
|
|
66
|
-
}
|
|
44
|
+
width: 200px;
|
|
67
45
|
}
|
|
68
46
|
|
|
69
47
|
.body {
|
|
70
48
|
display: flex;
|
|
71
49
|
flex-flow: column nowrap;
|
|
72
|
-
gap: 16px;
|
|
73
|
-
|
|
74
|
-
transition: color 0.15s;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.root:hover .body {
|
|
78
|
-
color: #5c5c5c;
|
|
79
50
|
}
|
|
80
51
|
|
|
81
52
|
.isCard .cover {
|
|
@@ -91,28 +62,19 @@
|
|
|
91
62
|
}
|
|
92
63
|
|
|
93
64
|
.isCard .cover > div {
|
|
94
|
-
width:
|
|
95
|
-
height:
|
|
96
|
-
|
|
97
|
-
@media $portraitTablet {
|
|
98
|
-
width: 100px;
|
|
99
|
-
height: 100px;
|
|
100
|
-
}
|
|
65
|
+
width: 100px;
|
|
66
|
+
height: 100px;
|
|
101
67
|
}
|
|
102
68
|
|
|
103
69
|
.tag {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
color: #7f7f7f;
|
|
70
|
+
color: rgba(0, 0, 0, 0.5);
|
|
107
71
|
}
|
|
108
72
|
|
|
109
73
|
.center {
|
|
74
|
+
width: 100%;
|
|
110
75
|
max-width: 650px;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
margin-right: auto;
|
|
114
|
-
margin-left: auto;
|
|
115
|
-
}
|
|
76
|
+
margin-right: auto;
|
|
77
|
+
margin-left: auto;
|
|
116
78
|
}
|
|
117
79
|
|
|
118
80
|
/* Display */
|
|
@@ -33,12 +33,12 @@ export const RelatedRichBlock: React.FC<RelatedRichBlockProps> = ({
|
|
|
33
33
|
[styles[onlyOn], !!onlyOn && !!styles[onlyOn]]
|
|
34
34
|
]
|
|
35
35
|
|
|
36
|
-
let context = ['isInMediaBlock'
|
|
36
|
+
let context = ['isInMediaBlock']
|
|
37
37
|
|
|
38
38
|
if (styleContext) {
|
|
39
39
|
classNames = makeStyleContext(classNames, styleContext, styles)
|
|
40
40
|
|
|
41
|
-
context = [...styleContext, 'isInMediaBlock'
|
|
41
|
+
context = [...styleContext, 'isInMediaBlock']
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
return (
|
|
@@ -119,26 +119,6 @@
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.root.richRelated {
|
|
123
|
-
margin: 0;
|
|
124
|
-
|
|
125
|
-
font-size: 18px;
|
|
126
|
-
line-height: 1.3;
|
|
127
|
-
letter-spacing: normal;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.root.richRelated span {
|
|
131
|
-
margin-top: 0;
|
|
132
|
-
padding-top: 0;
|
|
133
|
-
|
|
134
|
-
font-size: 16px;
|
|
135
|
-
line-height: 1.3;
|
|
136
|
-
|
|
137
|
-
@media $landscapeTablet {
|
|
138
|
-
font-size: 18px;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
122
|
.isInBookRelated {
|
|
143
123
|
margin: 6px 0 20px;
|
|
144
124
|
|