| 1 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-wrapper { |
| 2 |
display: grid; |
| 3 |
grid-template-columns: repeat(3, 1fr); |
| 4 |
grid-gap: 10px; |
| 5 |
padding: 30px; } |
| 6 |
|
| 7 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item { |
| 8 |
background-color: #fff; |
| 9 |
transition: all .3s ease; |
| 10 |
position: relative; |
| 11 |
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); |
| 12 |
z-index: 1; } |
| 13 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item:hover { |
| 14 |
box-shadow: 0 14px 25px rgba(0, 0, 0, 0.16); } |
| 15 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item:hover::before { |
| 16 |
width: 100%; |
| 17 |
visibility: visible; |
| 18 |
opacity: 1; |
| 19 |
transition-delay: .5s; } |
| 20 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item:hover .usk-action-button a, |
| 21 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item:hover .usk-action-button .edd-add-to-cart { |
| 22 |
opacity: 1; |
| 23 |
visibility: visible; |
| 24 |
transform: translateY(0); } |
| 25 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item:hover .usk-action-button .usk-details-button a { |
| 26 |
transition-delay: .1s; } |
| 27 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item:hover .usk-edd-price { |
| 28 |
opacity: 0; |
| 29 |
visibility: hidden; |
| 30 |
transform: translateY(-20px); } |
| 31 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-item::before { |
| 32 |
content: ''; |
| 33 |
position: absolute; |
| 34 |
bottom: 0; |
| 35 |
left: 50%; |
| 36 |
transform: translateX(-50%); |
| 37 |
width: 0; |
| 38 |
height: 3px; |
| 39 |
background-color: #EF262C; |
| 40 |
visibility: hidden; |
| 41 |
opacity: 0; |
| 42 |
transition-duration: 0.4s; |
| 43 |
transition: all 0.2s linear; } |
| 44 |
|
| 45 |
.usk-edd-trendy-grid .usk-edd-category { |
| 46 |
display: inline-flex; |
| 47 |
align-items: center; |
| 48 |
grid-column-gap: 7px; |
| 49 |
margin-bottom: 15px; } |
| 50 |
.usk-edd-trendy-grid .usk-edd-category a { |
| 51 |
color: #908e98; |
| 52 |
font-size: 14px; |
| 53 |
text-decoration: none; |
| 54 |
font-weight: 500; |
| 55 |
transition: color .3s ease; } |
| 56 |
.usk-edd-trendy-grid .usk-edd-category a:hover { |
| 57 |
color: #EF262C; } |
| 58 |
|
| 59 |
.usk-edd-trendy-grid .usk-edd-title { |
| 60 |
margin: 0; |
| 61 |
font-size: 18px; |
| 62 |
font-weight: 700; } |
| 63 |
.usk-edd-trendy-grid .usk-edd-title a { |
| 64 |
color: #202031; |
| 65 |
text-decoration: none; |
| 66 |
transition: color .3s ease; } |
| 67 |
.usk-edd-trendy-grid .usk-edd-title a:hover { |
| 68 |
color: #EF262C; } |
| 69 |
|
| 70 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-image { |
| 71 |
position: relative; } |
| 72 |
.usk-edd-trendy-grid .usk-edd-trendy-grid-image img { |
| 73 |
width: 100%; |
| 74 |
height: 100%; |
| 75 |
object-fit: cover; } |
| 76 |
|
| 77 |
.usk-edd-trendy-grid .usk-top-content { |
| 78 |
padding: 25px; } |
| 79 |
|
| 80 |
.usk-edd-trendy-grid .usk-edd-content { |
| 81 |
padding: 25px; } |
| 82 |
.usk-edd-trendy-grid .usk-edd-content .usk-edd-price { |
| 83 |
display: flex; |
| 84 |
font-size: 12px; |
| 85 |
font-weight: 600; |
| 86 |
grid-column-gap: 10px; |
| 87 |
color: #14161d; |
| 88 |
text-transform: uppercase; |
| 89 |
opacity: 1; |
| 90 |
visibility: visible; |
| 91 |
transform: translateY(0); |
| 92 |
transition: all .3s ease; } |
| 93 |
|
| 94 |
.usk-edd-trendy-grid .usk-action-button { |
| 95 |
position: absolute; |
| 96 |
bottom: 0; |
| 97 |
left: 0; |
| 98 |
right: 0; |
| 99 |
margin: 25px; |
| 100 |
display: flex; |
| 101 |
flex-direction: column; |
| 102 |
grid-row-gap: 5px; } |
| 103 |
.usk-edd-trendy-grid .usk-action-button input[type=submit] { |
| 104 |
display: none; } |
| 105 |
.usk-edd-trendy-grid .usk-action-button a, |
| 106 |
.usk-edd-trendy-grid .usk-action-button .edd-add-to-cart { |
| 107 |
width: 100%; |
| 108 |
display: block; |
| 109 |
padding: 14px 0; |
| 110 |
font-size: 12px; |
| 111 |
text-transform: uppercase; |
| 112 |
font-weight: 700; |
| 113 |
text-decoration: none; |
| 114 |
color: #fff; |
| 115 |
position: relative; |
| 116 |
overflow: hidden; |
| 117 |
opacity: 0; |
| 118 |
visibility: hidden; |
| 119 |
transform: translateY(20px); |
| 120 |
transition: all .3s ease; |
| 121 |
cursor: pointer; |
| 122 |
border: 0; |
| 123 |
border-radius: 0; |
| 124 |
line-height: 1; |
| 125 |
text-align: center; } |
| 126 |
.usk-edd-trendy-grid .usk-action-button a.blue, |
| 127 |
.usk-edd-trendy-grid .usk-action-button .edd-add-to-cart.blue { |
| 128 |
background-color: #EF262C; } |
| 129 |
.usk-edd-trendy-grid .usk-action-button a.blue:hover, |
| 130 |
.usk-edd-trendy-grid .usk-action-button .edd-add-to-cart.blue:hover { |
| 131 |
background-color: #d61017; } |
| 132 |
.usk-edd-trendy-grid .usk-action-button .usk-details-button a { |
| 133 |
background: #1d1e25; } |
| 134 |
.usk-edd-trendy-grid .usk-action-button .usk-details-button a:hover { |
| 135 |
background-color: #000; } |
| 136 |
|
| 137 |
@media (min-width: 768px) { |
| 138 |
.usk-edd-trendy-grid-wrapper { |
| 139 |
grid-template-columns: repeat(2, 1fr); } } |
| 140 |
|
| 141 |
@media (min-width: 1024px) { |
| 142 |
.usk-edd-trendy-grid-wrapper { |
| 143 |
grid-template-columns: repeat(3, 1fr); } } |
| 144 |
|
| 145 |
@media (min-width: 1440px) { |
| 146 |
.usk-edd-trendy-grid-wrapper { |
| 147 |
grid-template-columns: repeat(4, 1fr); } } |
| 148 |
|