galali-shoptet 1.0.11 → 1.0.13

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 +239 -32
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "galali-shoptet",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
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
@@ -3279,7 +3279,7 @@ table.cart-table td.p-total {
3279
3279
  width: 160px;
3280
3280
  text-align: right;
3281
3281
  position: relative;
3282
- padding-right: 40px !important;
3282
+ padding-right: 0;
3283
3283
  }
3284
3284
  table.cart-table td.p-total strong.price-final {
3285
3285
  color: var(--gl-fg-1);
@@ -3289,24 +3289,27 @@ table.cart-table td.p-total strong.price-final {
3289
3289
  }
3290
3290
  table.cart-table td.p-total form.inline { display: inline-block; }
3291
3291
  table.cart-table td.p-total button.remove-item {
3292
- position: absolute;
3293
- right: 0;
3294
- top: 50%;
3295
- transform: translateY(-50%);
3296
- width: 32px;
3297
- height: 32px;
3298
- background: transparent;
3299
- border: none;
3292
+ /*! position: absolute; */
3293
+ /*! right: 0; */
3294
+ /*! top: 50%; */
3295
+ /*! transform: translateY(-50%); */
3296
+ /*! width: 32px; */
3297
+ /*! height: 32px; */
3298
+ /*! background: transparent; */
3299
+ /*! border: none; */
3300
3300
  cursor: pointer;
3301
- padding: 0;
3302
- transition: opacity .15s;
3303
- 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>");
3304
- background-position: center;
3305
- background-repeat: no-repeat;
3306
- background-size: 16px 16px;
3301
+ /*! padding: 0; */
3302
+ /*! transition: opacity .15s; */
3303
+ /*! 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>"); */
3304
+ /*! background-position: center; */
3305
+ /*! background-repeat: no-repeat; */
3306
+ /*! background-size: 16px 16px; */
3307
+ min-width: 0;
3308
+ border: 1px solid black;
3309
+ margin-left: 5px;
3307
3310
  }
3308
3311
  table.cart-table td.p-total button.remove-item:hover {
3309
- opacity: .6;
3312
+ opacity: 1;
3310
3313
  }
3311
3314
  table.cart-table td.p-total button.remove-item:focus-visible {
3312
3315
  outline: 2px solid var(--gl-fg-1);
@@ -3339,8 +3342,7 @@ table.cart-table td.p-total button.remove-item .sr-only {
3339
3342
  background: transparent;
3340
3343
  }
3341
3344
  .cart-summary .extras-wrapper {
3342
- display: grid;
3343
- grid-template-columns: 1fr 1fr;
3345
+ display: flex;
3344
3346
  gap: 24px;
3345
3347
  align-items: start;
3346
3348
  }
@@ -3357,7 +3359,7 @@ table.cart-table td.p-total button.remove-item .sr-only {
3357
3359
  display: flex;
3358
3360
  align-items: center;
3359
3361
  gap: 10px;
3360
- padding: 14px 18px;
3362
+ padding: 14px 18px 14px 56px;
3361
3363
  background: var(--gl-paper-2);
3362
3364
  border: 1px solid var(--gl-divider);
3363
3365
  color: var(--gl-fg-1);
@@ -3371,6 +3373,8 @@ table.cart-table td.p-total button.remove-item .sr-only {
3371
3373
  height: 22px;
3372
3374
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none' stroke='black' stroke-width='1.4'><path d='M2 6h11v8H2z'/><path d='M13 9h4l3 3v2h-7'/><circle cx='6' cy='16' r='1.8'/><circle cx='16' cy='16' r='1.8'/></svg>") center/contain no-repeat;
3373
3375
  flex-shrink: 0;
3376
+ margin-top: -13px;
3377
+ margin-left: 20px;
3374
3378
  }
3375
3379
  .cart-summary .extra.delivery span { display: inline; }
3376
3380
  .cart-summary .extra.delivery strong {
@@ -3395,7 +3399,7 @@ table.cart-table td.p-total button.remove-item .sr-only {
3395
3399
  .sidebar-in-cart .box-bg-default {
3396
3400
  padding: 24px;
3397
3401
  margin: 0;
3398
- background: var(--gl-paper-2);
3402
+ background: white;
3399
3403
  border: 1px solid var(--gl-divider);
3400
3404
  border-radius: 0;
3401
3405
  box-shadow: none;
@@ -3596,11 +3600,7 @@ body.in-kosik main#content > h1 {
3596
3600
  }
3597
3601
 
3598
3602
  /* HLEDAT button v search formách — kompletní override (purple → black) */
3599
- button.btn-default[type="submit"],
3600
- button[type="submit"].btn-default,
3601
- button[type="submit"].btn-primary,
3602
- button[type="submit"][value="Hledat"],
3603
- form button[type="submit"]:not(#orderFormButton):not(.btn-conversion):not(.add-to-cart) {
3603
+ button.btn-default[type="submit"], button[type="submit"].btn-default, button[type="submit"].btn-primary, button[type="submit"][value="Hledat"] {
3604
3604
  background: var(--gl-black) !important;
3605
3605
  background-image: none !important;
3606
3606
  color: var(--gl-white) !important;
@@ -3969,12 +3969,26 @@ body.ordering-process .form-control:focus-visible {
3969
3969
  border-radius: 50%;
3970
3970
  transition: border-color .15s, background .15s;
3971
3971
  flex-shrink: 0;
3972
+ left: 16px;
3973
+ }
3974
+ :where(.ums_forms_redesign--off) input[type=checkbox]+label, :where(.ums_forms_redesign--off) input[type=radio]+label
3975
+ {
3976
+ display: inline-block;
3977
+ line-height: 20px !important;
3978
+ margin-right: 15px !important;
3979
+ padding-left: 21px !important;
3980
+ position: relative;
3981
+ padding-bottom: 14px !important;
3982
+ padding-top: 14px !important;
3972
3983
  }
3973
3984
  .shipping-billing-table .radio-wrapper.active label::before,
3974
3985
  .shipping-billing-table .radio-wrapper:has(input:checked) label::before {
3975
3986
  background: radial-gradient(var(--gl-fg-1) 0 6px, var(--gl-white) 7px 100%);
3976
3987
  border-color: var(--gl-fg-1);
3977
3988
  }
3989
+ .shipping-billing-table .radio-wrapper.active label::after, .shipping-billing-table .radio-wrapper:has(input:checked) label::after {
3990
+ display:none;
3991
+ }
3978
3992
  .shipping-billing-table .radio-wrapper:focus-within label::before {
3979
3993
  outline: 2px solid var(--gl-fg-1);
3980
3994
  outline-offset: 4px;
@@ -4115,7 +4129,7 @@ body.ordering-process .form-control:focus-visible {
4115
4129
  box-sizing: border-box;
4116
4130
  padding: 24px;
4117
4131
  margin: 0;
4118
- background: var(--gl-paper-2);
4132
+ background: white;
4119
4133
  border: 1px solid var(--gl-divider);
4120
4134
  border-radius: 0;
4121
4135
  box-shadow: none;
@@ -4143,11 +4157,13 @@ body.ordering-process .form-control:focus-visible {
4143
4157
  .cart-item {
4144
4158
  display: grid;
4145
4159
  grid-template-columns: 1fr auto auto;
4146
- gap: 12px;
4147
- padding: 8px 0;
4160
+ gap: 0;
4161
+ padding: 0px 0;
4148
4162
  align-items: baseline;
4149
4163
  font-family: var(--gl-font-ui);
4150
4164
  font-size: 14px;
4165
+ align-items: stretch;
4166
+ margin-bottom: -1px;
4151
4167
  }
4152
4168
  .cart-item + .cart-item {
4153
4169
  border-top: 1px solid var(--gl-divider);
@@ -4418,6 +4434,179 @@ button.btn-conversion:focus-visible {
4418
4434
  outline-offset: 3px;
4419
4435
  }
4420
4436
 
4437
+ /* === Krok-2 (informace o vás) — opravy zarovnání desktop === */
4438
+
4439
+ /* 1) Sekční heading (Osobní údaje / Fakturační adresa / …) — vendor dává
4440
+ `margin-left:-120px; padding-left:120px` + absolutní ::before ikonu v levém
4441
+ gutteru (mimo kartu). Tyhle h4 NEmají class `.order-icon`, takže je moje
4442
+ `.box h4.order-icon` pravidla míjela. Normalizuj na inline heading s ikonou. */
4443
+ body.ordering-process .cart-content fieldset > h4 {
4444
+ display: flex;
4445
+ align-items: center;
4446
+ gap: 12px;
4447
+ margin: 0 0 24px !important;
4448
+ margin-left: 0 !important;
4449
+ padding: 0 0 16px !important;
4450
+ padding-left: 0 !important;
4451
+ position: static !important;
4452
+ border-bottom: 1px solid var(--gl-divider);
4453
+ background: transparent !important;
4454
+ background-image: none !important;
4455
+ color: var(--gl-fg-1);
4456
+ font-family: var(--gl-font-ui);
4457
+ font-size: 14px;
4458
+ font-weight: var(--gl-w-medium);
4459
+ text-transform: uppercase;
4460
+ letter-spacing: 0.08em;
4461
+ }
4462
+ body.ordering-process .cart-content fieldset > h4::before {
4463
+ content: "" !important;
4464
+ display: inline-flex !important;
4465
+ position: static !important;
4466
+ left: auto !important;
4467
+ top: auto !important;
4468
+ flex-shrink: 0;
4469
+ width: 28px !important;
4470
+ height: 28px !important;
4471
+ margin: 0 !important;
4472
+ border-radius: 50% !important;
4473
+ background-color: var(--gl-paper-3) !important;
4474
+ background-repeat: no-repeat !important;
4475
+ background-position: center !important;
4476
+ background-size: 16px 16px !important;
4477
+ /* default: osoba */
4478
+ 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='black' stroke-width='1.3'><circle cx='8' cy='5' r='2.4'/><path d='M3.4 13c0-2.5 2-4.2 4.6-4.2s4.6 1.7 4.6 4.2'/></svg>") !important;
4479
+ }
4480
+ body.ordering-process .cart-content fieldset > h4::after { content: none !important; display: none !important; }
4481
+ /* Fakturační / doručovací adresa → pin ikona (vyšší specificita než base rule) */
4482
+ body.ordering-process .cart-content fieldset > h4.header-billing::before,
4483
+ body.ordering-process .cart-content fieldset > h4.header-delivery::before,
4484
+ body.ordering-process .cart-content fieldset > h4.header-shipping::before {
4485
+ 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='black' stroke-width='1.3'><path d='M8 1.6c2.2 0 4 1.8 4 4 0 3-4 8.4-4 8.4S4 8.6 4 5.6c0-2.2 1.8-4 4-4z'/><circle cx='8' cy='5.6' r='1.5'/></svg>") !important;
4486
+ }
4487
+
4488
+ /* 2) Karty sekcí — sjednotit šířku + zarovnání. Billing/delivery fieldset nemá
4489
+ `.co-box`, takže moje `.box.co-box` karta ho míjela → bez rámečku, odsazený
4490
+ (x220 vs x100). `:has(> h4)` cílí jen sekce s headingem (ne prázdné boxy). */
4491
+ body.ordering-process .cart-content fieldset:has(> h4) {
4492
+ box-sizing: border-box;
4493
+ width: 100% !important;
4494
+ max-width: none !important;
4495
+ margin: 0 0 24px !important;
4496
+ padding: 28px 32px !important;
4497
+ background: var(--gl-white);
4498
+ border: 1px solid var(--gl-divider);
4499
+ border-radius: 0;
4500
+ box-shadow: none;
4501
+ }
4502
+
4503
+ /* 2b) Wrapper `div.co-box` (co-billing-address / co-delivery-address) má vendor
4504
+ `padding-left:120px` (rezerva pro starou gutter ikonu) → odsazuje fieldset kartu
4505
+ na x220/w1085 místo x100/w1285. Ikony jsou teď inline → gutter zrušit. */
4506
+ body.ordering-process .cart-content div.co-box,
4507
+ body.ordering-process .cart-content div.co-billing-address,
4508
+ body.ordering-process .cart-content div.co-delivery-address {
4509
+ padding-left: 0 !important;
4510
+ padding-right: 0 !important;
4511
+ margin-left: 0 !important;
4512
+ }
4513
+
4514
+ /* 3) Telefon input — vendor `.phone-combined-input` je shrink-fit (max-width:217px),
4515
+ tel input jen 129px. Roztáhnout na plnou šířku form-group. */
4516
+ body.ordering-process .phone-combined-input {
4517
+ width: 100% !important;
4518
+ max-width: none !important;
4519
+ gap: 8px;
4520
+ }
4521
+ body.ordering-process .phone-combined-input .country-flags { flex: 0 0 auto !important; }
4522
+ body.ordering-process .phone-combined-input input.form-control,
4523
+ body.ordering-process .phone-combined-input input[type="tel"],
4524
+ body.ordering-process .phone-combined-input input.js-phone-form-control {
4525
+ flex: 1 1 auto !important;
4526
+ width: auto !important;
4527
+ min-width: 0 !important;
4528
+ }
4529
+
4530
+ /* 4) Checkbox přes text — `company-shopping` label má padding-left:0, absolutní
4531
+ checkbox (20px) tak leze do textu "Nakupuji na firmu". Odsadit label. */
4532
+ body.ordering-process .form-group.company-shopping label,
4533
+ body.ordering-process label[for="company-shopping"],
4534
+ body.ordering-process label[for="add-note"],
4535
+ body.ordering-process label[for="set-registration"] {
4536
+ padding-left: 30px !important;
4537
+ position: relative;
4538
+ cursor: pointer;
4539
+ }
4540
+
4541
+ /* 5) Objednat button — skutečné id je `#submit-order.next-step-finish`
4542
+ (ne #orderFormButton). Má 2 řádky ("Objednat" + "s povinností platby") ve
4543
+ fixní výšce 52px → text přetéká. Column layout + auto výška + bez šipky. */
4544
+ body.ordering-process button#submit-order,
4545
+ body.ordering-process button.btn-conversion.next-step-finish,
4546
+ button.btn-conversion.next-step-finish {
4547
+ display: flex !important;
4548
+ flex-direction: column !important;
4549
+ align-items: center !important;
4550
+ justify-content: center !important;
4551
+ gap: 2px !important;
4552
+ height: auto !important;
4553
+ min-height: 60px !important;
4554
+ padding: 12px 24px !important;
4555
+ line-height: 1.15 !important;
4556
+ }
4557
+ body.ordering-process button#submit-order::after,
4558
+ button.btn-conversion.next-step-finish::after {
4559
+ content: none !important;
4560
+ display: none !important;
4561
+ }
4562
+ body.ordering-process button#submit-order .order-button-text,
4563
+ button.next-step-finish .order-button-text {
4564
+ font-size: 19px !important;
4565
+ font-weight: var(--gl-w-medium) !important;
4566
+ text-transform: uppercase !important;
4567
+ letter-spacing: 0.08em !important;
4568
+ line-height: 2.1 !important;
4569
+ }
4570
+ body.ordering-process button#submit-order .order-button-suffix,
4571
+ button.next-step-finish .order-button-suffix {
4572
+ font-size: 11px !important;
4573
+ font-weight: var(--gl-w-regular, 400) !important;
4574
+ text-transform: none !important;
4575
+ letter-spacing: 0.02em !important;
4576
+ line-height: 1.1 !important;
4577
+ opacity: 0.82;
4578
+ }
4579
+
4580
+ /* 6) Validační hlášky — vendor `.js-validator-msg.msg-error` má `margin: 5px 0 5px 175px`
4581
+ (175px levý odsazení z inline layoutu) → hláška odsazená ~175px vpravo od levé hrany
4582
+ pole. Ve stacked layoutu zarovnat pod pole (label/input left). */
4583
+ body.ordering-process .js-validator-msg,
4584
+ body.ordering-process .js-validator-msg.msg-error,
4585
+ body.ordering-process div.msg-error {
4586
+ margin: 6px 0 2px !important;
4587
+ padding: 0 !important;
4588
+ font-family: var(--gl-font-ui) !important;
4589
+ font-size: 13px !important;
4590
+ line-height: 1.4 !important;
4591
+ color: #d33a36 !important;
4592
+ }
4593
+ /* Invalid inputy — vendor dává `.error-field`/`.js-error-field`, ale moje generické
4594
+ input pravidlo drží černý border → uživatel nepozná chybné pole. Červený rámeček. */
4595
+ body.ordering-process input.error-field,
4596
+ body.ordering-process input.js-error-field,
4597
+ body.ordering-process .error-field.form-control,
4598
+ body.ordering-process select.error-field,
4599
+ body.ordering-process textarea.error-field,
4600
+ body.ordering-process .js-error-field.form-control {
4601
+ border-color: #d33a36 !important;
4602
+ box-shadow: 0 0 0 1px rgba(211, 58, 54, .18) !important;
4603
+ }
4604
+ body.ordering-process input.error-field:focus,
4605
+ body.ordering-process input.js-error-field:focus {
4606
+ border-color: #d33a36 !important;
4607
+ box-shadow: 0 0 0 2px rgba(211, 58, 54, .22) !important;
4608
+ }
4609
+
4421
4610
  /* Back step link */
4422
4611
  .next-step .next-step-back,
4423
4612
  .next-step a.next-step-back,
@@ -5930,6 +6119,11 @@ body.type-detail span.quantity button.decrease {
5930
6119
  transition: background-color .15s, color .15s;
5931
6120
  flex: 0 0 auto !important;
5932
6121
  }
6122
+ body.type-detail span.quantity button.increase:before,
6123
+ body.type-detail span.quantity button.decrease:before {
6124
+ content: none !important;
6125
+ display: none !important;
6126
+ }
5933
6127
  body.type-detail span.quantity button.decrease { order: 1; border-right: 1px solid var(--gl-stroke-1) !important; }
5934
6128
  body.type-detail span.quantity button.increase { order: 3; border-left: 1px solid var(--gl-stroke-1) !important; }
5935
6129
  body.type-detail span.quantity button.increase:hover,
@@ -6511,6 +6705,8 @@ body.type-detail .content-wrapper-in {
6511
6705
  #cart-widget .cart-widget-products,
6512
6706
  .cart-widget .cart-widget-products {
6513
6707
  overflow-x: hidden !important;
6708
+ padding-left:5px !important;
6709
+ padding-right:5px !important;
6514
6710
  }
6515
6711
  #cart-widget .cart-widget-products-inner,
6516
6712
  #cart-widget .cart-widget-product {
@@ -6875,7 +7071,7 @@ body.type-detail span.quantity input[type="number"]::-webkit-outer-spin-button {
6875
7071
  #cart-widget .cart-widget-product {
6876
7072
  display: flex !important;
6877
7073
  align-items: center;
6878
- gap: 14px;
7074
+ gap: 11px;
6879
7075
  width: 100% !important;
6880
7076
  box-sizing: border-box;
6881
7077
  padding: 4px 0;
@@ -6924,19 +7120,29 @@ body.type-detail span.quantity input[type="number"]::-webkit-outer-spin-button {
6924
7120
  #cart-widget .cart-widget-product-delete {
6925
7121
  order: 4;
6926
7122
  flex: 0 0 auto;
7123
+ visibility: visible !important;
6927
7124
  }
6928
7125
  /* Kompaktní stepper ve widgetu (override detail leak) */
6929
7126
  #cart-widget span.quantity {
6930
- height: 32px !important;
7127
+ height: 35px !important;
6931
7128
  border: 1px solid var(--gl-stroke-1) !important;
6932
7129
  width: auto !important;
7130
+ overflow: hidden;
7131
+ }
7132
+ .quantity-form .quantity {
7133
+ padding-right: 34px !important;
6933
7134
  }
6934
7135
  #cart-widget span.quantity button.increase,
6935
7136
  #cart-widget span.quantity button.decrease {
6936
- width: 26px !important;
7137
+ width: 17px !important;
6937
7138
  min-width: 26px !important;
6938
- height: 30px !important;
7139
+ height: 16px !important;
6939
7140
  font-size: 14px !important;
7141
+ display: block;
7142
+ margin: 0 !important;
7143
+ }
7144
+ .quantity-form .quantity .decrease {
7145
+ top: 16px !important;
6940
7146
  }
6941
7147
  #cart-widget span.quantity > label,
6942
7148
  #cart-widget span.quantity input.amount,
@@ -7180,3 +7386,4 @@ body.type-search .products.products-block .product .add-to-cart {
7180
7386
  body.type-search .products.products-block .product a.name { font-size: 14px; line-height: 18px; min-height: 36px; }
7181
7387
  body.type-search .products.products-block .product .price.price-final { font-size: 14px; }
7182
7388
  }
7389
+