icons
4 years ago
authorizenet.scss
4 years ago
currencyswitcher.scss
4 years ago
feerecovery.scss
4 years ago
ffm.scss
4 years ago
form.scss
3 years ago
legacy-consumer.scss
4 years ago
mixins.scss
4 years ago
newsletter.scss
4 years ago
paypal-commerce.scss
4 years ago
receipt.scss
3 years ago
recurring.scss
4 years ago
square.scss
4 years ago
tributes.scss
3 years ago
util.scss
4 years ago
receipt.scss
273 lines
| 1 | @import 'util'; |
| 2 | |
| 3 | .receipt { |
| 4 | .checkmark { |
| 5 | display: flex; |
| 6 | justify-content: center; |
| 7 | align-items: center; |
| 8 | margin: 50px auto 0 auto; |
| 9 | height: 60px; |
| 10 | width: 60px; |
| 11 | border-radius: 50%; |
| 12 | border: 7px solid rgb(36, 179, 71); |
| 13 | color: rgb(36, 179, 71); |
| 14 | font-size: 42px; |
| 15 | |
| 16 | @media screen and (max-width: $break-phone) { |
| 17 | margin: 38px auto 0 auto; |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | .error_icon { |
| 22 | @extend .checkmark; |
| 23 | border: 7px solid #c91f1f; |
| 24 | color: #c91f1f; |
| 25 | } |
| 26 | |
| 27 | .headline { |
| 28 | margin-top: 30px; |
| 29 | margin-bottom: 10px; |
| 30 | margin-left: 10px; |
| 31 | margin-right: 10px; |
| 32 | text-align: center; |
| 33 | } |
| 34 | |
| 35 | .message { |
| 36 | margin-top: 10px; |
| 37 | max-width: 80%; |
| 38 | text-align: center; |
| 39 | @media screen and (max-width: $break-phone) { |
| 40 | margin-top: 5px; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | .social-sharing { |
| 45 | display: flex; |
| 46 | flex-direction: column; |
| 47 | background: #fbfbfb; |
| 48 | border-top: 1px solid #f2f2f2; |
| 49 | border-bottom: 1px solid #f2f2f2; |
| 50 | padding: 24px 20px 26px 20px; |
| 51 | margin-left: 0; |
| 52 | margin-right: 0; |
| 53 | margin-top: 28px; |
| 54 | |
| 55 | @media screen and (max-width: $break-phone) { |
| 56 | padding: 12px 20px 14px 20px; |
| 57 | margin-top: 6px; |
| 58 | } |
| 59 | |
| 60 | .instruction { |
| 61 | margin: 0 0 14px 0; |
| 62 | line-height: 1.5; |
| 63 | grid-column: span 2; |
| 64 | font-size: 13px; |
| 65 | color: #767676; |
| 66 | text-align: center; |
| 67 | |
| 68 | @media screen and (max-width: $break-phone) { |
| 69 | margin: 0 24px 0 24px; |
| 70 | font-size: 15px; |
| 71 | line-height: 1.5; |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | .btn-row { |
| 76 | margin-top: 9px; |
| 77 | display: flex; |
| 78 | align-items: center; |
| 79 | margin-right: auto; |
| 80 | margin-left: auto; |
| 81 | |
| 82 | @media screen and (max-width: $break-phone) { |
| 83 | flex-direction: column; |
| 84 | align-items: stretch; |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | .social-btn { |
| 89 | display: flex; |
| 90 | align-items: center; |
| 91 | font-size: 16px; |
| 92 | padding: 14px 27px; |
| 93 | margin: 0 14px; |
| 94 | border: none !important; |
| 95 | |
| 96 | @media screen and (max-width: $break-phone) { |
| 97 | margin: 6px 0; |
| 98 | } |
| 99 | |
| 100 | > i { |
| 101 | margin-left: 12px; |
| 102 | font-size: 22px; |
| 103 | } |
| 104 | |
| 105 | &.facebook-btn { |
| 106 | background-color: #3b5998 !important; |
| 107 | transition: background-color 0.2s ease; |
| 108 | |
| 109 | &:hover { |
| 110 | background-color: #4668b1 !important; |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | &.twitter-btn { |
| 115 | background-color: #00acee !important; |
| 116 | transition: background-color 0.2s ease; |
| 117 | |
| 118 | &:hover { |
| 119 | background-color: #00b7ff !important; |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | &:first-of-type { |
| 124 | margin-left: 0; |
| 125 | } |
| 126 | |
| 127 | &:last-of-type { |
| 128 | margin-right: 0; |
| 129 | } |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | .details { |
| 134 | margin: 0 24px; |
| 135 | |
| 136 | .headline { |
| 137 | margin-top: 24px !important; |
| 138 | margin-bottom: 18px !important; |
| 139 | font-size: 16px; |
| 140 | line-height: 20px; |
| 141 | text-align: center; |
| 142 | color: #555; |
| 143 | font-weight: 400; |
| 144 | |
| 145 | @media screen and (max-width: $break-phone) { |
| 146 | margin-top: 16px !important; |
| 147 | margin-bottom: 6px !important; |
| 148 | } |
| 149 | } |
| 150 | .details-table { |
| 151 | display: flex; |
| 152 | flex-direction: column; |
| 153 | border: 1px solid #f2f2f2; |
| 154 | border-radius: 6px; |
| 155 | padding: 8px 16px; |
| 156 | margin: 10px 0 24px 0; |
| 157 | |
| 158 | .details-row { |
| 159 | display: flex; |
| 160 | align-items: flex-start; |
| 161 | font-size: 14px; |
| 162 | line-height: 17px; |
| 163 | margin: 10px 0; |
| 164 | font-weight: 300; |
| 165 | flex-wrap: wrap; |
| 166 | |
| 167 | @media screen and (max-width: $break-phone) { |
| 168 | justify-content: center; |
| 169 | align-items: center; |
| 170 | } |
| 171 | |
| 172 | > i { |
| 173 | color: #989898; |
| 174 | padding-right: 10px; |
| 175 | } |
| 176 | |
| 177 | .detail { |
| 178 | text-transform: uppercase; |
| 179 | color: #6b6b6b; |
| 180 | white-space: nowrap; |
| 181 | @media screen and (max-width: $break-phone) { |
| 182 | padding: 5px 0; |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | .value { |
| 187 | flex: 1; |
| 188 | text-align: right; |
| 189 | color: #555; |
| 190 | white-space: pre-wrap; |
| 191 | |
| 192 | @media screen and (max-width: $break-phone) { |
| 193 | flex: 0; |
| 194 | padding: 5px 10px; |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | &.total { |
| 199 | background: #fbfbfb; |
| 200 | font-weight: 600; |
| 201 | padding: 8px 16px 10px 16px; |
| 202 | margin: 0 -16px -8px -16px; |
| 203 | border-top: 1px solid #f2f2f2; |
| 204 | .value { |
| 205 | color: #333; |
| 206 | } |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | &.payment-details { |
| 211 | border-bottom: 2px solid #f2f2f2; |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | .details-table:empty { |
| 216 | display: none !important; |
| 217 | } |
| 218 | |
| 219 | &.additionalinformation-section { |
| 220 | .details-row { |
| 221 | |
| 222 | .value { |
| 223 | white-space: normal; |
| 224 | |
| 225 | p { |
| 226 | margin: 0; |
| 227 | |
| 228 | + p { |
| 229 | margin-top: 10px; |
| 230 | } |
| 231 | } |
| 232 | } |
| 233 | } |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | #give-pdf-receipt-link, |
| 238 | #give-pdf-receipt-link:visited { |
| 239 | display: flex; |
| 240 | align-items: center; |
| 241 | text-decoration: none; |
| 242 | color: #fff; |
| 243 | |
| 244 | &::after { |
| 245 | display: inline-block; |
| 246 | content: '\f1c1'; |
| 247 | font-family: 'Font Awesome 5 Free', serif; |
| 248 | font-weight: 900; |
| 249 | font-size: 20px; |
| 250 | margin-left: 15px; |
| 251 | -moz-osx-font-smoothing: grayscale; |
| 252 | -webkit-font-smoothing: antialiased; |
| 253 | font-style: normal; |
| 254 | font-variant: normal; |
| 255 | text-rendering: auto; |
| 256 | line-height: 1; |
| 257 | } |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | /*--------------------------------- |
| 262 | RTL styles |
| 263 | -----------------------------------*/ |
| 264 | |
| 265 | html[dir='rtl']='rtl'] { |
| 266 | .details-row { |
| 267 | > i { |
| 268 | padding-right: 0 !important; |
| 269 | padding-left: 10px; |
| 270 | } |
| 271 | } |
| 272 | } |
| 273 |