galali-shoptet 1.0.5 → 1.0.6
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 +141 -20
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,7 +1129,7 @@ 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; }
|
|
@@ -1254,6 +1259,12 @@ main.content > .products.products-block > .product a.name {
|
|
|
1254
1259
|
letter-spacing: normal;
|
|
1255
1260
|
transition: text-decoration-color .15s;
|
|
1256
1261
|
text-decoration-color: transparent;
|
|
1262
|
+
/* Vendor dává fixní height 45px + overflow:hidden → 2řádkový název se ořezal.
|
|
1263
|
+
Povolit plnou výšku, min-height drží 2 řádky pro zarovnání cen v gridu. */
|
|
1264
|
+
height: auto !important;
|
|
1265
|
+
max-height: none !important;
|
|
1266
|
+
overflow: visible !important;
|
|
1267
|
+
min-height: 52px;
|
|
1257
1268
|
}
|
|
1258
1269
|
main.content > .products.products-block > .product a.name span {
|
|
1259
1270
|
font-size: inherit;
|
|
@@ -1321,11 +1332,12 @@ main.content > .products.products-block > .product .price-final strong {
|
|
|
1321
1332
|
main.content > .homepage-group-title { font-size: 40px; line-height: 42px; margin: 80px 0 32px; }
|
|
1322
1333
|
main.content > .homepage-products-heading-2 { margin-top: 60px; }
|
|
1323
1334
|
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; }
|
|
1335
|
+
main.content > .products.products-block > .product a.name { font-size: 18px; line-height: 22px; min-height: 44px; }
|
|
1325
1336
|
main.content > .products.products-block > .product .price-final { font-size: 18px; line-height: 22px; }
|
|
1326
1337
|
}
|
|
1327
1338
|
@media (max-width: 767px) {
|
|
1328
1339
|
main.content:not(.wide) { padding: 0 16px; }
|
|
1340
|
+
main.content > .products.products-block > .product a.name { min-height: 38px; }
|
|
1329
1341
|
main.content > .homepage-group-title { font-size: 28px; line-height: 30px; margin: 60px 0 24px; }
|
|
1330
1342
|
main.content > .homepage-products-heading-2 { margin-top: 48px; }
|
|
1331
1343
|
main.content > .products.products-block { grid-template-columns: repeat(2, 1fr); column-gap: 12px; row-gap: 24px; }
|
|
@@ -1402,17 +1414,17 @@ footer#footer.footer > .container.footer-bottom {
|
|
|
1402
1414
|
border: 0;
|
|
1403
1415
|
}
|
|
1404
1416
|
|
|
1405
|
-
/* --- Brand
|
|
1417
|
+
/* --- Brand sloupce: logo (sloupec 1) | kontakt email+tel (sloupec 2), vedle sebe --- */
|
|
1406
1418
|
footer#footer .footer-rows {
|
|
1407
1419
|
display: flex;
|
|
1408
|
-
flex-direction:
|
|
1409
|
-
gap:
|
|
1420
|
+
flex-direction: row;
|
|
1421
|
+
gap: 60px;
|
|
1410
1422
|
align-items: flex-start;
|
|
1411
1423
|
}
|
|
1412
1424
|
|
|
1413
|
-
/* Site-name (logo) —
|
|
1425
|
+
/* Site-name (logo) — sloupec 1 */
|
|
1414
1426
|
footer#footer .footer-rows .site-name {
|
|
1415
|
-
|
|
1427
|
+
flex: 0 0 auto;
|
|
1416
1428
|
margin: 0;
|
|
1417
1429
|
padding: 0;
|
|
1418
1430
|
}
|
|
@@ -1431,14 +1443,15 @@ footer#footer .footer-rows .site-name img {
|
|
|
1431
1443
|
filter: brightness(0) invert(1);
|
|
1432
1444
|
}
|
|
1433
1445
|
|
|
1434
|
-
/* Custom footer (kontakt) —
|
|
1446
|
+
/* Custom footer (kontakt email+tel) — sloupec 2, vedle loga */
|
|
1435
1447
|
footer#footer .footer-rows .custom-footer {
|
|
1436
|
-
|
|
1448
|
+
flex: 1 1 auto;
|
|
1437
1449
|
display: flex;
|
|
1438
1450
|
flex-direction: column;
|
|
1439
1451
|
align-items: stretch; /* fix: stretch children full width (Shoptet default je 'normal') */
|
|
1440
1452
|
gap: 18px;
|
|
1441
|
-
margin-top:
|
|
1453
|
+
margin-top: 0 !important;
|
|
1454
|
+
border-top: 0 !important; /* vendor dává 1px divider → pryč */
|
|
1442
1455
|
width: 100%;
|
|
1443
1456
|
color: var(--gl-white);
|
|
1444
1457
|
}
|
|
@@ -1673,10 +1686,18 @@ footer#footer .footer-bottom .copyright a.cookies-settings:focus-visible {
|
|
|
1673
1686
|
padding: 0 20px !important;
|
|
1674
1687
|
}
|
|
1675
1688
|
footer#footer.footer > .container.footer-bottom { padding: 24px 20px 0 !important; }
|
|
1689
|
+
/* Brand sloupce zpět na stack (logo nad kontaktem) */
|
|
1690
|
+
footer#footer .footer-rows { flex-direction: column; gap: 20px; }
|
|
1691
|
+
/* Logo — vendor ho na mobilu skrývá (display:none) → force zobrazit */
|
|
1692
|
+
footer#footer .footer-rows .site-name { display: block !important; }
|
|
1676
1693
|
footer#footer .footer-rows .site-name a { font-size: 28px; line-height: 30px; }
|
|
1694
|
+
footer#footer .footer-rows .custom-footer { width: 100%; }
|
|
1677
1695
|
footer#footer .footer-rows .custom-footer__contact .contact-box { font-size: 18px; }
|
|
1678
1696
|
footer#footer .footer-links-icons ul.footer-links li a { font-size: 18px; }
|
|
1679
1697
|
footer#footer .footer-bottom { flex-direction: column; align-items: flex-start; font-size: 12px; }
|
|
1698
|
+
/* Copyright + cookies pod sebou (ne vedle sebe) */
|
|
1699
|
+
footer#footer .footer-bottom .copyright { display: block; }
|
|
1700
|
+
footer#footer .footer-bottom .copyright a.cookies-settings { display: block; margin-top: 8px; }
|
|
1680
1701
|
}
|
|
1681
1702
|
|
|
1682
1703
|
/* ============================================ */
|
|
@@ -4919,17 +4940,37 @@ ol.cart-header > li a {
|
|
|
4919
4940
|
background: transparent !important;
|
|
4920
4941
|
}
|
|
4921
4942
|
|
|
4922
|
-
/* --- Cart counter badge (header):
|
|
4943
|
+
/* --- Cart counter badge (header): bílé kolečko s černým číslem, vpravo dole u ikony ---
|
|
4944
|
+
Pill je černý → černý badge by zmizel. Bílé kolečko = kontrast.
|
|
4945
|
+
Ikona košíku je vlevo (padding-left 18px, šířka 22px) → badge na její pravý-dolní roh. */
|
|
4923
4946
|
a.cart-count i,
|
|
4924
4947
|
a.cart-count i[data-testid="headerCartCount"],
|
|
4948
|
+
header#header .navigation-buttons a.cart-count i[data-testid="headerCartCount"],
|
|
4925
4949
|
[data-testid="headerCartCount"],
|
|
4926
4950
|
.cart-count .amount,
|
|
4927
4951
|
.cart-count .count {
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4952
|
+
position: absolute !important;
|
|
4953
|
+
top: 23px !important;
|
|
4954
|
+
left: 28px !important;
|
|
4955
|
+
right: auto !important;
|
|
4956
|
+
bottom: auto !important;
|
|
4957
|
+
display: flex !important;
|
|
4958
|
+
align-items: center;
|
|
4959
|
+
justify-content: center;
|
|
4960
|
+
box-sizing: border-box;
|
|
4961
|
+
min-width: 18px;
|
|
4962
|
+
height: 18px;
|
|
4963
|
+
padding: 0 4px !important;
|
|
4964
|
+
margin: 0 !important;
|
|
4965
|
+
background: var(--gl-white) !important;
|
|
4966
|
+
background-color: var(--gl-white) !important;
|
|
4967
|
+
color: var(--gl-black) !important;
|
|
4968
|
+
border: 2px solid var(--gl-black) !important;
|
|
4969
|
+
border-radius: 999px !important;
|
|
4932
4970
|
font-family: var(--gl-font-ui) !important;
|
|
4971
|
+
font-size: 11px !important;
|
|
4972
|
+
font-weight: var(--gl-w-bold, 700) !important;
|
|
4973
|
+
line-height: 1 !important;
|
|
4933
4974
|
font-style: normal !important;
|
|
4934
4975
|
}
|
|
4935
4976
|
|
|
@@ -6389,3 +6430,83 @@ body.type-detail .content-wrapper-in {
|
|
|
6389
6430
|
font-size: 22px !important;
|
|
6390
6431
|
}
|
|
6391
6432
|
}
|
|
6433
|
+
|
|
6434
|
+
/* ============================================================
|
|
6435
|
+
=== Review fixes 2 (košík popup, mobil logo, mobil drawer) ===
|
|
6436
|
+
============================================================ */
|
|
6437
|
+
|
|
6438
|
+
/* --- #2 Cart hover popup (#cart-widget) --- */
|
|
6439
|
+
/* Popup je position:absolute vůči body, vendor ho zarovnal na pravý okraj .container (1573),
|
|
6440
|
+
ale košík sahá až na gutter (vw - 60) → popup mířil "vedle". Zarovnat pravou hranu na gutter. */
|
|
6441
|
+
@media (min-width: 1024px) {
|
|
6442
|
+
#cart-widget.cart-widget,
|
|
6443
|
+
.user-action-cart.cart-widget {
|
|
6444
|
+
left: auto !important;
|
|
6445
|
+
right: var(--gl-gutter) !important;
|
|
6446
|
+
margin-left: 0 !important;
|
|
6447
|
+
}
|
|
6448
|
+
}
|
|
6449
|
+
/* Horizontální scrollbar pryč — vendor řádek (display:table) se roztahuje nad šířku */
|
|
6450
|
+
#cart-widget .cart-widget-products,
|
|
6451
|
+
.cart-widget .cart-widget-products {
|
|
6452
|
+
overflow-x: hidden !important;
|
|
6453
|
+
}
|
|
6454
|
+
#cart-widget .cart-widget-products-inner,
|
|
6455
|
+
#cart-widget .cart-widget-product {
|
|
6456
|
+
max-width: 100% !important;
|
|
6457
|
+
table-layout: fixed;
|
|
6458
|
+
}
|
|
6459
|
+
/* "Pokračovat do košíku" — vendor teal/gradient → černá (barva šablony) */
|
|
6460
|
+
#cart-widget .btn-conversion,
|
|
6461
|
+
#cart-widget a.btn-conversion,
|
|
6462
|
+
.cart-widget .btn.btn-conversion {
|
|
6463
|
+
background: var(--gl-black) !important;
|
|
6464
|
+
background-color: var(--gl-black) !important;
|
|
6465
|
+
background-image: none !important;
|
|
6466
|
+
color: var(--gl-white) !important;
|
|
6467
|
+
border: 0 !important;
|
|
6468
|
+
transition: background .15s !important;
|
|
6469
|
+
}
|
|
6470
|
+
#cart-widget .btn-conversion:hover,
|
|
6471
|
+
#cart-widget a.btn-conversion:hover,
|
|
6472
|
+
.cart-widget .btn.btn-conversion:hover {
|
|
6473
|
+
background: #1a1a1a !important;
|
|
6474
|
+
background-color: #1a1a1a !important;
|
|
6475
|
+
color: var(--gl-white) !important;
|
|
6476
|
+
}
|
|
6477
|
+
|
|
6478
|
+
@media (max-width: 1023px) {
|
|
6479
|
+
/* --- #7 Mobil logo — vendor dává .site-name { position:absolute; top:-50px }
|
|
6480
|
+
(mobile-header-version-1) → logo skočí na y=0 pod neprůhlednou top-navigation-bar.
|
|
6481
|
+
Vrátit do toku, ať se zobrazí v header-top. --- */
|
|
6482
|
+
header#header .site-name {
|
|
6483
|
+
position: static !important;
|
|
6484
|
+
top: auto !important;
|
|
6485
|
+
left: auto !important;
|
|
6486
|
+
}
|
|
6487
|
+
header#header .site-name-wrapper {
|
|
6488
|
+
display: flex;
|
|
6489
|
+
align-items: center;
|
|
6490
|
+
width: auto;
|
|
6491
|
+
height: auto;
|
|
6492
|
+
}
|
|
6493
|
+
|
|
6494
|
+
/* --- #1 Cart badge na mobilu — menší ikona (padding 8/12, icon 18px) → posun badge --- */
|
|
6495
|
+
header#header .navigation-buttons a.cart-count i[data-testid="headerCartCount"],
|
|
6496
|
+
a.cart-count i[data-testid="headerCartCount"] {
|
|
6497
|
+
top: 18px !important;
|
|
6498
|
+
left: 20px !important;
|
|
6499
|
+
min-width: 15px;
|
|
6500
|
+
height: 15px;
|
|
6501
|
+
font-size: 10px !important;
|
|
6502
|
+
border-width: 1.5px !important;
|
|
6503
|
+
}
|
|
6504
|
+
|
|
6505
|
+
/* --- #10 Mobil drawer overlay — header má z-index:50 (sticky → stacking context),
|
|
6506
|
+
drawer (z:200) je uvnitř → maluje na úrovni 50. Backdrop body::before (z:150) maluje PŘES
|
|
6507
|
+
celý header vč. draweru (a pointer-events:none obchází hit-test, proto vypadal "skrz").
|
|
6508
|
+
Zvednout header nad backdrop při otevřeném menu. --- */
|
|
6509
|
+
body.navigation-window-visible header#header {
|
|
6510
|
+
z-index: 300 !important;
|
|
6511
|
+
}
|
|
6512
|
+
}
|