Commit 4ab3542c by Torkel Ödegaard

ux(): fixes

parent 5a67ca25
...@@ -25,6 +25,7 @@ legend { ...@@ -25,6 +25,7 @@ legend {
} }
} }
// Reset height since textareas have rows
// Set font for forms // Set font for forms
label, label,
input, input,
...@@ -45,70 +46,18 @@ label { ...@@ -45,70 +46,18 @@ label {
display: block; display: block;
} }
// // Form controls input,
// // ------------------------- select {
// background-color: $input-bg;
// // Shared size and type resets color: $input-color;
// select, border: none;
// textarea, box-shadow: none;
// input[type="text"], }
// input[type="password"],
// input[type="datetime"],
// input[type="datetime-local"],
// input[type="date"],
// input[type="month"],
// input[type="time"],
// input[type="week"],
// input[type="number"],
// input[type="email"],
// input[type="url"],
// input[type="search"],
// input[type="tel"],
// input[type="color"],
// .uneditable-input {
// display: inline-block;
// height: $input-height;
// line-height: $input-line-height;
// padding: 4px 6px;
// font-size: $font-size-base;
// color: $input-color;
// vertical-align: top;
// }
// Reset height since textareas have rows
textarea { textarea {
height: auto; height: auto;
} }
// // Everything else
// textarea,
// input[type="text"],
// input[type="password"],
// input[type="datetime"],
// input[type="datetime-local"],
// input[type="date"],
// input[type="month"],
// input[type="time"],
// input[type="week"],
// input[type="number"],
// input[type="email"],
// input[type="url"],
// input[type="search"],
// input[type="tel"],
// input[type="color"] {
// background-color: $input-bg;
// border: 1px solid $input-border-color;
// @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
// @include transition("border linear .2s, box-shadow linear .2s");
//
// // Focus state
// &:focus {
// border-color: rgba(82,168,236, .8);
// outline: 0;
// @include box-shadow("inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6)");
// }
// }
// Reset width of input images, buttons, radios, checkboxes // Reset width of input images, buttons, radios, checkboxes
input[type="file"], input[type="file"],
input[type="image"], input[type="image"],
......
...@@ -35,7 +35,8 @@ ...@@ -35,7 +35,8 @@
this.inputSize = Math.max(1, this.placeholderText.length); this.inputSize = Math.max(1, this.placeholderText.length);
this.$container = $('<div class="bootstrap-tagsinput"></div>'); this.$container = $('<div class="bootstrap-tagsinput"></div>');
this.$input = $('<input size="' + this.inputSize + '" type="text" placeholder="' + this.placeholderText + '"/>').appendTo(this.$container); this.$input = $('<input class="tight-form-input" size="' +
this.inputSize + '" type="text" placeholder="' + this.placeholderText + '"/>').appendTo(this.$container);
this.$element.after(this.$container); this.$element.after(this.$container);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment