2020-06-12 20:03:43 +00:00
|
|
|
/* License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
|
|
|
|
Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE */
|
2018-03-25 17:30:42 +00:00
|
|
|
@import 'mixins';
|
|
|
|
.image-upload {
|
|
|
|
text-align: center;
|
|
|
|
margin: 0 auto;
|
|
|
|
font-weight: bold;
|
|
|
|
position: relative;
|
|
|
|
height: 100px;
|
|
|
|
width: 140px;
|
|
|
|
cursor: pointer;
|
|
|
|
overflow: hidden;
|
|
|
|
border: 2px dashed $sky;
|
|
|
|
background-color: white;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
}
|
|
|
|
.image-upload--large {
|
|
|
|
height: 146px;
|
|
|
|
width: 192px;
|
|
|
|
}
|
|
|
|
|
2018-05-30 15:35:37 +00:00
|
|
|
.image-upload--banner {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2018-03-25 17:30:42 +00:00
|
|
|
.image-upload span {
|
|
|
|
margin-top: 30px;
|
|
|
|
padding: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
background: rgba(white, 0.95);
|
|
|
|
color: $logo-blue;
|
|
|
|
@include basicShadow;
|
|
|
|
}
|
|
|
|
|
2018-05-30 15:35:37 +00:00
|
|
|
.image-upload--banner span {
|
|
|
|
margin-top: 30px;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
2018-03-25 17:30:42 +00:00
|
|
|
.image-upload--large span {
|
|
|
|
margin-top: 60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-upload input {
|
|
|
|
@include opacity(0);
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.image-upload:hover {
|
|
|
|
border-color: darken($sky, 10);
|
|
|
|
}
|
|
|
|
.image-upload:hover span {
|
|
|
|
color: darken($logo-blue, 10);
|
|
|
|
}
|