galali-shoptet 1.0.6 → 1.0.8
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 +176 -30
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -1134,10 +1134,11 @@ section.gutter .picto:focus-visible {
|
|
|
1134
1134
|
section.gutter .sec-title { font-size: 28px; line-height: 30px; }
|
|
1135
1135
|
section.gutter .sec-link { font-size: 14px; gap: 10px; }
|
|
1136
1136
|
section.gutter .sec-link svg { width: 14px; height: 14px; }
|
|
1137
|
-
|
|
1138
|
-
section.gutter .
|
|
1139
|
-
section.gutter .picto
|
|
1140
|
-
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; }
|
|
1141
1142
|
}
|
|
1142
1143
|
|
|
1143
1144
|
/* ============================================ */
|
|
@@ -1336,10 +1337,15 @@ main.content > .products.products-block > .product .price-final strong {
|
|
|
1336
1337
|
main.content > .products.products-block > .product .price-final { font-size: 18px; line-height: 22px; }
|
|
1337
1338
|
}
|
|
1338
1339
|
@media (max-width: 767px) {
|
|
1339
|
-
|
|
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; }
|
|
1340
1346
|
main.content > .products.products-block > .product a.name { min-height: 38px; }
|
|
1341
|
-
main.content > .homepage-group-title { font-size: 28px; line-height: 30px; margin:
|
|
1342
|
-
main.content > .homepage-products-heading-2 { margin-top:
|
|
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; }
|
|
1343
1349
|
main.content > .products.products-block { grid-template-columns: repeat(2, 1fr); column-gap: 12px; row-gap: 24px; }
|
|
1344
1350
|
main.content > .products.products-block > .product > .p { gap: 10px; }
|
|
1345
1351
|
main.content > .products.products-block > .product a.name { font-size: 15px; line-height: 19px; }
|
|
@@ -2056,6 +2062,17 @@ body:not(.in-index) .breadcrumbs-wrapper::after,
|
|
|
2056
2062
|
body:not(.in-index) .breadcrumbs-wrapper::before {
|
|
2057
2063
|
display: none !important;
|
|
2058
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
|
+
}
|
|
2059
2076
|
|
|
2060
2077
|
/* ============================================ */
|
|
2061
2078
|
/* === Kategorie (listing) === */
|
|
@@ -6357,28 +6374,62 @@ body.type-detail .content-wrapper-in {
|
|
|
6357
6374
|
|
|
6358
6375
|
/* --- Responsive: tablet & mobile --- */
|
|
6359
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.) */
|
|
6360
6380
|
body.type-detail .p-detail-inner {
|
|
6361
|
-
|
|
6381
|
+
display: flex !important;
|
|
6382
|
+
flex-direction: column !important;
|
|
6362
6383
|
column-gap: 0 !important;
|
|
6384
|
+
row-gap: 0 !important;
|
|
6363
6385
|
}
|
|
6364
6386
|
body.type-detail .p-detail-inner > .p-detail-inner-header,
|
|
6387
|
+
body.type-detail .row.product-top > .col-xs-12,
|
|
6365
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,
|
|
6366
6390
|
body.type-detail .row.product-top > .p-image-wrapper,
|
|
6391
|
+
body.type-detail .row.product-top > .col-lg-6.p-info-wrapper,
|
|
6367
6392
|
body.type-detail .row.product-top > .p-info-wrapper {
|
|
6368
|
-
grid-column:
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6393
|
+
grid-column: auto !important;
|
|
6394
|
+
grid-row: auto !important;
|
|
6395
|
+
width: 100% !important;
|
|
6396
|
+
max-width: 100% !important;
|
|
6372
6397
|
}
|
|
6398
|
+
/* Pořadí: title → obrázek → značka/rating → cena+košík+dostupnost */
|
|
6373
6399
|
body.type-detail .p-detail-inner > .p-detail-inner-header {
|
|
6374
|
-
|
|
6375
|
-
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;
|
|
6376
6406
|
}
|
|
6377
6407
|
body.type-detail .row.product-top > .col-xs-12:not(.col-lg-6) {
|
|
6378
|
-
|
|
6408
|
+
order: 3 !important;
|
|
6409
|
+
margin-top: 16px !important;
|
|
6379
6410
|
}
|
|
6411
|
+
body.type-detail .row.product-top > .col-lg-6.p-info-wrapper,
|
|
6380
6412
|
body.type-detail .row.product-top > .p-info-wrapper {
|
|
6381
|
-
|
|
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;
|
|
6382
6433
|
}
|
|
6383
6434
|
body.type-detail .benefitBanner.position--benefitProduct {
|
|
6384
6435
|
grid-template-columns: repeat(2, 1fr) !important;
|
|
@@ -6491,22 +6542,117 @@ body.type-detail .content-wrapper-in {
|
|
|
6491
6542
|
height: auto;
|
|
6492
6543
|
}
|
|
6493
6544
|
|
|
6494
|
-
/*
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
border
|
|
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;
|
|
6503
6554
|
}
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
|
|
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). */
|
|
6509
6568
|
body.navigation-window-visible header#header {
|
|
6510
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;
|
|
6511
6657
|
}
|
|
6512
6658
|
}
|