container.css
78 lines
| 1 | /** |
| 2 | * Container layout flex |
| 3 | */ |
| 4 | .wp-block-columns { |
| 5 | width: 100%; |
| 6 | } |
| 7 | |
| 8 | .e-con--column, |
| 9 | .e-flex { |
| 10 | .wp-block-surecart-product-price-chooser .sc-choices { |
| 11 | display: var(--display); |
| 12 | flex-wrap: var(--flex-wrap); |
| 13 | justify-content: var(--justify-content); |
| 14 | align-items: var(--align-items); |
| 15 | align-content: var(--align-content); |
| 16 | flex-direction: var(--flex-direction); |
| 17 | gap: var(--gap); |
| 18 | flex-basis: initial; |
| 19 | flex-grow: 1; |
| 20 | flex-shrink: initial; |
| 21 | align-self: initial; |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * Container layout grid |
| 27 | */ |
| 28 | .e-con--row, |
| 29 | .e-flex { |
| 30 | .wp-block-surecart-product-price-chooser .sc-choices { |
| 31 | display: var(--display); |
| 32 | justify-items: var(--justify-items); |
| 33 | align-items: var(--align-items); |
| 34 | grid-template-columns: var(--e-con-grid-template-columns); |
| 35 | grid-template-rows: var(--e-con-grid-template-rows); |
| 36 | justify-content: var(--grid-justify-content); |
| 37 | align-content: var(--grid-align-content); |
| 38 | grid-auto-flow: var(--grid-auto-flow); |
| 39 | justify-items: var(--justify-items); |
| 40 | align-items: var(--align-items); |
| 41 | gap: var(--gap); |
| 42 | flex-direction: column; |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | .elementor-widget-n-product .elementor-widget-container a, |
| 47 | .elementor-widget-n-product a { |
| 48 | text-decoration: none; |
| 49 | } |
| 50 | |
| 51 | .wp-block-surecart-product-price-choice-template { |
| 52 | container-type: inline-size; |
| 53 | container-name: product-price-choice-template; |
| 54 | } |
| 55 | |
| 56 | .wp-block-surecart-product-price-choice-template |
| 57 | .wp-block-group.is-vertical.is-content-justification-right { |
| 58 | text-align: right; |
| 59 | } |
| 60 | |
| 61 | .wp-block-surecart-product-price-choice-template.is-layout-flex { |
| 62 | display: flex; |
| 63 | justify-content: space-between; |
| 64 | } |
| 65 | |
| 66 | /* Hide Elementor widget if the SureCart product selected price scratch amount is hidden */ |
| 67 | .elementor-widget-text-editor:has( |
| 68 | .wp-block-surecart-product-selected-price-scratch-amount[hidden] |
| 69 | ) { |
| 70 | display: none !important; |
| 71 | } |
| 72 | |
| 73 | /* Hide the icon in the busy state of the SureCart button link */ |
| 74 | .sc-button__link--busy .elementor-button-icon { |
| 75 | opacity: 0; |
| 76 | visibility: hidden; |
| 77 | } |
| 78 |