init
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
.main { width: 700px; max-width: 700px; background: #fff; }
|
||||
.header { padding: 20px 30px; border: 0; background: #17a957; color: #fff; text-align: left; }
|
||||
.header img { width: 117px; max-width: 100%; height: auto; }
|
||||
.header-layout { width: 100%; }
|
||||
.header-logo { width: 140px; vertical-align: middle; }
|
||||
.header-links { vertical-align: middle; white-space: nowrap; }
|
||||
.header-links a { color: #fff !important; font-size: 16px; text-decoration: underline; }
|
||||
.header-nav td { padding: 4px 12px; }
|
||||
.main-content { padding: 45px 30px; color: #000; line-height: 1.55; }
|
||||
.main-content h1 { margin: 0 0 25px; font-size: 36px; line-height: 1.2; font-weight: 400; color: #000; }
|
||||
.main-content h2 { margin: 32px 0 12px; font-size: 20px; color: #000; font-weight: 400; }
|
||||
.main-content h3 { margin: 0 0 8px; font-size: 16px; color: #000; }
|
||||
.greeting { font-size: 18px; font-weight: 700; }
|
||||
.button { margin: 30px 0; }
|
||||
.button .inner-wrapper { width: 100%; }
|
||||
.button .inner-wrapper td { border-radius: 4px; background: #e53935; text-align: center; }
|
||||
.button .inner-wrapper a { display: block; padding: 22px 20px; color: #fff; font-size: 20px; font-weight: 400; }
|
||||
.email-summary { border-top: 1px solid #eeeeee; }
|
||||
.order-details { width: 100%; margin-top: 30px; border-top: 1px solid #e6e6e6; }
|
||||
.order-details td { padding: 18px 10px 18px 0; vertical-align: top; }
|
||||
.email-items { width: 100%; border-collapse: collapse; }
|
||||
.order-summary-table { border: 1px solid #d7d7d7; }
|
||||
.email-items th { padding: 15px 14px; border-bottom: 1px solid #d7d7d7; background: #f3f3f3; color: #333; font-size: 16px; font-weight: 700; }
|
||||
.email-items td { padding: 22px 14px; border-bottom: 1px solid #dedede; vertical-align: top; }
|
||||
.email-items .item-image { width: 105px; padding-right: 0; }
|
||||
.email-items .item-image img { display: block; width: 100px; height: 100px; object-fit: contain; }
|
||||
.email-items .product-name { margin: 0 0 6px; color: #222; font-size: 17px; line-height: 1.35; font-weight: 700; }
|
||||
.email-items .sku,.email-items .item-options { margin: 2px 0; color: #666; font-size: 14px; }
|
||||
.email-items .item-options dt { float: left; clear: left; margin-right: 5px; font-weight: 700; }
|
||||
.email-items .item-options dd { margin: 0 0 2px; }
|
||||
.email-items .item-qty,.email-items .item-price,.email-items .item-subtotal { text-align: right; white-space: nowrap; }
|
||||
.order-totals td { padding: 7px 14px; border: 0; background: #f5f5f5; font-size: 15px; }
|
||||
.order-totals tr:first-child td { padding-top: 20px; border-top: 1px solid #d7d7d7; }
|
||||
.order-totals tr:last-child td { padding-bottom: 20px; }
|
||||
.order-totals .mark { text-align: right; }
|
||||
.order-totals .amount { text-align: right; white-space: nowrap; }
|
||||
.order-totals tr.grand_total td,.order-totals tr.grand-total td { padding-top: 14px; color: #222; font-size: 20px; font-weight: 700; }
|
||||
.shipment-track { width: 100%; margin: 20px 0; border-collapse: collapse; }
|
||||
.shipment-track th,.shipment-track td { padding: 12px 10px; border-bottom: 1px solid #e6e6e6; text-align: left; }
|
||||
.esun-hero { padding: 60px 54px; background: #f4f7f6; text-align: center; }
|
||||
.esun-hero h1 { margin-bottom: 18px; font-size: 30px; }
|
||||
.esun-hero p { color: #666; font-size: 16px; }
|
||||
.esun-hero .button { margin: 40px 0 0; }
|
||||
.esun-meta { color: #666; font-size: 14px; }
|
||||
.esun-password { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #333; }
|
||||
.esun-password h1 { font-family: Arial, sans-serif; font-size: 20px; }
|
||||
.esun-password a { color: #1e5494; }
|
||||
.footer { padding: 42px 30px 34px; border: 0; background: #fff; color: #999; text-align: center; font-size: 14px; }
|
||||
.footer p { margin: 4px 0; }
|
||||
.footer a { color: #999; text-decoration: underline; }
|
||||
.footer-brand { color: #17a957; font-size: 30px; font-weight: 700; font-style: italic; }
|
||||
@media only screen and (max-width: 699px) { .main { width: 100% !important; } .header,.main-content,.footer { padding-left: 20px !important; padding-right: 20px !important; } .header-logo,.header-links { display: block; width: 100% !important; text-align: center !important; } .header-links { padding-top: 15px; white-space: normal; } .header-nav { float: none !important; margin: 0 auto !important; } .header-nav td { padding: 4px 8px !important; } .main-content h1 { font-size: 30px !important; } .esun-hero { padding: 40px 20px !important; } .order-details td { display: block; width: 100% !important; } .email-items .item-image { width: 72px !important; padding-left: 8px !important; } .email-items .item-image img { width: 68px !important; height: 68px !important; } .email-items th,.email-items td { padding-left: 8px !important; padding-right: 8px !important; } .email-items .product-name { font-size: 14px !important; } }
|
||||
@@ -0,0 +1,7 @@
|
||||
@email__background-color: #f3f4f6;
|
||||
@email-content__background-color: #ffffff;
|
||||
@email-content__width: 700px;
|
||||
@email-font-family: Arial, Helvetica, sans-serif;
|
||||
@email-link__color: #e53935;
|
||||
@button-primary__background: #e53935;
|
||||
@button-primary__border: 1px solid #e53935;
|
||||
@@ -0,0 +1,60 @@
|
||||
@media (min-width: 768px) {
|
||||
.checkout-index-index .page-header .header.content {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
min-height: 60px;
|
||||
position: static !important;
|
||||
}
|
||||
|
||||
.checkout-index-index .page-header .header.content > .logo {
|
||||
flex: 0 0 130px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.checkout-index-index .page-header .header.content > .nav-sections {
|
||||
background: transparent;
|
||||
display: block !important;
|
||||
flex: 1 1 auto;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.checkout-index-index
|
||||
.page-header
|
||||
.header.content
|
||||
> .nav-sections
|
||||
.esun-main-navigation {
|
||||
display: block !important;
|
||||
height: 60px;
|
||||
margin: 0;
|
||||
opacity: 1 !important;
|
||||
overflow: visible !important;
|
||||
position: static;
|
||||
visibility: visible !important;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.checkout-index-index .page-header .header.content > .header-top-links {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.checkout-index-index
|
||||
.page-header
|
||||
.header.content
|
||||
> .nav-sections
|
||||
.esun-main-navigation
|
||||
> ul {
|
||||
display: block !important;
|
||||
opacity: 1 !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
.checkout-index-index
|
||||
.page-header
|
||||
.header.content
|
||||
> .nav-sections
|
||||
.esun-main-navigation
|
||||
.level0 {
|
||||
display: inline-block !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,142 @@
|
||||
// /**
|
||||
// * Copyright © Magento, Inc. All rights reserved.
|
||||
// * See COPYING.txt for license details.
|
||||
// */
|
||||
|
||||
@layout-column-main__sidebar-offset: 2%;
|
||||
@layout-column__additional-sidebar-offset: @layout-column-main__sidebar-offset;
|
||||
|
||||
//
|
||||
// Common
|
||||
// _____________________________________________
|
||||
|
||||
& when (@media-common = true) {
|
||||
|
||||
.columns {
|
||||
#lib-layout-columns();
|
||||
|
||||
.column.main {
|
||||
&:extend(.abs-add-box-sizing all);
|
||||
.lib-css(padding-bottom, @indent__xl);
|
||||
.lib-vendor-prefix-flex-basis(auto);
|
||||
.lib-vendor-prefix-flex-grow(1);
|
||||
.lib-vendor-prefix-order(1);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sidebar-main {
|
||||
&:extend(.abs-add-box-sizing all);
|
||||
.lib-vendor-prefix-flex-grow(1);
|
||||
.lib-vendor-prefix-flex-basis(100%);
|
||||
.lib-vendor-prefix-order(1);
|
||||
}
|
||||
|
||||
.sidebar-additional {
|
||||
&:extend(.abs-add-box-sizing all);
|
||||
.lib-vendor-prefix-flex-grow(1);
|
||||
.lib-vendor-prefix-flex-basis(100%);
|
||||
.lib-vendor-prefix-order(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Mobile
|
||||
// _____________________________________________
|
||||
|
||||
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
|
||||
.navigation,
|
||||
.breadcrumbs,
|
||||
.page-header .header.panel,
|
||||
.header.content,
|
||||
.footer.content,
|
||||
.page-main,
|
||||
.page-wrapper > .widget,
|
||||
.page-wrapper > .page-bottom,
|
||||
.block.category.event,
|
||||
.top-container {
|
||||
padding-left: @layout__width-xs-indent;
|
||||
padding-right: @layout__width-xs-indent;
|
||||
}
|
||||
|
||||
.page-main {
|
||||
.account &,
|
||||
.cms-privacy-policy & {
|
||||
padding-top: 41px;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Desktop
|
||||
// _____________________________________________
|
||||
|
||||
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
|
||||
.navigation,
|
||||
.breadcrumbs,
|
||||
.page-header .header.panel,
|
||||
.header.content,
|
||||
.footer.content,
|
||||
.page-wrapper > .widget,
|
||||
.page-wrapper > .page-bottom,
|
||||
.block.category.event,
|
||||
.top-container,
|
||||
.page-main {
|
||||
box-sizing: border-box;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: @layout__max-width;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
width: 83.333333%;
|
||||
}
|
||||
|
||||
.page-main {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.columns {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.column.main {
|
||||
#lib-layout-columns > .main();
|
||||
&:extend(.abs-add-box-sizing-desktop all);
|
||||
min-height: 300px;
|
||||
}
|
||||
|
||||
.sidebar-main {
|
||||
#lib-layout-columns > .left();
|
||||
padding-right: @layout-column-main__sidebar-offset;
|
||||
&:extend(.abs-add-box-sizing-desktop all);
|
||||
}
|
||||
|
||||
.page-layout-2columns-right .sidebar-main {
|
||||
padding-left: @layout-column-main__sidebar-offset;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.sidebar-additional {
|
||||
#lib-layout-columns > .right();
|
||||
clear: right;
|
||||
padding-left: @layout-column__additional-sidebar-offset;
|
||||
&:extend(.abs-add-box-sizing-desktop all);
|
||||
}
|
||||
|
||||
.page-layout-2columns-left {
|
||||
.main {
|
||||
padding-left: @layout-column__additional-sidebar-offset
|
||||
}
|
||||
|
||||
.sidebar-additional {
|
||||
clear: left;
|
||||
float: left;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.panel.header {
|
||||
padding: 10px 20px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
// /**
|
||||
// * Copyright © Magento, Inc. All rights reserved.
|
||||
// * See COPYING.txt for license details.
|
||||
// */
|
||||
|
||||
//
|
||||
// Blank theme variables
|
||||
// _____________________________________________
|
||||
|
||||
//
|
||||
// Typography
|
||||
// ---------------------------------------------
|
||||
|
||||
// Fonts
|
||||
@font-family-name__base: 'Open Sans';
|
||||
@font-family__base: @font-family-name__base, @font-family__sans-serif;
|
||||
|
||||
//
|
||||
// Sections variables
|
||||
// _____________________________________________
|
||||
|
||||
//
|
||||
// Tabs
|
||||
// ---------------------------------------------
|
||||
@tab-content__border-top-status: true;
|
||||
|
||||
|
||||
//
|
||||
// Sidebar
|
||||
// ---------------------------------------------
|
||||
|
||||
@sidebar__background-color: @color-white-smoke; // Used in cart sidebar, Checkout sidebar, Tier Prices, My account navigation, Rating block background
|
||||
|
||||
@product-name-link__color: @text__color;
|
||||
@product-name-link__color__active: @text__color;
|
||||
@product-name-link__color__hover: @text__color;
|
||||
@product-name-link__color__visited: @text__color;
|
||||
@product-name-link__text-decoration: none;
|
||||
@product-name-link__text-decoration__active: @link__hover__text-decoration;
|
||||
@product-name-link__text-decoration__hover: @link__hover__text-decoration;
|
||||
@product-name-link__text-decoration__visited: @link__hover__text-decoration;
|
||||
Reference in New Issue
Block a user