source: main/waeup.kofa/trunk/layout/static/css/file-upload.css @ 14422

Last change on this file since 14422 was 11558, checked in by Henrik Bettermann, 11 years ago

File input fields brought into shape with Bootstrap 3. Technique adapted from http://labs.abeautifulsite.net/demos/bootstrap-file-inputs/.

File size: 357 bytes
RevLine 
[11558]1.btn-file {
2    position: relative;
3    overflow: hidden;
4}
5.btn-file input[type=file] {
6    position: absolute;
7    top: 0;
8    right: 0;
9    min-width: 100%;
10    min-height: 100%;
11    font-size: 999px;
12    text-align: right;
13    filter: alpha(opacity=0);
14    opacity: 0;
15    outline: none;
16    background: white;
17    cursor: inherit;
18    display: block;
19}
Note: See TracBrowser for help on using the repository browser.