Skip to content

Instantly share code, notes, and snippets.

@Alipio123
Last active September 27, 2021 14:42
Show Gist options
  • Save Alipio123/3edfc98a193058324f6d4f18241e805b to your computer and use it in GitHub Desktop.
Save Alipio123/3edfc98a193058324f6d4f18241e805b to your computer and use it in GitHub Desktop.
/*woo basic style*/
table caption+thead tr:first-child td, table caption+thead tr:first-child th, table colgroup+thead tr:first-child td, table colgroup+thead tr:first-child th, table thead:first-child tr:first-child td, table thead:first-child tr:first-child th {
border: 0;
}
.woocommerce table.shop_table {
border: 0;
margin: 0 -1px 24px 0;
text-align: left;
width: 100%;
border-collapse: separate;
border-radius: 5px;
}
.woocommerce table.shop_table td {
border-top: 1px solid rgba(0,0,0,.1);
padding: 9px 12px;
vertical-align: middle;
line-height: 1.5em;
}
.woocommerce table td, .woocommerce table th {
padding: 15px;
line-height: 1.5;
vertical-align: top;
border: 0;
}
@media screen and (min-width: 769px){
form.woocommerce-cart-form {
float: left;
width: 70%;
}
.cart-collaterals {
float: left;
width: 30% !important;
}
.cart-collaterals {
float: left;
width: 30% !important;
padding: 0 30px;
}
}
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
float: right;
width: 100%;
border: 1px #ccc solid;
border-radius: 10px;
padding: 20PX;
}
#add_payment_method .wc-proceed-to-checkout a.checkout-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
width: 100%;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
height: 3.125rem;
font-size: 16px;
}
.woocommerce .button br {
display: none;
}
.cart_totals h2 {
font-size: 18px;
font-weight: 700;
border-bottom: 1px #f7f7f7 solid;
padding-bottom: 20px;
}
.woocommerce table tbody>tr:nth-child(odd)>td,.woocommerce table tbody>tr:nth-child(odd)>th {
background-color: transparent;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
font-weight: 400 !important;
}
#add_payment_method table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-checkout table.cart td.actions .coupon .input-text {
font-size: 12px;
padding: 6px 6px 5px;
}
/*CHANGE THEME COLOR*/
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
background-color: #db332d;
color: #fff;
-webkit-font-smoothing: antialiased;
}
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
float: right;
width: 100%;
border: 1px #ccc solid;
border-radius: 10px;
padding: 20PX;
}
#add_payment_method .wc-proceed-to-checkout a.checkout-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
width: 100%;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
height: 3.125rem;
font-size: 16px;
}
.woocommerce .button br {
display: none;
}
.cart_totals h2 {
font-size: 18px;
font-weight: 700;
border-bottom: 1px #f7f7f7 solid;
padding-bottom: 20px;
}
.woocommerce table tbody>tr:nth-child(odd)>td,.woocommerce table tbody>tr:nth-child(odd)>th {
background-color: transparent;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
font-weight: 400 !important;
}
#add_payment_method table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-checkout table.cart td.actions .coupon .input-text {
font-size: 12px;
padding: 6px 6px 5px;
}
.woocommerce-info {
border-top-color: transparent;
background-color: #F7F7F7;
font-size: 13px;
border-radius: 5px;
}
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
float: left;
width: 100%;
border: 1px #edeef5 solid;
padding: 20px;
border-radius: 5px;
}
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
float: right;
width: 0%;
display: none;
}
div#customer_details {
float: left;
width: 60%;
padding: 20px;
}
div#order_review {
float: left;
width: 40%;
padding: 0 20px;
}
h3#order_review_heading {
float: left;
padding: 10px 20px 0px 20px;
display: block;
width: 40%;
font-size: 20px;
}
.woocommerce-billing-fields h3 {
font-size: 20px;
}
.woocommerce table.shop_table td {
border-top: 1px solid rgba(0,0,0,.1);
padding: 15px 13px;
vertical-align: middle;
line-height: 1.5em;
}
.woocommerce-privacy-policy-text {
font-size: 12px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li{
list-style: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
background-color: #F3F4F7;
text-align: center;
font-size: 16px;
padding: 15px;
border-radius: 5px;
margin: 20px 0;
color: #212529;
display: block;
}
.woocommerce-account .woocommerce-MyAccount-content {
float: right;
width: 68%;
margin-top: 20px;
padding: 30px;
border: 1px #f0f0f3 solid;
background-color: #f3f4f7;
border-radius: 5px;
}
/*CHANGE Depends on THEME COLOR*/
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
background-color: #db332d;
color: #fff;
-webkit-font-smoothing: antialiased;
}
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
background-color: #2b2b2b;
color: #fff;
}
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link.is-active, li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link.is-active a,
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link:hover a{
background-color: #db332d;
color: #fff;
border-radius: 5px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment