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