PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
learnpress / assets / css / instructors.css

instructors.css in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.8, at assets/css/instructors.css

300 lines 7.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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-hidden {
154 display: none !important;
155 }
156
157 .course-price .origin-price {
158 text-decoration: line-through;
159 margin-right: 4px;
160 font-size: calc(var(--lp-font-size-base, 1em) * 0.925);
161 opacity: 0.6;
162 }
163
164 /**
165 * Instructors page.
166 *
167 * @since 4.2.3
168 * @version 1.0.0
169 */
170 body .entry-content.has-global-padding {
171 padding-left: 0;
172 padding-right: 0;
173 }
174 body .wp-site-blocks {
175 padding-left: 0;
176 padding-right: 0;
177 }
178
179 .learnpress-v4 .lp-content-area {
180 --lp-container-max-width: inherit;
181 --lp-cotainer-padding: 0;
182 }
183 .learnpress-v4 .lp-single-course .lp-content-area {
184 padding-right: 15px;
185 padding-left: 15px;
186 }
187
188 .lp-list-instructors {
189 --lp-instructor-item-padding: 20px;
190 --lp-instructor-border-color: #c3c4c7;
191 --lp-instructor-minmax-column: 250px;
192 }
193 .lp-list-instructors .ul-list-instructors {
194 display: grid;
195 grid-template-columns: repeat(auto-fill, minmax(var(--lp-instructor-minmax-column), 1fr));
196 gap: 30px;
197 padding: 0 !important;
198 margin: 0 0 30px 0;
199 list-style: none;
200 }
201 .lp-list-instructors .ul-list-instructors > ul.lp-skeleton-animation {
202 grid-column: span 4;
203 }
204 .lp-list-instructors .ul-list-instructors li.no-instructor {
205 grid-column: span 4;
206 }
207 .lp-list-instructors .ul-list-instructors li.item-instructor {
208 border: 1px solid var(--lp-instructor-border-color);
209 padding: var(--lp-instructor-item-padding);
210 list-style: none;
211 border-radius: var(--lp-border-radius, 5px);
212 }
213 .lp-list-instructors .ul-list-instructors li.item-instructor .instructor-avatar {
214 margin-bottom: 12px;
215 }
216 .lp-list-instructors .ul-list-instructors li.item-instructor .instructor-display-name {
217 display: block;
218 margin-bottom: 12px;
219 font-size: 1.2em;
220 line-height: 1.3;
221 font-weight: bold;
222 }
223 .lp-list-instructors .ul-list-instructors li.item-instructor .instructor-avatar img {
224 width: 100%;
225 border-radius: var(--lp-border-radius, 5px);
226 }
227 .lp-list-instructors .ul-list-instructors li.item-instructor .instructor-info {
228 display: flex;
229 column-gap: 16px;
230 margin-bottom: 12px;
231 flex-wrap: wrap;
232 row-gap: 8px;
233 }
234 .lp-list-instructors .ul-list-instructors li.item-instructor .instructor-info > div {
235 display: flex;
236 align-items: center;
237 column-gap: 10px;
238 }
239 .lp-list-instructors .ul-list-instructors li.item-instructor .instructor-info > div span {
240 display: inline-flex;
241 white-space: nowrap;
242 }
243 .lp-list-instructors .ul-list-instructors li.item-instructor .instructor-info > div .lp-ico {
244 color: var(--lp-primary-color, #ffb606);
245 }
246 .lp-list-instructors .ul-list-instructors li.item-instructor .instructor-btn-view {
247 padding: 8px 24px;
248 border-radius: var(--lp-border-radius, 5px);
249 color: var(--lp-color-base, #333);
250 border: 1px solid var(--lp-color-base, #333);
251 transition: all 0.3s;
252 display: block;
253 background: transparent;
254 text-decoration: none;
255 text-align: center;
256 }
257 .lp-list-instructors .ul-list-instructors li.item-instructor .instructor-btn-view:hover {
258 background: var(--lp-primary-color, #ffb606);
259 color: var(--lp-color-white, #fff);
260 border-color: var(--lp-primary-color, #ffb606);
261 }
262
263 .learnpress-block-pagination,
264 .learn-press-pagination {
265 margin: 20px 0;
266 text-align: center;
267 }
268 .learnpress-block-pagination .page-numbers,
269 .learn-press-pagination .page-numbers {
270 display: inline-flex;
271 gap: 5px;
272 flex-wrap: wrap;
273 margin: 0;
274 padding: 0;
275 border: 0;
276 outline: 0;
277 background: transparent;
278 list-style: none;
279 }
280 .learnpress-block-pagination .page-numbers > li,
281 .learn-press-pagination .page-numbers > li {
282 display: inline-block;
283 margin: 0;
284 }
285 .learnpress-block-pagination .page-numbers > li .page-numbers,
286 .learn-press-pagination .page-numbers > li .page-numbers {
287 float: unset;
288 padding: 0 12px;
289 color: #666;
290 text-decoration: none;
291 }
292 .learnpress-block-pagination .page-numbers > li .page-numbers.current,
293 .learn-press-pagination .page-numbers > li .page-numbers.current {
294 color: var(--lp-primary-color);
295 font-weight: 400;
296 }
297 .learnpress-block-pagination .page-numbers > li .page-numbers:hover,
298 .learn-press-pagination .page-numbers > li .page-numbers:hover {
299 color: var(--lp-primary-color);
300 }