| Current Path : /home/rtorresani/www/vendor/magento/theme-frontend-luma/web/css/source/ |
| Current File : //home/rtorresani/www/vendor/magento/theme-frontend-luma/web/css/source/_email-extend.less |
// /**
// * 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;
}
}
}