| 1 |
.lp-themes-page .lp-be-page-title { |
| 2 |
margin: 0 0 4px; |
| 3 |
} |
| 4 |
.lp-themes-page .lp-be-page-subtitle { |
| 5 |
margin: 0 0 40px; |
| 6 |
} |
| 7 |
|
| 8 |
.learn-press-themes { |
| 9 |
max-width: 100%; |
| 10 |
color: #626262; |
| 11 |
} |
| 12 |
.learn-press-themes [hidden] { |
| 13 |
display: none !important; |
| 14 |
} |
| 15 |
|
| 16 |
.lp-themes-filter { |
| 17 |
display: flex; |
| 18 |
align-items: center; |
| 19 |
flex-wrap: nowrap; |
| 20 |
gap: 12px; |
| 21 |
margin: 0; |
| 22 |
padding: 0; |
| 23 |
} |
| 24 |
.lp-themes-filter__toggle { |
| 25 |
display: none; |
| 26 |
} |
| 27 |
.lp-themes-filter__menu { |
| 28 |
display: flex; |
| 29 |
align-items: center; |
| 30 |
gap: 12px; |
| 31 |
min-width: 0; |
| 32 |
} |
| 33 |
.lp-themes-filter__count { |
| 34 |
margin-inline-start: 4px; |
| 35 |
} |
| 36 |
|
| 37 |
.lp-themes-grid { |
| 38 |
display: grid; |
| 39 |
grid-template-columns: repeat(4, minmax(0, 1fr)); |
| 40 |
gap: 24px; |
| 41 |
margin-bottom: 32px; |
| 42 |
} |
| 43 |
|
| 44 |
.lp-theme-card { |
| 45 |
position: relative; |
| 46 |
display: flex; |
| 47 |
flex-direction: column; |
| 48 |
box-sizing: border-box; |
| 49 |
border: 1px solid #e1e1e1; |
| 50 |
border-radius: 10px; |
| 51 |
background: #ffffff; |
| 52 |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.07); |
| 53 |
overflow: hidden; |
| 54 |
transition: border-color 0.2s ease, box-shadow 0.2s ease; |
| 55 |
} |
| 56 |
.lp-theme-card:hover, .lp-theme-card:focus-within { |
| 57 |
border-color: #7067ed; |
| 58 |
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); |
| 59 |
} |
| 60 |
.lp-theme-card__thumbnail { |
| 61 |
position: relative; |
| 62 |
overflow: hidden; |
| 63 |
border-top-right-radius: inherit; |
| 64 |
border-top-left-radius: inherit; |
| 65 |
padding: 20px; |
| 66 |
background: #ffffff; |
| 67 |
} |
| 68 |
.lp-theme-card__thumbnail img { |
| 69 |
display: block; |
| 70 |
width: 100%; |
| 71 |
height: auto; |
| 72 |
object-fit: cover; |
| 73 |
border-radius: 8px; |
| 74 |
} |
| 75 |
.lp-theme-card__badge { |
| 76 |
position: absolute; |
| 77 |
z-index: 2; |
| 78 |
top: 24px; |
| 79 |
left: 24px; |
| 80 |
display: inline-flex; |
| 81 |
align-items: center; |
| 82 |
padding: 4px 8px; |
| 83 |
border-radius: 6px; |
| 84 |
color: #ffffff; |
| 85 |
background: linear-gradient(-135deg, #ff0000 0%, #af00b8 100%); |
| 86 |
font-size: 12px; |
| 87 |
font-weight: 600; |
| 88 |
line-height: 1; |
| 89 |
text-transform: uppercase; |
| 90 |
} |
| 91 |
.lp-theme-card__content { |
| 92 |
display: flex; |
| 93 |
flex: 1 1 auto; |
| 94 |
flex-direction: column; |
| 95 |
min-width: 0; |
| 96 |
padding: 8px 20px 20px; |
| 97 |
} |
| 98 |
.lp-theme-card__title { |
| 99 |
display: -webkit-box; |
| 100 |
overflow: hidden; |
| 101 |
min-height: 2.8em; |
| 102 |
margin: 0 0 8px; |
| 103 |
color: #111111; |
| 104 |
font-size: 16px; |
| 105 |
font-weight: 600; |
| 106 |
line-height: 1.4; |
| 107 |
-webkit-box-orient: vertical; |
| 108 |
-webkit-line-clamp: 2; |
| 109 |
} |
| 110 |
.lp-theme-card__title a { |
| 111 |
color: inherit; |
| 112 |
text-decoration: none; |
| 113 |
} |
| 114 |
.lp-theme-card__title a:hover { |
| 115 |
color: #7067ed; |
| 116 |
} |
| 117 |
.lp-theme-card__description { |
| 118 |
display: -webkit-box; |
| 119 |
overflow: hidden; |
| 120 |
min-height: 35px; |
| 121 |
margin: 0 0 16px; |
| 122 |
color: #626262; |
| 123 |
font-size: 14px; |
| 124 |
font-weight: 400; |
| 125 |
line-height: 1.45; |
| 126 |
-webkit-box-orient: vertical; |
| 127 |
-webkit-line-clamp: 3; |
| 128 |
} |
| 129 |
.lp-theme-card__footer { |
| 130 |
display: flex; |
| 131 |
margin: 0 0 16px; |
| 132 |
gap: 20px; |
| 133 |
} |
| 134 |
.lp-theme-card__price { |
| 135 |
display: flex; |
| 136 |
align-items: center; |
| 137 |
gap: 8px; |
| 138 |
} |
| 139 |
.lp-theme-card__price strong { |
| 140 |
color: #e31a1a; |
| 141 |
font-size: 18px; |
| 142 |
font-weight: 600; |
| 143 |
line-height: 1.2; |
| 144 |
} |
| 145 |
.lp-theme-card__price del { |
| 146 |
color: #898989; |
| 147 |
font-size: 14px; |
| 148 |
font-weight: 400; |
| 149 |
line-height: 1; |
| 150 |
} |
| 151 |
.lp-theme-card[data-category=free] .lp-theme-card__price strong { |
| 152 |
color: #28a746; |
| 153 |
} |
| 154 |
.lp-theme-card__meta { |
| 155 |
display: flex; |
| 156 |
align-items: center; |
| 157 |
gap: 12px; |
| 158 |
color: #111111; |
| 159 |
font-size: 14px; |
| 160 |
line-height: 1; |
| 161 |
} |
| 162 |
.lp-theme-card__rating { |
| 163 |
display: inline-flex; |
| 164 |
align-items: center; |
| 165 |
gap: 4px; |
| 166 |
color: #4f4f4f; |
| 167 |
white-space: nowrap; |
| 168 |
} |
| 169 |
.lp-theme-card__star { |
| 170 |
color: #f8cb2b; |
| 171 |
font-size: 16px; |
| 172 |
} |
| 173 |
.lp-theme-card__sold { |
| 174 |
display: inline-flex; |
| 175 |
align-items: center; |
| 176 |
gap: 8px; |
| 177 |
white-space: nowrap; |
| 178 |
} |
| 179 |
.lp-theme-card__cart { |
| 180 |
color: #7067ed; |
| 181 |
font-size: 16px; |
| 182 |
} |
| 183 |
.lp-theme-card__actions { |
| 184 |
display: grid; |
| 185 |
grid-template-columns: minmax(0, 1fr) auto; |
| 186 |
gap: 8px; |
| 187 |
margin-top: auto; |
| 188 |
} |
| 189 |
.lp-theme-card__actions a:focus, |
| 190 |
.lp-theme-card__actions a:focus-visible, |
| 191 |
.lp-theme-card__actions a:active { |
| 192 |
border-radius: 10px !important; |
| 193 |
box-shadow: none !important; |
| 194 |
outline: none !important; |
| 195 |
} |
| 196 |
|
| 197 |
.lp-theme-badge, |
| 198 |
.lp-be-badge { |
| 199 |
display: inline-flex; |
| 200 |
align-items: center; |
| 201 |
justify-content: center; |
| 202 |
gap: 4px; |
| 203 |
padding: 2px 8px; |
| 204 |
border-radius: 6px; |
| 205 |
font-size: 12px; |
| 206 |
font-weight: 500; |
| 207 |
line-height: 1.4; |
| 208 |
white-space: nowrap; |
| 209 |
} |
| 210 |
.lp-theme-badge--primary, |
| 211 |
.lp-be-badge--primary { |
| 212 |
color: #7067ed; |
| 213 |
background: #eef1ff; |
| 214 |
} |
| 215 |
.lp-theme-badge--success, |
| 216 |
.lp-be-badge--success { |
| 217 |
color: #1a953a; |
| 218 |
background: #e7f6e9; |
| 219 |
} |
| 220 |
.lp-theme-badge--warning, |
| 221 |
.lp-be-badge--warning { |
| 222 |
color: #b45309; |
| 223 |
background: #fef8e1; |
| 224 |
} |
| 225 |
.lp-theme-badge--danger, |
| 226 |
.lp-be-badge--danger { |
| 227 |
color: #d60b11; |
| 228 |
background: #feebe9; |
| 229 |
} |
| 230 |
.lp-theme-badge--info, |
| 231 |
.lp-be-badge--info { |
| 232 |
color: #2e91fa; |
| 233 |
background: #e3f1fe; |
| 234 |
} |
| 235 |
|
| 236 |
@media (max-width: 1400px) { |
| 237 |
.lp-themes-grid { |
| 238 |
grid-template-columns: repeat(3, minmax(0, 1fr)); |
| 239 |
} |
| 240 |
} |
| 241 |
@media (max-width: 1200px) { |
| 242 |
.lp-themes-grid { |
| 243 |
grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 244 |
gap: 20px; |
| 245 |
} |
| 246 |
} |
| 247 |
@media (max-width: 1024px) { |
| 248 |
.lp-themes-toolbar { |
| 249 |
flex-wrap: wrap; |
| 250 |
gap: 12px; |
| 251 |
overflow: visible; |
| 252 |
} |
| 253 |
.lp-themes-filter { |
| 254 |
display: contents; |
| 255 |
} |
| 256 |
.lp-themes-filter__toggle { |
| 257 |
order: 1; |
| 258 |
display: inline-flex; |
| 259 |
align-items: center; |
| 260 |
justify-content: center; |
| 261 |
gap: 4px; |
| 262 |
box-sizing: border-box; |
| 263 |
min-width: 94px; |
| 264 |
height: 40px; |
| 265 |
min-height: 40px; |
| 266 |
padding: 0 12px; |
| 267 |
border: 1px solid transparent; |
| 268 |
border-radius: 10px; |
| 269 |
color: #ffffff; |
| 270 |
background: #7067ed; |
| 271 |
font-size: 14px; |
| 272 |
font-weight: 500; |
| 273 |
cursor: pointer; |
| 274 |
} |
| 275 |
.lp-themes-filter__toggle:hover, .lp-themes-filter__toggle:focus-visible, .lp-themes-filter__toggle[aria-expanded=true] { |
| 276 |
background: #5e48e0; |
| 277 |
outline: none; |
| 278 |
box-shadow: 0 0 0 3px rgba(112, 103, 237, 0.15); |
| 279 |
} |
| 280 |
.lp-themes-filter__menu { |
| 281 |
position: absolute; |
| 282 |
top: 100%; |
| 283 |
inset-inline: 0; |
| 284 |
z-index: 9; |
| 285 |
display: none; |
| 286 |
flex-wrap: wrap; |
| 287 |
padding: 12px; |
| 288 |
border: 1px solid #e1e1e1; |
| 289 |
border-radius: 10px; |
| 290 |
background: #ffffff; |
| 291 |
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); |
| 292 |
} |
| 293 |
.lp-themes-toolbar.is-filter-open .lp-themes-filter__menu { |
| 294 |
display: flex; |
| 295 |
} |
| 296 |
.lp-themes-toolbar.is-filter-open .lp-themes-filter__toggle { |
| 297 |
background: #5e48e0; |
| 298 |
} |
| 299 |
} |
| 300 |
@media (max-width: 782px) { |
| 301 |
.lp-themes-toolbar { |
| 302 |
padding: 12px; |
| 303 |
} |
| 304 |
.lp-themes-filter__item { |
| 305 |
padding-inline: 8px; |
| 306 |
font-size: 14px; |
| 307 |
} |
| 308 |
} |
| 309 |
@media (max-width: 500px) { |
| 310 |
.lp-themes-toolbar { |
| 311 |
padding: 12px; |
| 312 |
} |
| 313 |
.lp-themes-grid { |
| 314 |
grid-template-columns: 1fr; |
| 315 |
} |
| 316 |
} |
| 317 |
@media (max-width: 480px) { |
| 318 |
.lp-theme-card__actions { |
| 319 |
grid-template-columns: 1fr; |
| 320 |
} |
| 321 |
.lp-theme-card__demo { |
| 322 |
width: 100%; |
| 323 |
} |
| 324 |
} |