vendor/assets/stylesheets/form.css.scss in flashgrid-3.1.0 vs vendor/assets/stylesheets/form.css.scss in flashgrid-3.1.1
- old
+ new
@@ -205,23 +205,36 @@
}
.form-error-messages li:first-child { padding-top: 10px; }
.form-error-messages li:last-child { padding-bottom: 10px; }
.form-textarea-small { height: 80px; }
.form-textarea-large { height: 200px; }
-.form-input-group {
+.form-file-input {
+ height: 0;
+ margin: 0;
+ padding: 0;
+ position: fixed;
+ visibility: hidden;
+ width: 0;
+}
+.form-input-group,
+.form-file-group {
border-collapse: separate;
display: table;
margin-bottom: 5px;
position: relative;
}
-.form-input-group[class*="col-"] {
+.form-input-group[class*="col-"],
+.form-file-group[class*="col-"] {
float: none;
padding: 0;
}
.form-input-group input,
-.form-input-group-addon { display: table-cell; }
-.form-input-group input { margin: 0; }
+.form-input-group-addon,
+.form-file-group input,
+.form-file-group-addon { display: table-cell; }
+.form-input-group input,
+.form-file-group input { margin: 0; }
.form-input-group-addon {
background: rgba(245,248,250,1);
border: 1px solid rgba(225,232,237,1);
-moz-box-sizing: border-box;
box-sizing: border-box;
@@ -232,11 +245,37 @@
text-align: center;
width: 1%;
white-space: nowrap;
vertical-align: middle;
}
-.form-input-group-addon:first-child { border-right: 0; }
-.form-input-group-addon:last-child { border-left: 0; }
+.form-file-group-addon {
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ line-height: 0;
+ padding: 0;
+ text-align: center;
+ width: 1%;
+ white-space: nowrap;
+ vertical-align: middle;
+}
+.form-file-group-button {
+ padding-bottom: 12px;
+ padding-top: 12px;
+}
+.form-file-group-addon:first-child .form-file-group-button {
+ border-bottom-right-radius: 0;
+ border-top-right-radius: 0;
+}
+.form-file-group-addon:last-child .form-file-group-button {
+ border-bottom-left-radius: 0;
+ border-top-left-radius: 0;
+}
+.form-input-group-addon:first-child,
+.form-file-group-addon:first-child,
+.form-file-group-addon:first-child .form-file-group-button { border-right: 0; }
+.form-input-group-addon:last-child,
+.form-file-group-addon:last-child,
+.form-file-group-addon:last-child .form-file-group-button { border-left: 0; }
.form-input-group-addon input[type="radio"],
.form-input-group-addon input[type="checkbox"] { margin: 0; }
.form-input-inline {
display: inline-block;
margin-right: 10px;
\ No newline at end of file