123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380 |
- /**
- * Styling begins
- */
- .woocommerce-message,
- .woocommerce-error,
- .woocommerce-info {
- .button {
- float: right;
- }
- }
- /**
- * General layout styles
- */
- .col2-set {
- @include clearfix();
- width: 100%;
- .col-1 {
- float: left;
- width: 48%;
- }
- .col-2 {
- float: right;
- width: 48%;
- }
- }
- img {
- height: auto;
- max-width: 100%;
- }
- /**
- * Product page
- */
- div.product,
- #content div.product {
- div.images {
- float: left;
- width: 48%;
- }
- div.thumbnails {
- @include clearfix();
- a {
- float: left;
- width: 30.75%;
- margin-right: 3.8%;
- margin-bottom: 1em;
- }
- a.last {
- margin-right: 0;
- }
- a.first {
- clear: both;
- }
- &.columns-1 {
- a {
- width: 100%;
- margin-right: 0;
- float: none;
- }
- }
- &.columns-2 {
- a {
- width: 48%;
- }
- }
- &.columns-4 {
- a {
- width: 22.05%;
- }
- }
- &.columns-5 {
- a {
- width: 16.9%;
- }
- }
- }
- div.summary {
- float: right;
- width: 48%;
- }
- .woocommerce-tabs {
- clear: both;
- ul.tabs {
- @include menu();
- }
- }
- #reviews {
- .comment {
- @include mediaright();
- }
- }
- }
- /**
- * Product loops
- */
- ul.products {
- clear: both;
- @include clearfix();
- li.product {
- float: left;
- margin: 0 3.8% 2.992em 0;
- padding: 0;
- position: relative;
- width: 22.05%;
- margin-left: 0;
- a img {
- width: auto;
- }
- }
- li.first {
- clear: both;
- }
- li.last {
- margin-right: 0;
- }
- }
- .woocommerce-result-count {
- float: left;
- }
- .woocommerce-ordering {
- float: right;
- }
- .woocommerce-pagination {
- ul.page-numbers {
- @include menu();
- }
- }
- /**
- * Cart page
- */
- table.cart,
- #content table.cart {
- img {
- height: auto;
- }
- td.actions {
- text-align: right;
- .coupon {
- float: left;
- label {
- display: none;
- }
- }
- }
- }
- .cart-collaterals {
- @include clearfix();
- width: 100%;
- .related {
- width: 30.75%;
- float: left;
- }
- .cross-sells {
- width: 48%;
- float: left;
- ul.products {
- float: none;
- li {
- width: 48%;
- }
- }
- }
- .shipping_calculator {
- width: 48%;
- @include clearfix();
- clear: right;
- float: right;
- .col2-set {
- .col-1,
- .col-2 {
- width: 47%;
- }
- }
- }
- .cart_totals {
- float: right;
- width: 48%;
- }
- }
- /**
- * Cart sidebar
- */
- ul.cart_list,
- ul.product_list_widget {
- li {
- @include mediaright();
- }
- }
- /**
- * Forms
- */
- form {
- .form-row {
- @include clearfix();
- label {
- display: block;
- &.checkbox {
- display: inline;
- }
- }
- select {
- width: 100%;
- }
- .input-text {
- box-sizing: border-box;
- width: 100%;
- }
- }
- .form-row-first,
- .form-row-last {
- width: 47%;
- overflow: visible;
- }
- .form-row-first {
- float: left;
- /*rtl:raw:
- float: right;
- */
- }
- .form-row-last {
- float: right;
- }
- .form-row-wide {
- clear: both;
- }
- }
- #payment {
- .form-row {
- select {
- width: auto;
- }
- }
- .wc-terms-and-conditions, .terms {
- text-align: left;
- padding: 0 1em 0 0;
- float:left;
- }
- #place_order {
- float: right;
- }
- }
- .woocommerce-billing-fields,
- .woocommerce-shipping-fields {
- @include clearfix();
- }
- .woocommerce-terms-and-conditions {
- margin-bottom: 1.618em;
- padding: 1.618em;
- }
- /**
- * oEmbeds
- */
- .woocommerce-oembed {
- position: relative;
- }
- .woocommerce-account {
- .woocommerce-MyAccount-navigation {
- float: left;
- width: 30%;
- }
- .woocommerce-MyAccount-content {
- float: right;
- width: 68%;
- }
- }
- @media screen and (min-width: 768px) {
- .woocommerce {
- .columns-1 {
- ul.products {
- li.product {
- width: 100%;
- margin-right: 0;
- }
- }
- }
- .columns-2 {
- ul.products {
- li.product {
- width: 48%;
- }
- }
- }
- .columns-3 {
- ul.products {
- li.product {
- width: 30.75%;
- }
- }
- }
- .columns-5 {
- ul.products {
- li.product {
- width: 16.95%;
- }
- }
- }
- .columns-6 {
- ul.products {
- li.product {
- width: 13.5%;
- }
- }
- }
- }
- }
- @media screen and (min-width: 1000px) {
- .woocommerce {
- .site-content {
- padding: 0;
- }
- .content-wrapper {
- padding-left: 150px;
- }
- .content-wrapper.full-width {
- padding-right: 150px;
- }
- }
- }
|