| 1 |
@charset "UTF-8"; |
| 2 |
.usk-shiny-grid { |
| 3 |
--btn-width: 100%; |
| 4 |
} |
| 5 |
.usk-shiny-grid .usk-item { |
| 6 |
box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2); |
| 7 |
overflow: hidden; |
| 8 |
} |
| 9 |
.usk-shiny-grid .usk-item:hover .usk-action-btn { |
| 10 |
transform: translateX(0px); |
| 11 |
} |
| 12 |
.usk-shiny-grid .usk-item:hover .usk-button, |
| 13 |
.usk-shiny-grid .usk-item:hover .added_to_cart { |
| 14 |
transform: translateY(0px); |
| 15 |
opacity: 1; |
| 16 |
visibility: visible; |
| 17 |
} |
| 18 |
.usk-shiny-grid .usk-action-btn { |
| 19 |
transform: translateX(25px); |
| 20 |
} |
| 21 |
.usk-shiny-grid .usk-shoping { |
| 22 |
top: clamp(10px, 1vw, 25px); |
| 23 |
right: clamp(10px, 1vw, 25px); |
| 24 |
} |
| 25 |
.usk-shiny-grid .usk-badge-label-wrapper { |
| 26 |
left: 0; |
| 27 |
top: 0; |
| 28 |
} |
| 29 |
.usk-shiny-grid .usk-button.added { |
| 30 |
display: none; |
| 31 |
transition: all 3s ease-in-out; |
| 32 |
} |
| 33 |
.usk-shiny-grid .usk-button.loading::after { |
| 34 |
content: ""; |
| 35 |
width: 20px; |
| 36 |
height: 20px; |
| 37 |
border: 2px dotted #fff; |
| 38 |
border-radius: 50%; |
| 39 |
margin-left: -15px; |
| 40 |
display: inline-block; |
| 41 |
position: relative; |
| 42 |
position: absolute; |
| 43 |
top: 31%; |
| 44 |
text-align: center; |
| 45 |
animation: rotation 2s linear infinite; |
| 46 |
} |
| 47 |
.usk-shiny-grid .usk-button.loading i { |
| 48 |
transition: all 0.3s ease-in-out; |
| 49 |
transform: translate(70px); |
| 50 |
opacity: 0.02; |
| 51 |
} |
| 52 |
.usk-shiny-grid .added_to_cart { |
| 53 |
transition: all 3s ease; |
| 54 |
} |
| 55 |
.usk-shiny-grid .added_to_cart::after { |
| 56 |
content: "✓"; |
| 57 |
margin-left: 5px; |
| 58 |
font-size: 20px; |
| 59 |
} |
| 60 |
.usk-shiny-grid .added_to_cart i { |
| 61 |
display: none; |
| 62 |
} |
| 63 |
.usk-shiny-grid .usk-button, |
| 64 |
.usk-shiny-grid .added_to_cart { |
| 65 |
position: absolute; |
| 66 |
font-weight: 600; |
| 67 |
text-align: center; |
| 68 |
left: 0; |
| 69 |
bottom: 0; |
| 70 |
width: var(--btn-width); |
| 71 |
margin: 0 calc((100% - var(--btn-width)) / 2); |
| 72 |
background: #2b2d42; |
| 73 |
text-decoration: none; |
| 74 |
color: #fff; |
| 75 |
text-transform: capitalize; |
| 76 |
transform: translateY(100%); |
| 77 |
opacity: 0; |
| 78 |
visibility: hidden; |
| 79 |
transition: all 0.3s ease; |
| 80 |
} |
| 81 |
.usk-shiny-grid .usk-button a, |
| 82 |
.usk-shiny-grid .added_to_cart a { |
| 83 |
color: #fff; |
| 84 |
} |
| 85 |
.usk-shiny-grid .usk-button .button-icon:before, |
| 86 |
.usk-shiny-grid .added_to_cart .button-icon:before { |
| 87 |
margin: -5px; |
| 88 |
transition: all 0.3s ease; |
| 89 |
opacity: 0; |
| 90 |
visibility: hidden; |
| 91 |
} |
| 92 |
.usk-shiny-grid .usk-button:hover .button-icon:before, |
| 93 |
.usk-shiny-grid .added_to_cart:hover .button-icon:before { |
| 94 |
margin-left: 10px; |
| 95 |
opacity: 1; |
| 96 |
visibility: visible; |
| 97 |
} |
| 98 |
.usk-shiny-grid .usk-grid-layout .usk-price { |
| 99 |
margin: 0; |
| 100 |
} |
| 101 |
.usk-shiny-grid .usk-grid-layout .usk-have-rating .usk-price { |
| 102 |
opacity: 1; |
| 103 |
transition: all 0.3s ease; |
| 104 |
transform: translateY(0); |
| 105 |
} |
| 106 |
.usk-shiny-grid .usk-grid-layout .usk-have-rating .usk-rating { |
| 107 |
transform: translateY(0); |
| 108 |
opacity: 0; |
| 109 |
transition: all 0.3s ease; |
| 110 |
} |
| 111 |
.usk-shiny-grid .usk-grid-layout .usk-have-rating:hover .usk-rating { |
| 112 |
transform: translateY(-20px); |
| 113 |
opacity: 1; |
| 114 |
} |
| 115 |
.usk-shiny-grid .usk-grid-layout .usk-have-rating:hover .usk-price { |
| 116 |
transform: translateY(-20px); |
| 117 |
opacity: 0; |
| 118 |
visibility: hidden; |
| 119 |
} |
| 120 |
.usk-shiny-grid .usk-grid-layout .usk-rating { |
| 121 |
position: absolute; |
| 122 |
width: 100%; |
| 123 |
display: flex; |
| 124 |
} |
| 125 |
.usk-shiny-grid .usk-grid-layout .usk-button, |
| 126 |
.usk-shiny-grid .usk-grid-layout .added_to_cart { |
| 127 |
height: clamp(40px, 3vw, 50px); |
| 128 |
line-height: clamp(40px, 3vw, 50px); |
| 129 |
font-size: 14px; |
| 130 |
} |
| 131 |
.usk-shiny-grid .usk-list-layout .usk-button, |
| 132 |
.usk-shiny-grid .usk-list-layout .added_to_cart { |
| 133 |
height: clamp(30px, 3vw, 40px); |
| 134 |
line-height: clamp(30px, 3vw, 40px); |
| 135 |
font-size: 12px; |
| 136 |
} |