1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // /**
- // * Copyright © Magento, Inc. All rights reserved.
- // * See COPYING.txt for license details.
- // */
- //
- // Email extend styles
- // _____________________________________________
- // This file should be used for theme-specific styles for emails that extend or modify the styles in _email.less
- // This will allow you to edit email styles without copying and editing the _email.less file
- // Importing fonts from an external CSS file, rather than embedding @font-face declarations inside the <style> tag,
- // as the latter will cause font rendering issues if the web fonts are inaccessible.
- @import url("@{baseUrl}css/email-fonts.css");
- .header {
- background-color: @email__background-color;
- padding: @email-body__padding;
- }
- .footer {
- background-color: @email__background-color;
- padding: @email-body__padding;
- table {
- width: 100%;
- td {
- padding-bottom: @email-body__padding;
- width: 33%;
- p {
- margin-bottom: 0;
- &.phone {
- font-size: @font-size__l;
- a {
- color: inherit;
- }
- }
- }
- }
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__xs) {
- .header,
- .main-content,
- .footer {
- padding: @email-body__padding @indent__s !important;
- }
- .footer {
- td {
- display: block;
- width: auto !important;
- }
- }
- }
|