email.less 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /**
  2. * Copyright © Magento, Inc. All rights reserved.
  3. * See COPYING.txt for license details.
  4. */
  5. //
  6. // Styles for emails
  7. // _____________________________________________
  8. // See comments in source/_email-base.less for explanation of email styles
  9. @import 'source/lib/_lib.less'; // Global lib
  10. @import 'source/lib/variables/_email.less'; // Global email variables
  11. @import 'source/_theme.less'; // Global variables override
  12. @import 'source/_variables.less'; // Local theme variables
  13. @import 'source/_email-variables.less'; // Theme variables for emails
  14. // Import these file by reference so that only the styles included in the .email-non-inline() and .media-width()
  15. // mixins will be output. All other styles will be output via the email-inline.less file.
  16. @import (reference) 'source/_email-base.less'; // Contains primary email styles
  17. @import (reference) 'source/_email-extend.less'; // Contains theme-specific adjustments to email styles
  18. //
  19. // Module-specific styles for emails
  20. // ---------------------------------------------
  21. // Import files using (reference) for the same reason stated above
  22. //@magento_import (reference) 'source/_email.less';
  23. //
  24. // Media queries collector
  25. // ---------------------------------------------
  26. @import 'source/lib/_responsive.less';
  27. // It is impossible to apply media queries as inline styles, so all media queries must be output in this file
  28. @media-target: 'all';
  29. //
  30. // Non-inline styles
  31. // ---------------------------------------------
  32. // Include all styles that have been indicated as non-inline styles
  33. .email-non-inline();