| @@ -1,111 +1,111 @@ | ||
| 1 | -<?php | |
| 2 | -ob_start(); | |
| 3 | -?> | |
| 4 | - <style> | |
| 5 | - #wrapper { | |
| 6 | - color: #777; | |
| 7 | - } | |
| 8 | - | |
| 9 | - #template_container { | |
| 10 | - background: #f2fbff; | |
| 11 | - } | |
| 12 | - | |
| 13 | - #template_header_image { | |
| 14 | - text-align: center; | |
| 15 | - } | |
| 16 | - | |
| 17 | - .order-heading { | |
| 18 | - background: #00adff; | |
| 19 | - padding: 20px; | |
| 20 | - color: #FFF; | |
| 21 | - margin: 0 0 20px 0; | |
| 22 | - font-weight: lighter; | |
| 23 | - font-size: 24px; | |
| 24 | - border-radius: 3px; | |
| 25 | - -webkit-border-radius: 3px; | |
| 26 | - -moz-border-radius: 3px; | |
| 27 | - } | |
| 28 | - | |
| 29 | - .order-details { | |
| 30 | - width: 100%; | |
| 31 | - margin-bottom: 20px; | |
| 32 | - } | |
| 33 | - | |
| 34 | - .order-details th { | |
| 35 | - text-align: left; | |
| 36 | - font-weight: normal; | |
| 37 | - padding: 5px 0; | |
| 38 | - } | |
| 39 | - | |
| 40 | - .order-details td { | |
| 41 | - text-align: right; | |
| 42 | - padding: 5px 0; | |
| 43 | - } | |
| 44 | - | |
| 45 | - .order-table-items-heading { | |
| 46 | - background: #dedede; | |
| 47 | - color: #656565; | |
| 48 | - text-align: center; | |
| 49 | - padding: 10px; | |
| 50 | - text-transform: uppercase; | |
| 51 | - font-weight: normal; | |
| 52 | - border-radius: 3px; | |
| 53 | - -webkit-border-radius: 3px; | |
| 54 | - -moz-border-radius: 3px; | |
| 55 | - } | |
| 56 | - | |
| 57 | - .order-table-items { | |
| 58 | - width: 100%; | |
| 59 | - font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; | |
| 60 | - border: none; | |
| 61 | - font-size: 14px; | |
| 62 | - } | |
| 63 | - | |
| 64 | - .order-table-items th { | |
| 65 | - border-top: 1px solid #DDD; | |
| 66 | - } | |
| 67 | - | |
| 68 | - .order-table-items th, | |
| 69 | - .order-table-items td { | |
| 70 | - text-align: left; | |
| 71 | - vertical-align: middle; | |
| 72 | - border-bottom: 1px solid #DDD; | |
| 73 | - padding: 8px 0; | |
| 74 | - } | |
| 75 | - | |
| 76 | - .order-table-items .column-name { | |
| 77 | - | |
| 78 | - } | |
| 79 | - | |
| 80 | - .order-table-items .column-quantity { | |
| 81 | - width: 100px; | |
| 82 | - text-align: right; | |
| 83 | - } | |
| 84 | - | |
| 85 | - .order-table-items .column-number { | |
| 86 | - width: 100px; | |
| 87 | - text-align: right; | |
| 88 | - } | |
| 89 | - | |
| 90 | - #email-body > tr > td { | |
| 91 | - padding: 0 20px 20px 20px; | |
| 92 | - } | |
| 93 | - | |
| 94 | - #template_container #email-footer td { | |
| 95 | - text-align: center; | |
| 96 | - padding: 20px; | |
| 97 | - border-top: 1px solid #DDD; | |
| 98 | - } | |
| 99 | - | |
| 100 | - .order-heading-total { | |
| 101 | - display: block; | |
| 102 | - font-size: 32px; | |
| 103 | - } | |
| 104 | - | |
| 105 | - p { | |
| 106 | - margin: 0 0 20px 0; | |
| 107 | - } | |
| 108 | - | |
| 109 | - </style> | |
| 110 | -<?php | |
| 111 | -echo preg_replace( '!</?style.*>!', '', ob_get_clean() ); | |
| 1 | +<?php | |
| 2 | +ob_start(); | |
| 3 | +?> | |
| 4 | + <style> | |
| 5 | + #wrapper { | |
| 6 | + color: #777; | |
| 7 | + } | |
| 8 | + | |
| 9 | + #template_container { | |
| 10 | + background: #f2fbff; | |
| 11 | + } | |
| 12 | + | |
| 13 | + #template_header_image { | |
| 14 | + text-align: center; | |
| 15 | + } | |
| 16 | + | |
| 17 | + .order-heading { | |
| 18 | + background: #00adff; | |
| 19 | + padding: 20px; | |
| 20 | + color: #FFF; | |
| 21 | + margin: 0 0 20px 0; | |
| 22 | + font-weight: lighter; | |
| 23 | + font-size: 24px; | |
| 24 | + border-radius: 3px; | |
| 25 | + -webkit-border-radius: 3px; | |
| 26 | + -moz-border-radius: 3px; | |
| 27 | + } | |
| 28 | + | |
| 29 | + .order-details { | |
| 30 | + width: 100%; | |
| 31 | + margin-bottom: 20px; | |
| 32 | + } | |
| 33 | + | |
| 34 | + .order-details th { | |
| 35 | + text-align: left; | |
| 36 | + font-weight: normal; | |
| 37 | + padding: 5px 0; | |
| 38 | + } | |
| 39 | + | |
| 40 | + .order-details td { | |
| 41 | + text-align: right; | |
| 42 | + padding: 5px 0; | |
| 43 | + } | |
| 44 | + | |
| 45 | + .order-table-items-heading { | |
| 46 | + background: #dedede; | |
| 47 | + color: #656565; | |
| 48 | + text-align: center; | |
| 49 | + padding: 10px; | |
| 50 | + text-transform: uppercase; | |
| 51 | + font-weight: normal; | |
| 52 | + border-radius: 3px; | |
| 53 | + -webkit-border-radius: 3px; | |
| 54 | + -moz-border-radius: 3px; | |
| 55 | + } | |
| 56 | + | |
| 57 | + .order-table-items { | |
| 58 | + width: 100%; | |
| 59 | + font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; | |
| 60 | + border: none; | |
| 61 | + font-size: 14px; | |
| 62 | + } | |
| 63 | + | |
| 64 | + .order-table-items th { | |
| 65 | + border-top: 1px solid #DDD; | |
| 66 | + } | |
| 67 | + | |
| 68 | + .order-table-items th, | |
| 69 | + .order-table-items td { | |
| 70 | + text-align: left; | |
| 71 | + vertical-align: middle; | |
| 72 | + border-bottom: 1px solid #DDD; | |
| 73 | + padding: 8px 0; | |
| 74 | + } | |
| 75 | + | |
| 76 | + .order-table-items .column-name { | |
| 77 | + | |
| 78 | + } | |
| 79 | + | |
| 80 | + .order-table-items .column-quantity { | |
| 81 | + width: 100px; | |
| 82 | + text-align: right; | |
| 83 | + } | |
| 84 | + | |
| 85 | + .order-table-items .column-number { | |
| 86 | + width: 100px; | |
| 87 | + text-align: right; | |
| 88 | + } | |
| 89 | + | |
| 90 | + #email-body > tr > td { | |
| 91 | + padding: 0 20px 20px 20px; | |
| 92 | + } | |
| 93 | + | |
| 94 | + #template_container #email-footer td { | |
| 95 | + text-align: center; | |
| 96 | + padding: 20px; | |
| 97 | + border-top: 1px solid #DDD; | |
| 98 | + } | |
| 99 | + | |
| 100 | + .order-heading-total { | |
| 101 | + display: block; | |
| 102 | + font-size: 32px; | |
| 103 | + } | |
| 104 | + | |
| 105 | + p { | |
| 106 | + margin: 0 0 20px 0; | |
| 107 | + } | |
| 108 | + | |
| 109 | + </style> | |
| 110 | +<?php | |
| 111 | +echo preg_replace( '!</?style.*>!', '', ob_get_clean() ); | |