public/style.css in quartz_flow-0.0.1 vs public/style.css in quartz_flow-0.0.2
- old
+ new
@@ -21,5 +21,29 @@
{
float: right;
margin-right: 2em;
margin-top: 0.4em;
}
+
+/* See http://www.abeautifulsite.net/blog/2013/08/whipping-file-inputs-into-shape-with-bootstrap-3/ */
+.btn-file {
+ position: relative;
+ overflow: hidden;
+}
+.btn-file input[type=file] {
+ position: absolute;
+ top: 0;
+ right: 0;
+ min-width: 100%;
+ min-height: 100%;
+ font-size: 999px;
+ text-align: right;
+ filter: alpha(opacity=0);
+ opacity: 0;
+ background: red;
+ cursor: inherit;
+ display: block;
+}
+input[readonly] {
+ background-color: white !important;
+ cursor: text !important;
+}