woocommerce/assets/css/twenty-seventeen.scss

1282 lines
17 KiB
SCSS
Raw Normal View History

/**
* Twenty Seventeen integration styles
*/
2019-02-18 11:41:05 +00:00
@import "mixins";
@import "animation";
2016-11-25 16:10:58 +00:00
/**
* Fonts
*/
@font-face {
2019-02-18 11:41:05 +00:00
font-family: "star";
src: url("../fonts/star.eot");
src:
url("../fonts/star.eot?#iefix") format("embedded-opentype"),
url("../fonts/star.woff") format("woff"),
url("../fonts/star.ttf") format("truetype"),
url("../fonts/star.svg#star") format("svg");
2016-11-25 16:10:58 +00:00
font-weight: normal;
font-style: normal;
}
2016-11-28 12:47:04 +00:00
@font-face {
2019-02-18 11:41:05 +00:00
font-family: "WooCommerce";
src: url("../fonts/WooCommerce.eot");
src:
url("../fonts/WooCommerce.eot?#iefix") format("embedded-opentype"),
url("../fonts/WooCommerce.woff") format("woff"),
url("../fonts/WooCommerce.ttf") format("truetype"),
url("../fonts/WooCommerce.svg#WooCommerce") format("svg");
2016-11-28 12:47:04 +00:00
font-weight: normal;
font-style: normal;
}
2016-11-25 16:10:58 +00:00
/**
* Mixins
*/
2016-11-25 16:14:57 +00:00
@mixin link() {
2016-11-25 16:10:58 +00:00
box-shadow: 0 1px 0 rgba(15, 15, 15, 1);
transition: box-shadow ease-in-out 130ms;
2016-11-25 16:10:58 +00:00
&:hover {
box-shadow: 0 3px 0 rgba(15, 15, 15, 1);
}
}
2016-11-28 17:50:20 +00:00
@mixin link_white() {
color: #fff;
box-shadow: 0 1px 0 rgba(#fff, 1) !important;
transition: box-shadow ease-in-out 130ms;
2016-11-28 17:50:20 +00:00
&:hover {
color: #fff !important;
box-shadow: 0 3px 0 rgba(#fff, 1) !important;
}
}
2016-11-25 16:18:50 +00:00
/**
* Global elements
*/
2019-02-18 11:41:05 +00:00
.woocommerce {
.blockUI.blockOverlay {
position: relative;
2019-02-18 11:41:05 +00:00
@include loader();
}
.loader {
2019-02-18 11:41:05 +00:00
@include loader();
}
form .form-row {
2019-02-18 11:41:05 +00:00
.required {
color: firebrick;
text-decoration: none;
visibility: hidden; // Only show optional by default.
&[title] {
border: 0 !important;
}
}
.optional {
visibility: visible;
2019-02-18 11:41:05 +00:00
}
}
2019-01-31 16:28:54 +00:00
.woocommerce-form-login {
2019-02-18 11:41:05 +00:00
2019-01-31 16:28:54 +00:00
.woocommerce-form-login__submit {
float: left;
margin-right: 1em;
}
2019-02-18 11:41:05 +00:00
2019-01-31 16:28:54 +00:00
.woocommerce-form-login__rememberme {
display: inline-block;
line-height: 3em;
}
}
}
2016-11-25 16:18:50 +00:00
.woocommerce-breadcrumb {
padding-bottom: 2em;
margin-bottom: 4em;
border-bottom: 1px solid #eee;
font-size: 13px;
font-size: 0.8125rem;
a {
2019-02-18 11:41:05 +00:00
2016-11-25 16:18:50 +00:00
@include link();
}
}
.woocommerce-pagination {
padding-top: 2em;
margin-top: 4em;
border-top: 1px solid #eee;
font-size: 13px;
font-size: 0.8125rem;
ul.page-numbers {
padding: 0;
display: block;
}
span.page-numbers,
a.page-numbers,
.next.page-numbers,
.prev.page-numbers {
padding: 0.5em 1em;
background: #ddd;
display: inline-block;
font-size: 1em;
float: none;
line-height: 1.5;
border-radius: 2px;
2019-02-18 11:41:05 +00:00
transition: background-color ease-in-out 0.3s;
}
span.page-numbers {
background-color: #fff;
}
a.page-numbers:hover {
background-color: #767676;
color: #fff;
}
}
.onsale {
background-color: #fff;
position: absolute;
top: 0;
left: 0;
display: inline-block;
2019-02-18 11:41:05 +00:00
padding: 0.5em 1em;
font-size: 13px;
font-size: 0.8125rem;
text-transform: uppercase;
font-weight: 800;
z-index: 1;
}
.price {
2019-02-18 11:41:05 +00:00
del {
2019-02-18 11:41:05 +00:00
opacity: 0.5;
2017-10-31 12:22:18 +00:00
display: inline-block;
}
2019-02-18 11:41:05 +00:00
2017-10-31 12:22:18 +00:00
ins {
display: inline-block;
}
}
2016-11-28 13:26:02 +00:00
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
margin-bottom: 1.5em;
padding: 2em;
background: #eee;
}
.woocommerce-message {
background: teal;
color: #fff;
}
.woocommerce-error {
background: firebrick;
color: #fff;
}
.woocommerce-info {
background: royalblue;
color: #fff;
}
2016-11-28 17:50:20 +00:00
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
2019-02-18 11:41:05 +00:00
2016-11-28 17:50:20 +00:00
a {
2019-02-18 11:41:05 +00:00
2016-11-28 17:50:20 +00:00
@include link_white();
}
}
2016-11-28 13:26:02 +00:00
.woocommerce-store-notice {
background: royalblue;
color: #fff;
padding: 1em;
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 999;
}
.admin-bar .woocommerce-store-notice {
top: 32px;
}
.woocommerce-store-notice__dismiss-link {
float: right;
color: #fff;
&:hover {
text-decoration: underline;
color: #fff;
}
2016-11-28 12:47:04 +00:00
}
2016-11-25 16:10:58 +00:00
/**
* Shop page
*/
.woocommerce-result-count {
2019-02-18 11:41:05 +00:00
padding: 0.75em 0;
2016-11-25 16:10:58 +00:00
}
/**
* Products
*/
ul.products {
2019-02-18 11:41:05 +00:00
2016-11-25 16:10:58 +00:00
li.product {
list-style: none;
.price,
.star-rating {
display: block;
2019-02-18 11:41:05 +00:00
margin-bottom: 0.75em;
2016-11-25 16:10:58 +00:00
}
2018-06-27 17:13:39 +00:00
.woocommerce-placeholder {
2019-02-18 11:41:05 +00:00
border: 1px solid #f2f2f2;
2018-06-27 17:13:39 +00:00
}
2016-11-25 16:10:58 +00:00
.button {
2019-02-18 11:41:05 +00:00
2016-11-25 16:14:57 +00:00
@include link();
2016-11-25 16:10:58 +00:00
&.loading {
2019-02-18 11:41:05 +00:00
opacity: 0.5;
2016-11-25 16:10:58 +00:00
}
}
.added_to_cart {
2019-02-18 11:41:05 +00:00
2016-11-25 16:14:57 +00:00
@include link();
2019-02-18 11:41:05 +00:00
margin-left: 0.5em;
2016-11-25 16:10:58 +00:00
}
}
}
.star-rating {
overflow: hidden;
position: relative;
height: 1em;
line-height: 1;
font-size: 1em;
width: 5.4em;
2019-02-18 11:41:05 +00:00
font-family: "star";
2016-11-25 16:10:58 +00:00
&::before {
2019-02-18 11:41:05 +00:00
content: "\73\73\73\73\73";
2016-11-25 16:10:58 +00:00
float: left;
top: 0;
left: 0;
position: absolute;
}
span {
overflow: hidden;
float: left;
top: 0;
left: 0;
position: absolute;
padding-top: 1.5em;
}
span::before {
2019-02-18 11:41:05 +00:00
content: "\53\53\53\53\53";
2016-11-25 16:10:58 +00:00
top: 0;
position: absolute;
left: 0;
}
}
.woocommerce-loop-product__title {
font-size: 13px;
font-size: 0.8125rem;
text-transform: uppercase;
font-weight: 800;
letter-spacing: 0.15em;
}
2016-11-28 14:49:18 +00:00
a.remove {
display: inline-block;
width: 16px;
height: 16px;
line-height: 16px;
font-size: 16px;
2016-11-28 14:49:18 +00:00
text-align: center;
border-radius: 100%;
box-shadow: none !important;
border: 1px solid #000;
&:hover {
background: #000;
color: #fff !important;
}
}
2019-02-18 11:41:05 +00:00
dl.variation,
.wc-item-meta {
list-style: none outside;
2019-02-18 11:41:05 +00:00
dt,
.wc-item-meta-label {
2016-11-28 14:49:18 +00:00
float: left;
clear: both;
2019-02-18 11:41:05 +00:00
margin-right: 0.25em;
2016-11-28 14:49:18 +00:00
display: inline-block;
list-style: none outside;
2016-11-28 14:49:18 +00:00
}
dd {
margin: 0;
}
p,
&:last-child {
margin-bottom: 0;
}
2016-11-28 14:49:18 +00:00
}
/**
* Single product
*/
.single-product {
2019-02-18 11:41:05 +00:00
div.product {
position: relative;
}
.single-featured-image-header {
display: none;
}
2016-11-28 12:47:04 +00:00
.summary {
2016-11-28 15:28:12 +00:00
margin-bottom: 3em;
2016-11-28 13:12:17 +00:00
p.price {
margin-bottom: 2em;
}
}
.woocommerce-product-rating {
margin-bottom: 2em;
line-height: 1;
.star-rating {
float: left;
2019-02-18 11:41:05 +00:00
margin-right: 0.25em;
2016-11-28 13:12:17 +00:00
}
}
form.cart {
2019-02-18 11:41:05 +00:00
2016-11-28 13:12:17 +00:00
.quantity {
float: left;
2019-02-18 11:41:05 +00:00
margin-right: 0.5em;
2016-11-28 13:12:17 +00:00
}
input {
width: 5em;
}
}
.woocommerce-variation-add-to-cart {
2019-02-18 11:41:05 +00:00
2016-11-28 13:12:17 +00:00
.button {
2019-02-18 11:41:05 +00:00
padding-top: 0.72em;
padding-bottom: 0.72em;
2016-11-28 13:12:17 +00:00
}
2019-02-18 11:41:05 +00:00
2017-01-04 12:15:14 +00:00
.button.disabled {
opacity: 0.2;
}
2016-11-28 13:12:17 +00:00
}
}
table.variations {
2019-02-18 11:41:05 +00:00
2016-11-28 13:12:17 +00:00
label {
margin: 0;
}
select {
2019-02-18 11:41:05 +00:00
margin-right: 0.5em;
2016-11-28 12:47:04 +00:00
}
2016-11-28 12:33:46 +00:00
}
.woocommerce-product-gallery {
position: relative;
2016-11-28 15:28:12 +00:00
margin-bottom: 3em;
2016-11-28 12:33:46 +00:00
figure {
margin: 0;
padding: 0;
}
.woocommerce-product-gallery__wrapper {
margin: 0;
padding: 0;
2016-11-28 12:33:46 +00:00
}
.zoomImg {
background-color: #fff;
2018-05-08 13:48:25 +00:00
opacity: 0;
}
2018-06-27 17:13:39 +00:00
.woocommerce-product-gallery__image--placeholder {
2019-02-18 11:41:05 +00:00
border: 1px solid #f2f2f2;
2018-06-27 17:13:39 +00:00
}
2017-01-27 15:34:50 +00:00
.woocommerce-product-gallery__image:nth-child(n+2) {
width: 25%;
display: inline-block;
}
2016-11-28 12:33:46 +00:00
.flex-control-thumbs {
2019-02-18 11:41:05 +00:00
2016-11-28 12:33:46 +00:00
li {
list-style: none;
cursor: pointer;
float: left;
2016-11-28 12:33:46 +00:00
}
img {
2019-02-18 11:41:05 +00:00
opacity: 0.5;
2016-11-28 12:33:46 +00:00
&:hover,
&.flex-active {
opacity: 1;
}
}
}
img {
display: block;
height: auto;
2016-11-28 12:33:46 +00:00
}
}
.woocommerce-product-gallery--columns-3 {
2019-02-18 11:41:05 +00:00
2016-11-28 12:33:46 +00:00
.flex-control-thumbs li {
width: 33.3333%;
}
2019-02-18 11:41:05 +00:00
.flex-control-thumbs li:nth-child(3n+1) {
clear: left;
}
2016-11-28 12:33:46 +00:00
}
.woocommerce-product-gallery--columns-4 {
2019-02-18 11:41:05 +00:00
2016-11-28 12:33:46 +00:00
.flex-control-thumbs li {
width: 25%;
}
2019-02-18 11:41:05 +00:00
.flex-control-thumbs li:nth-child(4n+1) {
clear: left;
}
2016-11-28 12:33:46 +00:00
}
.woocommerce-product-gallery--columns-5 {
2019-02-18 11:41:05 +00:00
2016-11-28 12:33:46 +00:00
.flex-control-thumbs li {
width: 20%;
}
2019-02-18 11:41:05 +00:00
.flex-control-thumbs li:nth-child(5n+1) {
clear: left;
}
2016-11-28 12:33:46 +00:00
}
.woocommerce-product-gallery__trigger {
position: absolute;
top: 1em;
right: 1em;
z-index: 99;
2016-11-28 12:47:04 +00:00
}
.woocommerce-tabs {
margin-bottom: 2em;
li {
margin-right: 1em;
&.active {
2019-02-18 11:41:05 +00:00
2016-11-28 12:47:04 +00:00
a {
box-shadow: 0 3px 0 rgba(15, 15, 15, 1);
}
}
}
a {
2019-02-18 11:41:05 +00:00
2016-11-28 12:47:04 +00:00
@include link();
}
#comments {
padding-top: 0;
}
.comment-reply-title {
font-size: 22px;
font-size: 1.375rem;
font-weight: 300;
line-height: 1.4;
margin: 0 0 0.75em;
display: block;
}
#reviews {
2019-02-18 11:41:05 +00:00
2016-11-29 10:34:37 +00:00
li.review,
2016-11-28 12:47:04 +00:00
li.comment {
list-style: none;
margin-right: 0;
2016-11-29 10:34:37 +00:00
margin-bottom: 2.5em;
2016-11-28 12:47:04 +00:00
.avatar {
2016-11-28 13:32:26 +00:00
max-height: 36px;
width: auto;
2016-11-29 10:34:37 +00:00
float: right;
}
p.meta {
2019-02-18 11:41:05 +00:00
margin-bottom: 0.5em;
2016-11-28 12:47:04 +00:00
}
}
p.stars {
2019-02-18 11:41:05 +00:00
2016-11-28 12:47:04 +00:00
a {
position: relative;
height: 1em;
width: 1em;
text-indent: -999em;
display: inline-block;
text-decoration: none;
box-shadow: none;
&::before {
display: block;
position: absolute;
top: 0;
left: 0;
width: 1em;
height: 1em;
line-height: 1;
2019-02-18 11:41:05 +00:00
font-family: "WooCommerce";
content: "\e021";
2016-11-28 12:47:04 +00:00
text-indent: 0;
}
&:hover {
2019-02-18 11:41:05 +00:00
2016-11-28 12:47:04 +00:00
~ a::before {
2019-02-18 11:41:05 +00:00
content: "\e021";
2016-11-28 12:47:04 +00:00
}
}
}
&:hover {
2019-02-18 11:41:05 +00:00
2016-11-28 12:47:04 +00:00
a {
2019-02-18 11:41:05 +00:00
2016-11-28 12:47:04 +00:00
&::before {
2019-02-18 11:41:05 +00:00
content: "\e020";
2016-11-28 12:47:04 +00:00
}
}
}
&.selected {
2019-02-18 11:41:05 +00:00
2016-11-28 12:47:04 +00:00
a.active {
2019-02-18 11:41:05 +00:00
2016-11-28 12:47:04 +00:00
&::before {
2019-02-18 11:41:05 +00:00
content: "\e020";
2016-11-28 12:47:04 +00:00
}
~ a::before {
2019-02-18 11:41:05 +00:00
content: "\e021";
2016-11-28 12:47:04 +00:00
}
}
2019-02-18 11:41:05 +00:00
a:not(.active) {
2016-11-28 12:47:04 +00:00
&::before {
2019-02-18 11:41:05 +00:00
content: "\e020";
2016-11-28 12:47:04 +00:00
}
}
}
}
}
}
2016-11-28 14:49:18 +00:00
/**
* Widgets
*/
2016-11-28 15:26:23 +00:00
.widget .product_list_widget,
.site-footer .widget .product_list_widget {
2016-11-28 14:49:18 +00:00
margin-bottom: 1.5em;
a {
display: block;
box-shadow: none;
&:hover {
box-shadow: none;
}
}
li {
padding: 1.5em 0;
a.remove {
float: right;
margin-top: 2px;
2016-11-28 14:49:18 +00:00
}
}
img {
display: none;
}
}
.widget_shopping_cart {
2019-02-18 11:41:05 +00:00
2016-11-28 14:49:18 +00:00
.buttons {
2019-02-18 11:41:05 +00:00
2016-11-28 14:49:18 +00:00
a {
display: inline-block;
2019-02-18 11:41:05 +00:00
margin: 0 0.5em 0 0;
2016-11-28 14:49:18 +00:00
}
}
}
2016-11-28 14:52:43 +00:00
.widget_layered_nav {
2019-02-18 11:41:05 +00:00
2016-11-28 14:52:43 +00:00
.chosen {
2019-02-18 11:41:05 +00:00
&::before {
2016-11-28 14:52:43 +00:00
content: "×";
display: inline-block;
width: 16px;
height: 16px;
line-height: 16px;
font-size: 16px;
2016-11-28 14:52:43 +00:00
text-align: center;
border-radius: 100%;
border: 1px solid black;
2019-02-18 11:41:05 +00:00
margin-right: 0.25em;
2016-11-28 14:52:43 +00:00
}
}
}
2016-11-28 14:57:36 +00:00
.widget_price_filter {
2019-02-18 11:41:05 +00:00
2016-11-28 14:57:36 +00:00
.price_slider {
margin-bottom: 1em;
}
.price_slider_amount {
text-align: right;
line-height: 2.4;
font-size: 0.8751em;
.button {
float: left;
2019-02-18 11:41:05 +00:00
padding: 0.4em 1em;
2016-11-28 14:57:36 +00:00
}
}
.ui-slider {
position: relative;
text-align: left;
margin-left: 0.5em;
margin-right: 0.5em;
}
.ui-slider .ui-slider-handle {
position: absolute;
z-index: 2;
width: 1em;
height: 1em;
background-color: #000;
border-radius: 1em;
cursor: ew-resize;
outline: none;
top: -0.3em;
margin-left: -0.5em;
}
.ui-slider .ui-slider-range {
position: absolute;
z-index: 1;
font-size: 0.7em;
display: block;
border: 0;
border-radius: 1em;
background-color: #000;
}
.price_slider_wrapper .ui-widget-content {
border-radius: 1em;
background-color: #666;
border: 0;
}
.ui-slider-horizontal {
height: 0.5em;
}
.ui-slider-horizontal .ui-slider-range {
top: 0;
height: 100%;
}
.ui-slider-horizontal .ui-slider-range-min {
left: -1px;
}
.ui-slider-horizontal .ui-slider-range-max {
right: -1px;
}
}
2016-11-28 15:01:14 +00:00
.widget_rating_filter {
2019-02-18 11:41:05 +00:00
2016-11-28 15:01:14 +00:00
li {
text-align: right;
.star-rating {
float: left;
2019-02-18 11:41:05 +00:00
margin-top: 0.3em;
2016-11-28 15:01:14 +00:00
}
}
}
2016-11-28 15:06:32 +00:00
.widget_product_search {
2019-02-18 11:41:05 +00:00
2016-11-28 15:06:32 +00:00
form {
position: relative;
}
.search-field {
padding-right: 100px;
}
input[type=submit] {
position: absolute;
2019-02-18 11:41:05 +00:00
top: 0.5em;
right: 0.5em;
2016-11-28 15:06:32 +00:00
padding-left: 1em;
padding-right: 1em;
}
}
/**
* Account section
*/
.woocommerce-account {
2019-02-18 11:41:05 +00:00
.woocommerce-MyAccount-navigation {
float: right;
width: 25%;
border-top: 1px solid #ddd;
li {
list-style: none;
2019-02-18 11:41:05 +00:00
padding: 0.5em 0;
border-bottom: 1px solid #ddd;
a {
box-shadow: none;
&:hover {
box-shadow: 0 3px 0 rgba(15, 15, 15, 1);
}
}
2019-02-18 11:41:05 +00:00
&::before {
content: "";
display: inline-block;
2019-02-18 11:41:05 +00:00
margin-right: 0.25em;
color: #ddd;
}
&.is-active {
2019-02-18 11:41:05 +00:00
a {
box-shadow: 0 3px 0 rgba(15, 15, 15, 1);
}
}
}
}
.woocommerce-MyAccount-content {
float: left;
}
}
2016-11-29 12:13:43 +00:00
/**
* Cart
*/
.woocommerce-cart-form {
2019-02-18 11:41:05 +00:00
2016-11-29 12:13:43 +00:00
td {
2019-02-18 11:41:05 +00:00
padding: 1em 0.5em;
2016-11-29 12:13:43 +00:00
}
img {
max-width: 42px;
height: auto;
display: block;
}
dl.variation {
margin-top: 0;
p,
&:last-child {
margin-bottom: 0;
}
}
.button {
padding: 1.2em 2em;
}
.actions {
2019-02-18 11:41:05 +00:00
2016-11-29 12:13:43 +00:00
.input-text {
width: 130px !important;
float: left;
2019-02-18 11:41:05 +00:00
margin-right: 0.25em;
2016-11-29 12:13:43 +00:00
}
}
.quantity {
2019-02-18 11:41:05 +00:00
2016-11-29 12:13:43 +00:00
input {
width: 4em;
}
}
}
2018-06-01 20:27:56 +00:00
.cart_totals {
2019-02-18 11:41:05 +00:00
th,
td {
2018-06-01 20:27:56 +00:00
vertical-align: top;
padding: 1em 0;
line-height: 1.5em;
}
2019-02-18 11:41:05 +00:00
2018-06-01 20:27:56 +00:00
th {
padding-right: 1em;
}
2019-02-18 11:41:05 +00:00
2018-06-01 20:27:56 +00:00
.woocommerce-shipping-destination {
margin-bottom: 0;
}
}
.shipping-calculator-button {
2019-02-18 11:41:05 +00:00
margin-top: 0.5em;
2018-06-01 20:27:56 +00:00
display: inline-block;
}
.shipping-calculator-form {
margin: 1em 0 0 0;
}
#shipping_method {
list-style: none;
2018-06-01 20:27:56 +00:00
margin: 0;
li {
2019-02-18 11:41:05 +00:00
margin-bottom: 0.5em;
2017-01-27 15:34:50 +00:00
input {
float: left;
2018-06-01 20:27:56 +00:00
margin-top: 0.17em;
}
label {
2018-06-01 20:27:56 +00:00
line-height: 1.5em;
}
}
}
2016-11-29 12:13:43 +00:00
.checkout-button {
display: block;
padding: 1em 2em;
border: 2px solid #000;
text-align: center;
font-weight: 800;
box-shadow: none !important;
&:hover {
box-shadow: none !important;
border-color: #999;
}
2019-02-18 11:41:05 +00:00
&::after {
2016-11-29 12:13:43 +00:00
content: "";
}
}
2016-11-29 13:17:15 +00:00
/**
* Checkout
*/
#ship-to-different-address {
2019-02-18 11:41:05 +00:00
2016-11-29 13:17:15 +00:00
label {
font-weight: 300;
cursor: pointer;
span {
position: relative;
display: block;
2019-02-18 11:41:05 +00:00
&::before {
2016-11-29 13:17:15 +00:00
content: "";
display: block;
height: 16px;
width: 30px;
border: 2px solid #bbb;
background: #bbb;
border-radius: 13em;
box-sizing: content-box;
2019-02-18 11:41:05 +00:00
transition: all ease-in-out 0.3s;
2016-11-29 13:17:15 +00:00
position: absolute;
top: 4px;
right: 0;
}
2019-02-18 11:41:05 +00:00
&::after {
2016-11-29 13:17:15 +00:00
content: "";
display: block;
width: 14px;
height: 14px;
background: white;
position: absolute;
top: 7px;
right: 17px;
border-radius: 13em;
2019-02-18 11:41:05 +00:00
transition: all ease-in-out 0.3s;
2016-11-29 13:17:15 +00:00
}
}
input[type=checkbox] {
display: none;
}
2019-02-18 11:41:05 +00:00
input[type=checkbox]:checked + span::after {
2016-11-29 13:17:15 +00:00
right: 3px;
}
2019-02-18 11:41:05 +00:00
input[type=checkbox]:checked + span::before {
2016-11-29 13:17:15 +00:00
border-color: #000;
background: #000;
}
}
}
2018-03-07 11:44:41 +00:00
.woocommerce-no-js {
2019-02-18 11:41:05 +00:00
2018-03-07 11:44:41 +00:00
form.woocommerce-form-login,
form.woocommerce-form-coupon {
display: block !important;
}
2019-02-18 11:41:05 +00:00
2018-03-07 11:44:41 +00:00
.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle,
.showcoupon {
display: none !important;
}
}
.woocommerce-terms-and-conditions {
2019-02-18 11:41:05 +00:00
border: 1px solid rgba(0, 0, 0, 0.2);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
background: rgba(0, 0, 0, 0.05);
}
.woocommerce-terms-and-conditions-link {
display: inline-block;
2019-02-18 11:41:05 +00:00
&::after {
content: "";
display: inline-block;
border-style: solid;
margin-bottom: 2px;
2019-02-18 11:41:05 +00:00
margin-left: 0.25em;
border-width: 6px 6px 0 6px;
border-color: #111 transparent transparent transparent;
}
2019-02-18 11:41:05 +00:00
&.woocommerce-terms-and-conditions-link--open::after {
border-width: 0 6px 6px 6px;
border-color: transparent transparent #111 transparent;
}
}
2016-11-29 13:17:15 +00:00
.woocommerce-checkout {
2019-02-18 11:41:05 +00:00
.woocommerce-input-wrapper {
2019-02-18 11:41:05 +00:00
.description {
background: royalblue;
color: #fff;
border-radius: 3px;
padding: 1em;
2019-02-18 11:41:05 +00:00
margin: 0.5em 0 0;
clear: both;
display: none;
position: relative;
a {
color: #fff;
text-decoration: underline;
border: 0;
box-shadow: none;
}
2019-02-18 11:41:05 +00:00
&::before {
left: 50%;
top: 0%;
margin-top: -4px;
2019-02-18 11:41:05 +00:00
transform: translateX(-50%) rotate(180deg);
content: "";
position: absolute;
border-width: 4px 6px 0 6px;
border-style: solid;
border-color: royalblue transparent transparent transparent;
z-index: 100;
display: block;
}
}
}
2016-11-29 13:17:15 +00:00
.select2-choice,
.select2-choice:hover {
box-shadow: none !important;
}
2019-02-18 11:41:05 +00:00
2016-11-29 13:17:15 +00:00
.select2-choice {
2019-02-18 11:41:05 +00:00
padding: 0.7em 0 0.7em 0.7em;
2016-11-29 13:17:15 +00:00
}
2019-02-18 11:41:05 +00:00
.select2-container .select2-selection--single {
height: 48px;
}
2019-02-18 11:41:05 +00:00
.select2-container .select2-selection--single .select2-selection__rendered {
line-height: 48px;
}
2019-02-18 11:41:05 +00:00
.select2-container--default .select2-selection--single .select2-selection__arrow {
height: 46px;
}
2019-02-18 11:41:05 +00:00
.select2-container--focus .select2-selection {
border-color: black;
}
2016-11-29 13:17:15 +00:00
}
.woocommerce-checkout-review-order-table {
2019-02-18 11:41:05 +00:00
2016-11-29 13:17:15 +00:00
td {
2019-02-18 11:41:05 +00:00
padding: 1em 0.5em;
2016-11-29 13:17:15 +00:00
}
dl.variation {
margin: 0;
p {
margin: 0;
}
}
}
.wc_payment_method {
list-style: none;
border-bottom: 1px solid #ddd;
.payment_box {
padding: 2em;
background: #eee;
ul,
ol {
2019-02-18 11:41:05 +00:00
2016-11-29 13:17:15 +00:00
&:last-of-type {
margin-bottom: 0;
}
}
fieldset {
padding: 1.5em;
padding-bottom: 0;
border: 0;
background: #f6f6f6;
}
li {
list-style: none;
}
p:last-child {
margin-bottom: 0;
}
}
> label:first-of-type {
margin: 1em 0;
img {
max-height: 24px;
max-width: 200px;
float: right;
}
}
label {
cursor: pointer;
}
input.input-radio[name=payment_method] {
2016-11-29 13:17:15 +00:00
display: none;
& + label {
2019-02-18 11:41:05 +00:00
&::before {
2016-11-29 13:17:15 +00:00
content: "";
display: inline-block;
width: 16px;
height: 16px;
border: 2px solid white;
box-shadow: 0 0 0 2px black;
background: white;
margin-left: 4px;
2019-02-18 11:41:05 +00:00
margin-right: 0.5em;
2016-11-29 13:17:15 +00:00
border-radius: 100%;
transform: translateY(2px);
2016-11-29 13:17:15 +00:00
}
}
&:checked + label {
2019-02-18 11:41:05 +00:00
&::before {
2016-11-29 13:17:15 +00:00
background: black;
}
}
}
}
.colors-dark {
2019-02-18 11:41:05 +00:00
2017-08-02 15:41:53 +00:00
.page-numbers {
color: #444;
2019-02-18 11:41:05 +00:00
&.next,
&.prev {
2017-08-02 15:41:53 +00:00
color: #ddd;
}
}
.checkout-button {
border: 2px solid #555;
&:hover {
border-color: #fff;
}
}
.wc_payment_method {
2019-02-18 11:41:05 +00:00
.payment_box {
background: #333;
}
}
.select2-container--default {
2019-02-18 11:41:05 +00:00
.select2-results {
2019-02-18 11:41:05 +00:00
.select2-results__options {
2019-02-18 11:41:05 +00:00
background: #333;
}
2019-02-18 11:41:05 +00:00
.select2-results__option[data-selected="true"] {
color: #333;
}
}
.select2-selection--single {
background-color: #333;
border: 1px solid #555;
.select2-selection__rendered {
color: #ccc;
}
}
}
2017-07-13 13:56:07 +00:00
.select2-container--focus .select2-selection {
border-color: white;
}
}
/**
* Layout stuff
*/
@media screen and (min-width: 48em) {
2019-02-18 11:41:05 +00:00
.has-sidebar.woocommerce-page:not(.error404) {
2019-02-18 11:41:05 +00:00
#primary {
width: 74%;
}
#secondary {
width: 20%;
}
}
body.page-two-column.woocommerce-cart:not(.archive) #primary .entry-header,
body.page-two-column.woocommerce-checkout:not(.archive) #primary .entry-header,
body.page-two-column.woocommerce-account:not(.archive) #primary .entry-header {
width: 16%;
}
body.page-two-column.woocommerce-cart:not(.archive) #primary .entry-content,
body.page-two-column.woocommerce-checkout:not(.archive) #primary .entry-content,
body.page-two-column.woocommerce-account:not(.archive) #primary .entry-content {
width: 78%;
}
}