style.module.scss
73 lines
| 1 | .productRecommendation { |
| 2 | align-items: center; |
| 3 | background: var(--givewp-neutral-50); |
| 4 | color: var(--givewp-neutral-900); |
| 5 | display: flex; |
| 6 | font-size: 0.875rem; |
| 7 | gap: var(--givewp-spacing-3); |
| 8 | padding: var(--givewp-spacing-4); |
| 9 | width: 100%; |
| 10 | |
| 11 | |
| 12 | p { |
| 13 | margin: 0; |
| 14 | padding: 0; |
| 15 | font-weight: 500; |
| 16 | |
| 17 | span { |
| 18 | margin-right: var(--givewp-spacing-4); |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | a { |
| 23 | display: inline-flex; |
| 24 | gap: var(--givewp-spacing-2); |
| 25 | font-size: 0.875rem; |
| 26 | font-weight: 600; |
| 27 | } |
| 28 | |
| 29 | button { |
| 30 | display: flex; |
| 31 | align-items: center; |
| 32 | background: none; |
| 33 | border: none; |
| 34 | cursor: pointer; |
| 35 | padding: 0; |
| 36 | margin-left: auto; |
| 37 | margin-right: 1.375rem; |
| 38 | |
| 39 | img { |
| 40 | transform: scale(140%); |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | |
| 46 | @media (max-width: 1100px) { |
| 47 | .productRecommendation { |
| 48 | position: relative; |
| 49 | display: flex; |
| 50 | justify-content: center; |
| 51 | align-items: center; |
| 52 | flex-direction: column-reverse; |
| 53 | width: 100%; |
| 54 | text-align: center; |
| 55 | |
| 56 | a { |
| 57 | justify-content: center; |
| 58 | width: 100%; |
| 59 | text-align: center; |
| 60 | } |
| 61 | |
| 62 | button { |
| 63 | position: absolute; |
| 64 | top: 1rem; |
| 65 | right: 0; |
| 66 | } |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | .wp-die-message, p { |
| 71 | font-size: .875rem; |
| 72 | } |
| 73 |