style.css
129 lines
| 1 | .sc-block-button__link { |
| 2 | cursor: pointer; |
| 3 | display: inline-block; |
| 4 | text-align: center; |
| 5 | word-break: break-word; |
| 6 | box-sizing: border-box !important; |
| 7 | width: 100%; |
| 8 | } |
| 9 | .sc-block-button__link.aligncenter { |
| 10 | text-align: center; |
| 11 | } |
| 12 | .sc-block-button__link.alignright { |
| 13 | /*rtl:ignore*/ |
| 14 | text-align: right; |
| 15 | } |
| 16 | :where(.sc-block-button__link) { |
| 17 | box-shadow: none; |
| 18 | text-decoration: none; |
| 19 | border-radius: 9999px; |
| 20 | padding: calc(0.667em + 2px) calc(1.333em + 2px); |
| 21 | } |
| 22 | .sc-block-button[style*="text-decoration"] .sc-block-button__link { |
| 23 | text-decoration: inherit; |
| 24 | } |
| 25 | .sc-block-buttons > .sc-block-button.has-custom-width { |
| 26 | max-width: none; |
| 27 | } |
| 28 | .sc-block-button.has-custom-width .sc-block-button__link { |
| 29 | width: 100%; |
| 30 | } |
| 31 | .sc-block-buttons > .sc-block-button.has-custom-font-size .sc-block-button__link { |
| 32 | font-size: inherit; |
| 33 | } |
| 34 | |
| 35 | .sc-block-buttons > .sc-block-button.has-custom-width { |
| 36 | width: 100%; |
| 37 | } |
| 38 | |
| 39 | .sc-block-button { |
| 40 | display: inline-block |
| 41 | } |
| 42 | |
| 43 | .sc-block-buttons > .sc-block-button.sc-block-button__width-25, |
| 44 | .sc-block-button.sc-block-button__width-25 { |
| 45 | width: calc(25% - (var(--wp--style--block-gap, 0.5em) * 0.75)); |
| 46 | } |
| 47 | |
| 48 | .sc-block-buttons > .sc-block-button.sc-block-button__width-50, |
| 49 | .sc-block-button.sc-block-button__width-50 { |
| 50 | width: calc(50% - (var(--wp--style--block-gap, 0.5em) * 0.5)); |
| 51 | } |
| 52 | |
| 53 | .sc-block-buttons > .sc-block-button.sc-block-button__width-75, |
| 54 | .sc-block-button.sc-block-button__width-75 { |
| 55 | width: calc(75% - (var(--wp--style--block-gap, 0.5em) * 0.25)); |
| 56 | } |
| 57 | |
| 58 | .sc-block-buttons > .sc-block-button.sc-block-button__width-100, |
| 59 | .sc-block-button.sc-block-button__width-100 { |
| 60 | width: 100%; |
| 61 | flex-basis: 100%; |
| 62 | } |
| 63 | .sc-block-buttons.is-vertical > .sc-block-button.sc-block-button__width-25 { |
| 64 | width: 25%; |
| 65 | } |
| 66 | .sc-block-buttons.is-vertical > .sc-block-button.sc-block-button__width-50 { |
| 67 | width: 50%; |
| 68 | } |
| 69 | .sc-block-buttons.is-vertical > .sc-block-button.sc-block-button__width-75 { |
| 70 | width: 75%; |
| 71 | } |
| 72 | .sc-block-button.is-style-squared, .sc-block-button__link.sc-block-button.is-style-squared { |
| 73 | border-radius: 0; |
| 74 | } |
| 75 | .sc-block-button.no-border-radius, .sc-block-button__link.no-border-radius { |
| 76 | border-radius: 0 !important; |
| 77 | } |
| 78 | .sc-block-button.is-style-outline > .sc-block-button__link, .sc-block-button .sc-block-button__link.is-style-outline { |
| 79 | border: 2px solid currentColor; |
| 80 | padding: 0.667em 1.333em; |
| 81 | } |
| 82 | .sc-block-button.is-style-outline > .sc-block-button__link:not(.has-text-color), .sc-block-button .sc-block-button__link.is-style-outline:not(.has-text-color) { |
| 83 | color: currentColor; |
| 84 | } |
| 85 | .sc-block-button.is-style-outline > .sc-block-button__link:not(.has-background), .sc-block-button .sc-block-button__link.is-style-outline:not(.has-background) { |
| 86 | background-color: transparent; |
| 87 | background-image: none; |
| 88 | } |
| 89 | .sc-block-button .sc-block-button__link:where(.has-border-color) { |
| 90 | border-width: initial; |
| 91 | } |
| 92 | .sc-block-button .sc-block-button__link:where([style*="border-top-color"]) { |
| 93 | border-top-width: initial; |
| 94 | } |
| 95 | .sc-block-button .sc-block-button__link:where([style*="border-right-color"]) { |
| 96 | border-right-width: initial; |
| 97 | } |
| 98 | .sc-block-button .sc-block-button__link:where([style*="border-bottom-color"]) { |
| 99 | border-bottom-width: initial; |
| 100 | } |
| 101 | .sc-block-button .sc-block-button__link:where([style*="border-left-color"]) { |
| 102 | border-left-width: initial; |
| 103 | } |
| 104 | .sc-block-button .sc-block-button__link:where([style*="border-style"]) { |
| 105 | border-width: initial; |
| 106 | } |
| 107 | .sc-block-button .sc-block-button__link:where([style*="border-top-style"]) { |
| 108 | border-top-width: initial; |
| 109 | } |
| 110 | .sc-block-button .sc-block-button__link:where([style*="border-right-style"]) { |
| 111 | border-right-width: initial; |
| 112 | } |
| 113 | .sc-block-button .sc-block-button__link:where([style*="border-bottom-style"]) { |
| 114 | border-bottom-width: initial; |
| 115 | } |
| 116 | .sc-block-button .sc-block-button__link:where([style*="border-left-style"]) { |
| 117 | border-left-width: initial; |
| 118 | } |
| 119 | |
| 120 | sc-product-price-modal { |
| 121 | position: fixed; |
| 122 | z-index: 9999999; |
| 123 | } |
| 124 | |
| 125 | /** Fix Flouc */ |
| 126 | sc-product-buy-button [disabled] { |
| 127 | display: none; |
| 128 | } |
| 129 |