vendor/toolkit/twitter/bootstrap/forms.less in twitter-bootswatch-rails-3.0.1.0 vs vendor/toolkit/twitter/bootstrap/forms.less in twitter-bootswatch-rails-3.0.2.0
- old
+ new
@@ -90,19 +90,11 @@
line-height: @line-height-base;
color: @input-color;
vertical-align: middle;
}
-// Placeholder
-//
-// Placeholder text gets special styles because when browsers invalidate entire
-// lines if it doesn't understand a selector/
-.form-control {
- .placeholder();
-}
-
// Common form controls
//
// Shared size and type resets for form controls. Apply `.form-control` to any
// of the following form controls:
//
@@ -139,9 +131,15 @@
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
.transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
// Customize the `:focus` state to imitate native WebKit styles.
.form-control-focus();
+
+ // Placeholder
+ //
+ // Placeholder text gets special styles because when browsers invalidate entire
+ // lines if it doesn't understand a selector/
+ .placeholder();
// Disabled and read-only inputs
// Note: HTML5 says that controls under a fieldset > legend:first-child won't
// be disabled if the fieldset is disabled. Due to implementation difficulty,
// we don't honor that edge case; we style them as disabled anyway.