Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /*! |
| 2 | * Jasny Bootstrap v3.1.3 (http://jasny.github.io/bootstrap) |
||
| 3 | * Copyright 2012-2014 Arnold Daniels |
||
| 4 | * Licensed under Apache-2.0 (https://github.com/jasny/bootstrap/blob/master/LICENSE) |
||
| 5 | */ |
||
| 6 | |||
| 7 | .btn-file { |
||
| 8 | position: relative; |
||
| 9 | overflow: hidden; |
||
| 10 | vertical-align: middle; |
||
| 11 | } |
||
| 12 | .btn-file > input { |
||
| 13 | position: absolute; |
||
| 14 | top: 0; |
||
| 15 | right: 0; |
||
| 16 | width: 100%; |
||
| 17 | height: 100%; |
||
| 18 | margin: 0; |
||
| 19 | font-size: 23px; |
||
| 20 | cursor: pointer; |
||
| 21 | filter: alpha(opacity=0); |
||
| 22 | opacity: 0; |
||
| 23 | |||
| 24 | direction: ltr; |
||
| 25 | } |
||
| 26 | .fileinput { |
||
| 27 | display: inline-block; |
||
| 28 | margin-bottom: 9px; |
||
| 29 | } |
||
| 30 | .fileinput .form-control { |
||
| 31 | display: inline-block; |
||
| 32 | padding-top: 7px; |
||
| 33 | padding-bottom: 5px; |
||
| 34 | margin-bottom: 0; |
||
| 35 | vertical-align: middle; |
||
| 36 | cursor: text; |
||
| 37 | } |
||
| 38 | .fileinput .thumbnail { |
||
| 39 | display: inline-block; |
||
| 40 | margin-bottom: 5px; |
||
| 41 | overflow: hidden; |
||
| 42 | text-align: center; |
||
| 43 | vertical-align: middle; |
||
| 44 | } |
||
| 45 | .fileinput .thumbnail > img { |
||
| 46 | max-height: 100%; |
||
| 47 | } |
||
| 48 | .fileinput .btn { |
||
| 49 | vertical-align: middle; |
||
| 50 | } |
||
| 51 | .fileinput-exists .fileinput-new, |
||
| 52 | .fileinput-new .fileinput-exists { |
||
| 53 | display: none; |
||
| 54 | } |
||
| 55 | .fileinput-inline .fileinput-controls { |
||
| 56 | display: inline; |
||
| 57 | } |
||
| 58 | .fileinput-filename { |
||
| 59 | display: inline-block; |
||
| 60 | overflow: hidden; |
||
| 61 | vertical-align: middle; |
||
| 62 | } |
||
| 63 | .form-control .fileinput-filename { |
||
| 64 | vertical-align: bottom; |
||
| 65 | } |
||
| 66 | .fileinput.input-group { |
||
| 67 | display: table; |
||
| 68 | } |
||
| 69 | .fileinput.input-group > * { |
||
| 70 | position: relative; |
||
| 71 | z-index: 2; |
||
| 72 | } |
||
| 73 | .fileinput.input-group > .btn-file { |
||
| 74 | z-index: 1; |
||
| 75 | } |
||
| 76 | .fileinput-new.input-group .btn-file, |
||
| 77 | .fileinput-new .input-group .btn-file { |
||
| 78 | border-radius: 0 4px 4px 0; |
||
| 79 | } |
||
| 80 | .fileinput-new.input-group .btn-file.btn-xs, |
||
| 81 | .fileinput-new .input-group .btn-file.btn-xs, |
||
| 82 | .fileinput-new.input-group .btn-file.btn-sm, |
||
| 83 | .fileinput-new .input-group .btn-file.btn-sm { |
||
| 84 | border-radius: 0 3px 3px 0; |
||
| 85 | } |
||
| 86 | .fileinput-new.input-group .btn-file.btn-lg, |
||
| 87 | .fileinput-new .input-group .btn-file.btn-lg { |
||
| 88 | border-radius: 0 6px 6px 0; |
||
| 89 | } |
||
| 90 | .form-group.has-warning .fileinput .fileinput-preview { |
||
| 91 | color: #8a6d3b; |
||
| 92 | } |
||
| 93 | .form-group.has-warning .fileinput .thumbnail { |
||
| 94 | border-color: #faebcc; |
||
| 95 | } |
||
| 96 | .form-group.has-error .fileinput .fileinput-preview { |
||
| 97 | color: #a94442; |
||
| 98 | } |
||
| 99 | .form-group.has-error .fileinput .thumbnail { |
||
| 100 | border-color: #ebccd1; |
||
| 101 | } |
||
| 102 | .form-group.has-success .fileinput .fileinput-preview { |
||
| 103 | color: #3c763d; |
||
| 104 | } |
||
| 105 | .form-group.has-success .fileinput .thumbnail { |
||
| 106 | border-color: #d6e9c6; |
||
| 107 | } |
||
| 108 | .input-group-addon:not(:first-child) { |
||
| 109 | border-left: 0; |
||
| 110 | } |