Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Estilos icono carrito */
- .cart-sc {
- list-style: none;
- }
- .cart-contents {
- position: relative;
- cursor: pointer;
- }
- .cart-contents:before {
- font-family: 'ETMODULES';
- content: '\e015';
- color: #263b5f; /* color icono carrito */
- font-size: 24px; /* tamaño icono carrito */
- position: absolute;
- }
- .cart-contents-count {
- position: absolute;
- top: -6px;
- left: 26px;
- font-weight: 600;
- font-size: 12px;
- height: 16px;
- width: 16px;
- vertical-align: middle;
- line-height: 1.3;
- text-align: center;
- color: #fff; /* color numero contador */
- background: #de0000; /* color contador */
- border-radius: 50%;
- }
- /* Estilos dropdown menu mini carrito */
- .ov-mini-carrito-dropdown {
- position: absolute !important;
- top: 35px;
- right: -45px;
- border-radius: 6px;
- border-top: none;
- box-shadow: 0px 2px 16px rgba(0, 0, 0, .2);
- padding: 12px 20px !important;
- width: 280px;
- background: #ffffff;
- }
- .ov-mini-carrito-dropdown:before {
- position: absolute;
- content: '';
- right: 18px;
- top: -26px;
- border-style: solid;
- border-width: 14px;
- border-color: transparent transparent #fff;
- }
- .ov-mini-carrito-dropdown .widget_shopping_cart_content {
- margin-top: 6px;
- }
- .ov-mini-carrito-dropdown .widget_shopping_cart_content::before {
- content: 'Mi carrito';
- font-size: 18px;
- font-weight: bold;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart {
- margin-top: 5px !important;
- }
- .ov-mini-carrito-dropdown ul.cart_list li img {
- float: left;
- margin-right: 24px;
- width: 50px;
- height: auto;
- box-shadow: none;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart .woocommerce-mini-cart-item {
- padding-top: 14px;
- padding-bottom: 14px;
- border-bottom: 1px solid #f2f2f2;
- list-style: none;
- position: relative;
- padding-left: 25px;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart .woocommerce-mini-cart-item a {
- font-size: 14px;
- line-height: 1.2;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart .woocommerce-mini-cart-item .remove {
- font-size: 26px;
- margin-bottom: 6px;
- display: inline-block;
- position: absolute;
- top: 25px;
- left: -6px;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart .woocommerce-mini-cart-item .remove:hover {
- line-height: 25px;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart .woocommerce-mini-cart-item .quantity {
- font-weight: 600;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart__total {
- font-size: 16px;
- margin-top: 24px;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart__total .woocommerce-Price-amount {
- font-weight: 600;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart__buttons {
- margin-bottom: 12px;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart__buttons a {
- font-size: 14px !important;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart__buttons a:first-child {
- border-radius: 0;
- font-weight: 700;
- padding: 5px 0;
- margin-bottom: 12px;
- border: none;
- background: 0 0;
- margin-right: 12px;
- display: block;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart__buttons a:first-child:hover {
- color: #000000!important;
- background-color: transparent !important;
- border-color: transparent !important;
- padding: 5px 0 !important;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart__buttons a:last-child {
- width: 100%;
- text-transform: uppercase;
- text-align: center;
- padding-top: 8px;
- padding-bottom: 8px;
- font-weight: 700;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart__buttons a:last-child:hover {
- padding-top: 8px;
- padding-bottom: 8px;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart__buttons a:after {
- display: none;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart__buttons a:hover {
- padding: .3em 1em .3em 1em;
- }
- .ov-mini-carrito-dropdown .woocommerce-mini-cart__empty-message {
- font-size: 16px;
- margin-top: 16px;
- }
- .mostrar-dropdown-carrito {
- visibility: visible !important;
- opacity: 1 !important;
- }
- .ov-mini-carrito-dropdown .h-icono-cerrar {
- display: none;
- }
- @media only screen and (max-width: 980px) {
- .ov-mini-carrito-dropdown .h-icono-cerrar {
- position: absolute;
- top: 0;
- right: 0;
- font-size: 26px;
- width: 28px;
- height: 28px;
- background-color: #e7e7e7;
- color: #000000;
- display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- }
- }
Add Comment
Please, Sign In to add comment