Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Estilos icono carrito */
- #clickBotonCarrito {
- cursor: pointer;
- transition: all 0.3s;
- position: fixed !important;
- bottom: 40px;
- right: 40px;
- z-index: 99999;
- }
- .cart-sc {
- list-style: none;
- }
- .cart-contents {
- position: relative;
- height: 65px;
- width: 65px;
- display: flex;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- border-radius: 4px;
- background: #4d2def; /* color de fondo */
- box-shadow: rgba(0,0,0,.15) 0px 0px 20px;
- transition: all 0.3s;
- }
- .cart-contents:hover {
- background: #270bba; /* color de fondo hover */
- transition: all 0.3s;
- }
- .cart-contents:before {
- font-family: 'ETMODULES';
- content: '\e07a';
- color: #ffffff; /* color icono carrito */
- font-size: 26px; /* tamaño icono carrito */
- position: absolute;
- }
- .mover-icono-carrito .cart-contents:before {
- content: '\4d';
- font-size: 48px; /* tamaño icono carrito X */
- }
- .cart-contents-count {
- position: absolute;
- top: -10px;
- right: -10px;
- font-weight: 600;
- font-size: 14px;
- height: 25px;
- width: 25px;
- vertical-align: middle;
- text-align: center;
- color: #fff; /* color texto contador */
- background: #de0000; /* color fondo contador */
- border-radius: 50%;
- }
- /* Estilos sección menu mini carrito */
- .seccion-mini-carrito {
- max-width: 360px;
- width: 100%;
- height: 100vh;
- overflow-y: auto;
- z-index: 9999;
- box-shadow: 6px 6px 18px 0px rgba(0,45,76,0.2);
- position: fixed!important;
- top: 0px;
- bottom: auto;
- left: auto;
- right: 0;
- transform: translateX(360px) translateY(0px);
- transition: 0.3s;
- background-color: #ffffff; /* fondo sección menu carrito */
- padding: 30px;
- }
- .seccion-mini-carrito .widget_shopping_cart_content::before {
- content: 'Mi carrito';
- font-size: 18px;
- font-weight: bold;
- }
- .seccion-mini-carrito .woocommerce-mini-cart {
- margin-top: 10px !important;
- }
- .seccion-mini-carrito ul.cart_list li img {
- float: left;
- margin-right: 24px;
- width: 64px;
- height: auto;
- box-shadow: none;
- }
- .seccion-mini-carrito .woocommerce-mini-cart .woocommerce-mini-cart-item {
- padding-bottom: 20px;
- border-bottom: 1px solid #f2f2f2;
- }
- .seccion-mini-carrito .woocommerce-mini-cart .woocommerce-mini-cart-item a {
- font-size: 15px;
- }
- .seccion-mini-carrito .woocommerce-mini-cart .woocommerce-mini-cart-item .remove {
- font-size: 26px;
- margin-bottom: 6px;
- }
- .seccion-mini-carrito .woocommerce-mini-cart .woocommerce-mini-cart-item .quantity {
- font-weight: 600;
- }
- .seccion-mini-carrito .woocommerce-mini-cart__total {
- font-size: 18px;
- margin-top: 24px;
- margin-bottom: 20px;
- }
- .seccion-mini-carrito .woocommerce-mini-cart__total .woocommerce-Price-amount {
- font-weight: 600;
- }
- .seccion-mini-carrito .woocommerce-mini-cart__buttons {
- margin-bottom: 20px;
- }
- .seccion-mini-carrito .woocommerce-mini-cart__buttons a {
- font-size: 16px !important;
- }
- .seccion-mini-carrito .woocommerce-mini-cart__buttons a:first-child {
- margin-right: 14px;
- margin-bottom: 16px;
- }
- .seccion-mini-carrito .woocommerce-mini-cart__buttons a:after {
- display: none;
- }
- .seccion-mini-carrito .woocommerce-mini-cart__buttons a:hover {
- padding: .3em 1em .3em 1em;
- }
- .seccion-mini-carrito .woocommerce-mini-cart__empty-message {
- font-size: 16px;
- margin-top: 16px;
- }
- /* Eliminar icono de carrito del menu divi */
- #main-header .et-cart-info {
- display: none;
- }
- /* Desplazamientos */
- .mover-icono-carrito {
- right: 400px !important;
- }
- .desplazar-mini-carrito {
- transform: translateX(0px) translateY(0px) !important;
- }
- /* Overlay menu carrito */
- .overlay-menu-carrito {
- height: 100%;
- width: 100%;
- position: fixed!important;
- top: 0px;
- bottom: auto;
- left: 0px;
- right: auto;
- background-color: rgba(0,0,0,0.65)!important;
- opacity: 0;
- visibility: hidden;
- transition: all 0.3s;
- }
- .overlay-menu-carrito-mostrar {
- opacity: 1 !important;
- visibility: visible !important;
- }
- /* Estilos posicionamiento pie de página */
- .et-l--footer .et_builder_inner_content, .et-l--footer {
- position: relative;
- z-index: 9999999999999999999 !important;
- }
- /* Estilos menu carrito responsive */
- @media only screen and (max-width: 600px) {
- #clickBotonCarrito {
- bottom: 20px;
- right: 25px;
- }
- .cart-contents {
- height: 45px;
- width: 45px;
- }
- .cart-contents:before {
- font-size: 18px;
- }
- .mover-icono-carrito .cart-contents:before {
- font-size: 30px;
- }
- .seccion-mini-carrito {
- max-width: 320px;
- transform: translateX(320px) translateY(0px);
- padding: 20px;
- }
- .mover-icono-carrito {
- right: 345px !important;
- }
- .seccion-mini-carrito .widget_shopping_cart_content::before {
- font-size: 17px;
- }
- .seccion-mini-carrito ul.cart_list li img {
- margin-right: 20px;
- width: 50px;
- }
- .seccion-mini-carrito .woocommerce-mini-cart .woocommerce-mini-cart-item a {
- font-size: 14px;
- }
- .seccion-mini-carrito .woocommerce-mini-cart .woocommerce-mini-cart-item .remove {
- font-size: 24px;
- }
- .seccion-mini-carrito .woocommerce-mini-cart__total {
- font-size: 16px;
- margin-top: 20px;
- margin-bottom: 16px;
- }
- .seccion-mini-carrito .woocommerce-mini-cart__buttons a {
- font-size: 15px !important;
- }
- }
- @media only screen and (max-width: 410px) {
- .mover-icono-carrito {
- right: 25px !important;
- }
- }
- /* Estilo botón añadir carrito */
- .woocommerce a.button.added::after {
- font-family: 'ETMODULES';
- font-size: 16px;
- content: '\4e';
- top: 10px;
- right: 10px;
- }
- .woocommerce a.button.loading::after {
- font-family: 'ETMODULES';
- font-size: 16px;
- content: '\e02d';
- top: 10px;
- right: 10px;
- }
Add Comment
Please, Sign In to add comment