bootstrap-sass-rails 2.0.3.0 → 2.0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. data/lib/bootstrap/sass/rails/version.rb +1 -1
  2. data/test/dummy/log/test.log +262 -1931
  3. data/test/dummy/tmp/cache/assets/D04/3C0/sprockets%2F29d763bd40cc25622b1f04b876a5c3e3 +0 -0
  4. data/test/dummy/tmp/cache/assets/D3F/FA0/sprockets%2F22c8366fdbaaa2872b202dfe7376629f +0 -0
  5. data/test/dummy/tmp/cache/assets/{C29/E80/sprockets%2F8f076727207424919c7170c7157bbe37 → DBA/570/sprockets%2F99b7b3bee457cc753c9598e08fbde55c} +0 -0
  6. data/test/dummy/tmp/cache/assets/{D7C/3E0/sprockets%2F53c81ab87ec56a748428a59da9a5d5de → E10/910/sprockets%2Fad81bc95b7f6bba2b10cc63a08ea2a1b} +0 -0
  7. data/test/dummy/tmp/cache/assets/E3A/D90/sprockets%2Fce0dbefdb4416ebc42589ecdbf7d7857 +0 -0
  8. data/test/dummy/tmp/cache/sass/{766526f7d87ffdf0401dde0ec8d49f976470392d → 07c96a7988a9706bfdf40706fbc8b7136c5de0df}/bootstrap.css.scssc +0 -0
  9. data/test/dummy/tmp/cache/sass/{95eca8acb76bbb914a4c6988012b73e61e9bcc23 → 160589301b9f514ee2413ef86950b872e6207b0e}/application.css.scssc +0 -0
  10. data/test/dummy/tmp/cache/sass/{95eca8acb76bbb914a4c6988012b73e61e9bcc23 → 160589301b9f514ee2413ef86950b872e6207b0e}/individual.css.scssc +0 -0
  11. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_accordion.scssc +0 -0
  12. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_alerts.scssc +0 -0
  13. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_breadcrumbs.scssc +0 -0
  14. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_button-groups.scssc +0 -0
  15. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_buttons.scssc +0 -0
  16. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_carousel.scssc +0 -0
  17. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_close.scssc +0 -0
  18. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_code.scssc +0 -0
  19. data/test/dummy/tmp/cache/sass/5887148520ffc8e3b2ac08d8d8055f4c8e974744/_component-animations.scssc +0 -0
  20. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_dropdowns.scssc +0 -0
  21. data/test/dummy/tmp/cache/sass/5887148520ffc8e3b2ac08d8d8055f4c8e974744/_forms.scssc +0 -0
  22. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_grid.scssc +0 -0
  23. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_hero-unit.scssc +0 -0
  24. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_labels-badges.scssc +0 -0
  25. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_layouts.scssc +0 -0
  26. data/test/dummy/tmp/cache/sass/5887148520ffc8e3b2ac08d8d8055f4c8e974744/_mixins.scssc +0 -0
  27. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_modals.scssc +0 -0
  28. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_navbar.scssc +0 -0
  29. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_navs.scssc +0 -0
  30. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_pager.scssc +0 -0
  31. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_pagination.scssc +0 -0
  32. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_popovers.scssc +0 -0
  33. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_progress-bars.scssc +0 -0
  34. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_reset.scssc +0 -0
  35. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_responsive-1200px-min.scssc +0 -0
  36. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_responsive-767px-max.scssc +0 -0
  37. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_responsive-768px-979px.scssc +0 -0
  38. data/test/dummy/tmp/cache/sass/5887148520ffc8e3b2ac08d8d8055f4c8e974744/_responsive-navbar.scssc +0 -0
  39. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_responsive-utilities.scssc +0 -0
  40. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_responsive.scssc +0 -0
  41. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_scaffolding.scssc +0 -0
  42. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_sprites.scssc +0 -0
  43. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_tables.scssc +0 -0
  44. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_thumbnails.scssc +0 -0
  45. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_tooltip.scssc +0 -0
  46. data/test/dummy/tmp/cache/sass/5887148520ffc8e3b2ac08d8d8055f4c8e974744/_type.scssc +0 -0
  47. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_utilities.scssc +0 -0
  48. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_variables.scssc +0 -0
  49. data/test/dummy/tmp/cache/sass/{367107abe8cc7204b7df467455e0644864892d9f → 5887148520ffc8e3b2ac08d8d8055f4c8e974744}/_wells.scssc +0 -0
  50. data/vendor/assets/javascripts/twitter/bootstrap/alert.js +1 -1
  51. data/vendor/assets/javascripts/twitter/bootstrap/button.js +1 -1
  52. data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +1 -1
  53. data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +2 -2
  54. data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +1 -1
  55. data/vendor/assets/javascripts/twitter/bootstrap/modal.js +1 -1
  56. data/vendor/assets/javascripts/twitter/bootstrap/popover.js +1 -1
  57. data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +2 -2
  58. data/vendor/assets/javascripts/twitter/bootstrap/tab.js +1 -1
  59. data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +3 -3
  60. data/vendor/assets/javascripts/twitter/bootstrap/transition.js +1 -1
  61. data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +2 -2
  62. data/vendor/assets/stylesheets/twitter/bootstrap.css.scss +1 -1
  63. data/vendor/assets/stylesheets/twitter/bootstrap/_component-animations.scss +2 -2
  64. data/vendor/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +3 -3
  65. data/vendor/assets/stylesheets/twitter/bootstrap/_forms.scss +97 -90
  66. data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +19 -5
  67. data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.scss +2 -8
  68. data/vendor/assets/stylesheets/twitter/bootstrap/_reset.scss +5 -0
  69. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-navbar.scss +9 -2
  70. data/vendor/assets/stylesheets/twitter/bootstrap/_responsive.scss +1 -1
  71. data/vendor/assets/stylesheets/twitter/bootstrap/_type.scss +1 -4
  72. data/vendor/assets/stylesheets/twitter/bootstrap/_variables.scss +2 -0
  73. metadata +93 -127
  74. data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_badges.scssc +0 -0
  75. data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_component-animations.scssc +0 -0
  76. data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_forms.scssc +0 -0
  77. data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_labels.scssc +0 -0
  78. data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_mixins.scssc +0 -0
  79. data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_patterns.scssc +0 -0
  80. data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_responsive-navbar.scssc +0 -0
  81. data/test/dummy/tmp/cache/sass/367107abe8cc7204b7df467455e0644864892d9f/_type.scssc +0 -0
  82. data/test/dummy/tmp/cache/sass/766526f7d87ffdf0401dde0ec8d49f976470392d/_bootstrap.scssc +0 -0
  83. data/test/dummy/tmp/cache/sass/766526f7d87ffdf0401dde0ec8d49f976470392d/bootstrap.cssc +0 -0
  84. data/test/dummy/tmp/cache/sass/8f44dddc3cc4868f43c2a4153ce3876663527256/_bootstrap.scssc +0 -0
  85. data/test/dummy/tmp/cache/sass/8f44dddc3cc4868f43c2a4153ce3876663527256/bootstrap.css.scssc +0 -0
  86. data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_forms.scssc +0 -0
  87. data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_mixins.scssc +0 -0
  88. data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_patterns.scssc +0 -0
  89. data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_reset.scssc +0 -0
  90. data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_scaffolding.scssc +0 -0
  91. data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_tables.scssc +0 -0
  92. data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_type.scssc +0 -0
  93. data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/_variables.scssc +0 -0
  94. data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/mixins.scssc +0 -0
  95. data/test/dummy/tmp/cache/sass/cd2e949d41af4ab87fc8c5c6e94e4e802032bd18/variables.css.scssc +0 -0
@@ -1,5 +1,5 @@
1
1
  /* ==========================================================
2
- * bootstrap-alert.js v2.0.3
2
+ * bootstrap-alert.js v2.0.4
3
3
  * http://twitter.github.com/bootstrap/javascript.html#alerts
4
4
  * ==========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ============================================================
2
- * bootstrap-button.js v2.0.3
2
+ * bootstrap-button.js v2.0.4
3
3
  * http://twitter.github.com/bootstrap/javascript.html#buttons
4
4
  * ============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ==========================================================
2
- * bootstrap-carousel.js v2.0.3
2
+ * bootstrap-carousel.js v2.0.4
3
3
  * http://twitter.github.com/bootstrap/javascript.html#carousel
4
4
  * ==========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* =============================================================
2
- * bootstrap-collapse.js v2.0.3
2
+ * bootstrap-collapse.js v2.0.4
3
3
  * http://twitter.github.com/bootstrap/javascript.html#collapse
4
4
  * =============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -95,7 +95,7 @@
95
95
  , transition: function (method, startEvent, completeEvent) {
96
96
  var that = this
97
97
  , complete = function () {
98
- if (startEvent == 'show') that.reset()
98
+ if (startEvent.type == 'show') that.reset()
99
99
  that.transitioning = 0
100
100
  that.$element.trigger(completeEvent)
101
101
  }
@@ -1,5 +1,5 @@
1
1
  /* ============================================================
2
- * bootstrap-dropdown.js v2.0.3
2
+ * bootstrap-dropdown.js v2.0.4
3
3
  * http://twitter.github.com/bootstrap/javascript.html#dropdowns
4
4
  * ============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* =========================================================
2
- * bootstrap-modal.js v2.0.3
2
+ * bootstrap-modal.js v2.0.4
3
3
  * http://twitter.github.com/bootstrap/javascript.html#modals
4
4
  * =========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ===========================================================
2
- * bootstrap-popover.js v2.0.3
2
+ * bootstrap-popover.js v2.0.4
3
3
  * http://twitter.github.com/bootstrap/javascript.html#popovers
4
4
  * ===========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* =============================================================
2
- * bootstrap-scrollspy.js v2.0.3
2
+ * bootstrap-scrollspy.js v2.0.4
3
3
  * http://twitter.github.com/bootstrap/javascript.html#scrollspy
4
4
  * =============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -35,7 +35,7 @@
35
35
  this.selector = (this.options.target
36
36
  || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
37
37
  || '') + ' .nav li > a'
38
- this.$body = $('body').on('click.scroll.data-api', this.selector, process)
38
+ this.$body = $('body')
39
39
  this.refresh()
40
40
  this.process()
41
41
  }
@@ -1,5 +1,5 @@
1
1
  /* ========================================================
2
- * bootstrap-tab.js v2.0.3
2
+ * bootstrap-tab.js v2.0.4
3
3
  * http://twitter.github.com/bootstrap/javascript.html#tabs
4
4
  * ========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ===========================================================
2
- * bootstrap-tooltip.js v2.0.3
2
+ * bootstrap-tooltip.js v2.0.4
3
3
  * http://twitter.github.com/bootstrap/javascript.html#tooltips
4
4
  * Inspired by the original jQuery.tipsy by Jason Frame
5
5
  * ===========================================================
@@ -84,9 +84,9 @@
84
84
  , leave: function (e) {
85
85
  var self = $(e.currentTarget)[this.type](this._options).data(this.type)
86
86
 
87
+ if (this.timeout) clearTimeout(this.timeout)
87
88
  if (!self.options.delay || !self.options.delay.hide) return self.hide()
88
89
 
89
- clearTimeout(this.timeout)
90
90
  self.hoverState = 'out'
91
91
  this.timeout = setTimeout(function() {
92
92
  if (self.hoverState == 'out') self.hide()
@@ -272,4 +272,4 @@
272
272
  , delay: 0
273
273
  }
274
274
 
275
- }(window.jQuery);
275
+ }(window.jQuery);
@@ -1,5 +1,5 @@
1
1
  /* ===================================================
2
- * bootstrap-transition.js v2.0.3
2
+ * bootstrap-transition.js v2.0.4
3
3
  * http://twitter.github.com/bootstrap/javascript.html#transitions
4
4
  * ===================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* =============================================================
2
- * bootstrap-typeahead.js v2.0.3
2
+ * bootstrap-typeahead.js v2.0.4
3
3
  * http://twitter.github.com/bootstrap/javascript.html#typeahead
4
4
  * =============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -56,7 +56,7 @@
56
56
  }
57
57
 
58
58
  , show: function () {
59
- var pos = $.extend({}, this.$element.position(), {
59
+ var pos = $.extend({}, this.$element.offset(), {
60
60
  height: this.$element[0].offsetHeight
61
61
  })
62
62
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap v2.0.3
2
+ * Bootstrap v2.0.4
3
3
  *
4
4
  * Copyright 2012 Twitter, Inc
5
5
  * Licensed under the Apache License v2.0
@@ -2,10 +2,10 @@
2
2
  // --------------------
3
3
 
4
4
  .fade {
5
- @include opacity(0);
5
+ opacity: 0;
6
6
  @include transition(opacity .15s linear);
7
7
  &.in {
8
- @include opacity(100);
8
+ opacity: 1;
9
9
  }
10
10
  }
11
11
 
@@ -70,7 +70,7 @@
70
70
 
71
71
  // Dividers (basically an hr) within the dropdown
72
72
  .divider {
73
- @include nav-divider();
73
+ @include nav-divider($dropdownDividerTop, $dropdownDividerBottom);
74
74
  }
75
75
 
76
76
  // Links within the dropdown menu
@@ -102,14 +102,14 @@
102
102
  // make the menu appear below buttons that appeared later on the page
103
103
  *z-index: $zindexDropdown;
104
104
 
105
- .dropdown-menu {
105
+ & > .dropdown-menu {
106
106
  display: block;
107
107
  }
108
108
  }
109
109
 
110
110
  // Right aligned dropdowns
111
111
  // ---------------------------
112
- .pull-right .dropdown-menu {
112
+ .pull-right > .dropdown-menu {
113
113
  right: 0;
114
114
  left: auto;
115
115
  }
@@ -27,7 +27,7 @@ legend {
27
27
  line-height: $baseLineHeight * 2;
28
28
  color: $grayDark;
29
29
  border: 0;
30
- border-bottom: 1px solid #eee;
30
+ border-bottom: 1px solid #e5e5e5;
31
31
 
32
32
  // Small
33
33
  small {
@@ -55,72 +55,100 @@ textarea {
55
55
  label {
56
56
  display: block;
57
57
  margin-bottom: 5px;
58
- color: $grayDark;
59
58
  }
60
59
 
61
- // Inputs, Textareas, Selects
62
- input,
63
- textarea,
60
+ // Form controls
61
+ // -------------------------
62
+
63
+ // Shared size and type resets
64
64
  select,
65
+ textarea,
66
+ input[type="text"],
67
+ input[type="password"],
68
+ input[type="datetime"],
69
+ input[type="datetime-local"],
70
+ input[type="date"],
71
+ input[type="month"],
72
+ input[type="time"],
73
+ input[type="week"],
74
+ input[type="number"],
75
+ input[type="email"],
76
+ input[type="url"],
77
+ input[type="search"],
78
+ input[type="tel"],
79
+ input[type="color"],
65
80
  .uneditable-input {
66
81
  display: inline-block;
67
- width: 210px;
68
82
  height: $baseLineHeight;
69
83
  padding: 4px;
70
84
  margin-bottom: 9px;
71
85
  font-size: $baseFontSize;
72
86
  line-height: $baseLineHeight;
73
87
  color: $gray;
74
- background-color: $inputBackground;
75
- border: 1px solid $inputBorder;
76
- @include border-radius($inputBorderRadius);
77
88
  }
78
- .uneditable-textarea {
79
- width: auto;
89
+
90
+ // Reset appearance properties for textual inputs and textarea
91
+ // Declare width for legacy (can't be on input[type=*] selectors or it's too specific)
92
+ input,
93
+ textarea {
94
+ width: 210px;
95
+ }
96
+ // Reset height since textareas have rows
97
+ textarea {
80
98
  height: auto;
81
99
  }
100
+ // Everything else
101
+ textarea,
102
+ input[type="text"],
103
+ input[type="password"],
104
+ input[type="datetime"],
105
+ input[type="datetime-local"],
106
+ input[type="date"],
107
+ input[type="month"],
108
+ input[type="time"],
109
+ input[type="week"],
110
+ input[type="number"],
111
+ input[type="email"],
112
+ input[type="url"],
113
+ input[type="search"],
114
+ input[type="tel"],
115
+ input[type="color"],
116
+ .uneditable-input {
117
+ background-color: $inputBackground;
118
+ border: 1px solid $inputBorder;
119
+ @include border-radius($inputBorderRadius);
120
+ @include box-shadow("inset 0 1px 1px rgba(0,0,0,.075)");
121
+ @include transition("border linear .2s, box-shadow linear .2s");
82
122
 
83
- // Inputs within a label
84
- label input,
85
- label textarea,
86
- label select {
87
- display: block;
123
+ // Focus state
124
+ &:focus {
125
+ border-color: rgba(82,168,236,.8);
126
+ outline: 0;
127
+ outline: thin dotted \9; /* IE6-9 */
128
+ @include box-shadow("inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6)");
129
+ }
88
130
  }
89
131
 
90
- // Mini reset for unique input types
91
- input[type="image"],
92
- input[type="checkbox"],
93
- input[type="radio"] {
94
- width: auto;
95
- height: auto;
96
- padding: 0;
132
+ // Position radios and checkboxes better
133
+ input[type="radio"],
134
+ input[type="checkbox"] {
97
135
  margin: 3px 0;
98
136
  *margin-top: 0; /* IE7 */
99
137
  line-height: normal;
100
138
  cursor: pointer;
101
- background-color: transparent;
102
- border: 0 \9; /* IE9 and down */
103
- @include border-radius(0);
104
- }
105
- input[type="image"] {
106
- border: 0;
107
139
  }
108
140
 
109
- // Reset the file input to browser defaults
110
- input[type="file"] {
111
- width: auto;
112
- padding: initial;
113
- line-height: initial;
114
- background-color: $inputBackground;
115
- background-color: initial;
116
- border: initial;
117
- @include box-shadow(none);
141
+ // Reset width of input buttons, radios, checkboxes
142
+ input[type="submit"],
143
+ input[type="reset"],
144
+ input[type="button"],
145
+ input[type="radio"],
146
+ input[type="checkbox"] {
147
+ width: auto; // Override of generic input selector
118
148
  }
119
149
 
120
- // Help out input buttons
121
- input[type="button"],
122
- input[type="reset"],
123
- input[type="submit"] {
150
+ // Make uneditable textareas behave like a textarea
151
+ .uneditable-textarea {
124
152
  width: auto;
125
153
  height: auto;
126
154
  }
@@ -133,15 +161,10 @@ input[type="file"] {
133
161
  line-height: 28px;
134
162
  }
135
163
 
136
- // Reset line-height for IE
137
- input[type="file"] {
138
- line-height: 18px \9;
139
- }
140
-
141
- // Chrome on Linux and Mobile Safari need background-color
164
+ // Make select elements obey height by applying a border
142
165
  select {
143
166
  width: 220px; // default input width + 10px of padding that doesn't get applied
144
- background-color: $inputBackground;
167
+ border: 1px solid #bbb;
145
168
  }
146
169
 
147
170
  // Make multiple select elements height not fixed
@@ -150,19 +173,12 @@ select[size] {
150
173
  height: auto;
151
174
  }
152
175
 
153
- // Remove shadow from image inputs
154
- input[type="image"] {
155
- @include box-shadow(none);
156
- }
157
-
158
- // Make textarea height behave
159
- textarea {
160
- height: auto;
161
- }
162
-
163
- // Hidden inputs
164
- input[type="hidden"] {
165
- display: none;
176
+ // Focus for select, file, radio, and checkbox
177
+ select:focus,
178
+ input[type="file"]:focus,
179
+ input[type="radio"]:focus,
180
+ input[type="checkbox"]:focus {
181
+ @include tab-focus();
166
182
  }
167
183
 
168
184
 
@@ -204,32 +220,6 @@ input[type="hidden"] {
204
220
 
205
221
 
206
222
 
207
- // FOCUS STATE
208
- // -----------
209
-
210
- input,
211
- textarea {
212
- @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
213
- $transition: border linear .2s, box-shadow linear .2s;
214
- @include transition($transition);
215
- }
216
- input:focus,
217
- textarea:focus {
218
- border-color: rgba(82,168,236,.8);
219
- outline: 0;
220
- outline: thin dotted \9; /* IE6-9 */
221
- @include box-shadow("inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6)");
222
- }
223
- input[type="file"]:focus,
224
- input[type="radio"]:focus,
225
- input[type="checkbox"]:focus,
226
- select:focus {
227
- @include tab-focus();
228
- @include box-shadow(none); // override for file inputs
229
- }
230
-
231
-
232
-
233
223
  // INPUT SIZES
234
224
  // -----------
235
225
 
@@ -254,6 +244,15 @@ textarea[class*="span"],
254
244
  float: none;
255
245
  margin-left: 0;
256
246
  }
247
+ // Ensure input-prepend/append never wraps
248
+ .input-append input[class*="span"],
249
+ .input-append .uneditable-input[class*="span"],
250
+ .input-prepend input[class*="span"],
251
+ .input-prepend .uneditable-input[class*="span"],
252
+ .row-fluid .input-prepend [class*="span"],
253
+ .row-fluid .input-append [class*="span"] {
254
+ display: inline-block;
255
+ }
257
256
 
258
257
 
259
258
 
@@ -328,7 +327,7 @@ select:focus:required:invalid {
328
327
  margin-top: $baseLineHeight;
329
328
  margin-bottom: $baseLineHeight;
330
329
  background-color: $formActionsBackground;
331
- border-top: 1px solid #ddd;
330
+ border-top: 1px solid #e5e5e5;
332
331
  @include clearfix(); // Adding clearfix to allow for .pull-right button containers
333
332
  }
334
333
 
@@ -343,7 +342,15 @@ select:focus:required:invalid {
343
342
  }
344
343
 
345
344
  // Placeholder text gets special styles; can't be bundled together though for some reason
346
- @include placeholder($grayLight);
345
+ :-moz-placeholder {
346
+ color: $placeholderText;
347
+ }
348
+ :-ms-input-placeholder {
349
+ color: $placeholderText;
350
+ }
351
+ ::-webkit-input-placeholder {
352
+ color: $placeholderText;
353
+ }
347
354
 
348
355
 
349
356