diff --git a/.gitignore b/.gitignore index c7d9318..3def8c5 100644 --- a/.gitignore +++ b/.gitignore @@ -12,11 +12,6 @@ vendor package-lock.json composer.lock -# Ignore generated stylesheets -style.css -style.css.map -woocommerce.css - # Ignore editor files. .idea diff --git a/CHANGELOG.md b/CHANGELOG.md index 20e3217..36dac85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Genesis Starter Theme Changelog +## [3.3.3] - 2018-10-10 +* Add front page template and widget areas +* Add full width and landing page templates +* Add default hero image +* Add generated stylesheets to version control +* Update Sass file structure + ## [3.3.2] - 2018-10-05 * Add featured image display setting for single posts * Fix text domains in config diff --git a/README.md b/README.md index 00a30ba..10f2317 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ []() [](https://github.com/seothemes/genesis-starter-theme/blob/master/LICENSE.md) -This is a developer-friendly starter theme used for creating commercial child themes for the Genesis Framework. +A developer-friendly starter theme used for creating commercial child themes for the Genesis Framework. It uses Composer to pull in the [Core](https://github.com/seothemes/core) component library which provides the PHP logic for the theme's configuration, and it uses [Gulp WP Toolkit](https://github.com/craigsimps/gulp-wp-toolkit) to automate mundane build tasks like compiling SCSS and minifying images. @@ -126,7 +126,6 @@ your-theme-name/ # → Root directory ├── config/ # → Config directory │ └── config.php # → Theme settings ├── resources/ # → Front-end assets -│ ├── demo/ # → Theme demo files │ ├── fonts/ # → Theme fonts │ ├── img/ # → Theme images │ ├── js/ # → Theme JavaScript @@ -137,6 +136,7 @@ your-theme-name/ # → Root directory ├── vendor/ # → Composer packages ├── composer.json # → Composer settings ├── functions.php # → Composer autoloader +├── front-page.php # → Front page template ├── Gulpfile.js # → Gulp config ├── package.json # → Node dependencies ├── screenshot.png # → Theme screenshot diff --git a/config/defaults.php b/config/defaults.php index 79d44b7..fd54d2f 100644 --- a/config/defaults.php +++ b/config/defaults.php @@ -17,9 +17,11 @@ use SeoThemes\Core\Customizer; use SeoThemes\Core\GenesisSettings; use SeoThemes\Core\GoogleFonts; +use SeoThemes\Core\HeroSection; use SeoThemes\Core\Hooks; use SeoThemes\Core\ImageSizes; use SeoThemes\Core\PageLayouts; +use SeoThemes\Core\PageTemplate; use SeoThemes\Core\PluginActivation; use SeoThemes\Core\PostTypeSupport; use SeoThemes\Core\SimpleSocialIcons; @@ -69,6 +71,17 @@ AssetLoader::ENQUEUE => true, ], ], + AssetLoader::STYLES => [ + [ + AssetLoader::HANDLE => 'woocommerce', + AssetLoader::URL => AssetLoader::path( '/woocommerce.css' ), + AssetLoader::VERSION => wp_get_theme()->get( 'Version' ), + AssetLoader::ENQUEUE => true, + AssetLoader::CONDITIONAL => function () { + return class_exists( 'WooCommerce' ); + }, + ], + ], ]; $core_constants = [ @@ -192,19 +205,42 @@ ], ]; +$core_hero_section = [ + HeroSection::ENABLE => [ + HeroSection::PAGE => true, + HeroSection::POST => true, + HeroSection::PRODUCT => true, + HeroSection::PORTFOLIO_ITEM => true, + HeroSection::FRONT_PAGE => true, + HeroSection::ATTACHMENT => true, + HeroSection::ERROR_404 => true, + HeroSection::LANDING_PAGE => false, + HeroSection::BLOG_TEMPLATE => true, + HeroSection::SEARCH => true, + HeroSection::AUTHOR => true, + HeroSection::DATE => true, + HeroSection::LATEST_POSTS => true, + HeroSection::BLOG => true, + HeroSection::SHOP => true, + HeroSection::PORTFOLIO => true, + HeroSection::PORTFOLIO_TYPE => true, + HeroSection::PRODUCT_ARCHIVE => true, + HeroSection::CATEGORY => true, + HeroSection::TAG => true, + ], +]; + $core_hooks = [ Hooks::ADD => [ [ - Hooks::TAG => 'genesis_doctype', - Hooks::CALLBACK => function () { - ob_start(); - genesis_html5_doctype(); - $markup = ob_get_clean(); - echo str_replace( ' function () { - return is_admin_bar_showing(); - }, + Hooks::TAG => 'template_include', + Hooks::CALLBACK => function ( $template ) { + if ( ! is_front_page() || 'posts' === get_option( 'show_on_front' ) ) { + return $template; + } + + return get_stylesheet_directory() . '/resources/views/page-front.php'; + } ], [ Hooks::TAG => 'wp_enqueue_scripts', @@ -214,14 +250,26 @@ [ Hooks::TAG => 'body_class', Hooks::CALLBACK => function ( $classes ) { - if ( is_home() || is_search() || is_author() || is_date() || is_category() || is_tag() || is_page_template( 'page_blog.php' ) ) { - $classes[] = 'post-grid'; + if ( ! is_front_page() && is_home() || is_search() || is_author() || is_date() || is_category() || is_tag() || is_page_template( 'page_blog.php' ) ) { + $classes[] = 'is-archive'; + } + + if ( ! is_front_page() && ! is_page_template( 'page_blog.php' ) && ! is_post_type_archive() && is_singular() || is_404() ) { + $classes[] = 'is-singular'; + } + + if ( is_page_template( 'page-blog.php' ) ) { + $classes[] = 'blog'; + $classes = array_diff( $classes, [ 'page' ] ); + } + + if ( is_front_page() ) { + $classes[] = 'front-page'; } $classes[] = 'no-js'; return $classes; - }, ], [ @@ -316,6 +364,19 @@ add_editor_style( 'editor.css' ); }, ], + [ + Hooks::TAG => 'genesis_setup', + Hooks::CALLBACK => function () { + register_default_headers( [ + 'child' => [ + 'url' => '%2$s/resources/img/hero.jpg', + 'thumbnail_url' => '%2$s/resources/img/hero.jpg', + 'description' => __( 'Hero Image', 'corporate-pro' ), + ], + ] ); + }, + Hooks::PRIORITY => 20, + ], [ Hooks::TAG => 'genesis_entry_content', Hooks::CALLBACK => function () { @@ -339,6 +400,18 @@ Hooks::TAG => 'child_theme_before_footer_wrap', Hooks::CALLBACK => 'genesis_footer_widget_areas', ], + [ + Hooks::TAG => 'genesis_widget_column_classes', + Hooks::CALLBACK => function ( $column_classes ) { + $column_classes[] = 'one-fifth'; + $column_classes[] = 'two-fifths'; + $column_classes[] = 'three-fifths'; + $column_classes[] = 'four-fifths'; + $column_classes[] = 'full-width'; + + return $column_classes; + }, + ], ], Hooks::REMOVE => [ [ @@ -400,6 +473,13 @@ ], ]; +$core_page_templates = [ + PageTemplate::REGISTER => [ + '/resources/views/page-full.php' => 'Full Width', + '/resources/views/page-landing.php' => 'Landing Page', + ], +]; + $core_plugins = [ PluginActivation::REGISTER => [ [ @@ -468,15 +548,19 @@ ], ], 'custom-header' => [ - 'header-selector' => '.hero-section', - 'default_image' => get_stylesheet_directory_uri() . '/resources/img/hero.jpg', - 'header-text' => false, - 'width' => 1280, - 'height' => 720, - 'flex-height' => true, - 'flex-width' => true, - 'uploads' => true, - 'video' => true, + 'header-selector' => '.hero-section', + 'default_image' => get_stylesheet_directory_uri() . '/resources/img/hero.jpg', + 'header-text' => false, + 'width' => 1280, + 'height' => 720, + 'flex-height' => true, + 'flex-width' => true, + 'uploads' => true, + 'video' => true, + 'wp-head-callback' => [ + 'SeoThemes\Core\HeroSection', + 'custom_header', + ], ], 'genesis-accessibility' => [ '404-page', @@ -519,8 +603,45 @@ ]; $core_widget_areas = [ + WidgetArea::REGISTER => [ + [ + WidgetArea::ID => 'front-page-1', + WidgetArea::NAME => __( 'Front Page 1', 'genesis-starter-theme' ), + WidgetArea::DESCRIPTION => __( 'Front Page 1 widget area.', 'genesis-starter-theme' ), + WidgetArea::LOCATION => 'genesis_loop', + WidgetArea::BEFORE_TITLE => '
Photo by Gabriel Beaudry on Unsplash
+ +This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind. + + + +All this machinery making modern music can still be open-hearted. +— Geddy Lee Weinrib+ +This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind. This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind. + +
There are only two places in the world where we can live happy: at home and in Paris. +— Ernest hemingway+This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind. This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind. +
A configuration based starter theme built for developers.<\/p>\r\n\r\n
\r\n \r\n\r\nGet Genesis Starter<\/a>","column-classes":"full-width"}},"front-page-2":{"text-6":{"title":"Content","text":"Our team will teach you the art of writing audience-focused content that will help you achieve the success you truly deserve.","filter":true,"visual":true,"column-classes":"one-third","column-classes-first":true},"text-7":{"title":"Design","text":"With an emphasis on typography, white space, and mobile-optimized design, your website will look absolutely breathtaking.","filter":true,"visual":true,"column-classes":"one-third"},"text-8":{"title":"Strategy","text":"We help creative entrepreneurs build their digital business by focusing on three key elements of a successful online platform.","filter":true,"visual":true,"column-classes":"one-third"}},"front-page-3":{"text-5":{"title":"","text":"Get started today<\/h3>\r\nOur team will teach you the art of writing audience-focused content that will help you achieve the success you truly deserve. With an emphasis on typography, white space, and mobile-optimized design, your website will look absolutely breathtaking. We help creative entrepreneurs build their digital business by focusing on three key elements of a successful online platform.\r\n\r\nGet started<\/a>","filter":true,"visual":true,"column-classes":"one-half","column-classes-first":true},"media_image-3":{"attachment_id":1380,"url":"https:\/\/demo.seothemes.com\/genesis-starter\/wp-content\/uploads\/2018\/02\/spirit-of-the-radio-1024x585.jpg","title":"","size":"large","width":1024,"height":585,"caption":"","alt":"","link_type":"custom","link_url":"","image_classes":"","link_classes":"","link_rel":"","link_target_blank":false,"image_title":"","column-classes":"one-half"}},"footer-1":{"text-2":{"title":"Design","text":"With an emphasis on typography, white space, and mobile-optimized design, your website will look absolutely breathtaking.\r\n\r\nLearn more about design<\/a>","filter":true,"visual":true}},"footer-2":{"text-3":{"title":"Content","text":"Our team will teach you the art of writing audience-focused content that will help you achieve the success you truly deserve.\r\n\r\nLearn more about content<\/a>","filter":true,"visual":true}},"footer-3":{"text-4":{"title":"Strategy","text":"We help creative entrepreneurs build their digital business by focusing on three key elements of a successful online platform.\r\n\r\nLearn more about strategy<\/a>","filter":true,"visual":true}},"front-page-4":{"icon-widget-5":{"title":"Design","content":"With an emphasis on typography, white space, and mobile-optimized design, your website will look absolutely breathtaking.","icon":"fa-glass","size":"2x","align":"left","color":"#333333","bg":"","padding":0,"radius":0,"column-classes":"one-third","column-classes-first":true},"icon-widget-4":{"title":"Content","content":"Our team will teach you the art of writing audience-focused content that will help you achieve the success you truly deserve.","icon":"fa-glass","size":"2x","align":"left","color":"#333333","bg":"","padding":0,"radius":0,"column-classes":"one-third"},"icon-widget-3":{"title":"Strategy","content":"We help creative entrepreneurs build their digital business by focusing on three key elements of a successful online platform.","icon":"fa-glass","size":"2x","align":"left","color":"#333333","bg":"","padding":0,"radius":0,"column-classes":"one-third"}}}
\ No newline at end of file
diff --git a/woocommerce.css b/woocommerce.css
new file mode 100644
index 0000000..d862dc3
--- /dev/null
+++ b/woocommerce.css
@@ -0,0 +1,879 @@
+.woocommerce .entry.product {
+ padding: 0;
+}
+
+.woocommerce abbr.required,
+.woocommerce ins {
+ text-decoration: none;
+}
+
+.woocommerce span.onsale {
+ min-height: auto;
+ border-radius: 0;
+ background-color: #1e90ff;
+ line-height: 1.75;
+}
+
+.woocommerce fieldset {
+ margin-bottom: 20px;
+}
+
+.woocommerce .products .star-rating {
+ padding: 10px;
+}
+
+.woocommerce p.stars a,
+.woocommerce p.stars a:focus,
+.woocommerce p.stars a:hover {
+ outline: 0;
+}
+
+.woocommerce .woocommerce-LoopProduct-link {
+ display: block;
+}
+
+.woocommerce.full-width-content .content,
+.woocommerce-page.full-width-content .content {
+ width: 100%;
+ max-width: 3.2rem;
+}
+
+.woocommerce .woocommerce-product-gallery__wrapper {
+ margin: 0;
+}
+
+.woocommerce .woocommerce-product-gallery__trigger {
+ border-width: 0;
+}
+
+.woocommerce .woocommerce-product-gallery {
+ overflow: hidden;
+}
+
+.woocommerce .woocommerce-product-gallery .flex-control-nav {
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+.woocommerce .content .entry {
+ border-bottom: 0;
+}
+
+.woocommerce a.added_to_cart {
+ line-height: 1;
+}
+
+.woocommerce a.button.loading:after,
+.woocommerce button.button.loading:after,
+.woocommerce input.button.loading:after,
+.woocommerce #respond input#submit.loading:after {
+ top: 1em;
+}
+
+.woocommerce ul.products li.product {
+ /* MS Edge Bug Fix */
+}
+
+.woocommerce ul.products li.product h3,
+.woocommerce ul.products li.product .price .from {
+ color: #5a636b;
+}
+
+.woocommerce ul.products li.product h3:hover,
+.woocommerce ul.products li.product .price {
+ color: #1e90ff;
+}
+
+.woocommerce ul.products li.product a {
+ transition: color 0.1s ease-in-out, background 0.1s ease-in-out;
+}
+
+.woocommerce nav.woocommerce-pagination {
+ clear: both;
+ margin: 40px 0;
+}
+
+.woocommerce nav.woocommerce-pagination ul,
+.woocommerce nav.woocommerce-pagination ul li {
+ border: none;
+}
+
+.woocommerce nav.woocommerce-pagination ul li {
+ margin-right: 2px;
+ margin-left: 2px;
+}
+
+.woocommerce nav.woocommerce-pagination ul li a,
+.woocommerce nav.woocommerce-pagination ul li span {
+ display: inline-block;
+ padding: 8px 12px;
+ color: #5a636b;
+ background-color: #fbfcfc;
+ font-size: 1.6rem;
+ font-weight: 600;
+ line-height: 1.625;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+.woocommerce nav.woocommerce-pagination ul li a:focus,
+.woocommerce nav.woocommerce-pagination ul li a:hover,
+.woocommerce nav.woocommerce-pagination ul li span.current {
+ color: #ffffff;
+ background-color: #5a636b;
+}
+
+.woocommerce ul.products li.product .button,
+.woocommerce .woocommerce-ordering,
+.woocommerce-page ul.products li.product .button,
+.woocommerce-page .woocommerce-ordering {
+ width: 100%;
+ margin-right: 0;
+}
+
+.woocommerce div.product p.price,
+.woocommerce div.product span.price {
+ color: #1e90ff;
+ line-height: 1.5;
+}
+
+.woocommerce div.product form.cart .button {
+ line-height: 1.5;
+}
+
+.woocommerce div.product form.cart .variations {
+ table-layout: fixed;
+}
+
+.woocommerce .woocommerce-variation-price {
+ margin-bottom: 20px;
+}
+
+.woocommerce div.product .woocommerce-tabs ul.tabs {
+ padding: 0;
+}
+
+.woocommerce div.product .woocommerce-tabs ul.tabs:before,
+.woocommerce div.product .woocommerce-tabs ul.tabs li {
+ border-color: #dfe2e5;
+}
+
+.woocommerce div.product .woocommerce-tabs ul.tabs li {
+ display: block;
+ margin: 0;
+ padding: 0;
+ border: 1px solid #dfe2e5;
+ border-bottom: 0;
+ border-radius: 0;
+ background-color: #ffffff;
+}
+
+.woocommerce div.product .woocommerce-tabs ul.tabs li:after,
+.woocommerce div.product .woocommerce-tabs ul.tabs li:before {
+ display: none;
+}
+
+.woocommerce div.product .woocommerce-tabs ul.tabs li:last-child {
+ border-bottom: 1px solid #dfe2e5;
+}
+
+.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
+ border-bottom-color: #dfe2e5;
+}
+
+.woocommerce div.product .woocommerce-tabs ul.tabs li a {
+ display: block;
+ padding: 0.5em 1em;
+ color: #5a636b;
+}
+
+.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
+.woocommerce div.product .woocommerce-tabs ul.tabs li a:focus,
+.woocommerce div.product .woocommerce-tabs ul.tabs li a:active {
+ color: #1e90ff;
+}
+
+.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:after {
+ display: block;
+ float: right;
+ font-family: dashicons;
+ content: '\f147';
+}
+
+.woocommerce-cart #payment ul.payment_methods li,
+.woocommerce-checkout #payment ul.payment_methods li,
+#add_payment_method #payment ul.payment_methods li {
+ list-style-type: none;
+}
+
+.woocommerce-cart #payment div.form-row,
+.woocommerce-checkout #payment div.form-row,
+#add_payment_method #payment div.form-row {
+ margin-bottom: 0;
+}
+
+.woocommerce-cart table.cart td.actions .coupon input.input-text,
+.woocommerce-checkout table.cart td.actions .coupon input.input-text,
+#add_payment_method table.cart td.actions .coupon input.input-text {
+ width: auto;
+}
+
+.woocommerce table.shop_table,
+.woocommerce table.shop_table td {
+ border-color: #dfe2e5;
+ border-radius: 0;
+ line-height: 1.75;
+ word-break: normal;
+}
+
+.woocommerce table.shop_table .order-number {
+ min-width: 75px;
+}
+
+.woocommerce table.shop_table td.actions {
+ padding-top: 15px;
+}
+
+.woocommerce-cart table.cart {
+ line-height: 1.75;
+}
+
+.woocommerce-cart table.cart td {
+ padding: 10px 12px;
+ font-size: 1.8rem;
+}
+
+.woocommerce-cart table.cart td.actions .coupon .input-text {
+ width: 100% !important;
+ margin-bottom: 10px;
+ font-size: 1.8rem;
+}
+
+.woocommerce-cart table.cart .product-thumbnail {
+ min-width: 56px;
+}
+
+.woocommerce-cart table.cart th.product-name {
+ min-width: 140px;
+}
+
+.woocommerce-cart table.cart th.product-price,
+.woocommerce-cart table.cart th.product-quantity,
+.woocommerce-cart table.cart th.product-subtotal {
+ min-width: 110px;
+}
+
+.woocommerce-cart table.cart img {
+ vertical-align: middle;
+}
+
+.woocommerce-cart td.product-name dl.variation dd {
+ margin-left: 20px;
+}
+
+.woocommerce-checkout-review-order-table th.product-total {
+ min-width: 110px;
+}
+
+.woocommerce-checkout table.cart img,
+#add_payment_method table.cart img {
+ vertical-align: middle;
+}
+
+.woocommerce-cart #payment,
+.woocommerce-checkout #payment,
+#add_payment_method #payment {
+ padding: 30px;
+ border-radius: 0;
+ background-color: #fbfcfc;
+}
+
+.woocommerce-cart #payment div.payment_box,
+.woocommerce-checkout #payment div.payment_box,
+#add_payment_method #payment div.payment_box {
+ background-color: #dfe2e5;
+}
+
+.woocommerce-cart #payment div.payment_box:before,
+.woocommerce-checkout #payment div.payment_box:before,
+#add_payment_method #payment div.payment_box:before {
+ display: none;
+}
+
+.woocommerce-cart #payment ul.payment_methods,
+.woocommerce-checkout #payment ul.payment_methods,
+#add_payment_method #payment ul.payment_methods {
+ border-color: #dfe2e5;
+}
+
+button,
+[type='button'],
+[type='reset'],
+[type='submit'],
+.button,
+.button.menu-item a {
+ display: inline-block;
+ width: auto;
+ padding: 1.8rem 3.6rem;
+ border: 0;
+ border-radius: 0;
+ color: #ffffff;
+ background-color: #141618;
+ font-size: 1.42222rem;
+ font-weight: 600;
+ line-height: 1;
+ white-space: normal;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+button:hover,
+button:focus,
+button:active,
+[type='button']:hover,
+[type='button']:focus,
+[type='button']:active,
+[type='reset']:hover,
+[type='reset']:focus,
+[type='reset']:active,
+[type='submit']:hover,
+[type='submit']:focus,
+[type='submit']:active,
+.button:hover,
+.button:focus,
+.button:active,
+.button.menu-item a:hover,
+.button.menu-item a:focus,
+.button.menu-item a:active {
+ outline: none;
+ color: #ffffff;
+ background-color: #1e90ff;
+ text-decoration: none;
+}
+
+button:disabled,
+button:disabled:hover,
+button:disabled:focus,
+[type='button']:disabled,
+[type='button']:disabled:hover,
+[type='button']:disabled:focus,
+[type='reset']:disabled,
+[type='reset']:disabled:hover,
+[type='reset']:disabled:focus,
+[type='submit']:disabled,
+[type='submit']:disabled:hover,
+[type='submit']:disabled:focus,
+.button:disabled,
+.button:disabled:hover,
+.button:disabled:focus,
+.button.menu-item a:disabled,
+.button.menu-item a:disabled:hover,
+.button.menu-item a:disabled:focus {
+ opacity: 0.5;
+ background-color: #8c969f;
+ cursor: not-allowed;
+}
+
+.woocommerce a.button,
+.woocommerce a.button.alt,
+.woocommerce button.button,
+.woocommerce button.button.alt,
+.woocommerce input.button,
+.woocommerce input.button.alt,
+.woocommerce input.button[type='submit'],
+.woocommerce #respond input#submit,
+.woocommerce #respond input#submit.alt {
+ display: inline-block;
+ width: auto;
+ padding: 1.8rem 3.6rem;
+ border: 0;
+ border-radius: 0;
+ color: #ffffff;
+ background-color: #141618;
+ font-size: 1.42222rem;
+ font-weight: 600;
+ line-height: 1;
+ white-space: normal;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+.woocommerce a.button:hover,
+.woocommerce a.button:focus,
+.woocommerce a.button:active,
+.woocommerce a.button.alt:hover,
+.woocommerce a.button.alt:focus,
+.woocommerce a.button.alt:active,
+.woocommerce button.button:hover,
+.woocommerce button.button:focus,
+.woocommerce button.button:active,
+.woocommerce button.button.alt:hover,
+.woocommerce button.button.alt:focus,
+.woocommerce button.button.alt:active,
+.woocommerce input.button:hover,
+.woocommerce input.button:focus,
+.woocommerce input.button:active,
+.woocommerce input.button.alt:hover,
+.woocommerce input.button.alt:focus,
+.woocommerce input.button.alt:active,
+.woocommerce input.button[type='submit']:hover,
+.woocommerce input.button[type='submit']:focus,
+.woocommerce input.button[type='submit']:active,
+.woocommerce #respond input#submit:hover,
+.woocommerce #respond input#submit:focus,
+.woocommerce #respond input#submit:active,
+.woocommerce #respond input#submit.alt:hover,
+.woocommerce #respond input#submit.alt:focus,
+.woocommerce #respond input#submit.alt:active {
+ outline: none;
+ color: #ffffff;
+ background-color: #1e90ff;
+ text-decoration: none;
+}
+
+.woocommerce a.button:disabled,
+.woocommerce a.button:disabled:hover,
+.woocommerce a.button:disabled:focus,
+.woocommerce a.button.alt:disabled,
+.woocommerce a.button.alt:disabled:hover,
+.woocommerce a.button.alt:disabled:focus,
+.woocommerce button.button:disabled,
+.woocommerce button.button:disabled:hover,
+.woocommerce button.button:disabled:focus,
+.woocommerce button.button.alt:disabled,
+.woocommerce button.button.alt:disabled:hover,
+.woocommerce button.button.alt:disabled:focus,
+.woocommerce input.button:disabled,
+.woocommerce input.button:disabled:hover,
+.woocommerce input.button:disabled:focus,
+.woocommerce input.button.alt:disabled,
+.woocommerce input.button.alt:disabled:hover,
+.woocommerce input.button.alt:disabled:focus,
+.woocommerce input.button[type='submit']:disabled,
+.woocommerce input.button[type='submit']:disabled:hover,
+.woocommerce input.button[type='submit']:disabled:focus,
+.woocommerce #respond input#submit:disabled,
+.woocommerce #respond input#submit:disabled:hover,
+.woocommerce #respond input#submit:disabled:focus,
+.woocommerce #respond input#submit.alt:disabled,
+.woocommerce #respond input#submit.alt:disabled:hover,
+.woocommerce #respond input#submit.alt:disabled:focus {
+ opacity: 0.5;
+ background-color: #8c969f;
+ cursor: not-allowed;
+}
+
+.woocommerce #reviews #comment {
+ height: 150px;
+}
+
+.woocommerce .quantity .qty {
+ width: 70px;
+ margin-right: 5px;
+ padding: 12px 5px;
+ font-size: 2rem;
+ line-height: 1.5;
+}
+
+.woocommerce form .form-row input.input-text,
+.woocommerce form .form-row textarea {
+ padding: 8px 20px;
+ line-height: 1.5;
+}
+
+.woocommerce form.checkout_coupon,
+.woocommerce form.login,
+.woocommerce form.register,
+.woocommerce form .form-row .select2-container,
+.woocommerce form .form-row.woocommerce-validated input.input-text,
+.woocommerce form .form-row.woocommerce-validated select,
+.woocommerce form .form-row.woocommerce-validated .select2-container {
+ border-color: #dfe2e5;
+ border-radius: 0;
+}
+
+.woocommerce .coupon {
+ line-height: 1;
+}
+
+.woocommerce .coupon .input-text {
+ height: 48px;
+}
+
+.woocommerce input.button,
+.woocommerce input.button[type='submit'] {
+ width: 100% !important;
+}
+
+.woocommerce-cart table.cart td.actions .coupon .input-text,
+.woocommerce-checkout table.cart td.actions .coupon .input-text,
+#add_payment_method table.cart td.actions .coupon .input-text {
+ width: 150px;
+ padding: 5px 20px;
+ border-color: #dfe2e5;
+}
+
+.woocommerce-cart table.cart input,
+.woocommerce-checkout table.cart input,
+#add_payment_method table.cart input {
+ vertical-align: top;
+}
+
+.woocommerce form .form-row-first,
+.woocommerce form .form-row-last,
+.woocommerce #reviews #comments .star-rating,
+.woocommerce-page form .form-row-first,
+.woocommerce-page form .form-row-last {
+ float: none;
+ width: 100%;
+}
+
+.woocommerce a.button.disabled,
+.woocommerce a.button:disabled,
+.woocommerce a.button:disabled[disabled],
+.woocommerce button.button.disabled,
+.woocommerce button.button:disabled,
+.woocommerce button.button:disabled[disabled],
+.woocommerce input.button.disabled,
+.woocommerce input.button:disabled,
+.woocommerce input.button:disabled[disabled],
+.woocommerce #respond input#submit.disabled,
+.woocommerce #respond input#submit:disabled,
+.woocommerce #respond input#submit:disabled[disabled] {
+ padding: 16px 24px;
+ color: #ffffff;
+ background-color: #5a636b;
+}
+
+.woocommerce a.button.alt.disabled,
+.woocommerce a.button.alt.disabled:hover,
+.woocommerce a.button.alt:disabled,
+.woocommerce a.button.alt:disabled:hover,
+.woocommerce a.button.alt[disabled]:disabled,
+.woocommerce a.button.alt[disabled]:disabled:hover,
+.woocommerce button.button.alt.disabled,
+.woocommerce button.button.alt.disabled:hover,
+.woocommerce button.button.alt:disabled,
+.woocommerce button.button.alt:disabled:hover,
+.woocommerce button.button.alt[disabled]:disabled,
+.woocommerce button.button.alt[disabled]:disabled:hover,
+.woocommerce input.button.alt.disabled,
+.woocommerce input.button.alt.disabled:hover,
+.woocommerce input.button.alt:disabled,
+.woocommerce input.button.alt:disabled:hover,
+.woocommerce input.button.alt[disabled]:disabled,
+.woocommerce input.button.alt[disabled]:disabled:hover,
+.woocommerce #respond input#submit.alt.disabled,
+.woocommerce #respond input#submit.alt.disabled:hover,
+.woocommerce #respond input#submit.alt:disabled,
+.woocommerce #respond input#submit.alt:disabled:hover,
+.woocommerce #respond input#submit.alt[disabled]:disabled,
+.woocommerce #respond input#submit.alt[disabled]:disabled:hover {
+ padding: 16px 24px;
+ color: #ffffff;
+ background-color: #5a636b;
+}
+
+.woocommerce-account .woocommerce-Address-title h3 {
+ font-size: 2.6rem;
+}
+
+.woocommerce-account .woocommerce-Address {
+ margin-bottom: 20px;
+}
+
+.woocommerce-account table.order_details th.product-total {
+ min-width: 110px;
+}
+
+.woocommerce-account .woocommerce-MyAccount-navigation ul {
+ text-align: center;
+}
+
+.woocommerce-account .woocommerce-MyAccount-navigation ul li {
+ display: inline-block;
+ margin: 0 10px;
+}
+
+.woocommerce-account .woocommerce-MyAccount-content,
+.woocommerce-account .woocommerce-MyAccount-navigation {
+ width: 100%;
+ margin-right: 0;
+}
+
+.woocommerce-MyAccount-navigation {
+ margin-bottom: 40px;
+ padding: 20px;
+ border: 1px solid #dfe2e5;
+}
+
+.woocommerce-MyAccount-navigation ul {
+ margin-bottom: 0;
+ margin-left: 0;
+}
+
+.woocommerce-MyAccount-navigation ul li {
+ margin-bottom: 15px;
+ line-height: 1.2;
+ list-style-type: none;
+}
+
+.woocommerce-MyAccount-navigation ul li:last-child {
+ margin-bottom: 0;
+}
+
+.woocommerce-MyAccount-navigation ul li.is-active > a {
+ color: #5a636b;
+ font-weight: 700;
+}
+
+.content-sidebar.woocommerce-account .woocommerce-MyAccount-navigation ul,
+.sidebar-content.woocommerce-account .woocommerce-MyAccount-navigation ul {
+ text-align: center;
+}
+
+.content-sidebar.woocommerce-account .woocommerce-MyAccount-navigation li,
+.sidebar-content.woocommerce-account .woocommerce-MyAccount-navigation li {
+ display: inline-block;
+ margin: 0 10px;
+}
+
+.content-sidebar.woocommerce-account .woocommerce-MyAccount-content,
+.sidebar-content.woocommerce-account .woocommerce-MyAccount-content {
+ width: 100%;
+}
+
+.woocommerce table.my_account_orders .button {
+ margin: 5px;
+}
+
+.woocommerce .woocommerce-breadcrumb {
+ margin-bottom: 40px;
+ font-size: 1.8rem;
+}
+
+.woocommerce .woocommerce-breadcrumb,
+.woocommerce .woocommerce-breadcrumb a {
+ color: #5a636b;
+}
+
+.woocommerce .woocommerce-breadcrumb a {
+ text-decoration: none;
+}
+
+.woocommerce .woocommerce-breadcrumb a:hover,
+.woocommerce .woocommerce-breadcrumb a:focus,
+.woocommerce .woocommerce-breadcrumb a:active {
+ color: #1e90ff;
+}
+
+.woocommerce #reviews #comments ol.commentlist li img.avatar {
+ position: relative;
+ width: 60px;
+ margin: 0 16px 24px 0;
+ padding: 0;
+ border: 0;
+ background: transparent;
+}
+
+.woocommerce #reviews #comments ol.commentlist li .comment-text {
+ margin-left: 80px;
+ border-color: #dfe2e5;
+ border-radius: 0;
+}
+
+.woocommerce .entry-content #reviews ol > li {
+ list-style-type: none;
+}
+
+.woocommerce-error,
+.woocommerce-info,
+.woocommerce-message {
+ border-top-color: #1e90ff;
+ background-color: #fbfcfc;
+}
+
+.woocommerce-error:before,
+.woocommerce-error:before,
+.woocommerce-error:before,
+.woocommerce-info:before,
+.woocommerce-info:before,
+.woocommerce-info:before,
+.woocommerce-message:before,
+.woocommerce-message:before,
+.woocommerce-message:before {
+ color: #1e90ff;
+}
+
+div.woocommerce-info.wc-memberships-restriction-message.wc-memberships-restricted-content-message {
+ width: 48%;
+}
+
+.woocommerce-message .button.wc-forward {
+ width: 100%;
+ margin-bottom: 20px;
+}
+
+.woocommerce-product-search {
+ overflow: hidden;
+ width: 100%;
+}
+
+.woocommerce-product-search input[type='submit'] {
+ clip: rect(0, 0, 0, 0);
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ margin: -1px;
+ padding: 0;
+ border: 0;
+}
+
+.woocommerce .widget_shopping_cart ul.cart_list li,
+.woocommerce.widget_shopping_cart ul.cart_list li {
+ padding-top: 15px;
+}
+
+.woocommerce .widget_shopping_cart .cart_list li a.remove,
+.woocommerce.widget_shopping_cart .cart_list li a.remove {
+ top: 15px;
+}
+
+.woocommerce .widget_shopping_cart .total,
+.woocommerce.widget_shopping_cart .total {
+ border-top: 1px solid #dfe2e5;
+}
+
+.woocommerce .widget_shopping_cart .buttons a,
+.woocommerce.widget_shopping_cart .buttons a {
+ margin-bottom: 5px;
+}
+
+.woocommerce .widget_shopping_cart .cart_list li.empty,
+.woocommerce.widget_shopping_cart .cart_list li.empty {
+ padding-left: 0;
+}
+
+.woocommerce ul.cart_list li img,
+.woocommerce ul.product_list_widget li img {
+ width: 60px;
+}
+
+.sidebar ul.product_list_widget li {
+ margin-bottom: 15px;
+ padding: 15px 0 0;
+ line-height: 1.4;
+}
+
+.sidebar ul.product_list_widget li:last-child {
+ margin-bottom: 0;
+ padding-bottom: 15px;
+}
+
+.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content,
+.woocommerce.widget_price_filter .price_slider_wrapper .ui-widget-content {
+ background-color: #dfe2e5;
+}
+
+.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
+.woocommerce.widget_price_filter .ui-slider .ui-slider-range {
+ background-color: #1e90ff;
+}
+
+.woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
+.woocommerce.widget_price_filter .ui-slider .ui-slider-handle {
+ top: -0.28em;
+}
+
+.woocommerce .widget_price_filter .price_slider_amount .button,
+.woocommerce.widget_price_filter .price_slider_amount .button {
+ font-size: 1.6rem;
+}
+
+.woocommerce .widget_layered_nav ul li.chosen a:before,
+.woocommerce .widget_layered_nav_filters ul li a:before,
+.woocommerce .widget_rating_filter ul li.chosen a:before {
+ color: #1e90ff;
+}
+
+.woocommerce.widget_layered_nav_filters ul li {
+ margin: 0 20px 20px 0;
+}
+
+.woocommerce.widget_recent_reviews .reviewer {
+ font-size: 1.2rem;
+ letter-spacing: 1px;
+ letter-spacing: 0.1rem;
+ text-transform: uppercase;
+}
+
+@media (min-width: 640px) {
+ .woocommerce ul.products li.product .button,
+ .woocommerce .woocommerce-ordering,
+ .woocommerce-page ul.products li.product .button,
+ .woocommerce-page .woocommerce-ordering {
+ width: auto;
+ margin-right: auto;
+ }
+ .woocommerce-cart table.cart td.actions .coupon .input-text {
+ margin-bottom: 0;
+ }
+ .woocommerce form .form-row-first,
+ .woocommerce-page form .form-row-first,
+ .woocommerce #reviews #comments .star-rating {
+ float: left;
+ width: 47%;
+ }
+ .woocommerce form .form-row-last,
+ .woocommerce-page form .form-row-last {
+ float: right;
+ width: 47%;
+ }
+ .woocommerce input.button,
+ .woocommerce input.button[type='submit'],
+ .woocommerce-cart table.cart td.actions .coupon .input-text {
+ width: auto !important;
+ }
+ .woocommerce-message .button.wc-forward {
+ width: auto;
+ margin-bottom: 0;
+ }
+}
+
+@media (min-width: 896px) {
+ .full-width-content.woocommerce div.product .woocommerce-tabs ul.tabs {
+ padding: 0 0 0 1em;
+ }
+ .full-width-content.woocommerce div.product .woocommerce-tabs ul.tabs li {
+ display: inline-block;
+ margin: 0 -5px;
+ background-color: #fbfcfc;
+ }
+ .full-width-content.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
+ border-bottom: 1px solid #ffffff;
+ background-color: #ffffff;
+ }
+ .full-width-content.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:after {
+ display: none;
+ }
+}
+
+@media (min-width: 1024px) {
+ .woocommerce div.product .woocommerce-tabs ul.tabs {
+ padding: 0 0 0 1em;
+ }
+ .woocommerce div.product .woocommerce-tabs ul.tabs li {
+ display: inline-block;
+ margin: 0 -5px;
+ background-color: #fbfcfc;
+ }
+ .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
+ border-bottom: 1px solid #ffffff;
+ background-color: #ffffff;
+ }
+ .woocommerce div.product .woocommerce-tabs ul.tabs li.active a:after {
+ display: none;
+ }
+}