| 1 |
.wy-form-upload-container |
| 2 |
vertical-align: middle |
| 3 |
|
| 4 |
.wy-form-upload |
| 5 |
display: inline-block |
| 6 |
cursor: pointer |
| 7 |
color: $text-color |
| 8 |
vertical-align: middle |
| 9 |
+transition(border-color .1s ease-in) |
| 10 |
+clearfix |
| 11 |
+media($mobile) |
| 12 |
width: 100% |
| 13 |
.image-drop |
| 14 |
display: none |
| 15 |
.image-desktop |
| 16 |
display: none |
| 17 |
.image-loading |
| 18 |
display: none |
| 19 |
.image-drop .wy-form-upload-icon |
| 20 |
color: $green |
| 21 |
p |
| 22 |
font-size: 90% |
| 23 |
margin-bottom: $base-line-height / 4 |
| 24 |
.wy-form-upload-image |
| 25 |
display: inline-block |
| 26 |
line-height: 150px |
| 27 |
text-align: center |
| 28 |
margin-right: $base-line-height / 2 |
| 29 |
vertical-align: middle |
| 30 |
.icon |
| 31 |
font-size: 50px |
| 32 |
line-height: 75px |
| 33 |
img |
| 34 |
max-width: 150px |
| 35 |
max-height: 150px |
| 36 |
.wy-form-upload-content |
| 37 |
vertical-align: middle |
| 38 |
display: inline-block |
| 39 |
+media($mobile) |
| 40 |
width: 100% |
| 41 |
|
| 42 |
.wy-form-upload.wy-form-upload-big |
| 43 |
width: 100% |
| 44 |
text-align: center |
| 45 |
padding: $base-line-height * 3 |
| 46 |
.wy-form-upload-content |
| 47 |
float: none |
| 48 |
|
| 49 |
.wy-form-upload-url |
| 50 |
padding: 18px 0px |
| 51 |
vertical-align: middle |
| 52 |
|
| 53 |
.wy-form-upload.wy-form-upload-file |
| 54 |
p |
| 55 |
margin-bottom: 0 |
| 56 |
.wy-form-upload-icon |
| 57 |
display: inline-block |
| 58 |
font-size: inherit |
| 59 |
|
| 60 |
.wy-form-upload.wy-form-upload-drop |
| 61 |
background-color: lighten($green, 50%) |
| 62 |
.image-drop |
| 63 |
display: block |
| 64 |
.image-desktop |
| 65 |
display: none |
| 66 |
.image-drag |
| 67 |
display: none |
| 68 |
|
| 69 |
.wy-form-upload.wy-form-upload-loading |
| 70 |
.image-drag |
| 71 |
display: none |
| 72 |
.image-desktop |
| 73 |
display: none |
| 74 |
.image-loading |
| 75 |
display: block |
| 76 |
.wy-input-prefix |
| 77 |
display: none |
| 78 |
p |
| 79 |
margin-bottom: 0 |
| 80 |
|
| 81 |
+media($mobile) |
| 82 |
.wy-form-upload |
| 83 |
.wy-form-upload-image |
| 84 |
margin-bottom: $base-line-height / 2 |
| 85 |
|