| 1 |
/** |
| 2 |
* Style for instructor page |
| 3 |
*/ |
| 4 |
:root { |
| 5 |
--lp-cotainer-max-with: var(--lp-container-max-width); |
| 6 |
} |
| 7 |
|
| 8 |
.wp-block-group { |
| 9 |
--lp-container-max-width: var(--wp--style--global--wide-size); |
| 10 |
} |
| 11 |
|
| 12 |
/** |
| 13 |
* Styles for all page of LP |
| 14 |
* |
| 15 |
* @since 4.2.3 |
| 16 |
* @version 1.0.0 |
| 17 |
*/ |
| 18 |
/** |
| 19 |
* Mixin |
| 20 |
*/ |
| 21 |
@-webkit-keyframes rotating4 { |
| 22 |
from { |
| 23 |
-webkit-transform: rotate(0deg); |
| 24 |
-o-transform: rotate(0deg); |
| 25 |
transform: rotate(0deg); |
| 26 |
} |
| 27 |
to { |
| 28 |
-webkit-transform: rotate(-360deg); |
| 29 |
-o-transform: rotate(-360deg); |
| 30 |
transform: rotate(-360deg); |
| 31 |
} |
| 32 |
} |
| 33 |
@keyframes rotating4 { |
| 34 |
from { |
| 35 |
-ms-transform: rotate(0deg); |
| 36 |
-moz-transform: rotate(0deg); |
| 37 |
-webkit-transform: rotate(0deg); |
| 38 |
-o-transform: rotate(0deg); |
| 39 |
transform: rotate(0deg); |
| 40 |
} |
| 41 |
to { |
| 42 |
-ms-transform: rotate(-360deg); |
| 43 |
-moz-transform: rotate(-360deg); |
| 44 |
-webkit-transform: rotate(-360deg); |
| 45 |
-o-transform: rotate(-360deg); |
| 46 |
transform: rotate(-360deg); |
| 47 |
} |
| 48 |
} |
| 49 |
@-webkit-keyframes animation4 { |
| 50 |
from { |
| 51 |
right: -40%; |
| 52 |
width: 40%; |
| 53 |
} |
| 54 |
to { |
| 55 |
right: 100%; |
| 56 |
width: 10%; |
| 57 |
} |
| 58 |
} |
| 59 |
@keyframes animation4 { |
| 60 |
from { |
| 61 |
right: -40%; |
| 62 |
width: 40%; |
| 63 |
} |
| 64 |
to { |
| 65 |
right: 100%; |
| 66 |
width: 10%; |
| 67 |
} |
| 68 |
} |
| 69 |
:root { |
| 70 |
--lp-cotainer-max-with: var(--lp-container-max-width); |
| 71 |
} |
| 72 |
|
| 73 |
.wp-block-group { |
| 74 |
--lp-container-max-width: var(--wp--style--global--wide-size); |
| 75 |
} |
| 76 |
|
| 77 |
*, :after, :before { |
| 78 |
box-sizing: border-box; |
| 79 |
} |
| 80 |
|
| 81 |
/* start reset css */ |
| 82 |
body { |
| 83 |
background: #fff; |
| 84 |
} |
| 85 |
|
| 86 |
button { |
| 87 |
cursor: pointer; |
| 88 |
} |
| 89 |
|
| 90 |
.learnpress-page input[type=text], |
| 91 |
.learnpress-page input[type=email], |
| 92 |
.learnpress-page input[type=number], |
| 93 |
.learnpress-page input[type=password], .learnpress-page textarea { |
| 94 |
border-color: var(--lp-border-color, #E2E0DB); |
| 95 |
-webkit-border-radius: var(--lp-border-radius, 5px); |
| 96 |
-moz-border-radius: var(--lp-border-radius, 5px); |
| 97 |
border-radius: var(--lp-border-radius, 5px); |
| 98 |
} |
| 99 |
.learnpress-page input[type=text]:focus, |
| 100 |
.learnpress-page input[type=email]:focus, |
| 101 |
.learnpress-page input[type=number]:focus, |
| 102 |
.learnpress-page input[type=password]:focus, .learnpress-page textarea:focus { |
| 103 |
outline: none; |
| 104 |
border-color: var(--lp-primary-color, #ffb606); |
| 105 |
} |
| 106 |
.learnpress-page .lp-button, .learnpress-page #lp-button { |
| 107 |
padding: 12px 24px; |
| 108 |
border: 1px solid var(--lp-border-color, #E2E0DB); |
| 109 |
color: var(--lp-color-base, #333); |
| 110 |
background: transparent; |
| 111 |
box-shadow: unset; |
| 112 |
font-family: inherit; |
| 113 |
font-weight: 400; |
| 114 |
text-align: center; |
| 115 |
text-transform: capitalize; |
| 116 |
-webkit-border-radius: var(--lp-border-radius, 5px); |
| 117 |
-moz-border-radius: var(--lp-border-radius, 5px); |
| 118 |
border-radius: var(--lp-border-radius, 5px); |
| 119 |
-webkit-transition: all 0.25s; |
| 120 |
-moz-transition: all 0.25s; |
| 121 |
-ms-transition: all 0.25s; |
| 122 |
-o-transition: all 0.25s; |
| 123 |
transition: all 0.25s; |
| 124 |
} |
| 125 |
.learnpress-page .lp-button.large, .learnpress-page #lp-button.large { |
| 126 |
height: 52px; |
| 127 |
padding: 18px 30px; |
| 128 |
font-size: 1.1em; |
| 129 |
} |
| 130 |
.learnpress-page .lp-button:hover, .learnpress-page #lp-button:hover { |
| 131 |
border-color: var(--lp-primary-color); |
| 132 |
color: #fff; |
| 133 |
background: var(--lp-primary-color); |
| 134 |
} |
| 135 |
.learnpress-page .lp-button.btn-ajax-off .icon, .learnpress-page #lp-button.btn-ajax-off .icon { |
| 136 |
display: none; |
| 137 |
} |
| 138 |
.learnpress-page .lp-button.btn-ajax-on .icon, .learnpress-page #lp-button.btn-ajax-on .icon { |
| 139 |
display: inline-block; |
| 140 |
margin-left: 5px; |
| 141 |
-webkit-animation: lp-rotating 1s linear infinite; |
| 142 |
-moz-animation: lp-rotating 1s linear infinite; |
| 143 |
animation: lp-rotating 1s linear infinite; |
| 144 |
} |
| 145 |
.learnpress-page .lp-button:focus, .learnpress-page #lp-button:focus { |
| 146 |
outline: 0; |
| 147 |
} |
| 148 |
.learnpress-page .rwmb-field .description { |
| 149 |
margin-top: 8px; |
| 150 |
color: #999; |
| 151 |
font-size: smaller; |
| 152 |
font-style: italic; |
| 153 |
} |
| 154 |
|
| 155 |
input, button, select, textarea { |
| 156 |
outline: none; |
| 157 |
} |
| 158 |
|
| 159 |
/*html { |
| 160 |
overflow-x: hidden; |
| 161 |
}*/ |
| 162 |
a { |
| 163 |
-webkit-transition: 0.3s; |
| 164 |
-moz-transition: 0.3s; |
| 165 |
-ms-transition: 0.3s; |
| 166 |
-o-transition: 0.3s; |
| 167 |
transition: 0.3s; |
| 168 |
text-decoration: none; |
| 169 |
} |
| 170 |
|
| 171 |
p { |
| 172 |
margin-bottom: 1rem; |
| 173 |
} |
| 174 |
p:last-child { |
| 175 |
margin: 0; |
| 176 |
} |
| 177 |
|
| 178 |
.lp-content-area { |
| 179 |
max-width: var(--lp-container-max-width) !important; |
| 180 |
margin: 0 auto; |
| 181 |
padding-left: var(--lp-cotainer-padding); |
| 182 |
padding-right: var(--lp-cotainer-padding); |
| 183 |
} |
| 184 |
.lp-content-area.learn-press-message { |
| 185 |
margin-bottom: 24px; |
| 186 |
padding-right: 15px; |
| 187 |
padding-left: 15px; |
| 188 |
} |
| 189 |
|
| 190 |
.lp-ico svg { |
| 191 |
width: 20px; |
| 192 |
height: 20px; |
| 193 |
} |
| 194 |
|
| 195 |
.lp-button { |
| 196 |
border: 1px solid var(--lp-border-color, #E2E0DB); |
| 197 |
border-radius: var(--lp-border-radius, 5px); |
| 198 |
padding: 8px 16px; |
| 199 |
} |
| 200 |
.lp-button.loading { |
| 201 |
pointer-events: none; |
| 202 |
opacity: 0.8; |
| 203 |
} |
| 204 |
.lp-button.loading:before { |
| 205 |
display: inline-block; |
| 206 |
font-family: "lp-icon"; |
| 207 |
content: "\f110"; |
| 208 |
animation: lp-rotating 1s linear infinite; |
| 209 |
margin-left: 5px; |
| 210 |
font-variant: normal; |
| 211 |
text-transform: none; |
| 212 |
-webkit-font-smoothing: antialiased; |
| 213 |
-moz-osx-font-smoothing: grayscale; |
| 214 |
vertical-align: middle; |
| 215 |
} |
| 216 |
|
| 217 |
.lp-hidden { |
| 218 |
display: none !important; |
| 219 |
} |
| 220 |
|
| 221 |
.course-price .origin-price { |
| 222 |
text-decoration: line-through; |
| 223 |
margin-left: 4px; |
| 224 |
font-size: calc(var(--lp-font-size-base, 1em) * 0.925); |
| 225 |
opacity: 0.6; |
| 226 |
} |
| 227 |
|
| 228 |
/** |
| 229 |
* Instructors page. |
| 230 |
* |
| 231 |
* @since 4.2.3 |
| 232 |
* @version 1.0.0 |
| 233 |
*/ |
| 234 |
body .entry-content.has-global-padding { |
| 235 |
padding-right: 0; |
| 236 |
padding-left: 0; |
| 237 |
} |
| 238 |
body .wp-site-blocks { |
| 239 |
padding-right: 0; |
| 240 |
padding-left: 0; |
| 241 |
} |
| 242 |
|
| 243 |
.learnpress-v4 .lp-content-area { |
| 244 |
--lp-container-max-width: inherit; |
| 245 |
--lp-cotainer-padding: 0; |
| 246 |
} |
| 247 |
.learnpress-v4 .lp-single-course .lp-content-area { |
| 248 |
padding-left: 15px; |
| 249 |
padding-right: 15px; |
| 250 |
} |
| 251 |
|
| 252 |
.lp-list-instructors { |
| 253 |
--lp-instructor-item-padding: 20px; |
| 254 |
--lp-instructor-border-color: #c3c4c7; |
| 255 |
--lp-instructor-minmax-column: 250px; |
| 256 |
} |
| 257 |
.lp-list-instructors .ul-list-instructors { |
| 258 |
display: grid; |
| 259 |
grid-template-columns: repeat(auto-fill, minmax(var(--lp-instructor-minmax-column), 1fr)); |
| 260 |
gap: 30px; |
| 261 |
padding: 0 !important; |
| 262 |
margin: 0 0 30px 0; |
| 263 |
list-style: none; |
| 264 |
} |
| 265 |
.lp-list-instructors .ul-list-instructors > ul.lp-skeleton-animation { |
| 266 |
grid-column: span 4; |
| 267 |
} |
| 268 |
.lp-list-instructors .ul-list-instructors li.no-instructor { |
| 269 |
grid-column: span 4; |
| 270 |
} |
| 271 |
.lp-list-instructors .ul-list-instructors li.item-instructor { |
| 272 |
border: 1px solid var(--lp-instructor-border-color); |
| 273 |
padding: var(--lp-instructor-item-padding); |
| 274 |
list-style: none; |
| 275 |
border-radius: var(--lp-border-radius, 5px); |
| 276 |
} |
| 277 |
.lp-list-instructors .ul-list-instructors li.item-instructor .instructor-avatar { |
| 278 |
margin-bottom: 12px; |
| 279 |
} |
| 280 |
.lp-list-instructors .ul-list-instructors li.item-instructor .instructor-display-name { |
| 281 |
display: block; |
| 282 |
margin-bottom: 12px; |
| 283 |
font-size: 1.2em; |
| 284 |
line-height: 1.3; |
| 285 |
font-weight: bold; |
| 286 |
} |
| 287 |
.lp-list-instructors .ul-list-instructors li.item-instructor .instructor-avatar img { |
| 288 |
width: 100%; |
| 289 |
border-radius: var(--lp-border-radius, 5px); |
| 290 |
} |
| 291 |
.lp-list-instructors .ul-list-instructors li.item-instructor .instructor-info { |
| 292 |
display: flex; |
| 293 |
column-gap: 16px; |
| 294 |
margin-bottom: 12px; |
| 295 |
flex-wrap: wrap; |
| 296 |
row-gap: 8px; |
| 297 |
} |
| 298 |
.lp-list-instructors .ul-list-instructors li.item-instructor .instructor-info > div { |
| 299 |
display: flex; |
| 300 |
align-items: center; |
| 301 |
column-gap: 10px; |
| 302 |
} |
| 303 |
.lp-list-instructors .ul-list-instructors li.item-instructor .instructor-info > div span { |
| 304 |
display: inline-flex; |
| 305 |
white-space: nowrap; |
| 306 |
} |
| 307 |
.lp-list-instructors .ul-list-instructors li.item-instructor .instructor-info > div .lp-ico { |
| 308 |
color: var(--lp-primary-color, #ffb606); |
| 309 |
} |
| 310 |
.lp-list-instructors .ul-list-instructors li.item-instructor .instructor-btn-view { |
| 311 |
padding: 8px 24px; |
| 312 |
border-radius: var(--lp-border-radius, 5px); |
| 313 |
color: var(--lp-color-base, #333); |
| 314 |
border: 1px solid var(--lp-color-base, #333); |
| 315 |
transition: all 0.3s; |
| 316 |
display: block; |
| 317 |
background: transparent; |
| 318 |
text-decoration: none; |
| 319 |
text-align: center; |
| 320 |
} |
| 321 |
.lp-list-instructors .ul-list-instructors li.item-instructor .instructor-btn-view:hover { |
| 322 |
background: var(--lp-primary-color, #ffb606); |
| 323 |
color: var(--lp-color-white, #fff); |
| 324 |
border-color: var(--lp-primary-color, #ffb606); |
| 325 |
} |
| 326 |
|
| 327 |
.learnpress-block-pagination, |
| 328 |
.learn-press-pagination { |
| 329 |
margin: 20px 0; |
| 330 |
text-align: center; |
| 331 |
} |
| 332 |
.learnpress-block-pagination .page-numbers, |
| 333 |
.learn-press-pagination .page-numbers { |
| 334 |
display: inline-flex; |
| 335 |
gap: 5px; |
| 336 |
flex-wrap: wrap; |
| 337 |
margin: 0; |
| 338 |
padding: 0; |
| 339 |
border: 0; |
| 340 |
outline: 0; |
| 341 |
background: transparent; |
| 342 |
list-style: none; |
| 343 |
} |
| 344 |
.learnpress-block-pagination .page-numbers > li, |
| 345 |
.learn-press-pagination .page-numbers > li { |
| 346 |
display: inline-block; |
| 347 |
margin: 0; |
| 348 |
} |
| 349 |
.learnpress-block-pagination .page-numbers > li .page-numbers, |
| 350 |
.learn-press-pagination .page-numbers > li .page-numbers { |
| 351 |
float: unset; |
| 352 |
padding: 0 12px; |
| 353 |
color: #666; |
| 354 |
text-decoration: none; |
| 355 |
} |
| 356 |
.learnpress-block-pagination .page-numbers > li .page-numbers.current, |
| 357 |
.learn-press-pagination .page-numbers > li .page-numbers.current { |
| 358 |
color: var(--lp-primary-color); |
| 359 |
font-weight: 400; |
| 360 |
} |
| 361 |
.learnpress-block-pagination .page-numbers > li .page-numbers:hover, |
| 362 |
.learn-press-pagination .page-numbers > li .page-numbers:hover { |
| 363 |
color: var(--lp-primary-color); |
| 364 |
} |