mobile-panel.css
64 lines
| 1 | .sp-mobile-panel { |
| 2 | display: flex; |
| 3 | justify-content: space-around; |
| 4 | position: fixed; |
| 5 | bottom: 0; |
| 6 | background-color: #fff; |
| 7 | border-top: 1px solid #e5e5e5; |
| 8 | padding: 7px 0; |
| 9 | z-index: 999999; |
| 10 | width: 100%; |
| 11 | text-align: center; |
| 12 | height: 52px; |
| 13 | } |
| 14 | |
| 15 | .sp-mobile-panel a { |
| 16 | display: block; |
| 17 | text-decoration: none; |
| 18 | position: relative; |
| 19 | } |
| 20 | |
| 21 | .sp-mobile-panel a span { |
| 22 | position: absolute; |
| 23 | top: -2px; |
| 24 | right: -5px; |
| 25 | width: 14px; |
| 26 | height: 14px; |
| 27 | font-family: var(--ct-font-primary); |
| 28 | font-size: 7px; |
| 29 | font-weight: 400; |
| 30 | line-height: 14px; |
| 31 | color: #fff; |
| 32 | background: var(--ct-color-primary); |
| 33 | border-radius: 50%; |
| 34 | } |
| 35 | |
| 36 | .rtl .sp-mobile-panel a span { |
| 37 | right: unset; |
| 38 | left: -5px; |
| 39 | } |
| 40 | |
| 41 | |
| 42 | .sp-mobile-panel p { |
| 43 | margin-bottom: 0; |
| 44 | font-size: 10px; |
| 45 | font-weight: 500; |
| 46 | line-height: 1.15; |
| 47 | color: #000; |
| 48 | } |
| 49 | |
| 50 | @media (min-width: 769px) { |
| 51 | .sp-mobile-panel { |
| 52 | display: none; |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | @media (max-width: 769px) { |
| 57 | body.sp-active-mobile-panel .sp-sticky-add-to-cart { |
| 58 | bottom: 52px; |
| 59 | border-left: none; |
| 60 | border-right: none; |
| 61 | border-bottom: none; |
| 62 | } |
| 63 | } |
| 64 |