@appartmint/mint 2.1.1 → 2.1.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.
package/dist/css/mint.css CHANGED
@@ -890,6 +890,7 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
890
890
  gap: 1rem;
891
891
  width: auto;
892
892
  text-decoration: none;
893
+ white-space: nowrap;
893
894
  }
894
895
  #mint-header .mint-logo span {
895
896
  margin: 0;
@@ -1098,11 +1099,10 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1098
1099
  }
1099
1100
 
1100
1101
  :root .mint-landing.swiper {
1101
- width: 100vw;
1102
1102
  max-width: 100vw;
1103
- }
1104
- :root .mint-landing.swiper {
1105
1103
  top: -4px;
1104
+ width: calc(100% + 8px);
1105
+ left: -4px;
1106
1106
  }
1107
1107
  @media (min-width: 480px) {
1108
1108
  :root .mint-landing.swiper {
@@ -1114,8 +1114,15 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1114
1114
  top: -16px;
1115
1115
  }
1116
1116
  }
1117
- :root .mint-landing.swiper {
1118
- left: -4px;
1117
+ @media (min-width: 480px) {
1118
+ :root .mint-landing.swiper {
1119
+ width: calc(100% + 8px + 24 * (100vw - 480px) / 288);
1120
+ }
1121
+ }
1122
+ @media (min-width: 768px) {
1123
+ :root .mint-landing.swiper {
1124
+ width: calc(100% + 32px);
1125
+ }
1119
1126
  }
1120
1127
  @media (min-width: 480px) {
1121
1128
  :root .mint-landing.swiper {
@@ -1130,8 +1137,32 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1130
1137
  :root .mint-landing.swiper .swiper-slide {
1131
1138
  padding: 0;
1132
1139
  }
1133
- :root .mint-landing .mint-video-bg {
1140
+
1141
+ .mint-landing .mint-video-bg {
1142
+ align-items: center;
1143
+ top: 0;
1144
+ width: 100%;
1134
1145
  margin: 0;
1146
+ min-height: calc(100vh - var(--mint-header-height));
1147
+ padding: 16px;
1148
+ }
1149
+ @media (min-width: 480px) {
1150
+ .mint-landing .mint-video-bg {
1151
+ padding: calc(16px + 48 * (100vw - 480px) / 288);
1152
+ }
1153
+ }
1154
+ @media (min-width: 768px) {
1155
+ .mint-landing .mint-video-bg {
1156
+ padding: 64px;
1157
+ }
1158
+ }
1159
+ .mint-landing .mint-video-bg iframe, .mint-landing .mint-video-bg video {
1160
+ position: absolute;
1161
+ }
1162
+ @media (min-width: 1200px) {
1163
+ .mint-landing .mint-video-bg iframe + * .mint-grid, .mint-landing .mint-video-bg video + * .mint-grid {
1164
+ margin-bottom: 0;
1165
+ }
1135
1166
  }
1136
1167
 
1137
1168
  .grecaptcha-badge {
@@ -1157,54 +1188,53 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1157
1188
  flex-direction: column;
1158
1189
  align-items: flex-end;
1159
1190
  justify-content: center;
1191
+ flex-direction: row;
1192
+ min-height: calc(100vh - var(--mint-header-height) + 10rem);
1160
1193
  gap: 2rem;
1161
1194
  position: relative;
1195
+ top: -4px;
1196
+ width: calc(100% + 8px);
1197
+ padding: 4px;
1162
1198
  }
1163
- @media (min-width: 1200px) {
1199
+ @media (min-width: 480px) {
1164
1200
  .mint-video-bg {
1165
- flex-direction: row;
1166
- min-height: calc(100vh - var(--mint-header-height));
1167
- margin-bottom: 15%;
1201
+ top: calc(-4px + -12 * (100vw - 480px) / 288);
1168
1202
  }
1169
1203
  }
1170
- @media (min-width: 1200px) {
1171
- .mint-video-bg > section {
1172
- margin-bottom: -15%;
1204
+ @media (min-width: 768px) {
1205
+ .mint-video-bg {
1206
+ top: -16px;
1173
1207
  }
1174
1208
  }
1175
- .mint-video-bg iframe, .mint-video-bg video {
1176
- width: 100%;
1177
- height: 100%;
1178
- object-fit: cover;
1179
- pointer-events: none;
1180
- }
1181
- @media (min-width: 1200px) {
1182
- .mint-video-bg iframe, .mint-video-bg video {
1183
- position: absolute;
1184
- width: 100vw;
1185
- border: none;
1186
- padding: 0;
1209
+ @media (min-width: 480px) {
1210
+ .mint-video-bg {
1211
+ width: calc(100% + 8px + 24 * (100vw - 480px) / 288);
1187
1212
  }
1188
1213
  }
1189
- @media (min-width: 1200px) {
1190
- .mint-video-bg iframe + * .mint-grid, .mint-video-bg video + * .mint-grid {
1191
- margin-bottom: -15%;
1214
+ @media (min-width: 768px) {
1215
+ .mint-video-bg {
1216
+ width: calc(100% + 32px);
1192
1217
  }
1193
1218
  }
1194
- .mint-video-bg.mint-overflow {
1195
- overflow: hidden;
1196
- margin-bottom: 0;
1219
+ @media (min-width: 480px) {
1220
+ .mint-video-bg {
1221
+ padding: calc(4px + 12 * (100vw - 480px) / 288);
1222
+ }
1197
1223
  }
1198
- @media (min-width: 1200px) {
1199
- .mint-video-bg.mint-overflow > section {
1200
- margin-bottom: 0;
1224
+ @media (min-width: 768px) {
1225
+ .mint-video-bg {
1226
+ padding: 16px;
1201
1227
  }
1202
1228
  }
1203
- .mint-video-bg.mint-overflow iframe, .mint-video-bg.mint-overflow video {
1204
- top: -10%;
1205
- left: -10%;
1206
- width: 120%;
1207
- height: 120%;
1229
+ .mint-video-bg iframe, .mint-video-bg video, .mint-video-bg .mint-image, .mint-video-bg .mint-embed {
1230
+ position: absolute;
1231
+ top: 0;
1232
+ padding: 0;
1233
+ width: 100%;
1234
+ height: calc(100vh - var(--mint-header-height));
1235
+ border: none;
1236
+ object-fit: cover;
1237
+ pointer-events: none;
1208
1238
  }
1209
1239
 
1210
1240
  @keyframes mint-stretch-in {
@@ -1440,8 +1470,6 @@ main > router-outlet {
1440
1470
  flex-grow: 1;
1441
1471
  width: 100%;
1442
1472
  padding: 0.25rem;
1443
- }
1444
- :root main > router-outlet + * {
1445
1473
  padding: 4px;
1446
1474
  }
1447
1475
  @media (min-width: 480px) {