galali-shoptet 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/style.css +90 -61
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "galali-shoptet",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Custom CSS for Galali Shoptet theme (designshop.galali.cz)",
5
5
  "main": "style.css",
6
6
  "style": "style.css",
package/style.css CHANGED
@@ -41,6 +41,27 @@ body {
41
41
  .menu-helper { display: none !important; }
42
42
  .navigationActions { display: none !important; }
43
43
 
44
+ /* === Pořadí sekcí homepage: banner → kategorie → produkty (sjednoceno se sqrl) === */
45
+ .overall-wrapper {
46
+ display: flex;
47
+ flex-direction: column;
48
+ }
49
+ /* Header + topnav + user-action default order 0 → zůstávají nahoře */
50
+ .overall-wrapper > .content-wrapper.homepage-box.before-carousel {
51
+ order: 10;
52
+ }
53
+ .overall-wrapper > .content-wrapper.homepage-box.welcome-wrapper {
54
+ order: 20;
55
+ }
56
+ /* Produktový wrapper (Akční zboží + Novinky) — bez id, bez homepage-box class */
57
+ .overall-wrapper > .content-wrapper.container:not(#content-wrapper):not(.homepage-box) {
58
+ order: 30;
59
+ }
60
+ /* Prázdný #content-wrapper schovat */
61
+ .overall-wrapper > #content-wrapper.content-wrapper.container {
62
+ display: none;
63
+ }
64
+
44
65
  /* ============================================ */
45
66
  /* === TOP PANEL (ustrip) === */
46
67
  /* ============================================ */
@@ -809,11 +830,11 @@ header#header nav#navigation ul.menu-level-3 > li > a:focus {
809
830
  padding: 0 40px 0 60px;
810
831
  gap: 20px;
811
832
  }
812
- .content-wrapper.homepage-box.before-carousel .extended-banner-title {
833
+ .content-wrapper.homepage-box.before-carousel .extended-banner-texts .extended-banner-title {
813
834
  font-size: 56px;
814
835
  line-height: 56px;
815
836
  }
816
- .content-wrapper.homepage-box.before-carousel .extended-banner-text {
837
+ .content-wrapper.homepage-box.before-carousel .extended-banner-texts .extended-banner-text {
817
838
  font-size: 20px;
818
839
  line-height: 24px;
819
840
  }
@@ -844,18 +865,19 @@ header#header nav#navigation ul.menu-level-3 > li > a:focus {
844
865
  padding: 32px 16px;
845
866
  gap: 16px;
846
867
  }
847
- .content-wrapper.homepage-box.before-carousel .extended-banner-title {
868
+ .content-wrapper.homepage-box.before-carousel .extended-banner-texts .extended-banner-title {
848
869
  font-size: 36px;
849
870
  line-height: 38px;
850
871
  }
851
- .content-wrapper.homepage-box.before-carousel .extended-banner-text {
872
+ .content-wrapper.homepage-box.before-carousel .extended-banner-texts .extended-banner-text {
852
873
  font-size: 16px;
853
874
  line-height: 20px;
854
875
  margin: 0;
855
876
  }
856
- .content-wrapper.homepage-box.before-carousel .extended-banner-link {
877
+ .content-wrapper.homepage-box.before-carousel .extended-banner-texts .extended-banner-link {
857
878
  height: 42px;
858
879
  font-size: 16px;
880
+ padding: 0 24px;
859
881
  }
860
882
  }
861
883
 
@@ -1236,16 +1258,47 @@ main.content > .products.products-block > .product .price-final strong {
1236
1258
  footer#footer.footer {
1237
1259
  background: var(--gl-black);
1238
1260
  color: var(--gl-white);
1239
- padding: 110px 0 100px;
1240
1261
  margin: 140px 0 0;
1262
+ padding: 110px 0 40px;
1241
1263
  font-family: var(--gl-font-body);
1242
1264
  font-size: 16px;
1243
1265
  border: 0;
1244
- /* grid overlay: footer-rows + footer-links-icons sdílí row 1, footer-bottom row 2 */
1245
- display: grid;
1246
- grid-template-columns: 1fr;
1247
- grid-template-rows: auto auto;
1248
- row-gap: 0;
1266
+ /* 2-col flex: brand (rows) | zákaznický servis (links-icons); bottom strip full width */
1267
+ display: flex;
1268
+ flex-wrap: wrap;
1269
+ align-items: flex-start;
1270
+ row-gap: 40px;
1271
+ }
1272
+ /* Sloupcové přiřazení sourozenců — footer.footer je flex parent */
1273
+ footer#footer > h2.sr-only {
1274
+ flex: 0 0 100%;
1275
+ order: 0;
1276
+ }
1277
+ footer#footer > .container.footer-rows {
1278
+ flex: 1 1 360px;
1279
+ max-width: 60%;
1280
+ margin: 0;
1281
+ padding-left: var(--gl-gutter);
1282
+ padding-right: 40px;
1283
+ box-sizing: border-box;
1284
+ order: 1;
1285
+ }
1286
+ footer#footer > .container.footer-links-icons {
1287
+ flex: 1 1 280px;
1288
+ max-width: 40%;
1289
+ margin: 0;
1290
+ padding-left: 40px;
1291
+ padding-right: var(--gl-gutter);
1292
+ box-sizing: border-box;
1293
+ order: 2;
1294
+ }
1295
+ footer#footer > .container.footer-bottom {
1296
+ flex: 0 0 100%;
1297
+ margin: 0;
1298
+ padding-left: var(--gl-gutter);
1299
+ padding-right: var(--gl-gutter);
1300
+ box-sizing: border-box;
1301
+ order: 3;
1249
1302
  }
1250
1303
 
1251
1304
  /* Reset Shoptet sr-only nadpisu */
@@ -1272,34 +1325,12 @@ footer#footer .container.footer-bottom {
1272
1325
  border: 0;
1273
1326
  }
1274
1327
 
1275
- /* Grid overlay: rows + links-icons share row 1; bottom = row 2 */
1276
- footer#footer > .container.footer-rows {
1277
- grid-row: 1;
1278
- grid-column: 1;
1279
- }
1280
- footer#footer > .container.footer-links-icons {
1281
- grid-row: 1;
1282
- grid-column: 1;
1283
- justify-self: end;
1284
- width: auto;
1285
- pointer-events: none; /* aby brand klikable elementy nepřekrývaly */
1286
- }
1287
- footer#footer > .container.footer-links-icons * {
1288
- pointer-events: auto;
1289
- }
1290
- footer#footer > .container.footer-bottom {
1291
- grid-row: 2;
1292
- grid-column: 1;
1293
- }
1294
-
1295
- /* --- Horní mřížka: brand block + custom-footer + footer-links ---
1296
- 2-col layout (Shoptet renderuje jen 2 obsahové bloky, ne sqrl 4) */
1328
+ /* --- Brand sloupec: logo nahoře, kontakt pod ním (1-col stack) --- */
1297
1329
  footer#footer .footer-rows {
1298
- display: grid;
1299
- grid-template-columns: minmax(360px, 1.4fr) minmax(0, 1fr);
1300
- column-gap: 80px;
1301
- row-gap: 40px;
1302
- align-items: start;
1330
+ display: flex;
1331
+ flex-direction: column;
1332
+ gap: 24px;
1333
+ align-items: flex-start;
1303
1334
  }
1304
1335
 
1305
1336
  /* Site-name (logo) — col 1, nahoře */
@@ -1359,7 +1390,7 @@ footer#footer .footer-rows .custom-footer__contact .contact-box {
1359
1390
  footer#footer .footer-rows .custom-footer__contact .contact-box ul {
1360
1391
  display: flex;
1361
1392
  flex-direction: column;
1362
- gap: 14px;
1393
+ gap: 18px;
1363
1394
  margin: 0;
1364
1395
  padding: 0;
1365
1396
  list-style: none;
@@ -1398,8 +1429,12 @@ footer#footer .footer-rows .custom-footer__contact .contact-box a:focus-visible
1398
1429
  outline-offset: 4px;
1399
1430
  }
1400
1431
 
1401
- /* Instagram blok (sociální) */
1432
+ /* Instagram blok (sociální) — Shoptet renderuje prázdný container.
1433
+ Skrýt, dokud admin nedoplní social linky. */
1402
1434
  footer#footer .footer-rows .custom-footer__instagram {
1435
+ display: none;
1436
+ }
1437
+ footer#footer .footer-rows .custom-footer__instagram.has-content {
1403
1438
  grid-column: 1 / 2;
1404
1439
  display: flex;
1405
1440
  gap: 12px;
@@ -1430,15 +1465,7 @@ footer#footer .footer-rows .custom-footer__instagram svg {
1430
1465
  filter: brightness(0) invert(1);
1431
1466
  }
1432
1467
 
1433
- /* --- Footer-links-icons — pravý sloupec (Zákaznický servis) ---
1434
- Pozicováno přes grid overlay (justify-self: end). Vlastní šířka, padding pravý. */
1435
- footer#footer .footer-links-icons {
1436
- margin: 0;
1437
- padding: 0 var(--gl-gutter);
1438
- width: auto;
1439
- max-width: 460px;
1440
- box-sizing: border-box;
1441
- }
1468
+ /* --- Footer-links-icons sloupec (vnitřní layout) --- */
1442
1469
  footer#footer .footer-links-icons::before {
1443
1470
  content: "Zákaznický servis";
1444
1471
  display: block;
@@ -1492,8 +1519,8 @@ footer#footer .footer-bottom {
1492
1519
  justify-content: space-between;
1493
1520
  flex-wrap: wrap;
1494
1521
  gap: 16px;
1495
- margin: 60px auto 0;
1496
- padding: 30px var(--gl-gutter) 0;
1522
+ margin: 60px 0 0;
1523
+ padding: 30px 0 0;
1497
1524
  border-top: 1px solid rgba(255, 255, 255, 0.15);
1498
1525
  color: var(--gl-fg-2);
1499
1526
  font-family: var(--gl-font-ui);
@@ -1550,21 +1577,23 @@ footer#footer .footer-bottom .copyright a.cookies-settings:focus-visible {
1550
1577
  /* Responsive footer */
1551
1578
  @media (max-width: 1279px) {
1552
1579
  footer#footer { padding: 80px 0 60px; margin-top: 100px; }
1553
- footer#footer .footer-rows { grid-template-columns: 1fr 1fr; row-gap: 32px; column-gap: 32px; }
1554
- footer#footer .footer-links-icons { margin-top: 32px; padding-left: var(--gl-gutter); padding-right: var(--gl-gutter); }
1555
- footer#footer .footer-bottom { margin-top: 40px; }
1580
+ footer#footer > .container.footer-rows { padding-left: var(--gl-gutter); padding-right: 32px; }
1581
+ footer#footer > .container.footer-links-icons { padding-left: 32px; padding-right: var(--gl-gutter); }
1582
+ footer#footer > .container.footer-bottom { margin-top: 32px; }
1556
1583
  }
1557
1584
  @media (max-width: 767px) {
1558
- footer#footer { padding: 60px 0 40px; margin-top: 80px; }
1559
- footer#footer .container.footer-rows,
1560
- footer#footer .container.footer-links-icons,
1561
- footer#footer .container.footer-bottom { padding: 0 16px; }
1562
- footer#footer .footer-rows { grid-template-columns: 1fr; row-gap: 24px; }
1585
+ footer#footer { padding: 60px 0 40px; margin-top: 80px; row-gap: 32px; }
1586
+ footer#footer > .container.footer-rows,
1587
+ footer#footer > .container.footer-links-icons,
1588
+ footer#footer > .container.footer-bottom {
1589
+ flex: 0 0 100%;
1590
+ max-width: 100%;
1591
+ padding: 0 16px;
1592
+ }
1563
1593
  footer#footer .footer-rows .site-name a { font-size: 28px; line-height: 30px; }
1564
1594
  footer#footer .footer-rows .custom-footer__contact .contact-box { font-size: 18px; }
1565
- footer#footer .footer-links-icons { margin-top: 24px; padding-left: 16px; padding-right: 16px; }
1566
1595
  footer#footer .footer-links-icons ul.footer-links li a { font-size: 18px; }
1567
- footer#footer .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 32px; padding: 24px 16px 0; font-size: 12px; }
1596
+ footer#footer .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 24px; padding: 24px 16px 0; font-size: 12px; }
1568
1597
  }
1569
1598
 
1570
1599
  /* ============================================ */