mirror of
https://github.com/YunoHost-Apps/lutim_ynh.git
synced 2024-09-03 19:36:24 +02:00
80 lines
1.3 KiB
CSS
80 lines
1.3 KiB
CSS
.uploader
|
|
{
|
|
border: 2px dotted #A5A5C7;
|
|
width: 100%;
|
|
color: #92AAB0;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
padding: 30px 0px;
|
|
margin-bottom: 10px;
|
|
font-size: 200%;
|
|
|
|
cursor: default;
|
|
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.uploader div.or {
|
|
font-size: 50%;
|
|
font-weight: bold;
|
|
color: #C0C0C0;
|
|
padding: 10px;
|
|
}
|
|
|
|
@media (max-width:768px){
|
|
.uploader div.browser label {
|
|
max-width:95%;
|
|
}
|
|
}
|
|
|
|
@media (min-width:768px){
|
|
.uploader div.browser label {
|
|
width:300px;
|
|
}
|
|
}
|
|
|
|
.uploader div.browser label {
|
|
background-color: #5a7bc2;
|
|
padding: 5px 15px;
|
|
color: white;
|
|
padding: 6px 0px;
|
|
font-size: 40%;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
border-radius: 2px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: block;
|
|
margin: 20px auto 0px auto;
|
|
|
|
box-shadow: 2px 2px 2px #888888;
|
|
}
|
|
|
|
.uploader div.browser span {
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.uploader div.browser input {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
margin: 0;
|
|
border: solid transparent;
|
|
border-width: 0 0 100px 200px;
|
|
opacity: .0;
|
|
filter: alpha(opacity= 0);
|
|
-o-transform: translate(250px,-50px) scale(1);
|
|
-moz-transform: translate(-300px,0) scale(4);
|
|
direction: ltr;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.uploader div.browser label:hover {
|
|
background-color: #427fed;
|
|
}
|