| 1 |
.upk-banner-wrap .upk-item { |
| 2 |
height: 300px; |
| 3 |
position: relative; |
| 4 |
overflow: hidden; |
| 5 |
} |
| 6 |
.upk-banner-wrap .upk-item::before { |
| 7 |
position: absolute; |
| 8 |
content: ""; |
| 9 |
width: 100%; |
| 10 |
height: 100%; |
| 11 |
} |
| 12 |
.upk-banner-wrap .upk-content { |
| 13 |
position: absolute; |
| 14 |
padding: 40px; |
| 15 |
} |
| 16 |
.upk-banner-wrap .upk-title { |
| 17 |
font-size: 18px; |
| 18 |
margin: 0; |
| 19 |
text-transform: uppercase; |
| 20 |
} |
| 21 |
.upk-banner-wrap .upk-title a { |
| 22 |
text-decoration: none; |
| 23 |
color: #27272d; |
| 24 |
transition: all 0.3s ease-in; |
| 25 |
} |
| 26 |
.upk-banner-wrap .upk-title a:hover { |
| 27 |
color: #D90429; |
| 28 |
} |
| 29 |
.upk-banner-wrap .upk-sub-title { |
| 30 |
font-size: 16px; |
| 31 |
color: #191b1e; |
| 32 |
font-weight: 400; |
| 33 |
margin: 0; |
| 34 |
text-transform: capitalize; |
| 35 |
} |
| 36 |
.upk-banner-wrap .upk-text { |
| 37 |
color: #262a2f; |
| 38 |
font-size: 12px; |
| 39 |
text-transform: capitalize; |
| 40 |
margin-bottom: 20px; |
| 41 |
} |
| 42 |
.upk-banner-wrap .upk-text p { |
| 43 |
margin: 0; |
| 44 |
} |
| 45 |
.upk-banner-wrap .upk-text strong { |
| 46 |
color: #fff; |
| 47 |
} |
| 48 |
.upk-banner-wrap .upk-buy-btn a { |
| 49 |
color: #3b3f42; |
| 50 |
text-decoration: none; |
| 51 |
text-transform: capitalize; |
| 52 |
font-size: 12px; |
| 53 |
font-weight: 600; |
| 54 |
background: 0 0; |
| 55 |
border: 1px solid #3b3f42; |
| 56 |
padding: 7px 15px; |
| 57 |
transition: all 0.3s ease-in; |
| 58 |
display: inline-block; |
| 59 |
} |
| 60 |
.upk-banner-wrap .upk-buy-btn a:hover { |
| 61 |
background: #edeeee; |
| 62 |
color: rgba(24, 21, 21, 0.979); |
| 63 |
} |
| 64 |
.upk-banner-wrap .upk-buy-btn a svg { |
| 65 |
width: 1em; |
| 66 |
height: 1em; |
| 67 |
fill: #3b3f42; |
| 68 |
transition: all 0.3s ease-in; |
| 69 |
} |
| 70 |
.upk-banner-wrap .upk-discount { |
| 71 |
position: absolute; |
| 72 |
color: #fff; |
| 73 |
font-weight: 600; |
| 74 |
font-size: 10px; |
| 75 |
border: 0; |
| 76 |
background: #f00; |
| 77 |
text-align: center; |
| 78 |
padding: 4px 12px; |
| 79 |
} |
| 80 |
.upk-banner-wrap .upk-banner-size-text { |
| 81 |
position: absolute; |
| 82 |
background: red; |
| 83 |
font-size: 10px; |
| 84 |
padding: 5px; |
| 85 |
color: #fff; |
| 86 |
font-weight: 700; |
| 87 |
text-align: center; |
| 88 |
} |
| 89 |
|
| 90 |
.upk-sale-badge-style-1 .upk-discount { |
| 91 |
top: 0; |
| 92 |
left: 0; |
| 93 |
} |
| 94 |
|
| 95 |
.upk-sale-badge-style-2 .upk-discount { |
| 96 |
top: 0; |
| 97 |
right: 0; |
| 98 |
} |
| 99 |
|
| 100 |
.upk-sale-badge-style-3 .upk-discount { |
| 101 |
bottom: 0; |
| 102 |
left: 0; |
| 103 |
} |
| 104 |
|
| 105 |
.upk-sale-badge-style-4 .upk-discount { |
| 106 |
bottom: 0; |
| 107 |
right: 0; |
| 108 |
} |
| 109 |
|
| 110 |
.upk-sale-badge-style-5 .upk-discount { |
| 111 |
bottom: 0; |
| 112 |
left: 50%; |
| 113 |
transform: translateX(-50%); |
| 114 |
} |
| 115 |
|
| 116 |
.upk-sale-badge-style-6 .upk-discount { |
| 117 |
top: 0; |
| 118 |
left: 50%; |
| 119 |
transform: translateX(-50%); |
| 120 |
} |
| 121 |
|
| 122 |
.upk-sale-badge-style-7 .upk-discount { |
| 123 |
top: 0; |
| 124 |
left: 0; |
| 125 |
bottom: 0; |
| 126 |
writing-mode: vertical-rl; |
| 127 |
text-orientation: mixed; |
| 128 |
transform: rotate(180deg); |
| 129 |
} |
| 130 |
|
| 131 |
.upk-sale-badge-style-8 .upk-discount { |
| 132 |
top: 0; |
| 133 |
right: 0; |
| 134 |
bottom: 0; |
| 135 |
writing-mode: vertical-rl; |
| 136 |
text-orientation: mixed; |
| 137 |
transform: rotate(180deg); |
| 138 |
} |
| 139 |
|
| 140 |
.upk-size-badge-style-1 .upk-banner-size-text { |
| 141 |
top: 0; |
| 142 |
left: 0; |
| 143 |
} |
| 144 |
|
| 145 |
.upk-size-badge-style-2 .upk-banner-size-text { |
| 146 |
top: 0; |
| 147 |
right: 0; |
| 148 |
} |
| 149 |
|
| 150 |
.upk-size-badge-style-3 .upk-banner-size-text { |
| 151 |
bottom: 0; |
| 152 |
left: 0; |
| 153 |
} |
| 154 |
|
| 155 |
.upk-size-badge-style-4 .upk-banner-size-text { |
| 156 |
bottom: 0; |
| 157 |
right: 0; |
| 158 |
} |
| 159 |
|
| 160 |
.upk-size-badge-style-5 .upk-banner-size-text { |
| 161 |
bottom: 0; |
| 162 |
left: 50%; |
| 163 |
transform: translateX(-50%); |
| 164 |
} |
| 165 |
|
| 166 |
.upk-size-badge-style-6 .upk-banner-size-text { |
| 167 |
top: 0; |
| 168 |
left: 50%; |
| 169 |
transform: translateX(-50%); |
| 170 |
} |
| 171 |
|
| 172 |
.upk-size-badge-style-7 .upk-banner-size-text { |
| 173 |
top: 0; |
| 174 |
left: 0; |
| 175 |
bottom: 0; |
| 176 |
writing-mode: vertical-rl; |
| 177 |
text-orientation: mixed; |
| 178 |
transform: rotate(180deg); |
| 179 |
} |
| 180 |
|
| 181 |
.upk-size-badge-style-8 .upk-banner-size-text { |
| 182 |
top: 0; |
| 183 |
right: 0; |
| 184 |
bottom: 0; |
| 185 |
writing-mode: vertical-rl; |
| 186 |
text-orientation: mixed; |
| 187 |
transform: rotate(180deg); |
| 188 |
} |
| 189 |
|
| 190 |
.upk-banner-style-1 .upk-content { |
| 191 |
left: 0; |
| 192 |
right: 0; |
| 193 |
top: 50%; |
| 194 |
transform: translateY(-50%); |
| 195 |
} |
| 196 |
.upk-banner-style-1 .upk-buy-btn { |
| 197 |
display: inline-flex; |
| 198 |
margin-top: 16px; |
| 199 |
} |
| 200 |
.upk-banner-style-1 .upk-sub-title { |
| 201 |
padding-bottom: 10px; |
| 202 |
} |
| 203 |
.upk-banner-style-1 .upk-title { |
| 204 |
padding-bottom: 7px; |
| 205 |
} |
| 206 |
|
| 207 |
.upk-banner-style-2 .upk-content { |
| 208 |
display: inline-block; |
| 209 |
align-items: center; |
| 210 |
justify-content: space-between; |
| 211 |
top: 50%; |
| 212 |
left: 0; |
| 213 |
right: 0; |
| 214 |
transform: translateY(-50%); |
| 215 |
} |
| 216 |
.upk-banner-style-2 .upk-content-inner { |
| 217 |
margin-bottom: 10px; |
| 218 |
width: 100%; |
| 219 |
} |
| 220 |
.upk-banner-style-2 .upk-title { |
| 221 |
padding-bottom: 7px; |
| 222 |
} |
| 223 |
.upk-banner-style-2 .upk-text { |
| 224 |
width: 100%; |
| 225 |
} |
| 226 |
.upk-banner-style-2 .upk-buy-btn { |
| 227 |
width: 100%; |
| 228 |
text-align: left; |
| 229 |
} |
| 230 |
|
| 231 |
.upk-banner-style-3 .upk-title { |
| 232 |
padding-bottom: 10px; |
| 233 |
} |
| 234 |
.upk-banner-style-3 .upk-content { |
| 235 |
display: block; |
| 236 |
align-items: center; |
| 237 |
justify-content: space-between; |
| 238 |
flex-direction: row-reverse; |
| 239 |
text-align: left; |
| 240 |
top: 50%; |
| 241 |
left: 0; |
| 242 |
right: 0; |
| 243 |
transform: translateY(-50%); |
| 244 |
} |
| 245 |
.upk-banner-style-3 .upk-content-inner { |
| 246 |
margin-bottom: 10px; |
| 247 |
width: 100%; |
| 248 |
} |
| 249 |
.upk-banner-style-3 .upk-text { |
| 250 |
margin: 0; |
| 251 |
width: 100%; |
| 252 |
} |
| 253 |
.upk-banner-style-3 .upk-buy-btn { |
| 254 |
width: 100%; |
| 255 |
text-align: left; |
| 256 |
margin-top: 15px; |
| 257 |
} |
| 258 |
|
| 259 |
@media (min-width: 768px) { |
| 260 |
.upk-banner-wrap .upk-buy-btn a { |
| 261 |
font-size: 14px; |
| 262 |
padding: 9px 17px; |
| 263 |
} |
| 264 |
.upk-banner-wrap .upk-text { |
| 265 |
font-size: 14px; |
| 266 |
margin-bottom: 0; |
| 267 |
} |
| 268 |
.upk-banner-wrap .upk-title { |
| 269 |
font-size: 25px; |
| 270 |
} |
| 271 |
.upk-banner-style-2 .upk-content { |
| 272 |
display: flex; |
| 273 |
} |
| 274 |
.upk-banner-style-2 .upk-content-inner { |
| 275 |
margin-bottom: 0; |
| 276 |
} |
| 277 |
.upk-banner-style-2 .upk-discount { |
| 278 |
font-size: 12px; |
| 279 |
} |
| 280 |
.upk-banner-style-2 .upk-buy-btn { |
| 281 |
text-align: right; |
| 282 |
} |
| 283 |
.upk-banner-style-3 .upk-content { |
| 284 |
display: flex; |
| 285 |
text-align: right; |
| 286 |
} |
| 287 |
.upk-banner-style-3 .upk-buy-btn { |
| 288 |
margin-top: 0; |
| 289 |
} |
| 290 |
.upk-banner-style-3 .upk-text { |
| 291 |
display: block; |
| 292 |
} |
| 293 |
} |
| 294 |
@media (min-width: 1024px) { |
| 295 |
.upk-banner-category a { |
| 296 |
font-size: 12px; |
| 297 |
} |
| 298 |
.upk-banner-item .upk-banner-content { |
| 299 |
padding: 40px; |
| 300 |
} |
| 301 |
.upk-banner-title { |
| 302 |
margin: 20px 0; |
| 303 |
} |
| 304 |
.upk-banner-title a { |
| 305 |
font-size: 25px; |
| 306 |
} |
| 307 |
.upk-banner-meta { |
| 308 |
font-size: 14px; |
| 309 |
} |
| 310 |
} |