galali-shoptet 1.0.5 → 1.0.7
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/package.json +1 -1
- package/style.css +303 -36
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -564,6 +564,7 @@ header#header nav#navigation ul.menu-level-1 > li > a .submenu-arrow {
|
|
|
564
564
|
header#header nav#navigation ul.menu-level-1 > li > ul.menu-level-2 {
|
|
565
565
|
flex-direction: column !important;
|
|
566
566
|
flex-wrap: nowrap !important;
|
|
567
|
+
align-items: stretch !important; /* vendor align-items:center → stretch (column stack) */
|
|
567
568
|
position: absolute;
|
|
568
569
|
top: 100%;
|
|
569
570
|
left: 0;
|
|
@@ -596,7 +597,10 @@ header#header nav#navigation ul.menu-level-2 .menu-image {
|
|
|
596
597
|
header#header nav#navigation ul.menu-level-2 > li {
|
|
597
598
|
display: block !important;
|
|
598
599
|
width: 100% !important;
|
|
599
|
-
|
|
600
|
+
/* POZOR: v column flexu flex-basis cílí na VÝŠKU → 100% roztáhlo li na celou výšku.
|
|
601
|
+
+ vendor dává min-height: 75px (rezerva folder ikony) → obří rozestupy. */
|
|
602
|
+
flex: 0 0 auto !important;
|
|
603
|
+
min-height: 0 !important;
|
|
600
604
|
margin: 0;
|
|
601
605
|
padding: 0;
|
|
602
606
|
background: none;
|
|
@@ -865,8 +869,8 @@ header#header nav#navigation ul.menu-level-3 > li > a:focus {
|
|
|
865
869
|
/* CTA hover/focus — celý <a> je klikací, reagujeme na hover anchor */
|
|
866
870
|
.content-wrapper.homepage-box.before-carousel .carousel-inner > .item > a:hover .extended-banner-link,
|
|
867
871
|
.content-wrapper.homepage-box.before-carousel .carousel-inner > .item > a:focus-visible .extended-banner-link {
|
|
868
|
-
background: var(--gl-fg-1);
|
|
869
|
-
color: var(--gl-white);
|
|
872
|
+
background: var(--gl-fg-1) !important; /* base má bg white !important → hover musí taky !important */
|
|
873
|
+
color: var(--gl-white) !important;
|
|
870
874
|
transform: translateY(-1px);
|
|
871
875
|
}
|
|
872
876
|
.content-wrapper.homepage-box.before-carousel .carousel-inner > .item > a:focus-visible {
|
|
@@ -984,7 +988,8 @@ section.gutter {
|
|
|
984
988
|
width: 100%;
|
|
985
989
|
max-width: var(--gl-page-max);
|
|
986
990
|
margin: 0 auto;
|
|
987
|
-
padding
|
|
991
|
+
/* bottom padding (dřív 0) → popisky kategorií nejsou nalepené na spodní hraně šedého bloku */
|
|
992
|
+
padding: var(--gl-section-gap) var(--gl-gutter);
|
|
988
993
|
background: transparent;
|
|
989
994
|
}
|
|
990
995
|
/* Vendor Shoptet .welcome > div > * dostává max-width: 800px → roztrhat */
|
|
@@ -1112,7 +1117,7 @@ section.gutter .picto:focus-visible {
|
|
|
1112
1117
|
/* Responsive — odvozeno ze sqrl.dev breakpointů, --gl-section-gap se zmenšuje */
|
|
1113
1118
|
@media (max-width: 1279px) {
|
|
1114
1119
|
:root { --gl-section-gap: 96px; }
|
|
1115
|
-
section.gutter { padding: var(--gl-section-gap) 32px
|
|
1120
|
+
section.gutter { padding: var(--gl-section-gap) 32px; }
|
|
1116
1121
|
section.gutter .sec-head { margin-bottom: 36px; gap: 16px; flex-wrap: wrap; }
|
|
1117
1122
|
section.gutter .sec-title { font-size: 40px; line-height: 42px; }
|
|
1118
1123
|
section.gutter .sec-link { font-size: 16px; }
|
|
@@ -1124,15 +1129,16 @@ section.gutter .picto:focus-visible {
|
|
|
1124
1129
|
|
|
1125
1130
|
@media (max-width: 767px) {
|
|
1126
1131
|
:root { --gl-section-gap: 64px; }
|
|
1127
|
-
section.gutter { padding: var(--gl-section-gap) 20px
|
|
1132
|
+
section.gutter { padding: var(--gl-section-gap) 20px; }
|
|
1128
1133
|
section.gutter .sec-head { margin-bottom: 24px; gap: 12px; }
|
|
1129
1134
|
section.gutter .sec-title { font-size: 28px; line-height: 30px; }
|
|
1130
1135
|
section.gutter .sec-link { font-size: 14px; gap: 10px; }
|
|
1131
1136
|
section.gutter .sec-link svg { width: 14px; height: 14px; }
|
|
1132
|
-
|
|
1133
|
-
section.gutter .
|
|
1134
|
-
section.gutter .picto
|
|
1135
|
-
section.gutter .picto
|
|
1137
|
+
/* minmax(0,1fr) místo 1fr → buňky se nesnaží roztáhnout na min-content (jinak overflow viewportu) */
|
|
1138
|
+
section.gutter .pictos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
|
|
1139
|
+
section.gutter .picto { gap: 14px; padding: 16px 8px; min-width: 0; }
|
|
1140
|
+
section.gutter .picto svg { width: 52px; height: 52px; max-width: 100%; }
|
|
1141
|
+
section.gutter .picto .name { font-size: 13px; line-height: 15px; overflow-wrap: anywhere; }
|
|
1136
1142
|
}
|
|
1137
1143
|
|
|
1138
1144
|
/* ============================================ */
|
|
@@ -1254,6 +1260,12 @@ main.content > .products.products-block > .product a.name {
|
|
|
1254
1260
|
letter-spacing: normal;
|
|
1255
1261
|
transition: text-decoration-color .15s;
|
|
1256
1262
|
text-decoration-color: transparent;
|
|
1263
|
+
/* Vendor dává fixní height 45px + overflow:hidden → 2řádkový název se ořezal.
|
|
1264
|
+
Povolit plnou výšku, min-height drží 2 řádky pro zarovnání cen v gridu. */
|
|
1265
|
+
height: auto !important;
|
|
1266
|
+
max-height: none !important;
|
|
1267
|
+
overflow: visible !important;
|
|
1268
|
+
min-height: 52px;
|
|
1257
1269
|
}
|
|
1258
1270
|
main.content > .products.products-block > .product a.name span {
|
|
1259
1271
|
font-size: inherit;
|
|
@@ -1321,13 +1333,19 @@ main.content > .products.products-block > .product .price-final strong {
|
|
|
1321
1333
|
main.content > .homepage-group-title { font-size: 40px; line-height: 42px; margin: 80px 0 32px; }
|
|
1322
1334
|
main.content > .homepage-products-heading-2 { margin-top: 60px; }
|
|
1323
1335
|
main.content > .products.products-block { grid-template-columns: repeat(3, 1fr); column-gap: 24px; row-gap: 36px; }
|
|
1324
|
-
main.content > .products.products-block > .product a.name { font-size: 18px; line-height: 22px; }
|
|
1336
|
+
main.content > .products.products-block > .product a.name { font-size: 18px; line-height: 22px; min-height: 44px; }
|
|
1325
1337
|
main.content > .products.products-block > .product .price-final { font-size: 18px; line-height: 22px; }
|
|
1326
1338
|
}
|
|
1327
1339
|
@media (max-width: 767px) {
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
main.content
|
|
1340
|
+
/* #2: base má padding 0 var(--gl-gutter)(=60px) !important → na mobilu úzké uprostřed.
|
|
1341
|
+
Roztáhnout na (skoro) plnou šířku. */
|
|
1342
|
+
main.content,
|
|
1343
|
+
main.content:not(.wide) { padding: 0 12px !important; }
|
|
1344
|
+
/* #4: oddělit produkty (Akční/Novinky) od sekce "Nakupte podle kategorií" nad i patičky pod */
|
|
1345
|
+
main.content { margin: 48px 0 72px !important; }
|
|
1346
|
+
main.content > .products.products-block > .product a.name { min-height: 38px; }
|
|
1347
|
+
main.content > .homepage-group-title { font-size: 28px; line-height: 30px; margin: 48px 0 24px; }
|
|
1348
|
+
main.content > .homepage-products-heading-2 { margin-top: 56px; }
|
|
1331
1349
|
main.content > .products.products-block { grid-template-columns: repeat(2, 1fr); column-gap: 12px; row-gap: 24px; }
|
|
1332
1350
|
main.content > .products.products-block > .product > .p { gap: 10px; }
|
|
1333
1351
|
main.content > .products.products-block > .product a.name { font-size: 15px; line-height: 19px; }
|
|
@@ -1402,17 +1420,17 @@ footer#footer.footer > .container.footer-bottom {
|
|
|
1402
1420
|
border: 0;
|
|
1403
1421
|
}
|
|
1404
1422
|
|
|
1405
|
-
/* --- Brand
|
|
1423
|
+
/* --- Brand sloupce: logo (sloupec 1) | kontakt email+tel (sloupec 2), vedle sebe --- */
|
|
1406
1424
|
footer#footer .footer-rows {
|
|
1407
1425
|
display: flex;
|
|
1408
|
-
flex-direction:
|
|
1409
|
-
gap:
|
|
1426
|
+
flex-direction: row;
|
|
1427
|
+
gap: 60px;
|
|
1410
1428
|
align-items: flex-start;
|
|
1411
1429
|
}
|
|
1412
1430
|
|
|
1413
|
-
/* Site-name (logo) —
|
|
1431
|
+
/* Site-name (logo) — sloupec 1 */
|
|
1414
1432
|
footer#footer .footer-rows .site-name {
|
|
1415
|
-
|
|
1433
|
+
flex: 0 0 auto;
|
|
1416
1434
|
margin: 0;
|
|
1417
1435
|
padding: 0;
|
|
1418
1436
|
}
|
|
@@ -1431,14 +1449,15 @@ footer#footer .footer-rows .site-name img {
|
|
|
1431
1449
|
filter: brightness(0) invert(1);
|
|
1432
1450
|
}
|
|
1433
1451
|
|
|
1434
|
-
/* Custom footer (kontakt) —
|
|
1452
|
+
/* Custom footer (kontakt email+tel) — sloupec 2, vedle loga */
|
|
1435
1453
|
footer#footer .footer-rows .custom-footer {
|
|
1436
|
-
|
|
1454
|
+
flex: 1 1 auto;
|
|
1437
1455
|
display: flex;
|
|
1438
1456
|
flex-direction: column;
|
|
1439
1457
|
align-items: stretch; /* fix: stretch children full width (Shoptet default je 'normal') */
|
|
1440
1458
|
gap: 18px;
|
|
1441
|
-
margin-top:
|
|
1459
|
+
margin-top: 0 !important;
|
|
1460
|
+
border-top: 0 !important; /* vendor dává 1px divider → pryč */
|
|
1442
1461
|
width: 100%;
|
|
1443
1462
|
color: var(--gl-white);
|
|
1444
1463
|
}
|
|
@@ -1673,10 +1692,18 @@ footer#footer .footer-bottom .copyright a.cookies-settings:focus-visible {
|
|
|
1673
1692
|
padding: 0 20px !important;
|
|
1674
1693
|
}
|
|
1675
1694
|
footer#footer.footer > .container.footer-bottom { padding: 24px 20px 0 !important; }
|
|
1695
|
+
/* Brand sloupce zpět na stack (logo nad kontaktem) */
|
|
1696
|
+
footer#footer .footer-rows { flex-direction: column; gap: 20px; }
|
|
1697
|
+
/* Logo — vendor ho na mobilu skrývá (display:none) → force zobrazit */
|
|
1698
|
+
footer#footer .footer-rows .site-name { display: block !important; }
|
|
1676
1699
|
footer#footer .footer-rows .site-name a { font-size: 28px; line-height: 30px; }
|
|
1700
|
+
footer#footer .footer-rows .custom-footer { width: 100%; }
|
|
1677
1701
|
footer#footer .footer-rows .custom-footer__contact .contact-box { font-size: 18px; }
|
|
1678
1702
|
footer#footer .footer-links-icons ul.footer-links li a { font-size: 18px; }
|
|
1679
1703
|
footer#footer .footer-bottom { flex-direction: column; align-items: flex-start; font-size: 12px; }
|
|
1704
|
+
/* Copyright + cookies pod sebou (ne vedle sebe) */
|
|
1705
|
+
footer#footer .footer-bottom .copyright { display: block; }
|
|
1706
|
+
footer#footer .footer-bottom .copyright a.cookies-settings { display: block; margin-top: 8px; }
|
|
1680
1707
|
}
|
|
1681
1708
|
|
|
1682
1709
|
/* ============================================ */
|
|
@@ -2035,6 +2062,17 @@ body:not(.in-index) .breadcrumbs-wrapper::after,
|
|
|
2035
2062
|
body:not(.in-index) .breadcrumbs-wrapper::before {
|
|
2036
2063
|
display: none !important;
|
|
2037
2064
|
}
|
|
2065
|
+
/* Vendor dává home ikonu (domeček) přes ::before na .navigation-home-icon-wrapper
|
|
2066
|
+
(= sama .breadcrumbs) → při zalomení překrývá text ("Vázy"). Skrýt. */
|
|
2067
|
+
body:not(.in-index) .breadcrumbs.navigation-home-icon-wrapper::before,
|
|
2068
|
+
body:not(.in-index) .breadcrumbs::before,
|
|
2069
|
+
body:not(.in-index) .breadcrumbs::after {
|
|
2070
|
+
content: none !important;
|
|
2071
|
+
display: none !important;
|
|
2072
|
+
background: none !important;
|
|
2073
|
+
width: 0 !important;
|
|
2074
|
+
height: 0 !important;
|
|
2075
|
+
}
|
|
2038
2076
|
|
|
2039
2077
|
/* ============================================ */
|
|
2040
2078
|
/* === Kategorie (listing) === */
|
|
@@ -4919,17 +4957,37 @@ ol.cart-header > li a {
|
|
|
4919
4957
|
background: transparent !important;
|
|
4920
4958
|
}
|
|
4921
4959
|
|
|
4922
|
-
/* --- Cart counter badge (header):
|
|
4960
|
+
/* --- Cart counter badge (header): bílé kolečko s černým číslem, vpravo dole u ikony ---
|
|
4961
|
+
Pill je černý → černý badge by zmizel. Bílé kolečko = kontrast.
|
|
4962
|
+
Ikona košíku je vlevo (padding-left 18px, šířka 22px) → badge na její pravý-dolní roh. */
|
|
4923
4963
|
a.cart-count i,
|
|
4924
4964
|
a.cart-count i[data-testid="headerCartCount"],
|
|
4965
|
+
header#header .navigation-buttons a.cart-count i[data-testid="headerCartCount"],
|
|
4925
4966
|
[data-testid="headerCartCount"],
|
|
4926
4967
|
.cart-count .amount,
|
|
4927
4968
|
.cart-count .count {
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4969
|
+
position: absolute !important;
|
|
4970
|
+
top: 23px !important;
|
|
4971
|
+
left: 28px !important;
|
|
4972
|
+
right: auto !important;
|
|
4973
|
+
bottom: auto !important;
|
|
4974
|
+
display: flex !important;
|
|
4975
|
+
align-items: center;
|
|
4976
|
+
justify-content: center;
|
|
4977
|
+
box-sizing: border-box;
|
|
4978
|
+
min-width: 18px;
|
|
4979
|
+
height: 18px;
|
|
4980
|
+
padding: 0 4px !important;
|
|
4981
|
+
margin: 0 !important;
|
|
4982
|
+
background: var(--gl-white) !important;
|
|
4983
|
+
background-color: var(--gl-white) !important;
|
|
4984
|
+
color: var(--gl-black) !important;
|
|
4985
|
+
border: 2px solid var(--gl-black) !important;
|
|
4986
|
+
border-radius: 999px !important;
|
|
4932
4987
|
font-family: var(--gl-font-ui) !important;
|
|
4988
|
+
font-size: 11px !important;
|
|
4989
|
+
font-weight: var(--gl-w-bold, 700) !important;
|
|
4990
|
+
line-height: 1 !important;
|
|
4933
4991
|
font-style: normal !important;
|
|
4934
4992
|
}
|
|
4935
4993
|
|
|
@@ -6316,28 +6374,62 @@ body.type-detail .content-wrapper-in {
|
|
|
6316
6374
|
|
|
6317
6375
|
/* --- Responsive: tablet & mobile --- */
|
|
6318
6376
|
@media (max-width: 1023px) {
|
|
6377
|
+
/* Detail hlavička: desktop 2-sloupcový grid → mobil 1-sloupcový STACK přes flex+order.
|
|
6378
|
+
(grid-column reset nestačil: .col-lg-6.p-info-wrapper{grid-column:2} má vyšší
|
|
6379
|
+
specificitu než .p-info-wrapper{grid-column:1} → grid zůstával 2-col a překrýval se.) */
|
|
6319
6380
|
body.type-detail .p-detail-inner {
|
|
6320
|
-
|
|
6381
|
+
display: flex !important;
|
|
6382
|
+
flex-direction: column !important;
|
|
6321
6383
|
column-gap: 0 !important;
|
|
6384
|
+
row-gap: 0 !important;
|
|
6322
6385
|
}
|
|
6323
6386
|
body.type-detail .p-detail-inner > .p-detail-inner-header,
|
|
6387
|
+
body.type-detail .row.product-top > .col-xs-12,
|
|
6324
6388
|
body.type-detail .row.product-top > .col-xs-12:not(.col-lg-6),
|
|
6389
|
+
body.type-detail .row.product-top > .col-lg-6.p-image-wrapper,
|
|
6325
6390
|
body.type-detail .row.product-top > .p-image-wrapper,
|
|
6391
|
+
body.type-detail .row.product-top > .col-lg-6.p-info-wrapper,
|
|
6326
6392
|
body.type-detail .row.product-top > .p-info-wrapper {
|
|
6327
|
-
grid-column:
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6393
|
+
grid-column: auto !important;
|
|
6394
|
+
grid-row: auto !important;
|
|
6395
|
+
width: 100% !important;
|
|
6396
|
+
max-width: 100% !important;
|
|
6331
6397
|
}
|
|
6398
|
+
/* Pořadí: title → obrázek → značka/rating → cena+košík+dostupnost */
|
|
6332
6399
|
body.type-detail .p-detail-inner > .p-detail-inner-header {
|
|
6333
|
-
|
|
6334
|
-
margin
|
|
6400
|
+
order: 1 !important;
|
|
6401
|
+
margin: 0 0 16px !important;
|
|
6402
|
+
}
|
|
6403
|
+
body.type-detail .row.product-top > .col-lg-6.p-image-wrapper,
|
|
6404
|
+
body.type-detail .row.product-top > .p-image-wrapper {
|
|
6405
|
+
order: 2 !important;
|
|
6335
6406
|
}
|
|
6336
6407
|
body.type-detail .row.product-top > .col-xs-12:not(.col-lg-6) {
|
|
6337
|
-
|
|
6408
|
+
order: 3 !important;
|
|
6409
|
+
margin-top: 16px !important;
|
|
6338
6410
|
}
|
|
6411
|
+
body.type-detail .row.product-top > .col-lg-6.p-info-wrapper,
|
|
6339
6412
|
body.type-detail .row.product-top > .p-info-wrapper {
|
|
6340
|
-
|
|
6413
|
+
order: 4 !important;
|
|
6414
|
+
margin-top: 16px !important;
|
|
6415
|
+
}
|
|
6416
|
+
/* Obrázek na 1 řádek (plná šířka), náhledy pod ním (horizontálně) */
|
|
6417
|
+
body.type-detail .p-image-wrapper {
|
|
6418
|
+
flex-direction: column !important;
|
|
6419
|
+
}
|
|
6420
|
+
body.type-detail .p-image-wrapper .p-image { order: 1 !important; width: 100% !important; }
|
|
6421
|
+
body.type-detail .p-image-wrapper .p-thumbnails-wrapper {
|
|
6422
|
+
order: 2 !important;
|
|
6423
|
+
width: 100% !important;
|
|
6424
|
+
margin-top: 10px !important;
|
|
6425
|
+
}
|
|
6426
|
+
body.type-detail .p-image-wrapper .p-thumbnails,
|
|
6427
|
+
body.type-detail .p-image-wrapper .p-thumbnails-horizontal,
|
|
6428
|
+
body.type-detail .p-image-wrapper .p-thumbnails-inner {
|
|
6429
|
+
width: 100% !important;
|
|
6430
|
+
max-width: none !important;
|
|
6431
|
+
flex-direction: row !important;
|
|
6432
|
+
flex-wrap: wrap !important;
|
|
6341
6433
|
}
|
|
6342
6434
|
body.type-detail .benefitBanner.position--benefitProduct {
|
|
6343
6435
|
grid-template-columns: repeat(2, 1fr) !important;
|
|
@@ -6389,3 +6481,178 @@ body.type-detail .content-wrapper-in {
|
|
|
6389
6481
|
font-size: 22px !important;
|
|
6390
6482
|
}
|
|
6391
6483
|
}
|
|
6484
|
+
|
|
6485
|
+
/* ============================================================
|
|
6486
|
+
=== Review fixes 2 (košík popup, mobil logo, mobil drawer) ===
|
|
6487
|
+
============================================================ */
|
|
6488
|
+
|
|
6489
|
+
/* --- #2 Cart hover popup (#cart-widget) --- */
|
|
6490
|
+
/* Popup je position:absolute vůči body, vendor ho zarovnal na pravý okraj .container (1573),
|
|
6491
|
+
ale košík sahá až na gutter (vw - 60) → popup mířil "vedle". Zarovnat pravou hranu na gutter. */
|
|
6492
|
+
@media (min-width: 1024px) {
|
|
6493
|
+
#cart-widget.cart-widget,
|
|
6494
|
+
.user-action-cart.cart-widget {
|
|
6495
|
+
left: auto !important;
|
|
6496
|
+
right: var(--gl-gutter) !important;
|
|
6497
|
+
margin-left: 0 !important;
|
|
6498
|
+
}
|
|
6499
|
+
}
|
|
6500
|
+
/* Horizontální scrollbar pryč — vendor řádek (display:table) se roztahuje nad šířku */
|
|
6501
|
+
#cart-widget .cart-widget-products,
|
|
6502
|
+
.cart-widget .cart-widget-products {
|
|
6503
|
+
overflow-x: hidden !important;
|
|
6504
|
+
}
|
|
6505
|
+
#cart-widget .cart-widget-products-inner,
|
|
6506
|
+
#cart-widget .cart-widget-product {
|
|
6507
|
+
max-width: 100% !important;
|
|
6508
|
+
table-layout: fixed;
|
|
6509
|
+
}
|
|
6510
|
+
/* "Pokračovat do košíku" — vendor teal/gradient → černá (barva šablony) */
|
|
6511
|
+
#cart-widget .btn-conversion,
|
|
6512
|
+
#cart-widget a.btn-conversion,
|
|
6513
|
+
.cart-widget .btn.btn-conversion {
|
|
6514
|
+
background: var(--gl-black) !important;
|
|
6515
|
+
background-color: var(--gl-black) !important;
|
|
6516
|
+
background-image: none !important;
|
|
6517
|
+
color: var(--gl-white) !important;
|
|
6518
|
+
border: 0 !important;
|
|
6519
|
+
transition: background .15s !important;
|
|
6520
|
+
}
|
|
6521
|
+
#cart-widget .btn-conversion:hover,
|
|
6522
|
+
#cart-widget a.btn-conversion:hover,
|
|
6523
|
+
.cart-widget .btn.btn-conversion:hover {
|
|
6524
|
+
background: #1a1a1a !important;
|
|
6525
|
+
background-color: #1a1a1a !important;
|
|
6526
|
+
color: var(--gl-white) !important;
|
|
6527
|
+
}
|
|
6528
|
+
|
|
6529
|
+
@media (max-width: 1023px) {
|
|
6530
|
+
/* --- #7 Mobil logo — vendor dává .site-name { position:absolute; top:-50px }
|
|
6531
|
+
(mobile-header-version-1) → logo skočí na y=0 pod neprůhlednou top-navigation-bar.
|
|
6532
|
+
Vrátit do toku, ať se zobrazí v header-top. --- */
|
|
6533
|
+
header#header .site-name {
|
|
6534
|
+
position: static !important;
|
|
6535
|
+
top: auto !important;
|
|
6536
|
+
left: auto !important;
|
|
6537
|
+
}
|
|
6538
|
+
header#header .site-name-wrapper {
|
|
6539
|
+
display: flex;
|
|
6540
|
+
align-items: center;
|
|
6541
|
+
width: auto;
|
|
6542
|
+
height: auto;
|
|
6543
|
+
}
|
|
6544
|
+
|
|
6545
|
+
/* === #1 Sloučit logo + ikony do JEDNOHO řádku ===
|
|
6546
|
+
Dříve: topnav (fixed, ikony) řádek 1, header (logo) řádek 2 → 2 řádky.
|
|
6547
|
+
Řešení: zrušit rezervní padding-top → header na y=0; topnav transparentní overlay
|
|
6548
|
+
(ikony vpravo) ve stejném 56px řádku jako logo (header bílé pozadí pod ikonami). */
|
|
6549
|
+
.overall-wrapper { padding-top: 0 !important; }
|
|
6550
|
+
.top-navigation-bar {
|
|
6551
|
+
background: transparent !important;
|
|
6552
|
+
box-shadow: none !important;
|
|
6553
|
+
border: 0 !important;
|
|
6554
|
+
}
|
|
6555
|
+
.top-navigation-bar .container { pointer-events: none; }
|
|
6556
|
+
.top-navigation-bar .top-navigation-tools,
|
|
6557
|
+
.top-navigation-bar .responsive-tools,
|
|
6558
|
+
.top-navigation-bar .responsive-tools * { pointer-events: auto; }
|
|
6559
|
+
header#header .header-top { height: 56px; align-items: center; }
|
|
6560
|
+
/* Košík pill je v headeru, ale překrývá se s topnav ikonami a není v mobil designu → skrýt */
|
|
6561
|
+
header#header .navigation-buttons { display: none !important; }
|
|
6562
|
+
|
|
6563
|
+
/* === #5 Mobil drawer overlay ===
|
|
6564
|
+
header má z-index:50 (sticky → stacking context), drawer (z:200) je uvnitř → maluje
|
|
6565
|
+
na úrovni 50. Backdrop body::before (z:150) maluje PŘES celý header vč. draweru.
|
|
6566
|
+
Zvednout header nad backdrop, ALE udělat ho průhledný (jinak bílý header řádek leží
|
|
6567
|
+
nad overlayem) — viditelný zůstane jen drawer. Košík je už skrytý (nahoře). */
|
|
6568
|
+
body.navigation-window-visible header#header {
|
|
6569
|
+
z-index: 300 !important;
|
|
6570
|
+
background: transparent !important;
|
|
6571
|
+
}
|
|
6572
|
+
body.navigation-window-visible header#header .header-top,
|
|
6573
|
+
body.navigation-window-visible header#header .container.navigation-wrapper {
|
|
6574
|
+
background: transparent !important;
|
|
6575
|
+
}
|
|
6576
|
+
}
|
|
6577
|
+
|
|
6578
|
+
/* ============================================================
|
|
6579
|
+
=== Review fixes 3 (košík /kosik mobil) ===
|
|
6580
|
+
============================================================ */
|
|
6581
|
+
|
|
6582
|
+
/* --- #9 Černá linka pod menu: ol.cart-header active step má border-bottom 3px black
|
|
6583
|
+
a na mobilu je full-width (ostatní steps w=0) → černá čára přes celou šířku.
|
|
6584
|
+
Zrušit full-width border, podtrhnout jen text aktivního kroku. --- */
|
|
6585
|
+
@media (max-width: 1023px) {
|
|
6586
|
+
ol.cart-header > li.step.active,
|
|
6587
|
+
ol.cart-header > li.active {
|
|
6588
|
+
border-bottom: 0 !important;
|
|
6589
|
+
}
|
|
6590
|
+
ol.cart-header > li.active > strong > span,
|
|
6591
|
+
ol.cart-header > li.active > a > span {
|
|
6592
|
+
border-bottom: 2px solid var(--gl-fg-1);
|
|
6593
|
+
padding-bottom: 4px;
|
|
6594
|
+
}
|
|
6595
|
+
}
|
|
6596
|
+
|
|
6597
|
+
@media (max-width: 767px) {
|
|
6598
|
+
/* --- #8 Košík položka: remove (×) tlačítko bylo vendor 100×44 černé absolute →
|
|
6599
|
+
překrývalo "Součet". Udělat malé transparentní × v pravém horním rohu řádku. --- */
|
|
6600
|
+
table.cart-table tr.removeable { position: relative !important; }
|
|
6601
|
+
table.cart-table td.p-total {
|
|
6602
|
+
position: static !important;
|
|
6603
|
+
padding-right: 0 !important;
|
|
6604
|
+
}
|
|
6605
|
+
table.cart-table td.p-name { padding-right: 40px !important; } /* místo pro × vpravo nahoře */
|
|
6606
|
+
/* Vysoká specificita + background shorthand !important — vendor dává remove buttonu
|
|
6607
|
+
černé pozadí (background-color) které přebíjelo můj transparent. */
|
|
6608
|
+
#cart-wrapper table.cart-table tr.removeable td.p-total button.remove-item,
|
|
6609
|
+
#cart-wrapper table.cart-table tr.removeable button.remove-item,
|
|
6610
|
+
#cart-wrapper table.cart-table button.remove-item,
|
|
6611
|
+
table.cart-table td.p-total button.remove-item,
|
|
6612
|
+
table.cart-table button.remove-item {
|
|
6613
|
+
position: absolute !important;
|
|
6614
|
+
top: 14px !important;
|
|
6615
|
+
right: 0 !important;
|
|
6616
|
+
bottom: auto !important;
|
|
6617
|
+
left: auto !important;
|
|
6618
|
+
transform: none !important;
|
|
6619
|
+
width: 30px !important;
|
|
6620
|
+
height: 30px !important;
|
|
6621
|
+
min-width: 0 !important;
|
|
6622
|
+
padding: 0 !important;
|
|
6623
|
+
background-color: transparent !important;
|
|
6624
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23828282' stroke-width='1.5' stroke-linecap='round'><path d='M4 4l8 8M12 4l-8 8'/></svg>") !important;
|
|
6625
|
+
background-position: center !important;
|
|
6626
|
+
background-repeat: no-repeat !important;
|
|
6627
|
+
background-size: 16px 16px !important;
|
|
6628
|
+
border: 0 !important;
|
|
6629
|
+
box-shadow: none !important;
|
|
6630
|
+
color: transparent !important;
|
|
6631
|
+
font-size: 0 !important;
|
|
6632
|
+
}
|
|
6633
|
+
body.ordering-process table.cart-table button.remove-item:hover { opacity: .6; }
|
|
6634
|
+
|
|
6635
|
+
/* --- #8 Souhrn (Doprava zdarma / Celkem za zboží / tlačítka) na střed --- */
|
|
6636
|
+
#cart-wrapper .row.cart-row > .col-md-4,
|
|
6637
|
+
#cart-wrapper .row.cart-row > .col-md-4 .summary-wrapper,
|
|
6638
|
+
#cart-wrapper .cart-summary,
|
|
6639
|
+
#cart-wrapper .cart-summary .extras-wrapper,
|
|
6640
|
+
#cart-wrapper .cart-summary .extras-col {
|
|
6641
|
+
text-align: center !important;
|
|
6642
|
+
}
|
|
6643
|
+
/* extras-wrapper je grid (2 sloupce) → "Doprava zdarma" skončí v levém sloupci.
|
|
6644
|
+
Na mobilu block + full-width, ať centrování zabere. */
|
|
6645
|
+
#cart-wrapper .cart-summary .extras-wrapper {
|
|
6646
|
+
display: block !important;
|
|
6647
|
+
grid-template-columns: 1fr !important;
|
|
6648
|
+
}
|
|
6649
|
+
#cart-wrapper .cart-summary .extras-col { width: 100% !important; }
|
|
6650
|
+
#cart-wrapper .cart-summary .extras-wrap,
|
|
6651
|
+
#cart-wrapper .cart-summary [class*="free-shipping"],
|
|
6652
|
+
#cart-wrapper .cart-summary [class*="shipping"] {
|
|
6653
|
+
display: flex !important;
|
|
6654
|
+
justify-content: center !important;
|
|
6655
|
+
align-items: center !important;
|
|
6656
|
+
text-align: center !important;
|
|
6657
|
+
}
|
|
6658
|
+
}
|