Cleaned up SCSS files so they lint and made some rules warnings

This commit is contained in:
Jonathan (JB) Belcher 2016-08-09 12:28:32 -04:00
parent efd390e951
commit 90c0db873c
15 changed files with 719 additions and 716 deletions

1
.stylelintignore Normal file
View File

@ -0,0 +1 @@
assets/css/select2.scss

View File

@ -1,5 +1,6 @@
{ {
"rules": { "rules": {
"indentation": "tab",
"color-hex-case": "lower", "color-hex-case": "lower",
"color-no-invalid-hex": true, "color-no-invalid-hex": true,
@ -19,7 +20,7 @@
"unit-case": "lower", "unit-case": "lower",
"unit-no-unknown": true, "unit-no-unknown": true,
"unit-whitelist": ["px", "%", "deg", "ms", "em", "vh", "vw", "rem"], "unit-whitelist": ["px", "%", "deg", "ms", "em", "vh", "vw", "rem", "s", "ex", "pt", "cm"],
"value-list-comma-space-after": "always-single-line", "value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never", "value-list-comma-space-before": "never",
@ -28,8 +29,8 @@
"property-case": "lower", "property-case": "lower",
"declaration-block-no-duplicate-properties": true, "declaration-block-no-duplicate-properties": [true, { "severity": "warning" } ],
"declaration-block-no-ignored-properties": true, "declaration-block-no-ignored-properties": [true, { "severity": "warning" } ],
"declaration-block-trailing-semicolon": "always", "declaration-block-trailing-semicolon": "always",
"declaration-block-single-line-max-declarations": 0, "declaration-block-single-line-max-declarations": 0,
"declaration-block-semicolon-space-before": "never", "declaration-block-semicolon-space-before": "never",
@ -54,6 +55,6 @@
"selector-pseudo-element-colon-notation": "double", "selector-pseudo-element-colon-notation": "double",
"selector-pseudo-element-no-unknown": true, "selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower", "selector-type-case": "lower",
"selector-no-id": true "selector-no-id": [true, { "severity": "warning" } ],
} }
} }

View File

@ -4,6 +4,6 @@
*/ */
@include keyframes( spin ) { @include keyframes( spin ) {
100% { 100% {
@include transform( rotate(360deg) ); @include transform( rotate( 360deg ) );
} }
} }

View File

@ -5,13 +5,13 @@
@mixin clearfix() { @mixin clearfix() {
*zoom: 1; *zoom: 1;
&:before, &::before,
&:after { &::after {
content: " "; content: ' ';
display: table; display: table;
} }
&:after { &::after {
clear: both; clear: both;
} }
} }
@ -105,7 +105,7 @@
* Deprecated * Deprecated
* Vendor prefix no longer required. * Vendor prefix no longer required.
*/ */
@mixin transition($selector: all, $animation: ease-in-out, $duration: .2s) { @mixin transition($selector: all, $animation: ease-in-out, $duration: 0.2s) {
transition: $selector $animation $duration; transition: $selector $animation $duration;
} }
@ -126,10 +126,11 @@
box-sizing: border-box; box-sizing: border-box;
} }
@mixin darkorlighttextshadow($a, $opacity: .8) { @mixin darkorlighttextshadow($a, $opacity: 0.8) {
@if lightness($a) >= 65% { @if lightness($a) >= 65% {
@include text_shadow(0, -1px, 0, rgba(0, 0, 0, $opacity)); @include text_shadow(0, -1px, 0, rgba(0, 0, 0, $opacity));
} @else { }
@else {
@include text_shadow(0, 1px, 0, rgba(255, 255, 255, $opacity)); @include text_shadow(0, 1px, 0, rgba(255, 255, 255, $opacity));
} }
} }
@ -171,7 +172,7 @@
width: 1em; width: 1em;
} }
@mixin icon( $glyph: "\e001" ) { @mixin icon( $glyph: '\e001' ) {
font-family: 'WooCommerce'; font-family: 'WooCommerce';
speak: none; speak: none;
font-weight: normal; font-weight: normal;
@ -190,7 +191,7 @@
content: $glyph; content: $glyph;
} }
@mixin icon_dashicons( $glyph: "\f333" ) { @mixin icon_dashicons( $glyph: '\f333' ) {
font-family: 'Dashicons'; font-family: 'Dashicons';
speak: none; speak: none;
font-weight: normal; font-weight: normal;
@ -209,7 +210,7 @@
content: $glyph; content: $glyph;
} }
@mixin iconbefore( $glyph: "\e001" ) { @mixin iconbefore( $glyph: '\e001' ) {
font-family: 'WooCommerce'; font-family: 'WooCommerce';
speak: none; speak: none;
font-weight: normal; font-weight: normal;
@ -217,12 +218,12 @@
text-transform: none; text-transform: none;
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
margin-right: .618em; margin-right: 0.618em;
content: $glyph; content: $glyph;
text-decoration: none; text-decoration: none;
} }
@mixin iconbeforedashicons( $glyph: "\f333" ) { @mixin iconbeforedashicons( $glyph: '\f333' ) {
font-family: 'Dashicons'; font-family: 'Dashicons';
speak: none; speak: none;
font-weight: normal; font-weight: normal;
@ -230,12 +231,12 @@
text-transform: none; text-transform: none;
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
margin-right: .618em; margin-right: 0.618em;
content: $glyph; content: $glyph;
text-decoration: none; text-decoration: none;
} }
@mixin iconafter( $glyph: "\e001" ) { @mixin iconafter( $glyph: '\e001' ) {
font-family: 'WooCommerce'; font-family: 'WooCommerce';
speak: none; speak: none;
font-weight: normal; font-weight: normal;
@ -243,29 +244,28 @@
text-transform: none; text-transform: none;
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
margin-left: .618em; margin-left: 0.618em;
content: $glyph; content: $glyph;
text-decoration: none; text-decoration: none;
} }
@mixin loader() { @mixin loader() {
&:before { &::before {
height: 1em; height: 1em;
width: 1em; width: 1em;
display: block; display: block;
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
margin-left: -.5em; margin-left: -0.5em;
margin-top: -.5em; margin-top: -0.5em;
display: block; content: '';
content: "";
@include animation( spin 1s ease-in-out infinite ); @include animation( spin 1s ease-in-out infinite );
background: url(../images/icons/loader.svg) center center; background: url('../images/icons/loader.svg') center center;
background-size: cover; background-size: cover;
line-height: 1; line-height: 1;
text-align: center; text-align: center;
font-size: 2em; font-size: 2em;
color: rgba(#000,0.75); color: rgba(#000, 0.75);
} }
} }

View File

@ -6,7 +6,7 @@
/** /**
* Imports * Imports
*/ */
@import "bourbon"; @import 'bourbon';
/** /**
* Styling begins * Styling begins
@ -24,17 +24,17 @@ p.woocommerce-actions,
.woocommerce-message { .woocommerce-message {
a.button-primary { a.button-primary {
background: #bb77ae; background: #bb77ae;
border-color: #A36597; border-color: #a36597;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #A36597; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #A36597; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
color: #fff; color: #fff;
text-shadow: 0px -1px 1px #A36597, 1px 0px 1px #A36597, 0px 1px 1px #A36597, -1px 0px 1px #A36597; text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
&:hover, &:focus, &:active { &:hover, &:focus, &:active {
background: #A36597; background: #a36597;
border-color: #A36597; border-color: #a36597;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #A36597; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #A36597; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
} }
} }
@ -46,12 +46,12 @@ p.woocommerce-actions,
font-size: 13px; font-size: 13px;
line-height: 1.23076923; line-height: 1.23076923;
text-decoration: none; text-decoration: none;
&:before { &::before {
position: absolute; position: absolute;
top: 8px; top: 8px;
left: 0; left: 0;
-webkit-transition: all .1s ease-in-out; -webkit-transition: all 0.1s ease-in-out;
transition: all .1s ease-in-out; transition: all 0.1s ease-in-out;
} }
} }
@ -87,12 +87,12 @@ div.woocommerce-no-shipping-methods-notice {
font-size: 1.1em; font-size: 1.1em;
} }
} }
&:before { &::before {
content: "\e01b"; content: '\e01b';
font-family: "WooCommerce"; font-family: 'WooCommerce';
text-align: center; text-align: center;
line-height: 1; line-height: 1;
color: #F7F1F6; color: #f7f1f6;
display: block; display: block;
width: 1em; width: 1em;
font-size: 20em; font-size: 20em;

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@ body {
.wc-auth-content { .wc-auth-content {
background: #fff; background: #fff;
box-shadow: 0 1px 3px rgba(0,0,0,0.13); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
overflow: hidden; overflow: hidden;
padding: 24px 24px 0; padding: 24px 24px 0;
zoom: 1; zoom: 1;
@ -43,7 +43,7 @@ body {
} }
a { a {
color: #A16696; color: #a16696;
&:hover, &:focus { &:hover, &:focus {
color: #111; color: #111;
} }
@ -53,13 +53,13 @@ body {
label { label {
color: #999; color: #999;
display: block; display: block;
margin-bottom: .5em; margin-bottom: 0.5em;
} }
input { input {
box-sizing: border-box; box-sizing: border-box;
font-size: 1.3em; font-size: 1.3em;
padding: .5em; padding: 0.5em;
width: 100%; width: 100%;
} }
@ -133,10 +133,10 @@ body {
color: #fff; color: #fff;
float: right; float: right;
opacity: 1; opacity: 1;
text-shadow: 0px -1px 1px #8a4f7f, 1px 0px 1px #8a4f7f, 0px 1px 1px #8a4f7f, -1px 0px 1px #8a4f7f; text-shadow: 0 -1px 1px #8a4f7f, 1px 0 1px #8a4f7f, 0 1px 1px #8a4f7f, -1px 0 1px #8a4f7f;
&:hover, &:focus { &:hover, &:focus {
background: #B472A8; background: #b472a8;
color: #fff; color: #fff;
} }
} }

View File

@ -6,10 +6,10 @@
/** /**
* Imports * Imports
*/ */
@import "bourbon"; @import 'bourbon';
@import "mixins"; @import 'mixins';
@import "variables"; @import 'variables';
@import "fonts"; @import 'fonts';
/** /**
* Styling begins * Styling begins
@ -26,7 +26,6 @@ ul.woocommerce_stats {
font-size: 0.8em; font-size: 0.8em;
border-left: 1px solid #fff; border-left: 1px solid #fff;
border-right: 1px solid #ececec; border-right: 1px solid #ececec;
text-align: center;
box-sizing: border-box; box-sizing: border-box;
} }
@ -39,7 +38,7 @@ ul.woocommerce_stats {
} }
strong { strong {
font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;
font-size: 4em; font-size: 4em;
line-height: 1.2em; line-height: 1.2em;
font-weight: normal; font-weight: normal;
@ -71,7 +70,7 @@ ul.woocommerce_stats {
display: block; display: block;
color: #aaa; color: #aaa;
padding: 9px 12px; padding: 9px 12px;
-webkit-transition: all ease .5s; -webkit-transition: all ease 0.5s;
position: relative; position: relative;
font-size: 12px; font-size: 12px;
@ -84,7 +83,7 @@ ul.woocommerce_stats {
right: 0; right: 0;
top: 50%; top: 50%;
margin-right: 12px; margin-right: 12px;
margin-top: -1.25em margin-top: -1.25em;
} }
strong { strong {
@ -98,13 +97,13 @@ ul.woocommerce_stats {
&:hover { &:hover {
color: #2ea2cc; color: #2ea2cc;
&:before, &::before,
strong { strong {
color: #2ea2cc !important; color: #2ea2cc !important;
} }
} }
&:before { &::before {
@include icon(); @include icon();
font-size: 2em; font-size: 2em;
position: relative; position: relative;
@ -125,32 +124,32 @@ ul.woocommerce_stats {
li.sales-this-month { li.sales-this-month {
width: 100%; width: 100%;
a:before { a::before {
font-family: "Dashicons"; font-family: 'Dashicons';
content: "\f185"; content: '\f185';
} }
} }
li.best-seller-this-month { li.best-seller-this-month {
width: 100%; width: 100%;
a:before { a::before {
content: "\e006"; content: '\e006';
} }
} }
li.processing-orders { li.processing-orders {
border-right: 1px solid #ececec; border-right: 1px solid #ececec;
a:before { a::before {
content: "\e011"; content: '\e011';
color: $green; color: $green;
} }
} }
li.on-hold-orders { li.on-hold-orders {
a:before { a::before {
content: "\e033"; content: '\e033';
color: #999; color: #999;
} }
} }
@ -158,15 +157,15 @@ ul.woocommerce_stats {
li.low-in-stock { li.low-in-stock {
border-right: 1px solid #ececec; border-right: 1px solid #ececec;
a:before { a::before {
content: "\e016"; content: '\e016';
color: $orange; color: $orange;
} }
} }
li.out-of-stock { li.out-of-stock {
a:before { a::before {
content: "\e013"; content: '\e013';
color: $red; color: $red;
} }
} }
@ -181,7 +180,7 @@ ul.woocommerce_stats {
h4.meta { h4.meta {
line-height: 1.4; line-height: 1.4;
margin: -.2em 0 0 0; margin: -0.2em 0 0 0;
font-weight: normal; font-weight: normal;
color: #999; color: #999;
} }
@ -202,12 +201,12 @@ ul.woocommerce_stats {
position: relative; position: relative;
height: 1.5em; height: 1.5em;
line-height: 1.5; line-height: 1.5;
margin-left: .5em; margin-left: 0.5em;
width: 5.4em; width: 5.4em;
font-family: 'WooCommerce' !important; font-family: 'WooCommerce' !important;
&:before { &::before {
content: "\e021\e021\e021\e021\e021"; content: '\e021\e021\e021\e021\e021';
color: darken( #ccc, 10% ); color: darken( #ccc, 10% );
float: left; float: left;
top: 0; top: 0;
@ -226,8 +225,8 @@ ul.woocommerce_stats {
padding-top: 1.5em; padding-top: 1.5em;
} }
span:before { span::before {
content: "\e020\e020\e020\e020\e020"; content: '\e020\e020\e020\e020\e020';
top: 0; top: 0;
position: absolute; position: absolute;
left: 0; left: 0;
@ -238,7 +237,7 @@ ul.woocommerce_stats {
} }
} }
#dash-right-now li.product-count a:before { #dash-right-now li.product-count a::before {
font-family: 'WooCommerce'; font-family: 'WooCommerce';
content: "\e01d"; content: '\e01d';
} }

View File

@ -7,28 +7,28 @@
/** /**
* Imports * Imports
*/ */
@import "bourbon"; @import 'bourbon';
@import "mixins"; @import 'mixins';
@import "variables"; @import 'variables';
@import "fonts"; @import 'fonts';
/** /**
* Styling begins * Styling begins
*/ */
#adminmenu #toplevel_page_woocommerce .menu-icon-generic div.wp-menu-image:before { #adminmenu #toplevel_page_woocommerce .menu-icon-generic div.wp-menu-image::before {
font-family: 'WooCommerce' !important; font-family: 'WooCommerce' !important;
content: "\e03d"; content: '\e03d';
} }
#adminmenu #menu-posts-product .menu-icon-post div.wp-menu-image:before, #adminmenu #menu-posts-product .menu-icon-post div.wp-menu-image::before,
#adminmenu #menu-posts-product .menu-icon-product div.wp-menu-image:before { #adminmenu #menu-posts-product .menu-icon-product div.wp-menu-image::before {
font-family: 'WooCommerce' !important; font-family: 'WooCommerce' !important;
content: "\e006"; content: '\e006';
} }
#adminmenu #toplevel_page_wc-reports .menu-icon-generic div.wp-menu-image:before { #adminmenu #toplevel_page_wc-reports .menu-icon-generic div.wp-menu-image::before {
font-family: 'WooCommerce' !important; font-family: 'WooCommerce' !important;
content: "\e023"; content: '\e023';
font-size: 1.3em !important; font-size: 1.3em !important;
} }
@ -36,9 +36,9 @@ span.mce_woocommerce_shortcodes_button {
background-image: none !important; background-image: none !important;
@include ir(); @include ir();
&:before { &::before {
@include icon( "\e01d" ); @include icon( '\e01d' );
font-size: .9em; font-size: 0.9em;
line-height: 1.2; line-height: 1.2;
} }
} }
@ -55,8 +55,8 @@ span.mce_woocommerce_shortcodes_button {
text-decoration: underline; text-decoration: underline;
} }
&:before { &::before {
content: "\f348"; content: '\f348';
display: inline-block; display: inline-block;
font: 400 18px/1 dashicons; font: 400 18px/1 dashicons;
speak: none; speak: none;

View File

@ -7,10 +7,10 @@
/** /**
* Imports * Imports
*/ */
@import "bourbon"; @import 'bourbon';
@import "mixins"; @import 'mixins';
@import "variables"; @import 'variables';
@import "fonts"; @import 'fonts';
/** /**
* Mixins * Mixins
@ -19,7 +19,7 @@
border-radius: 100%; border-radius: 100%;
height: 1em; height: 1em;
width: 1em; width: 1em;
text-shadow: 0 1px 2px rgba(0,0,0,0.5); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
background-color: #444; background-color: #444;
color: #fff !important; color: #fff !important;
font-size: 16px !important; font-size: 16px !important;
@ -38,7 +38,7 @@ div.pp_woocommerce {
.pp_content_container { .pp_content_container {
background: #fff; background: #fff;
border-radius: 3px; border-radius: 3px;
box-shadow: 0 1px 30px rgba(0,0,0,0.25); box-shadow: 0 1px 30px rgba(0, 0, 0, 0.25);
padding: 20px 0; padding: 20px 0;
@include clearfix(); @include clearfix();
} }
@ -55,9 +55,9 @@ div.pp_woocommerce {
ul { ul {
li { li {
a { a {
border: 1px solid rgba(0,0,0,0.5); border: 1px solid rgba(0, 0, 0, 0.5);
background: #fff; background: #fff;
box-shadow: 0 1px 2px rgba(0,0,0,0.2); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
border-radius: 2px; border-radius: 2px;
display: block; display: block;
@ -77,10 +77,10 @@ div.pp_woocommerce {
.pp_previous, .pp_previous,
.pp_next { .pp_next {
&:before { &::before {
@include button(); @include button();
font-family: 'WooCommerce'; font-family: 'WooCommerce';
content: "\e00b"; content: '\e00b';
text-indent: 0; text-indent: 0;
display: none; display: none;
position: absolute; position: absolute;
@ -90,23 +90,23 @@ div.pp_woocommerce {
} }
&:hover { &:hover {
&:before { &::before {
display: block; display: block;
} }
} }
} }
.pp_previous { .pp_previous {
&:before { &::before {
left: 1em; left: 1em;
} }
} }
.pp_next { .pp_next {
&:before { &::before {
right: 1em; right: 1em;
font-family: 'WooCommerce'; font-family: 'WooCommerce';
content: "\e008"; content: '\e008';
} }
} }
@ -136,13 +136,13 @@ div.pp_woocommerce {
.pp_close { .pp_close {
@include button(); @include button();
top: -.5em; top: -0.5em;
right: -.5em; right: -0.5em;
font-size: 1.618em !important; font-size: 1.618em !important;
&:before { &::before {
font-family: 'WooCommerce'; font-family: 'WooCommerce';
content: "\e013"; content: '\e013';
display: block; display: block;
position: absolute; position: absolute;
top: 0; top: 0;
@ -160,9 +160,9 @@ div.pp_woocommerce {
position: relative; position: relative;
margin-top: -1px; margin-top: -1px;
&:before { &::before {
font-family: 'WooCommerce'; font-family: 'WooCommerce';
content: "\e00b"; content: '\e00b';
display: block; display: block;
position: absolute; position: absolute;
top: 0; top: 0;
@ -175,14 +175,14 @@ div.pp_woocommerce {
} }
.pp_arrow_previous { .pp_arrow_previous {
margin-right: .5em; margin-right: 0.5em;
} }
.pp_arrow_next { .pp_arrow_next {
margin-left: .5em; margin-left: 0.5em;
&:before { &::before {
content: "\e008"; content: '\e008';
} }
} }
@ -190,13 +190,13 @@ div.pp_woocommerce {
a.pp_contract { a.pp_contract {
@include button(); @include button();
right: auto; right: auto;
left: -.5em; left: -0.5em;
top: -.5em; top: -0.5em;
font-size: 1.618em !important; font-size: 1.618em !important;
&:before { &::before {
font-family: 'WooCommerce'; font-family: 'WooCommerce';
content: "\e005"; content: '\e005';
display: block; display: block;
position: absolute; position: absolute;
top: 0; top: 0;
@ -209,8 +209,8 @@ div.pp_woocommerce {
} }
a.pp_contract { a.pp_contract {
&:before { &::before {
content: "\e004"; content: '\e004';
} }
} }
@ -264,7 +264,7 @@ div.pp_woocommerce {
font-size: 44px; font-size: 44px;
line-height: 44px; line-height: 44px;
&:before { &::before {
font-size: 44px; font-size: 44px;
} }
} }
@ -281,12 +281,12 @@ div.pp_woocommerce {
.pp_content { .pp_content {
width: 100% !important; width: 100% !important;
#pp_full_res{ #pp_full_res {
& > img{ & > img {
width: 100% !important; width: 100% !important;
height: auto !important; height: auto !important;
} }
} }
} }
.currentTextHolder { .currentTextHolder {
@ -385,7 +385,7 @@ div.pp_pic_holder {
.pp_content_container .pp_details { .pp_content_container .pp_details {
float: left; float: left;
margin: 10px 0 2px 0; margin: 10px 0 2px;
} }
.pp_description { .pp_description {
@ -401,7 +401,8 @@ div.pp_pic_holder {
.pp_social .facebook { .pp_social .facebook {
float: left; float: left;
margin-left: 5px; margin-left: 5px;
width: 55px; overflow: hidden; width: 55px;
overflow: hidden;
} }
.pp_social .twitter { .pp_social .twitter {
@ -469,7 +470,7 @@ a.pp_arrow_next {
.pp_gallery ul a { .pp_gallery ul a {
border: 1px #000 solid; border: 1px #000 solid;
border: 1px rgba(0,0,0,0.5) solid; border: 1px rgba(0, 0, 0, 0.5) solid;
display: block; display: block;
float: left; float: left;
height: 33px; height: 33px;
@ -537,7 +538,9 @@ a.pp_contract {
} }
a.pp_close { a.pp_close {
position: absolute; right: 0; top: 0; position: absolute;
right: 0;
top: 0;
display: block; display: block;
text-indent: -10000px; text-indent: -10000px;
} }

View File

@ -15,7 +15,7 @@
} }
@page { @page {
margin: .5cm; margin: 0.5cm;
} }
#adminmenuwrap, #adminmenuwrap,
@ -67,7 +67,7 @@ h2 .nav-tab {
.chart-legend li, .chart-legend li,
.chart-legend li { .chart-legend li {
padding: .25em .5em !important; padding: 0.25em 0.5em !important;
box-shadow: none !important; box-shadow: none !important;
border-bottom: 1px solid gray !important; border-bottom: 1px solid gray !important;
} }

View File

@ -14,7 +14,7 @@ body {
} }
} }
.wc-setup-content { .wc-setup-content {
box-shadow: 0 1px 3px rgba(0,0,0,0.13); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
padding: 24px 24px 0; padding: 24px 24px 0;
background: #fff; background: #fff;
overflow: hidden; overflow: hidden;
@ -62,7 +62,7 @@ body {
.description { .description {
line-height: 1.5em; line-height: 1.5em;
display: block; display: block;
margin-top: .25em; margin-top: 0.25em;
color: #999; color: #999;
font-style: italic; font-style: italic;
} }
@ -70,7 +70,7 @@ body {
width: auto; width: auto;
box-sizing: inherit; box-sizing: inherit;
padding: inherit; padding: inherit;
margin: 0 .5em 0 0; margin: 0 0.5em 0 0;
box-shadow: none; box-shadow: none;
} }
} }
@ -93,7 +93,7 @@ body {
} }
table.tax-rates { table.tax-rates {
width: 100%; width: 100%;
font-size: .92em; font-size: 0.92em;
th { th {
padding: 0; padding: 0;
text-align: center; text-align: center;
@ -116,8 +116,8 @@ body {
&.sort { &.sort {
cursor: move; cursor: move;
color: #ccc; color: #ccc;
&:before { &::before {
content: "\f333"; content: '\f333';
font-family: 'dashicons'; font-family: 'dashicons';
} }
} }
@ -135,8 +135,8 @@ body {
overflow: hidden; overflow: hidden;
position: relative; position: relative;
display: inline-block; display: inline-block;
&:before { &::before {
content: "\f502"; content: '\f502';
font-family: 'dashicons'; font-family: 'dashicons';
position: absolute; position: absolute;
left: 0; left: 0;
@ -153,8 +153,8 @@ body {
overflow: hidden; overflow: hidden;
position: relative; position: relative;
display: inline-block; display: inline-block;
&:before { &::before {
content: "\f182"; content: '\f182';
font-family: 'dashicons'; font-family: 'dashicons';
position: absolute; position: absolute;
left: 0; left: 0;
@ -189,7 +189,7 @@ body {
line-height: 1.75em; line-height: 1.75em;
input { input {
vertical-align: middle; vertical-align: middle;
margin: 1px 0 0 0; margin: 1px 0 0;
height: 1.75em; height: 1.75em;
width: 1.75em; width: 1.75em;
line-height: 1.75em; line-height: 1.75em;
@ -231,35 +231,35 @@ body {
ul { ul {
padding: 0 2em 0 0; padding: 0 2em 0 0;
list-style: none outside; list-style: none outside;
margin: 0 0 -.75em; margin: 0 0 -0.75em;
li a { li a {
display: block; display: block;
padding: 0 0 .75em; padding: 0 0 0.75em;
} }
.setup-product { .setup-product {
a { a {
background-color: #bb77ae; background-color: #bb77ae;
border-color: #A36597; border-color: #a36597;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #A36597; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #A36597; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
text-shadow: 0px -1px 1px #A36597, 1px 0px 1px #A36597, 0px 1px 1px #A36597, -1px 0px 1px #A36597; text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
font-size: 1em; font-size: 1em;
height: auto; height: auto;
line-height: 1.75em; line-height: 1.75em;
margin: 0 0 .75em; margin: 0 0 0.75em;
opacity: 1; opacity: 1;
padding: 1em; padding: 1em;
text-align: center; text-align: center;
&:hover, &:focus, &:active { &:hover, &:focus, &:active {
background: #A36597; background: #a36597;
border-color: #A36597; border-color: #a36597;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #A36597; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #A36597; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
} }
} }
} }
li a:before { li a::before {
color: #82878c; color: #82878c;
font: normal 20px/1 'dashicons'; font: normal 20px/1 'dashicons';
speak: none; speak: none;
@ -272,20 +272,20 @@ body {
text-decoration: none !important; text-decoration: none !important;
vertical-align: top; vertical-align: top;
} }
.learn-more a:before { .learn-more a::before {
content: "\f105"; content: '\f105';
} }
.video-walkthrough a:before { .video-walkthrough a::before {
content: "\f126"; content: '\f126';
} }
.newsletter a:before { .newsletter a::before {
content: "\f465"; content: '\f465';
} }
} }
} }
.woocommerce-tracker, .updated { .woocommerce-tracker, .updated {
padding: 24px 24px 0; padding: 24px 24px 0;
margin: 0 0 24px 0; margin: 0 0 24px;
overflow: hidden; overflow: hidden;
background: #f5f5f5; background: #f5f5f5;
p { p {
@ -293,7 +293,7 @@ body {
margin: 0 0 12px; margin: 0 0 12px;
} }
p:last-child { p:last-child {
margin: 0 0 24px 0; margin: 0 0 24px;
} }
} }
} }
@ -317,8 +317,8 @@ body {
border-bottom: 4px solid #ccc; border-bottom: 4px solid #ccc;
line-height: 1.4em; line-height: 1.4em;
} }
li:before { li::before {
content: ""; content: '';
border: 4px solid #ccc; border: 4px solid #ccc;
border-radius: 100%; border-radius: 100%;
width: 4px; width: 4px;
@ -333,14 +333,14 @@ body {
li.active { li.active {
border-color: #a16696; border-color: #a16696;
color: #a16696; color: #a16696;
&:before { &::before {
border-color: #a16696; border-color: #a16696;
} }
} }
li.done { li.done {
border-color: #a16696; border-color: #a16696;
color: #a16696; color: #a16696;
&:before { &::before {
border-color: #a16696; border-color: #a16696;
background: #a16696; background: #a16696;
} }
@ -351,28 +351,28 @@ body {
.button { .button {
float: right; float: right;
font-size: 1.25em; font-size: 1.25em;
padding: .5em 1em; padding: 0.5em 1em;
line-height: 1em; line-height: 1em;
margin-right: .5em; margin-right: 0.5em;
margin-bottom: 2px; margin-bottom: 2px;
height: auto; height: auto;
border-radius: 4px; border-radius: 4px;
} }
.button-primary { .button-primary {
background-color: #bb77ae; background-color: #bb77ae;
border-color: #A36597; border-color: #a36597;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #A36597; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #A36597; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
text-shadow: 0px -1px 1px #A36597, 1px 0px 1px #A36597, 0px 1px 1px #A36597, -1px 0px 1px #A36597; text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
float: right; float: right;
margin: 0; margin: 0;
opacity: 1; opacity: 1;
&:hover, &:focus, &:active { &:hover, &:focus, &:active {
background: #A36597; background: #a36597;
border-color: #A36597; border-color: #a36597;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #A36597; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #A36597; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
} }
} }
} }
@ -424,7 +424,7 @@ ul.wc-wizard-payment-gateways {
} }
&.checked { &.checked {
background: #F7F1F6; background: #f7f1f6;
.wc-wizard-gateway-settings { .wc-wizard-gateway-settings {
display: table; display: table;
@ -435,12 +435,12 @@ ul.wc-wizard-payment-gateways {
font-style: italic; font-style: italic;
p { p {
margin: 0 0 .5em; margin: 0 0 0.5em;
} }
} }
.wc-wizard-gateway-enable { .wc-wizard-gateway-enable {
margin: 0 0 .5em; margin: 0 0 0.5em;
label { label {
display: block; display: block;
@ -452,7 +452,7 @@ ul.wc-wizard-payment-gateways {
vertical-align: middle; vertical-align: middle;
} }
} }
label:before { label::before {
content: ''; content: '';
background: #fff; background: #fff;
border: 2px solid #eee; border: 2px solid #eee;
@ -473,8 +473,8 @@ ul.wc-wizard-payment-gateways {
width: 0; width: 0;
position: absolute; position: absolute;
&:checked + label:before { &:checked + label::before {
content: "\f147"; content: '\f147';
font-family: 'dashicons'; font-family: 'dashicons';
color: #fff; color: #fff;
border-color: #a46497; border-color: #a46497;

View File

@ -6,9 +6,9 @@
/** /**
* Imports * Imports
*/ */
@import "bourbon"; @import 'bourbon';
@import "mixins"; @import 'mixins';
@import "variables"; @import 'variables';
/** /**
* Styling begins * Styling begins

View File

@ -6,9 +6,9 @@
/** /**
* Imports * Imports
*/ */
@import "bourbon"; @import 'bourbon';
@import "mixins"; @import 'mixins';
@import "variables"; @import 'variables';
/** /**
* Style begins * Style begins
@ -44,7 +44,7 @@
text-align: left !important; // This must always align left on handheld text-align: left !important; // This must always align left on handheld
} }
&:before { &::before {
content: attr(data-title) ': '; content: attr(data-title) ': ';
font-weight: 700; font-weight: 700;
float: left; float: left;
@ -52,15 +52,15 @@
&.product-remove, &.product-remove,
&.actions { &.actions {
&:before { &::before {
display: none; display: none;
} }
} }
} }
&:nth-child(2n) { &:nth-child( 2n ) {
td { td {
background-color: rgba(0,0,0,0.025); background-color: rgba(0, 0, 0, 0.025);
} }
} }
} }
@ -72,13 +72,13 @@
&.order-actions { &.order-actions {
text-align: left; text-align: left;
&:before { &::before {
display: none; display: none;
} }
.button { .button {
float: none; float: none;
margin: .125em .25em .125em 0; margin: 0.125em 0.25em 0.125em 0;
} }
} }
} }
@ -99,7 +99,7 @@
/** /**
* Products * Products
*/ */
&, &[class*="columns-"] { &, &[class*='columns-'] {
ul.products { ul.products {
li.product { li.product {
width: 48%; width: 48%;
@ -107,7 +107,7 @@
clear: both; clear: both;
margin: 0 0 2.992em; margin: 0 0 2.992em;
&:nth-child(2n) { &:nth-child( 2n ) {
float: right; float: right;
clear: none !important; // This should never clear. clear: none !important; // This should never clear.
} }
@ -142,7 +142,7 @@
.coupon { .coupon {
float: none; float: none;
@include clearfix(); @include clearfix();
padding-bottom: .5em; padding-bottom: 0.5em;
input, input,
.button, .button,

View File

@ -7,11 +7,11 @@
/** /**
* Imports * Imports
*/ */
@import "bourbon"; @import 'bourbon';
@import "mixins"; @import 'mixins';
@import "variables"; @import 'variables';
@import "animation"; @import 'animation';
@import "fonts"; @import 'fonts';
/** /**
* Global styles * Global styles
@ -29,7 +29,7 @@ p.demo_store {
background-color: $primary; background-color: $primary;
color: $primarytext; color: $primarytext;
z-index: 99998; z-index: 99998;
box-shadow: 0 1px 1em rgba(0,0,0,0.2); box-shadow: 0 1px 1em rgba(0, 0, 0, 0.2);
a { a {
color: $primarytext; color: $primarytext;
} }
@ -83,7 +83,7 @@ p.demo_store {
small.note { small.note {
display: block; display: block;
color: $subtext; color: $subtext;
font-size: .857em; font-size: 0.857em;
margin-top: 10px; margin-top: 10px;
} }
@ -212,7 +212,7 @@ p.demo_store {
a { a {
display: inline-block; display: inline-block;
padding: .5em 0; padding: 0.5em 0;
font-weight: 700; font-weight: 700;
color: $secondarytext; color: $secondarytext;
text-decoration: none; text-decoration: none;
@ -233,26 +233,26 @@ p.demo_store {
text-shadow: inherit; text-shadow: inherit;
} }
&:before { &::before {
box-shadow: 2px 2px 0 $contentbg; box-shadow: 2px 2px 0 $contentbg;
} }
&:after { &::after {
box-shadow: -2px 2px 0 $contentbg; box-shadow: -2px 2px 0 $contentbg;
} }
} }
&:before, &::before,
&:after { &::after {
border: 1px solid darken( $secondary, 10% ); border: 1px solid darken( $secondary, 10% );
position: absolute; position: absolute;
bottom: -1px; bottom: -1px;
width: 5px; width: 5px;
height: 5px; height: 5px;
content: " "; content: ' ';
} }
&:before { &::before {
left: -6px; left: -6px;
-webkit-border-bottom-right-radius: 4px; -webkit-border-bottom-right-radius: 4px;
-moz-border-bottom-right-radius: 4px; -moz-border-bottom-right-radius: 4px;
@ -261,7 +261,7 @@ p.demo_store {
box-shadow: 2px 2px 0 $secondary; box-shadow: 2px 2px 0 $secondary;
} }
&:after { &::after {
right: -6px; right: -6px;
-webkit-border-bottom-left-radius: 4px; -webkit-border-bottom-left-radius: 4px;
-moz-border-bottom-left-radius: 4px; -moz-border-bottom-left-radius: 4px;
@ -271,9 +271,9 @@ p.demo_store {
} }
} }
&:before { &::before {
position: absolute; position: absolute;
content: " "; content: ' ';
width: 100%; width: 100%;
bottom: 0; bottom: 0;
left: 0; left: 0;
@ -303,7 +303,7 @@ p.demo_store {
} }
table { table {
border-width: 0 0 1px 0; border-width: 0 0 1px;
td { td {
padding-left: 0; padding-left: 0;
@ -376,7 +376,7 @@ p.demo_store {
td { td {
vertical-align: top; vertical-align: top;
padding-bottom: .5em; padding-bottom: 0.5em;
border: 0; border: 0;
} }
} }
@ -386,19 +386,19 @@ p.demo_store {
span.onsale { span.onsale {
min-height: 3.236em; min-height: 3.236em;
min-width: 3.236em; min-width: 3.236em;
padding: .202em; padding: 0.202em;
font-size: 1em; font-size: 1em;
font-weight: 700; font-weight: 700;
position: absolute; position: absolute;
text-align: center; text-align: center;
line-height: 3.236; line-height: 3.236;
top: -.5em; top: -0.5em;
left: -.5em; left: -0.5em;
margin: 0; margin: 0;
border-radius: 100%; border-radius: 100%;
background-color: $highlight; background-color: $highlight;
color: $highlightext; color: $highlightext;
font-size: .857em; font-size: 0.857em;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
@ -424,11 +424,11 @@ p.demo_store {
top: 0; top: 0;
right: 0; right: 0;
left: auto; left: auto;
margin: -.5em -.5em 0 0; margin: -0.5em -0.5em 0 0;
} }
h3 { h3 {
padding: .5em 0; padding: 0.5em 0;
margin: 0; margin: 0;
font-size: 1em; font-size: 1em;
} }
@ -450,7 +450,7 @@ p.demo_store {
} }
.star-rating { .star-rating {
font-size: .857em; font-size: 0.857em;
} }
.button { .button {
@ -461,8 +461,8 @@ p.demo_store {
color: $highlight; color: $highlight;
display: block; display: block;
font-weight: normal; font-weight: normal;
margin-bottom: .5em; margin-bottom: 0.5em;
font-size: .857em; font-size: 0.857em;
del { del {
color: inherit; color: inherit;
@ -525,7 +525,7 @@ p.demo_store {
line-height: 1; line-height: 1;
font-size: 1em; font-size: 1em;
font-weight: normal; font-weight: normal;
padding: .5em; padding: 0.5em;
min-width: 1em; min-width: 1em;
display: block; display: block;
} }
@ -554,7 +554,7 @@ p.demo_store {
position: relative; position: relative;
text-decoration: none; text-decoration: none;
overflow: visible; overflow: visible;
padding: .618em 1em; padding: 0.618em 1em;
font-weight: 700; font-weight: 700;
border-radius: 3px; border-radius: 3px;
left: auto; left: auto;
@ -572,26 +572,26 @@ p.demo_store {
opacity: 0.25; opacity: 0.25;
padding-right: 2.618em; padding-right: 2.618em;
&:after { &::after {
font-family: "WooCommerce"; font-family: 'WooCommerce';
content: "\e01c"; content: '\e01c';
vertical-align: top; vertical-align: top;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
font-weight: 400; font-weight: 400;
position: absolute; position: absolute;
top: .618em; top: 0.618em;
right: 1em; right: 1em;
-webkit-animation: spin 2s linear infinite; -webkit-animation: spin 2s linear infinite;
-moz-animation: spin 2s linear infinite; -moz-animation: spin 2s linear infinite;
animation: spin 2s linear infinite; animation: spin 2s linear infinite;
} }
} }
&.added { &.added {
&:after { &::after {
font-family: 'WooCommerce'; font-family: 'WooCommerce';
content: "\e017"; content: '\e017';
margin-left: .53em; margin-left: 0.53em;
vertical-align: bottom; vertical-align: bottom;
} }
} }
@ -630,7 +630,7 @@ p.demo_store {
color: inherit; color: inherit;
cursor: not-allowed; cursor: not-allowed;
opacity: 0.5; opacity: 0.5;
padding: .618em 1em; padding: 0.618em 1em;
&:hover { &:hover {
color: inherit; color: inherit;
@ -645,7 +645,7 @@ p.demo_store {
} }
a.added_to_cart { a.added_to_cart {
padding-top: .5em; padding-top: 0.5em;
white-space: nowrap; white-space: nowrap;
display: inline-block; display: inline-block;
} }
@ -658,7 +658,7 @@ p.demo_store {
float: right; float: right;
color: $subtext; color: $subtext;
font-size: 15px; font-size: 15px;
margin: 10px 0 0 0; margin: 10px 0 0;
a { a {
text-decoration: none; text-decoration: none;
@ -757,8 +757,8 @@ p.demo_store {
} }
} }
.commentlist > li:before { .commentlist > li::before {
content: ""; content: '';
} }
} }
} }
@ -776,8 +776,8 @@ p.demo_store {
width: 5.4em; width: 5.4em;
font-family: 'star'; font-family: 'star';
&:before { &::before {
content: "\73\73\73\73\73"; content: '\73\73\73\73\73';
color: darken( $secondary, 10% ); color: darken( $secondary, 10% );
float: left; float: left;
top: 0; top: 0;
@ -794,8 +794,8 @@ p.demo_store {
padding-top: 1.5em; padding-top: 1.5em;
} }
span:before { span::before {
content: "\53\53\53\53\53"; content: '\53\53\53\53\53';
top: 0; top: 0;
position: absolute; position: absolute;
left: 0; left: 0;
@ -808,7 +808,7 @@ p.demo_store {
display: block; display: block;
.star-rating { .star-rating {
margin: .5em 4px 0 0; margin: 0.5em 4px 0 0;
float: left; float: left;
} }
} }
@ -816,14 +816,14 @@ p.demo_store {
.products { .products {
.star-rating { .star-rating {
display: block; display: block;
margin: 0 0 .5em; margin: 0 0 0.5em;
float: none; float: none;
} }
} }
.hreview-aggregate { .hreview-aggregate {
.star-rating { .star-rating {
margin: 10px 0 0 0; margin: 10px 0 0;
} }
} }
@ -833,7 +833,7 @@ p.demo_store {
position: static; position: static;
margin: 0; margin: 0;
width: auto; width: auto;
padding: 0 0 0; padding: 0;
background: transparent none; background: transparent none;
border: 0; border: 0;
@ -863,7 +863,7 @@ p.demo_store {
display: inline-block; display: inline-block;
text-decoration: none; text-decoration: none;
&:before { &::before {
display: block; display: block;
position: absolute; position: absolute;
top: 0; top: 0;
@ -871,40 +871,40 @@ p.demo_store {
width: 1em; width: 1em;
height: 1em; height: 1em;
line-height: 1; line-height: 1;
font-family: "WooCommerce"; font-family: 'WooCommerce';
content: "\e021"; content: '\e021';
text-indent: 0; text-indent: 0;
} }
&:hover { &:hover {
~ a:before { ~ a::before {
content: "\e021"; content: '\e021';
} }
} }
} }
&:hover { &:hover {
a { a {
&:before { &::before {
content: "\e020"; content: '\e020';
} }
} }
} }
&.selected { &.selected {
a.active { a.active {
&:before { &::before {
content: "\e020"; content: '\e020';
} }
~ a:before { ~ a::before {
content: "\e021"; content: '\e021';
} }
} }
a:not(.active) { a:not( .active ) {
&:before { &::before {
content: "\e020"; content: '\e020';
} }
} }
} }
@ -915,7 +915,7 @@ p.demo_store {
*/ */
table.shop_attributes { table.shop_attributes {
border: 0; border: 0;
border-top: 1px dotted rgba(0,0,0,0.1); border-top: 1px dotted rgba(0, 0, 0, 0.1);
margin-bottom: 1.618em; margin-bottom: 1.618em;
width: 100%; width: 100%;
@ -924,7 +924,7 @@ p.demo_store {
font-weight: 700; font-weight: 700;
padding: 8px; padding: 8px;
border-top: 0; border-top: 0;
border-bottom: 1px dotted rgba(0,0,0,0.1); border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
margin: 0; margin: 0;
line-height: 1.5; line-height: 1.5;
} }
@ -933,7 +933,7 @@ p.demo_store {
font-style: italic; font-style: italic;
padding: 0; padding: 0;
border-top: 0; border-top: 0;
border-bottom: 1px dotted rgba(0,0,0,0.1); border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
margin: 0; margin: 0;
line-height: 1.5; line-height: 1.5;
@ -945,13 +945,13 @@ p.demo_store {
.alt td, .alt td,
.alt th { .alt th {
background: rgba(0,0,0,0.025); background: rgba(0, 0, 0, 0.025);
} }
} }
table.shop_table { table.shop_table {
border: 1px solid rgba(0,0,0,0.1); border: 1px solid rgba(0, 0, 0, 0.1);
margin: 0px -1px 24px 0px; margin: 0 -1px 24px 0;
text-align: left; text-align: left;
width: 100%; width: 100%;
border-collapse: separate; border-collapse: separate;
@ -963,7 +963,7 @@ p.demo_store {
} }
td { td {
border-top: 1px solid rgba(0,0,0,0.1); border-top: 1px solid rgba(0, 0, 0, 0.1);
padding: 6px 12px; padding: 6px 12px;
vertical-align: middle; vertical-align: middle;
@ -985,7 +985,7 @@ p.demo_store {
tfoot th, tfoot th,
tbody th { tbody th {
font-weight: 700; font-weight: 700;
border-top: 1px solid rgba(0,0,0,0.1); border-top: 1px solid rgba(0, 0, 0, 0.1);
} }
} }
@ -1006,14 +1006,14 @@ p.demo_store {
text-align: right; text-align: right;
.button { .button {
margin: .125em 0 .125em .25em; margin: 0.125em 0 0.125em 0.25em;
} }
} }
} }
td.product-name { td.product-name {
dl.variation { dl.variation {
margin: .25em 0; margin: 0.25em 0;
@include clearfix(); @include clearfix();
dt, dt,
@ -1025,13 +1025,13 @@ p.demo_store {
dt { dt {
font-weight: 700; font-weight: 700;
padding: 0 0 .25em 0; padding: 0 0 0.25em;
margin: 0 4px 0 0; margin: 0 4px 0 0;
clear: left; clear: left;
} }
dd { dd {
padding: 0 0 .25em 0; padding: 0 0 0.25em;
p:last-child { p:last-child {
margin-bottom: 0; margin-bottom: 0;
@ -1080,7 +1080,7 @@ p.demo_store {
dl { dl {
margin: 0; margin: 0;
padding-left: 1em; padding-left: 1em;
border-left: 2px solid rgba(0,0,0,0.1); border-left: 2px solid rgba(0, 0, 0, 0.1);
@include clearfix(); @include clearfix();
dt, dt,
@ -1092,13 +1092,13 @@ p.demo_store {
dt { dt {
font-weight: 700; font-weight: 700;
padding: 0 0 .25em 0; padding: 0 0 0.25em;
margin: 0 4px 0 0; margin: 0 4px 0 0;
clear: left; clear: left;
} }
dd { dd {
padding: 0 0 .25em 0; padding: 0 0 0.25em;
p:last-child { p:last-child {
margin-bottom: 0; margin-bottom: 0;
@ -1253,7 +1253,7 @@ p.demo_store {
form.register { form.register {
border: 1px solid darken( $secondary, 10% ); border: 1px solid darken( $secondary, 10% );
padding: 20px; padding: 20px;
margin: 2em 0 2em 0px; margin: 2em 0;
text-align: left; text-align: left;
border-radius: 5px; border-radius: 5px;
} }
@ -1265,7 +1265,7 @@ p.demo_store {
li { li {
margin: 0; margin: 0;
padding: .25em 0 .25em 22px; padding: 0.25em 0 0.25em 22px;
text-indent: -22px; text-indent: -22px;
list-style: none outside; list-style: none outside;
input { input {
@ -1341,8 +1341,8 @@ p.demo_store {
li.chosen { li.chosen {
a { a {
&:before { &::before {
@include iconbefore( "\e013" ); @include iconbefore( '\e013' );
color: $red; color: $red;
} }
} }
@ -1367,8 +1367,8 @@ p.demo_store {
a { a {
text-decoration: none; text-decoration: none;
&:before { &::before {
@include iconbefore( "\e013" ); @include iconbefore( '\e013' );
color: $red; color: $red;
} }
} }
@ -1401,8 +1401,8 @@ p.demo_store {
.ui-slider { .ui-slider {
position: relative; position: relative;
text-align: left; text-align: left;
margin-left: .5em; margin-left: 0.5em;
margin-right: .5em; margin-right: 0.5em;
} }
.ui-slider .ui-slider-handle { .ui-slider .ui-slider-handle {
@ -1414,17 +1414,17 @@ p.demo_store {
border-radius: 1em; border-radius: 1em;
cursor: ew-resize; cursor: ew-resize;
outline: none; outline: none;
top: -.3em; top: -0.3em;
//&:last-child { //&:last-child {
margin-left: -.5em; margin-left: -0.5em;
//} //}
} }
.ui-slider .ui-slider-range { .ui-slider .ui-slider-range {
position: absolute; position: absolute;
z-index: 1; z-index: 1;
font-size: .7em; font-size: 0.7em;
display: block; display: block;
border: 0; border: 0;
border-radius: 1em; border-radius: 1em;
@ -1438,7 +1438,7 @@ p.demo_store {
} }
.ui-slider-horizontal { .ui-slider-horizontal {
height: .5em; height: 0.5em;
} }
.ui-slider-horizontal .ui-slider-range { .ui-slider-horizontal .ui-slider-range {
@ -1483,8 +1483,8 @@ p.demo_store {
li.chosen { li.chosen {
a { a {
&:before { &::before {
@include iconbefore( "\e013" ); @include iconbefore( '\e013' );
color: $red; color: $red;
} }
} }
@ -1499,7 +1499,7 @@ p.demo_store {
padding: 1em 2em 1em 3.5em; padding: 1em 2em 1em 3.5em;
margin: 0 0 2em; margin: 0 0 2em;
position: relative; position: relative;
background-color: lighten($secondary,5%); background-color: lighten($secondary, 5%);
color: $secondarytext; color: $secondarytext;
border-top: 3px solid $primary; border-top: 3px solid $primary;
list-style: none outside; list-style: none outside;
@ -1507,9 +1507,9 @@ p.demo_store {
width: auto; width: auto;
word-wrap: break-word; word-wrap: break-word;
&:before { &::before {
font-family: "WooCommerce"; font-family: 'WooCommerce';
content: "\e028"; content: '\e028';
display: inline-block; display: inline-block;
position: absolute; position: absolute;
top: 1em; top: 1em;
@ -1530,8 +1530,8 @@ p.demo_store {
.woocommerce-message { .woocommerce-message {
border-top-color: #8fae1b; border-top-color: #8fae1b;
&:before { &::before {
content: "\e015"; content: '\e015';
color: #8fae1b; color: #8fae1b;
} }
} }
@ -1539,7 +1539,7 @@ p.demo_store {
.woocommerce-info { .woocommerce-info {
border-top-color: #1e85be; border-top-color: #1e85be;
&:before { &::before {
color: #1e85be; color: #1e85be;
} }
} }
@ -1547,8 +1547,8 @@ p.demo_store {
.woocommerce-error { .woocommerce-error {
border-top-color: #b81c23; border-top-color: #b81c23;
&:before { &::before {
content: "\e016"; content: '\e016';
color: #b81c23; color: #b81c23;
} }
} }
@ -1599,8 +1599,8 @@ p.demo_store {
margin-left: 0; margin-left: 0;
padding-left: 0; padding-left: 0;
&:before { &::before {
@include iconbefore( "\e00a" ); @include iconbefore( '\e00a' );
} }
.count { .count {
@ -1676,8 +1676,8 @@ p.demo_store {
} }
.shipping-calculator-button { .shipping-calculator-button {
&:after { &::after {
@include iconafter( "\e019" ); @include iconafter( '\e019' );
} }
} }
} }
@ -1799,7 +1799,7 @@ p.demo_store {
img { img {
vertical-align: middle; vertical-align: middle;
margin: -2px 0 0 .5em; margin: -2px 0 0 0.5em;
padding: 0; padding: 0;
position: relative; position: relative;
box-shadow: none; box-shadow: none;
@ -1820,7 +1820,7 @@ p.demo_store {
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
padding: 1em; padding: 1em;
margin: 1em 0 1em 0; margin: 1em 0;
font-size: 0.92em; font-size: 0.92em;
border-radius: 2px; border-radius: 2px;
line-height: 1.5; line-height: 1.5;
@ -1849,7 +1849,7 @@ p.demo_store {
margin: 0; margin: 0;
.woocommerce-SavedPaymentMethods-token, .woocommerce-SavedPaymentMethods-token,
.woocommerce-SavedPaymentMethods-new { .woocommerce-SavedPaymentMethods-new {
margin: 0 0 .5em 0; margin: 0 0 0.5em;
label { label {
cursor: pointer; cursor: pointer;
} }
@ -1872,43 +1872,43 @@ p.demo_store {
font-size: 1.5em; font-size: 1.5em;
padding: 8px; padding: 8px;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: right .618em center; background-position: right 0.618em center;
background-size: 32px 20px; background-size: 32px 20px;
&.visa { &.visa {
background-image: url(../images/icons/credit-cards/visa.svg); background-image: url('../images/icons/credit-cards/visa.svg');
} }
&.mastercard { &.mastercard {
background-image: url(../images/icons/credit-cards/mastercard.svg); background-image: url('../images/icons/credit-cards/mastercard.svg');
} }
&.laser { &.laser {
background-image: url(../images/icons/credit-cards/laser.svg); background-image: url('../images/icons/credit-cards/laser.svg');
} }
&.dinersclub { &.dinersclub {
background-image: url(../images/icons/credit-cards/diners.svg); background-image: url('../images/icons/credit-cards/diners.svg');
} }
&.maestro { &.maestro {
background-image: url(../images/icons/credit-cards/maestro.svg); background-image: url('../images/icons/credit-cards/maestro.svg');
} }
&.jcb { &.jcb {
background-image: url(../images/icons/credit-cards/jcb.svg); background-image: url('../images/icons/credit-cards/jcb.svg');
} }
&.amex { &.amex {
background-image: url(../images/icons/credit-cards/amex.svg); background-image: url('../images/icons/credit-cards/amex.svg');
} }
&.discover { &.discover {
background-image: url(../images/icons/credit-cards/discover.svg); background-image: url('../images/icons/credit-cards/discover.svg');
} }
} }
span.help { span.help {
font-size: .857em; font-size: 0.857em;
color: $subtext; color: $subtext;
font-weight: normal; font-weight: normal;
} }
@ -1921,15 +1921,15 @@ p.demo_store {
margin-bottom: 0; margin-bottom: 0;
} }
&:before { &::before {
content: ""; content: '';
display: block; display: block;
border: 1em solid darken( $secondary, 5% ); /* arrow size / color */ border: 1em solid darken( $secondary, 5% ); /* arrow size / color */
border-right-color: transparent; border-right-color: transparent;
border-left-color: transparent; border-left-color: transparent;
border-top-color: transparent; border-top-color: transparent;
position: absolute; position: absolute;
top: -.75em; top: -0.75em;
left: 0; left: 0;
margin: -1em 0 0 2em; margin: -1em 0 0 2em;
} }
@ -1956,7 +1956,7 @@ p.demo_store {
.woocommerce-password-strength { .woocommerce-password-strength {
text-align: center; text-align: center;
font-weight: 600; font-weight: 600;
padding: 3px .5em; padding: 3px 0.5em;
font-size: 1em; font-size: 1em;
&.strong { &.strong {
@ -1981,7 +1981,7 @@ p.demo_store {
} }
.woocommerce-password-hint { .woocommerce-password-hint {
margin: .5em 0 0 0; margin: 0.5em 0 0;
display: block; display: block;
} }
@ -2041,7 +2041,7 @@ p.demo_store {
/** /**
* Twenty Sixteen specific styles * Twenty Sixteen specific styles
*/ */
body:not(.search-results) { body:not( .search-results ) {
.twentysixteen { .twentysixteen {
.entry-summary { .entry-summary {
color: inherit; color: inherit;