PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 3.16.0
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v3.16.0
4.0.3 4.0.2 4.0.1 4.0.0 3.16.6 3.16.5 3.16.4 3.16.3 3.16.2 3.16.1 3.16.0 3.15.9 3.9.9 3.9.5 3.9.6 3.9.7 3.9.8 1.1.7 1.1.8 1.1.9 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 341 releases
profile-builder / add-ons-free / user-profile-picture / src / block / editor.scss

editor.scss in User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor 3.16.0, at add-ons-free/user-profile-picture/src/block/editor.scss

656 lines 11.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .mpp-spinner {
2 span {
3 display: block;
4 text-align: center;
5 float: none;
6 margin: 0 auto;
7 }
8 }
9 .editor-styles-wrapper .mpp-profile-wrap {
10 margin: 0 auto;
11 padding: 3%;
12 border-radius: 5px;
13 margin-bottom: 1.2em;
14 margin-bottom: 20px;
15 line-height: 1.1;
16 &.round .mpp-profile-image-wrapper {
17 border-radius: 50%;
18 overflow: hidden;
19 }
20 &.round .mpp-profile-image-wrapper img {
21 border-radius: 50%;
22 }
23 .mpp-profile-image-wrapper button {
24 height: auto;
25 }
26 h1,h2,h3,h4,h5,h6 {
27 clear: none;
28 }
29 h2:before {
30 display: none;
31 }
32 .mpp-profile-image-wrapper {
33 position: relative;
34 float: left;
35 line-height: 1.1;
36 z-index: 1000;
37 background: #ddd;
38 position: relative;
39 min-width: 150px;
40 min-height: 150px;
41 max-width: 150px;
42 max-height: 150px;
43 width: 100%;
44 margin-right: 20px;
45 button.components-button,
46 button {
47 position: relative;
48 min-width: 150px;
49 min-height: 150px;
50 max-width: 150px;
51 max-height: 150px;
52 z-index: 1000;
53 }
54 .mpp-profile-image-square {
55 position: relative;
56 top: 0;
57 left: 0;
58 height: 100%;
59 width: 100%;
60 z-index: 5;
61 }
62 .mpp-profile-image-square img {
63 height: 100%;
64 width: 100%;
65 position: relative;
66 z-index: 5;
67 }
68 .mpp-content-wrap {
69 display: block;
70 padding: 0 15px 0 15px;
71 -ms-flex: 3 0 0px;
72 flex: 3 0 0;
73 }
74 .mpp-profile-name {
75 font: 1.4em;
76 line-height: 1.2;
77 }
78 @media only screen and (max-width: 600px) {
79 flex: auto;
80 }
81 }
82 .mpp-profile-view-posts {
83 display: block;
84 width: 100%;
85 text-align: center;
86 padding: 10px 20px;
87 margin-top: 20px;
88 background-color: #cf6d38;
89 color: #FFF;
90 a,
91 a:hover,
92 a:visited {
93 display: block;
94 width: 100%;
95 height: 100%;
96 color: #FFF;
97 text-decoration: none;
98 }
99 }
100 }
101 .mpp-profile-image-wrapper {
102 button {
103 position: relative;
104 min-width: 150px;
105 min-height: 150px;
106 max-width: 150px;
107 max-height: 150px;
108 z-index: 1000;
109 }
110 }
111 .editor-styles-wrapper .mpp-enhanced-profile-wrap.regular {
112 position: relative;
113 margin: 0 auto;
114 line-height: 1.1;
115 &.round .mpp-profile-image-wrapper {
116 border-radius: 50%;
117 overflow: hidden;
118 }
119 &.round .mpp-profile-image-wrapper img {
120 border-radius: 50%;
121 }
122 h2:before {
123 display: none;
124 }
125 .mpp-profile-image-wrapper {
126 position: relative;
127 float: left;
128 line-height: 1.1;
129 z-index: 1000;
130 background: #ddd;
131 position: relative;
132 min-width: 150px;
133 min-height: 150px;
134 max-width: 150px;
135 max-height: 150px;
136 width: 100%;
137 margin-right: 20px;
138 button {
139 position: relative;
140 min-width: 150px;
141 min-height: 150px;
142 max-width: 150px;
143 max-height: 150px;
144 z-index: 1000;
145 }
146 .mpp-profile-image-square {
147 position: relative;
148 top: 0;
149 left: 0;
150 height: 100%;
151 width: 100%;
152 z-index: 5;
153 }
154 .mpp-profile-image-square img {
155 height: 100%;
156 width: 100%;
157 position: relative;
158 z-index: 5;
159 }
160 .mpp-content-wrap {
161 display: block;
162 padding: 0 15px 0 15px;
163 -ms-flex: 3 0 0px;
164 flex: 3 0 0;
165 }
166 .mpp-profile-name {
167 font: 1.4em;
168 line-height: 1.2;
169 }
170 @media only screen and (max-width: 600px) {
171 flex: auto;
172 }
173 }
174 .mpp-gutenberg-view-posts {
175 clear: both;
176 &:after {
177 content: "";
178 display: table;
179 clear: both;
180 }
181 }
182
183 .mpp-profile-view-posts {
184 clear: both;
185 display: block;
186 float: left;
187 text-align: center;
188 padding: 10px 20px;
189 margin-top: 20px;
190 margin-right: 20px;
191 background-color: #cf6d38;
192 color: #FFF;
193 a,
194 a:hover,
195 a:visited {
196 display: block;
197 width: 100%;
198 height: 100%;
199 color: #FFF;
200 text-decoration: none;
201 }
202 &:after {
203 content: "";
204 display: table;
205 clear: both;
206 }
207 }
208
209 .mpp-profile-view-website {
210 display: block;
211 float: left;
212 text-align: center;
213 padding: 10px 20px;
214 margin-top: 20px;
215 background-color: #333;
216 color: #FFF;
217 a,
218 a:hover,
219 a:visited {
220 display: block;
221 width: 100%;
222 height: 100%;
223 color: #FFF;
224 text-decoration: none;
225 }
226 }
227 &.right .mpp-profile-view-posts {
228 float: right;
229 margin-left: 20px;
230 }
231 &.center .mpp-profile-view-posts {
232 display: inline-block;
233 float: none;
234 margin-left: 20px;
235 }
236 }
237
238
239 /* Icon Sizes */
240 $sizes: 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24;
241 @each $size in $sizes {
242 .editor-styles-wrapper .mpp-profile-wrap.mt-font-size-#{$size},
243 .editor-styles-wrapper .mpp-enhanced-profile-wrap.regular .mt-font-size-#{$size},
244 .editor-styles-wrapper .mpp-enhanced-profile-wrap.profile .mt-font-size-#{$size},
245 .editor-styles-wrapper .mpp-enhanced-profile-wrap.compact .mt-font-size-#{$size},
246 .editor-styles-wrapper .mpp-profile-text.mt-font-size-#{$size} {
247 font-size: #{$size}px;
248 p,
249 div {
250 font-size: #{$size}px;
251 }
252
253 }
254 }
255
256 /* For Social Media */
257 .mpp-social {
258 margin-top: 15px;
259 svg {
260 max-width: 32px;
261 max-height: 32px;
262 margin-right: 10px;
263 }
264 }
265 /* Social Media Colors */
266 $colors: twitter #00aced,
267 amazon #000000,
268 behance #0692e9,
269 blogger #fb8f3d,
270 codepen #000000,
271 dribble #F46899,
272 dropbox #018BD3,
273 eventbrite #f6682F,
274 facebook #3b5998,
275 flickr #ff0084,
276 foursquare #0072b1,
277 ghost #000000,
278 github #070709,
279 google-plus #CF3D2E,
280 instagram #A1755C,
281 linkedin #0085AE,
282 feed #f26522,
283 medium #000000,
284 path #000000,
285 pinterest #CC2127,
286 pocket #000000,
287 polldaddy #bc0b0b,
288 reddit #000000,
289 skype #01AEF2,
290 spotify #1ed760,
291 squarespace #000000,
292 stumbleupon #EB4823,
293 telegram #000000,
294 tumblr-alt #314E6C,
295 twitch #4b367c,
296 twitter-alt #00aced,
297 vimeo #1ab7ea,
298 wordpress #21759b,
299 youtube #bb0000
300 ;
301 .mpp-social {
302 clear: both;
303 }
304 .mpp-social svg {
305 @each $color in $colors {
306 &.icon-#{nth($color,1)}#{nth($color,1)} {
307 fill: #{nth($color,2)};
308 }
309 }
310 }
311
312 /* For Profile Theme */
313 .editor-styles-wrapper .mpp-enhanced-profile-wrap.profile {
314 padding: 10px;
315 h2 {
316 font-size: 0.8em;
317 font-weight: normal;
318 margin-bottom: 5px;
319 &:before {
320 display: none;
321 }
322 }
323 &.round .profile-avatar {
324 border-radius: 50%;
325 }
326 .mpp-profile-image-wrapper {
327 position: relative;
328 float: left;
329 line-height: 1.0;
330 z-index: 1000;
331 min-width: 150px;
332 min-height: 150px;
333 max-width: 150px;
334 max-height: 150px;
335 margin-right: 15px;
336 }
337 .mpp-profile-meta {
338 clear: both;
339 margin: 10px 0;
340 &:after {
341 content: "";
342 display: table;
343 clear: both;
344 }
345 }
346 .alignleft {
347 max-width: none;
348 float: left;
349 }
350 .alignright {
351 max-width: none;
352 float: right;
353 }
354 }
355
356 /* For Tabbed Theme */
357 .editor-styles-wrapper .mpp-author-tabbed {
358 padding: 10px;
359 &:after {
360 content: "";
361 display: table;
362 clear: both;
363 }
364 .mpp-social {
365 margin-top: 0;
366 }
367 .mpp-author-social-wrapper {
368 &:after {
369 content: "";
370 display: table;
371 clear: both;
372 }
373 margin-bottom: 10px;
374 }
375 h2 {
376 font-size: 0.8em;
377 font-weight: normal;
378 margin-bottom: 5px;
379 &:before {
380 display: none;
381 }
382 }
383 .mpp-tab-wrapper {
384 clear: both;
385 }
386 .mpp-author-heading {
387 float: left;
388 }
389 .mpp-author-social {
390 float: right;
391 }
392 .mpp-author-heading .mpp-author-profile-heading {
393 display: inline-block;
394 background: #42737b;
395 color: #FFF;
396 padding: 10px 20px;
397 font-size: 14px;
398 text-transform: uppercase;
399 }
400 .mpp-author-profile-sub-heading {
401 font-size: 14px;
402 line-height: 1.1;
403 max-width: 150px;
404 text-align: center;
405 }
406 &.round .profile-avatar {
407 border-radius: 50%;
408 }
409 .mpp-profile-image-wrapper {
410 clear: both;
411 position: relative;
412 float: left;
413 line-height: 1.0;
414 z-index: 1000;
415 margin-right: 30px;
416 img {
417 min-width: 150px;
418 min-height: 150px;
419 max-height: 150px;
420 max-width: 150px;
421 }
422
423 }
424 .mpp-profile-meta {
425 clear: both;
426 margin: 10px 0;
427 &:after {
428 content: "";
429 display: table;
430 clear: both;
431 }
432 }
433 .mpp-author-profile-title {
434 color: gray;
435 text-transform: uppercase;
436 font-size: 12px;
437 }
438 .mpp-tabbed-profile-information {
439 &:after {
440 content: "";
441 display: table;
442 clear: both;
443 }
444 }
445 ul.mpp-author-tabs {
446 position:relative;
447 list-style-type: none;
448 margin: 0;
449 padding: 0;
450 text-align: center;
451
452 li {
453 cursor: pointer;
454 position: relative;
455 display: inline-block;
456 min-width: 200px;
457 background: #42737b;
458 margin: 0 5px 0 0;
459 text-align: center;
460 margin-right: 10px;
461 color: #FFF;
462 padding: 10px 20px;
463 font-size: 16px;
464 }
465 li:last-child {
466 margin-right: 0;
467 }
468 li.mpp-tab-posts {
469 background: #30424b;
470 }
471 }
472 ul.mpp-author-tab-content {
473 list-style-type: none;
474 margin: 0;
475 li {
476 margin: 0;
477 }
478 &.white {
479 a,
480 a:hover,
481 a:visited {
482 display: block;
483 background: #FFFFFF;
484 border: 1px solid darken(#FFFFFF, 5%);
485 padding: 10px 20px;
486 text-decoration: none;
487 color: #333;
488 }
489 a:hover {
490 background: darken(#FFFFFF, 5%);
491 }
492 }
493 &.light {
494 a,
495 a:hover,
496 a:visited {
497 display: block;
498 background: #f7f7f7;
499 border: 1px solid darken(#f7f7f7, 10%);
500 padding: 10px 20px;
501 text-decoration: none;
502 color: #333;
503 }
504 a:hover {
505 background: darken(#f7f7f7, 10%);
506 }
507 }
508 &.black {
509 a,
510 a:hover,
511 a:visited {
512 display: block;
513 background: #333;
514 color: #FFF;
515 border: 1px solid darken(#333, 10%);
516 padding: 10px 20px;
517 text-decoration: none;
518 }
519 a:hover {
520 background: darken(#333, 10%);
521 }
522 }
523 &.magenta {
524 a,
525 a:hover,
526 a:visited {
527 display: block;
528 background: #FF00FF;
529 color: #FFF;
530 border: 1px solid darken(#FF00FF, 10%);
531 padding: 10px 20px;
532 text-decoration: none;
533 }
534 a:hover {
535 background: darken(#FF00FF, 10%);
536 }
537 }
538 &.blue {
539 a,
540 a:hover,
541 a:visited {
542 display: block;
543 background: #0009c1;
544 color: #FFF;
545 border: 1px solid darken(#0009c1, 10%);
546 padding: 10px 20px;
547 text-decoration: none;
548 }
549 a:hover {
550 background: darken(#0009c1, 10%);
551 }
552 }
553 &.green {
554 a,
555 a:hover,
556 a:visited {
557 display: block;
558 background: #03ac27;
559 color: #FFF;
560 border: 1px solid darken(#03ac27, 10%);
561 padding: 10px 20px;
562 text-decoration: none;
563 }
564 a:hover {
565 background: darken(#03ac27, 10%);
566 }
567 }
568 }
569 }
570
571 /* For Compact Theme */
572 .editor-styles-wrapper .mpp-enhanced-profile-wrap.compact {
573 text-align: center;
574 padding: 10px;
575 max-width: 400px;
576 margin: 0 auto;
577 line-height: 1.1;
578 h2 {
579 font-size: 0.8em;
580 font-weight: normal;
581 margin-bottom: 5px;
582 &:before {
583 display: none;
584 }
585 }
586 &.round .profile-avatar {
587 border-radius: 50%;
588 }
589 .mpp-profile-image-wrapper {
590 position: relative;
591 text-align: center;
592 line-height: 1.0;
593 z-index: 1000;
594 min-width: 150px;
595 min-height: 150px;
596 max-width: 150px;
597 max-height: 150px;
598 margin: 0 auto;
599 }
600 .mpp-profile-text {
601 line-height: 1.1;
602 }
603 .mpp-compact-meta {
604 clear: both;
605 margin: 10px 0;
606 &:after {
607 content: "";
608 display: table;
609 clear: both;
610 }
611 }
612 .mpp-profile-view-posts {
613 clear: both;
614 display: block;
615 text-align: center;
616 padding: 10px 20px;
617 margin-top: 20px;
618 margin-right: 20px;
619 background-color: #cf6d38;
620 color: #FFF;
621 margin-bottom: 10px;
622 a,
623 a:hover,
624 a:visited {
625 display: block;
626 width: 100%;
627 height: 100%;
628 color: #FFF;
629 text-decoration: none;
630 }
631 &:after {
632 content: "";
633 display: table;
634 clear: both;
635 }
636 }
637
638 .mpp-profile-view-website {
639 display: block;
640 text-align: center;
641 padding: 10px 20px;
642 margin-top: 20px;
643 background-color: #333;
644 color: #FFF;
645 a,
646 a:hover,
647 a:visited {
648 display: block;
649 width: 100%;
650 height: 100%;
651 color: #FFF;
652 text-decoration: none;
653 }
654 }
655 }
656