You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.upload {
background: white url("../img/upload.png") no-repeat;
background-position: center;
opacity:0.2;
text-align: center;
.dropzone {
background: inherit;
border: none;
}
[data-focus=file-upload] [data-focus=file-upload-dropzone] {
border-radius:10px;
cursor: pointer;
}
}
.upload:after {
color: black; //#959595;
font-size:20px;
position:relative;
bottom:30px;
text-transform: uppercase;
content:"Cliquez pour selectionner un fichier ou deposez le ici";
pointer-events: none;
margin-left:10px;
margin-right:10px;
}
Limits :
The text given in css cannot be translate, doesn't handle accents.
The function "pointer-events: none;" that allows to click through the text isn't handled in IE
The background opacity that colors my stuff in grey also affect the picture of loaded file.
I think the text parameter should be given through params to the file loader to solve a lot of problems.
The text was updated successfully, but these errors were encountered:
Context
According to Focus philosophy, the filedropper component need to be designed. I made my own version for the project (with a text that can be modified)
Here the result :
![image](https://cloud.githubusercontent.com/assets/7700690/11807880/1c736ee6-a31d-11e5-8cb7-25ac22c8b9a6.png)
Actual behaviour
No real design is proposed.
Expected behaviour
Some css to design it !
Versions
"focus-components": "^0.7.10-rc4",
"focus-core": "^0.12.1-rc3",
"focus-file": "^0.1.2",
Tips
Here the code that i made to have the result :
Limits :
The text given in css cannot be translate, doesn't handle accents.
The function "pointer-events: none;" that allows to click through the text isn't handled in IE
The background opacity that colors my stuff in grey also affect the picture of loaded file.
I think the text parameter should be given through params to the file loader to solve a lot of problems.
The text was updated successfully, but these errors were encountered: