| 1 |
/** |
| 2 |
* Style for instructor page |
| 3 |
*/ |
| 4 |
/** |
| 5 |
* Styles for all page of LP |
| 6 |
* |
| 7 |
* @since 4.2.3 |
| 8 |
* @version 1.0.0 |
| 9 |
*/ |
| 10 |
/** |
| 11 |
* Mixin |
| 12 |
*/ |
| 13 |
@-webkit-keyframes rotating4 { |
| 14 |
from { |
| 15 |
-webkit-transform: rotate(0deg); |
| 16 |
-o-transform: rotate(0deg); |
| 17 |
transform: rotate(0deg); |
| 18 |
} |
| 19 |
to { |
| 20 |
-webkit-transform: rotate(-360deg); |
| 21 |
-o-transform: rotate(-360deg); |
| 22 |
transform: rotate(-360deg); |
| 23 |
} |
| 24 |
} |
| 25 |
@keyframes rotating4 { |
| 26 |
from { |
| 27 |
-ms-transform: rotate(0deg); |
| 28 |
-moz-transform: rotate(0deg); |
| 29 |
-webkit-transform: rotate(0deg); |
| 30 |
-o-transform: rotate(0deg); |
| 31 |
transform: rotate(0deg); |
| 32 |
} |
| 33 |
to { |
| 34 |
-ms-transform: rotate(-360deg); |
| 35 |
-moz-transform: rotate(-360deg); |
| 36 |
-webkit-transform: rotate(-360deg); |
| 37 |
-o-transform: rotate(-360deg); |
| 38 |
transform: rotate(-360deg); |
| 39 |
} |
| 40 |
} |
| 41 |
@-webkit-keyframes animation4 { |
| 42 |
from { |
| 43 |
right: -40%; |
| 44 |
width: 40%; |
| 45 |
} |
| 46 |
to { |
| 47 |
right: 100%; |
| 48 |
width: 10%; |
| 49 |
} |
| 50 |
} |
| 51 |
@keyframes animation4 { |
| 52 |
from { |
| 53 |
right: -40%; |
| 54 |
width: 40%; |
| 55 |
} |
| 56 |
to { |
| 57 |
right: 100%; |
| 58 |
width: 10%; |
| 59 |
} |
| 60 |
} |
| 61 |
:root { |
| 62 |
--lp-cotainer-max-with: var(--lp-container-max-width); |
| 63 |
} |
| 64 |
|
| 65 |
.wp-block-group { |
| 66 |
--lp-container-max-width: var(--wp--style--global--wide-size); |
| 67 |
} |
| 68 |
|
| 69 |
*, :after, :before { |
| 70 |
box-sizing: border-box; |
| 71 |
} |
| 72 |
|
| 73 |
/* start reset css */ |
| 74 |
body { |
| 75 |
background: #fff; |
| 76 |
} |
| 77 |
|
| 78 |
button { |
| 79 |
cursor: pointer; |
| 80 |
} |
| 81 |
|
| 82 |
.learnpress-page input[type=text], |
| 83 |
.learnpress-page input[type=email], |
| 84 |
.learnpress-page input[type=number], |
| 85 |
.learnpress-page input[type=password], .learnpress-page textarea { |
| 86 |
border-color: var(--lp-border-color, #E2E0DB); |
| 87 |
-webkit-border-radius: var(--lp-border-radius, 5px); |
| 88 |
-moz-border-radius: var(--lp-border-radius, 5px); |
| 89 |
border-radius: var(--lp-border-radius, 5px); |
| 90 |
} |
| 91 |
.learnpress-page input[type=text]:focus, |
| 92 |
.learnpress-page input[type=email]:focus, |
| 93 |
.learnpress-page input[type=number]:focus, |
| 94 |
.learnpress-page input[type=password]:focus, .learnpress-page textarea:focus { |
| 95 |
outline: none; |
| 96 |
border-color: var(--lp-primary-color, #ffb606); |
| 97 |
} |
| 98 |
.learnpress-page .lp-button, .learnpress-page #lp-button { |
| 99 |
padding: 12px 24px; |
| 100 |
border: 1px solid var(--lp-border-color, #E2E0DB); |
| 101 |
color: var(--lp-color-base, #333); |
| 102 |
background: transparent; |
| 103 |
box-shadow: unset; |
| 104 |
font-family: inherit; |
| 105 |
font-weight: 400; |
| 106 |
text-align: center; |
| 107 |
text-transform: capitalize; |
| 108 |
-webkit-border-radius: var(--lp-border-radius, 5px); |
| 109 |
-moz-border-radius: var(--lp-border-radius, 5px); |
| 110 |
border-radius: var(--lp-border-radius, 5px); |
| 111 |
-webkit-transition: all 0.25s; |
| 112 |
-moz-transition: all 0.25s; |
| 113 |
-ms-transition: all 0.25s; |
| 114 |
-o-transition: all 0.25s; |
| 115 |
transition: all 0.25s; |
| 116 |
} |
| 117 |
.learnpress-page .lp-button.large, .learnpress-page #lp-button.large { |
| 118 |
height: 52px; |
| 119 |
padding: 18px 30px; |
| 120 |
font-size: 1.1em; |
| 121 |
} |
| 122 |
.learnpress-page .lp-button:hover, .learnpress-page #lp-button:hover { |
| 123 |
border-color: var(--lp-primary-color); |
| 124 |
color: #fff; |
| 125 |
background: var(--lp-primary-color); |
| 126 |
} |
| 127 |
.learnpress-page .lp-button.btn-ajax-off .icon, .learnpress-page #lp-button.btn-ajax-off .icon { |
| 128 |
display: none; |
| 129 |
} |
| 130 |
.learnpress-page .lp-button.btn-ajax-on .icon, .learnpress-page #lp-button.btn-ajax-on .icon { |
| 131 |
display: inline-block; |
| 132 |
margin-left: 5px; |
| 133 |
-webkit-animation: lp-rotating 1s linear infinite; |
| 134 |
-moz-animation: lp-rotating 1s linear infinite; |
| 135 |
animation: lp-rotating 1s linear infinite; |
| 136 |
} |
| 137 |
.learnpress-page .lp-button:focus, .learnpress-page #lp-button:focus { |
| 138 |
outline: 0; |
| 139 |
} |
| 140 |
.learnpress-page .rwmb-field .description { |
| 141 |
margin-top: 8px; |
| 142 |
color: #999; |
| 143 |
font-size: smaller; |
| 144 |
font-style: italic; |
| 145 |
} |
| 146 |
|
| 147 |
input, button, select, textarea { |
| 148 |
outline: none; |
| 149 |
} |
| 150 |
|
| 151 |
/*html { |
| 152 |
overflow-x: hidden; |
| 153 |
}*/ |
| 154 |
a { |
| 155 |
-webkit-transition: 0.3s; |
| 156 |
-moz-transition: 0.3s; |
| 157 |
-ms-transition: 0.3s; |
| 158 |
-o-transition: 0.3s; |
| 159 |
transition: 0.3s; |
| 160 |
text-decoration: none; |
| 161 |
} |
| 162 |
|
| 163 |
p { |
| 164 |
margin-bottom: 1rem; |
| 165 |
} |
| 166 |
p:last-child { |
| 167 |
margin: 0; |
| 168 |
} |
| 169 |
|
| 170 |
.lp-content-area { |
| 171 |
max-width: var(--lp-container-max-width) !important; |
| 172 |
margin: 0 auto; |
| 173 |
padding-left: var(--lp-cotainer-padding); |
| 174 |
padding-right: var(--lp-cotainer-padding); |
| 175 |
} |
| 176 |
.lp-content-area.learn-press-message { |
| 177 |
margin-bottom: 24px; |
| 178 |
padding-right: 15px; |
| 179 |
padding-left: 15px; |
| 180 |
} |
| 181 |
|
| 182 |
.lp-ico svg { |
| 183 |
width: 20px; |
| 184 |
height: 20px; |
| 185 |
} |
| 186 |
|
| 187 |
.lp-button { |
| 188 |
border: 1px solid var(--lp-border-color, #E2E0DB); |
| 189 |
border-radius: var(--lp-border-radius, 5px); |
| 190 |
padding: 8px 16px; |
| 191 |
} |
| 192 |
.lp-button.loading { |
| 193 |
pointer-events: none; |
| 194 |
opacity: 0.8; |
| 195 |
} |
| 196 |
.lp-button.loading:before { |
| 197 |
display: inline-block; |
| 198 |
font-family: "lp-icon"; |
| 199 |
content: "\f110"; |
| 200 |
animation: lp-rotating 1s linear infinite; |
| 201 |
margin-left: 5px; |
| 202 |
font-variant: normal; |
| 203 |
text-transform: none; |
| 204 |
-webkit-font-smoothing: antialiased; |
| 205 |
-moz-osx-font-smoothing: grayscale; |
| 206 |
vertical-align: middle; |
| 207 |
} |
| 208 |
|
| 209 |
.lp-hidden { |
| 210 |
display: none !important; |
| 211 |
} |
| 212 |
|
| 213 |
.course-price .origin-price { |
| 214 |
text-decoration: line-through; |
| 215 |
margin-left: 4px; |
| 216 |
font-size: calc(var(--lp-font-size-base, 1em) * 0.925); |
| 217 |
opacity: 0.6; |
| 218 |
} |
| 219 |
|
| 220 |
/** |
| 221 |
* Mixin |
| 222 |
*/ |
| 223 |
@-webkit-keyframes rotating4 { |
| 224 |
from { |
| 225 |
-webkit-transform: rotate(0deg); |
| 226 |
-o-transform: rotate(0deg); |
| 227 |
transform: rotate(0deg); |
| 228 |
} |
| 229 |
to { |
| 230 |
-webkit-transform: rotate(-360deg); |
| 231 |
-o-transform: rotate(-360deg); |
| 232 |
transform: rotate(-360deg); |
| 233 |
} |
| 234 |
} |
| 235 |
@keyframes rotating4 { |
| 236 |
from { |
| 237 |
-ms-transform: rotate(0deg); |
| 238 |
-moz-transform: rotate(0deg); |
| 239 |
-webkit-transform: rotate(0deg); |
| 240 |
-o-transform: rotate(0deg); |
| 241 |
transform: rotate(0deg); |
| 242 |
} |
| 243 |
to { |
| 244 |
-ms-transform: rotate(-360deg); |
| 245 |
-moz-transform: rotate(-360deg); |
| 246 |
-webkit-transform: rotate(-360deg); |
| 247 |
-o-transform: rotate(-360deg); |
| 248 |
transform: rotate(-360deg); |
| 249 |
} |
| 250 |
} |
| 251 |
@-webkit-keyframes animation4 { |
| 252 |
from { |
| 253 |
right: -40%; |
| 254 |
width: 40%; |
| 255 |
} |
| 256 |
to { |
| 257 |
right: 100%; |
| 258 |
width: 10%; |
| 259 |
} |
| 260 |
} |
| 261 |
@keyframes animation4 { |
| 262 |
from { |
| 263 |
right: -40%; |
| 264 |
width: 40%; |
| 265 |
} |
| 266 |
to { |
| 267 |
right: 100%; |
| 268 |
width: 10%; |
| 269 |
} |
| 270 |
} |
| 271 |
/** |
| 272 |
* Style for single instructor page |
| 273 |
* |
| 274 |
* @since 4.2.3 |
| 275 |
* @version 1.0.0 |
| 276 |
*/ |
| 277 |
:root { |
| 278 |
--lp-cotainer-max-with: var(--lp-container-max-width); |
| 279 |
} |
| 280 |
|
| 281 |
.wp-block-group { |
| 282 |
--lp-container-max-width: var(--wp--style--global--wide-size); |
| 283 |
} |
| 284 |
|
| 285 |
/** |
| 286 |
* Style for user cover amd avatar image. |
| 287 |
* @since 4.2.7.2 |
| 288 |
* @version 1.0.0 |
| 289 |
*/ |
| 290 |
.lp-user-cover-image_background { |
| 291 |
position: relative; |
| 292 |
} |
| 293 |
.lp-user-cover-image_background:hover .lp-btn-to-edit-cover-image { |
| 294 |
opacity: 1; |
| 295 |
visibility: visible; |
| 296 |
} |
| 297 |
.lp-user-cover-image_background .lp-btn-to-edit-cover-image { |
| 298 |
position: absolute; |
| 299 |
bottom: 0; |
| 300 |
left: 0; |
| 301 |
background: var(--lp-white-grey, #F7F7FB); |
| 302 |
padding: 12px 20px; |
| 303 |
border-radius: 0 var(--lp-border-radius, 5px) 0 var(--lp-border-radius, 5px); |
| 304 |
text-transform: capitalize; |
| 305 |
cursor: pointer; |
| 306 |
color: var(--lp-primary-color, #ffb606); |
| 307 |
text-decoration: none; |
| 308 |
opacity: 0; |
| 309 |
visibility: hidden; |
| 310 |
} |
| 311 |
@media (max-width: 767px) { |
| 312 |
.lp-user-cover-image_background .lp-btn-to-edit-cover-image { |
| 313 |
font-size: 0; |
| 314 |
padding: 4px 12px; |
| 315 |
opacity: 1; |
| 316 |
visibility: visible; |
| 317 |
} |
| 318 |
.lp-user-cover-image_background .lp-btn-to-edit-cover-image:before { |
| 319 |
font-family: "lp-icon"; |
| 320 |
content: "\f044"; |
| 321 |
font-size: 16px; |
| 322 |
} |
| 323 |
} |
| 324 |
|
| 325 |
.lp-user-cover-image__display { |
| 326 |
width: 100%; |
| 327 |
} |
| 328 |
@media (max-width: 767px) { |
| 329 |
.lp-user-cover-image { |
| 330 |
position: relative; |
| 331 |
z-index: 1; |
| 332 |
} |
| 333 |
} |
| 334 |
.lp-user-cover-image .lp-cover-image-empty { |
| 335 |
display: flex; |
| 336 |
align-items: center; |
| 337 |
width: 100%; |
| 338 |
height: 250px; |
| 339 |
border: 2px dashed var(--lp-border-color, #E2E0DB); |
| 340 |
border-radius: var(--lp-border-radius, 5px); |
| 341 |
cursor: pointer; |
| 342 |
position: relative; |
| 343 |
text-align: center; |
| 344 |
} |
| 345 |
.lp-user-cover-image .lp-cover-image-empty:hover { |
| 346 |
border-color: var(--lp-primary-color, #ffb606); |
| 347 |
} |
| 348 |
.lp-user-cover-image .lp-cover-image-empty input[type=file] { |
| 349 |
position: absolute; |
| 350 |
top: 0; |
| 351 |
right: 0; |
| 352 |
width: 100%; |
| 353 |
height: 100%; |
| 354 |
opacity: 0; |
| 355 |
cursor: pointer; |
| 356 |
z-index: 10; |
| 357 |
} |
| 358 |
.lp-user-cover-image .lp-cover-image-empty .lp-cover-image-empty__info { |
| 359 |
z-index: 1; |
| 360 |
flex: 1; |
| 361 |
position: relative; |
| 362 |
padding: 0 16px; |
| 363 |
line-height: 1.3; |
| 364 |
} |
| 365 |
.lp-user-cover-image .lp-cover-image-empty .lp-cover-image-empty__info__top { |
| 366 |
font-weight: 600; |
| 367 |
display: flex; |
| 368 |
align-items: center; |
| 369 |
gap: 8px; |
| 370 |
margin-bottom: 8px; |
| 371 |
flex-direction: column; |
| 372 |
} |
| 373 |
.lp-user-cover-image .lp-cover-image-empty .lp-cover-image-empty__info__top .lp-icon-file-image { |
| 374 |
font-size: 32px; |
| 375 |
transform: rotate(90deg); |
| 376 |
} |
| 377 |
.lp-user-cover-image .lp-cover-image-empty .lp-cover-image-empty__info__top .lp-icon-file-image:before { |
| 378 |
color: var(--lp-primary-color); |
| 379 |
content: "\f08b"; |
| 380 |
} |
| 381 |
.lp-user-cover-image .lp-cover-image-empty .lp-cover-image-empty__info__bottom { |
| 382 |
opacity: 0.7; |
| 383 |
} |
| 384 |
@media (max-width: 420px) { |
| 385 |
.lp-user-cover-image .lp-cover-image-empty { |
| 386 |
height: 200px; |
| 387 |
} |
| 388 |
.lp-user-cover-image .lp-cover-image-empty .lp-cover-image-empty__info { |
| 389 |
padding: 0 8px; |
| 390 |
font-size: 15px; |
| 391 |
} |
| 392 |
} |
| 393 |
.lp-user-cover-image .lp-user-cover-image__buttons { |
| 394 |
display: inline-flex; |
| 395 |
gap: 12px; |
| 396 |
margin-top: 16px; |
| 397 |
} |
| 398 |
|
| 399 |
.lp-user-cover-image_background { |
| 400 |
background-repeat: no-repeat; |
| 401 |
background-position: center; |
| 402 |
background-size: cover; |
| 403 |
margin-bottom: 20px; |
| 404 |
border-radius: var(--lp-border-radius, 5px); |
| 405 |
min-height: 100px; |
| 406 |
} |
| 407 |
.lp-user-cover-image_background > img { |
| 408 |
opacity: 0; |
| 409 |
visibility: hidden; |
| 410 |
} |
| 411 |
|
| 412 |
.learnpress_avatar__form label { |
| 413 |
display: inline-block; |
| 414 |
} |
| 415 |
.learnpress_avatar__form input[type=file] { |
| 416 |
display: none; |
| 417 |
} |
| 418 |
.learnpress_avatar__form__upload { |
| 419 |
display: flex; |
| 420 |
width: 200px; |
| 421 |
height: 200px; |
| 422 |
border: 1px dashed var(--lp-border-color, #E2E0DB); |
| 423 |
border-radius: 3px; |
| 424 |
background-color: #fafafa; |
| 425 |
font-size: 0.875em; |
| 426 |
font-weight: 300; |
| 427 |
font-style: italic; |
| 428 |
line-height: 2.6875em; |
| 429 |
text-align: center; |
| 430 |
cursor: pointer; |
| 431 |
align-items: center; |
| 432 |
justify-content: center; |
| 433 |
} |
| 434 |
.learnpress_avatar__form__upload div { |
| 435 |
line-height: 1.4; |
| 436 |
} |
| 437 |
.learnpress_avatar__button--loading:before { |
| 438 |
display: inline-block; |
| 439 |
font-family: "lp-icon"; |
| 440 |
content: "\f110"; |
| 441 |
animation: lp-rotating 1s linear infinite; |
| 442 |
margin-left: 5px; |
| 443 |
font-variant: normal; |
| 444 |
text-transform: none; |
| 445 |
-webkit-font-smoothing: antialiased; |
| 446 |
-moz-osx-font-smoothing: grayscale; |
| 447 |
vertical-align: middle; |
| 448 |
} |
| 449 |
|
| 450 |
button.learnpress_avatar__button { |
| 451 |
height: 40px; |
| 452 |
padding: 0 15px; |
| 453 |
border: 0; |
| 454 |
background: var(--lp-primary-color); |
| 455 |
color: white; |
| 456 |
margin-top: 15px; |
| 457 |
border-radius: 3px; |
| 458 |
} |
| 459 |
button.learnpress_avatar__button + button { |
| 460 |
margin-right: 15px; |
| 461 |
margin-left: 0; |
| 462 |
} |
| 463 |
|
| 464 |
body .entry-content.has-global-padding { |
| 465 |
padding-right: 0; |
| 466 |
padding-left: 0; |
| 467 |
} |
| 468 |
body .wp-site-blocks { |
| 469 |
padding-right: 0; |
| 470 |
padding-left: 0; |
| 471 |
} |
| 472 |
|
| 473 |
.learnpress-v4 .lp-content-area { |
| 474 |
--lp-container-max-width: inherit; |
| 475 |
--lp-cotainer-padding: 0; |
| 476 |
} |
| 477 |
|
| 478 |
.lp-single-instructor { |
| 479 |
--lp-instructor-item-padding: 13px; |
| 480 |
--lp-instructor-border-color: #c3c4c7; |
| 481 |
--lp-instructor-minmax-column: 250px; |
| 482 |
} |
| 483 |
.lp-single-instructor h1 { |
| 484 |
font-size: 1.8em; |
| 485 |
font-weight: bold; |
| 486 |
margin-bottom: var(--lp-instructor-item-padding); |
| 487 |
} |
| 488 |
.lp-single-instructor h2 { |
| 489 |
font-size: 1.4em; |
| 490 |
font-weight: bold; |
| 491 |
} |
| 492 |
.lp-single-instructor .wrapper-instructor-total-courses, .lp-single-instructor .wrapper-instructor-total-students { |
| 493 |
display: flex; |
| 494 |
align-items: center; |
| 495 |
gap: 5px; |
| 496 |
} |
| 497 |
.lp-single-instructor__info { |
| 498 |
margin-bottom: 40px; |
| 499 |
} |
| 500 |
.lp-single-instructor__info__wrapper { |
| 501 |
display: flex; |
| 502 |
gap: 24px; |
| 503 |
} |
| 504 |
.lp-single-instructor__info .instructor-avatar img { |
| 505 |
max-width: 120px; |
| 506 |
border-radius: 50%; |
| 507 |
height: auto; |
| 508 |
} |
| 509 |
@media (max-width: 767px) { |
| 510 |
.lp-single-instructor__info .instructor-avatar img { |
| 511 |
max-width: 100px; |
| 512 |
} |
| 513 |
} |
| 514 |
.lp-single-instructor__info__right { |
| 515 |
flex: 1; |
| 516 |
display: flex; |
| 517 |
flex-direction: column; |
| 518 |
gap: 8px; |
| 519 |
} |
| 520 |
.lp-single-instructor__info__right__content { |
| 521 |
display: flex; |
| 522 |
align-items: center; |
| 523 |
justify-content: space-between; |
| 524 |
column-gap: 20px; |
| 525 |
row-gap: 8px; |
| 526 |
flex-wrap: wrap; |
| 527 |
} |
| 528 |
.lp-single-instructor__info__right .instructor-description:empty { |
| 529 |
margin: 0; |
| 530 |
} |
| 531 |
.lp-single-instructor__info__right .instructor-social { |
| 532 |
display: flex; |
| 533 |
gap: 12px; |
| 534 |
font-size: calc(var(--lp-font-size-base, 1em) * 0.925); |
| 535 |
} |
| 536 |
.lp-single-instructor__info__right .instructor-social:empty { |
| 537 |
margin: 0; |
| 538 |
} |
| 539 |
.lp-single-instructor__info__right .instructor-social i { |
| 540 |
width: 40px; |
| 541 |
height: 40px; |
| 542 |
display: inline-flex; |
| 543 |
align-items: center; |
| 544 |
justify-content: center; |
| 545 |
border: 1px solid var(--lp-border-color, #E2E0DB); |
| 546 |
border-radius: 50%; |
| 547 |
} |
| 548 |
.lp-single-instructor__info__right .instructor-social i:hover { |
| 549 |
background-color: var(--lp-primary-color, #ffb606); |
| 550 |
border-color: var(--lp-primary-color, #ffb606); |
| 551 |
color: var(--lp-color-white, #fff); |
| 552 |
} |
| 553 |
.lp-single-instructor__info__right .lp-instructor-meta { |
| 554 |
display: flex; |
| 555 |
column-gap: 20px; |
| 556 |
row-gap: 8px; |
| 557 |
} |
| 558 |
.lp-single-instructor__info__right .lp-instructor-meta .instructor-item-meta { |
| 559 |
display: inline-flex; |
| 560 |
gap: 8px; |
| 561 |
align-items: center; |
| 562 |
} |
| 563 |
.lp-single-instructor__info__right .lp-instructor-meta .instructor-item-meta i { |
| 564 |
color: var(--lp-primary-color, #ffb606); |
| 565 |
} |
| 566 |
@media (max-width: 991px) { |
| 567 |
.lp-single-instructor__info__right { |
| 568 |
flex-wrap: wrap; |
| 569 |
} |
| 570 |
.lp-single-instructor__info__right .instructor-description { |
| 571 |
display: none; |
| 572 |
} |
| 573 |
.lp-single-instructor__info__right .lp-instructor-meta { |
| 574 |
flex-wrap: wrap; |
| 575 |
} |
| 576 |
} |
| 577 |
@media (max-width: 600px) { |
| 578 |
.lp-single-instructor__info { |
| 579 |
display: block; |
| 580 |
} |
| 581 |
.lp-single-instructor__info .instructor-avatar { |
| 582 |
margin-left: 0; |
| 583 |
margin-bottom: 20px; |
| 584 |
} |
| 585 |
.lp-single-instructor__info .instructor-social { |
| 586 |
gap: 3%; |
| 587 |
} |
| 588 |
} |
| 589 |
.lp-single-instructor .ul-instructor-courses { |
| 590 |
display: grid; |
| 591 |
gap: 30px; |
| 592 |
padding: 0 !important; |
| 593 |
margin: 0 0 30px 0; |
| 594 |
list-style: none; |
| 595 |
grid-template-columns: repeat(auto-fill, minmax(var(--lp-instructor-minmax-column), 1fr)); |
| 596 |
} |
| 597 |
.lp-single-instructor .ul-instructor-courses li { |
| 598 |
list-style: none; |
| 599 |
} |
| 600 |
.lp-single-instructor .ul-instructor-courses a:hover { |
| 601 |
color: var(--lp-primary-color); |
| 602 |
} |
| 603 |
.lp-single-instructor .ul-instructor-courses .course-item { |
| 604 |
border: 1px solid var(--lp-border-color, #E2E0DB); |
| 605 |
border-radius: var(--lp-border-radius, 5px); |
| 606 |
} |
| 607 |
.lp-single-instructor .ul-instructor-courses .course-item:hover { |
| 608 |
box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.2); |
| 609 |
} |
| 610 |
.lp-single-instructor .ul-instructor-courses .course-content { |
| 611 |
padding: 20px; |
| 612 |
flex-grow: 1; |
| 613 |
} |
| 614 |
.lp-single-instructor .ul-instructor-courses .course-content .course-info { |
| 615 |
flex-direction: column; |
| 616 |
align-items: flex-start; |
| 617 |
gap: 12px; |
| 618 |
} |
| 619 |
.lp-single-instructor .ul-instructor-courses .course-content .course-info .course-readmore { |
| 620 |
width: 100%; |
| 621 |
text-align: center; |
| 622 |
} |
| 623 |
.lp-single-instructor .ul-instructor-courses .course-content .wap-course-title { |
| 624 |
font-size: calc(var(--lp-font-size-base, 1em) * 1.15); |
| 625 |
} |
| 626 |
.lp-single-instructor .ul-instructor-courses .course-content .course-excerpt, .lp-single-instructor .ul-instructor-courses .course-content .course-short-description, .lp-single-instructor .ul-instructor-courses .course-content .course-instructor-category { |
| 627 |
display: none; |
| 628 |
} |
| 629 |
.lp-single-instructor .ul-instructor-courses .course-thumbnail { |
| 630 |
position: relative; |
| 631 |
border-radius: var(--lp-border-radius, 5px) var(--lp-border-radius, 5px) 0 0; |
| 632 |
overflow: hidden; |
| 633 |
} |
| 634 |
.lp-single-instructor .ul-instructor-courses .course-thumbnail img { |
| 635 |
width: 100%; |
| 636 |
height: auto; |
| 637 |
} |
| 638 |
.lp-single-instructor .ul-instructor-courses .course-wrap-meta { |
| 639 |
display: flex; |
| 640 |
padding: 0; |
| 641 |
margin-bottom: 12px; |
| 642 |
gap: 20px; |
| 643 |
flex-wrap: wrap; |
| 644 |
row-gap: 8px; |
| 645 |
} |
| 646 |
.lp-single-instructor .ul-instructor-courses .course-wrap-meta .meta-item { |
| 647 |
text-transform: capitalize; |
| 648 |
display: flex; |
| 649 |
gap: 8px; |
| 650 |
} |
| 651 |
.lp-single-instructor .ul-instructor-courses .course-wrap-meta .meta-item::before { |
| 652 |
color: var(--lp-primary-color); |
| 653 |
font-family: "lp-icon"; |
| 654 |
} |
| 655 |
.lp-single-instructor .ul-instructor-courses .course-wrap-meta .meta-item > div { |
| 656 |
display: inline-block; |
| 657 |
} |
| 658 |
.lp-single-instructor .ul-instructor-courses .course-wrap-meta .meta-item-level::before { |
| 659 |
content: "\f012"; |
| 660 |
} |
| 661 |
.lp-single-instructor .ul-instructor-courses .course-wrap-meta .meta-item-duration::before { |
| 662 |
content: "\f017"; |
| 663 |
} |
| 664 |
.lp-single-instructor .ul-instructor-courses .course-wrap-meta .meta-item-lesson::before { |
| 665 |
content: "\f15b"; |
| 666 |
} |
| 667 |
.lp-single-instructor .ul-instructor-courses .course-wrap-meta .meta-item-quiz::before { |
| 668 |
content: "\f12e"; |
| 669 |
} |
| 670 |
.lp-single-instructor .ul-instructor-courses .course-wrap-meta .meta-item-student::before { |
| 671 |
content: "\f501"; |
| 672 |
} |
| 673 |
.lp-single-instructor .ul-instructor-courses .course-wrap-meta .meta-item-address::before { |
| 674 |
content: "\e91b"; |
| 675 |
} |
| 676 |
.lp-single-instructor .ul-instructor-courses .course-wrap-meta .meta-item-duration, .lp-single-instructor .ul-instructor-courses .course-wrap-meta .meta-item-level, .lp-single-instructor .ul-instructor-courses .course-wrap-meta .meta-item-quiz { |
| 677 |
display: none; |
| 678 |
} |
| 679 |
.lp-single-instructor .ul-instructor-courses .course-price { |
| 680 |
display: block; |
| 681 |
margin: 0 0 12px 0; |
| 682 |
font-size: calc(var(--lp-font-size-base, 1em) * 1.25); |
| 683 |
font-weight: 700; |
| 684 |
} |
| 685 |
.lp-single-instructor .ul-instructor-courses .course-price .free { |
| 686 |
color: #3AB500; |
| 687 |
} |
| 688 |
.lp-single-instructor .ul-instructor-courses .course-price .origin-price { |
| 689 |
text-decoration: line-through; |
| 690 |
opacity: 0.6; |
| 691 |
font-size: calc(var(--lp-font-size-base, 1em) * 0.925); |
| 692 |
margin-left: 4px; |
| 693 |
} |
| 694 |
.lp-single-instructor .ul-instructor-courses .course-title { |
| 695 |
margin: 0 0 12px 0; |
| 696 |
padding: 0; |
| 697 |
display: block; |
| 698 |
} |
| 699 |
.lp-single-instructor .ul-instructor-courses .course-title:hover { |
| 700 |
color: var(--lp-primary-color); |
| 701 |
} |
| 702 |
.lp-single-instructor .ul-instructor-courses .course-readmore a { |
| 703 |
padding: 8px 24px; |
| 704 |
border-radius: var(--lp-border-radius, 5px); |
| 705 |
color: var(--lp-color-base, #333); |
| 706 |
border: 1px solid var(--lp-color-base, #333); |
| 707 |
transition: all 0.3s; |
| 708 |
display: block; |
| 709 |
background: transparent; |
| 710 |
text-decoration: none; |
| 711 |
text-align: center; |
| 712 |
} |
| 713 |
.lp-single-instructor .ul-instructor-courses .course-readmore a:hover { |
| 714 |
background: var(--lp-primary-color, #ffb606); |
| 715 |
color: var(--lp-color-white, #fff); |
| 716 |
border-color: var(--lp-primary-color, #ffb606); |
| 717 |
} |
| 718 |
.lp-single-instructor .instructor-avatar { |
| 719 |
position: relative; |
| 720 |
} |
| 721 |
.lp-single-instructor .instructor-avatar:hover .lp-btn-to-edit-avatar { |
| 722 |
opacity: 1; |
| 723 |
visibility: visible; |
| 724 |
} |
| 725 |
.lp-single-instructor .instructor-avatar .lp-btn-to-edit-avatar { |
| 726 |
position: absolute; |
| 727 |
top: 80px; |
| 728 |
left: 0; |
| 729 |
right: auto; |
| 730 |
width: 36px; |
| 731 |
height: 36px; |
| 732 |
font-size: 0; |
| 733 |
display: flex; |
| 734 |
align-items: center; |
| 735 |
justify-content: center; |
| 736 |
opacity: 0; |
| 737 |
visibility: hidden; |
| 738 |
cursor: pointer; |
| 739 |
background-color: var(--lp-white-grey, #F7F7FB); |
| 740 |
border-radius: 50%; |
| 741 |
} |
| 742 |
@media (max-width: 767px) { |
| 743 |
.lp-single-instructor .instructor-avatar .lp-btn-to-edit-avatar { |
| 744 |
opacity: 1; |
| 745 |
top: 60px; |
| 746 |
visibility: visible; |
| 747 |
} |
| 748 |
} |
| 749 |
.lp-single-instructor .instructor-avatar .lp-btn-to-edit-avatar::before { |
| 750 |
content: "\f044"; |
| 751 |
font-size: 1.5rem; |
| 752 |
font-family: "lp-icon"; |
| 753 |
font-weight: normal; |
| 754 |
color: var(--lp-primary-color); |
| 755 |
} |
| 756 |
|
| 757 |
.learnpress-block-pagination, |
| 758 |
.learn-press-pagination { |
| 759 |
margin: 20px 0; |
| 760 |
text-align: center; |
| 761 |
} |
| 762 |
.learnpress-block-pagination .page-numbers, |
| 763 |
.learn-press-pagination .page-numbers { |
| 764 |
display: inline-flex; |
| 765 |
gap: 5px; |
| 766 |
flex-wrap: wrap; |
| 767 |
margin: 0; |
| 768 |
padding: 0; |
| 769 |
border: 0; |
| 770 |
outline: 0; |
| 771 |
background: transparent; |
| 772 |
list-style: none; |
| 773 |
} |
| 774 |
.learnpress-block-pagination .page-numbers > li, |
| 775 |
.learn-press-pagination .page-numbers > li { |
| 776 |
display: inline-block; |
| 777 |
margin: 0; |
| 778 |
} |
| 779 |
.learnpress-block-pagination .page-numbers > li .page-numbers, |
| 780 |
.learn-press-pagination .page-numbers > li .page-numbers { |
| 781 |
float: unset; |
| 782 |
padding: 0 12px; |
| 783 |
color: #666; |
| 784 |
text-decoration: none; |
| 785 |
} |
| 786 |
.learnpress-block-pagination .page-numbers > li .page-numbers.current, |
| 787 |
.learn-press-pagination .page-numbers > li .page-numbers.current { |
| 788 |
color: var(--lp-primary-color); |
| 789 |
font-weight: 400; |
| 790 |
} |
| 791 |
.learnpress-block-pagination .page-numbers > li .page-numbers:hover, |
| 792 |
.learn-press-pagination .page-numbers > li .page-numbers:hover { |
| 793 |
color: var(--lp-primary-color); |
| 794 |
} |