catscope 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/assets/bower.json +1 -0
  3. data/assets/bower_components/foundation/LICENSE +22 -0
  4. data/assets/bower_components/foundation/README.md +46 -0
  5. data/assets/bower_components/foundation/bower.json +2 -4
  6. data/assets/bower_components/foundation/css/foundation.css +1695 -1230
  7. data/assets/bower_components/foundation/css/foundation.css.map +1 -1
  8. data/assets/bower_components/foundation/css/foundation.min.css +1 -0
  9. data/assets/bower_components/foundation/css/normalize.css +9 -12
  10. data/assets/bower_components/foundation/css/normalize.css.map +1 -1
  11. data/assets/bower_components/foundation/css/normalize.min.css +1 -0
  12. data/assets/bower_components/foundation/js/foundation/foundation.abide.js +171 -75
  13. data/assets/bower_components/foundation/js/foundation/foundation.accordion.js +70 -12
  14. data/assets/bower_components/foundation/js/foundation/foundation.alert.js +5 -5
  15. data/assets/bower_components/foundation/js/foundation/foundation.clearing.js +84 -40
  16. data/assets/bower_components/foundation/js/foundation/foundation.dropdown.js +104 -79
  17. data/assets/bower_components/foundation/js/foundation/foundation.equalizer.js +57 -26
  18. data/assets/bower_components/foundation/js/foundation/foundation.interchange.js +50 -38
  19. data/assets/bower_components/foundation/js/foundation/foundation.joyride.js +121 -110
  20. data/assets/bower_components/foundation/js/foundation/foundation.js +121 -79
  21. data/assets/bower_components/foundation/js/foundation/foundation.magellan.js +75 -59
  22. data/assets/bower_components/foundation/js/foundation/foundation.offcanvas.js +95 -22
  23. data/assets/bower_components/foundation/js/foundation/foundation.orbit.js +127 -123
  24. data/assets/bower_components/foundation/js/foundation/foundation.reveal.js +147 -69
  25. data/assets/bower_components/foundation/js/foundation/foundation.slider.js +101 -72
  26. data/assets/bower_components/foundation/js/foundation/foundation.tab.js +52 -39
  27. data/assets/bower_components/foundation/js/foundation/foundation.tooltip.js +97 -49
  28. data/assets/bower_components/foundation/js/foundation/foundation.topbar.js +70 -57
  29. data/assets/bower_components/foundation/js/foundation.js +1544 -951
  30. data/assets/bower_components/foundation/js/foundation.min.js +5 -4
  31. data/assets/bower_components/foundation/js/vendor/fastclick.js +8 -9
  32. data/assets/bower_components/foundation/js/vendor/jquery.js +6 -6
  33. data/assets/bower_components/foundation/js/vendor/modernizr.js +1 -1
  34. data/assets/bower_components/foundation/package.json +57 -0
  35. data/assets/bower_components/foundation/scss/foundation/_functions.scss +53 -43
  36. data/assets/bower_components/foundation/scss/foundation/_settings.scss +59 -37
  37. data/assets/bower_components/foundation/scss/foundation/components/_accordion.scss +12 -8
  38. data/assets/bower_components/foundation/scss/foundation/components/_alert-boxes.scss +12 -12
  39. data/assets/bower_components/foundation/scss/foundation/components/_block-grid.scss +14 -13
  40. data/assets/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss +19 -19
  41. data/assets/bower_components/foundation/scss/foundation/components/_button-groups.scss +33 -25
  42. data/assets/bower_components/foundation/scss/foundation/components/_buttons.scss +30 -28
  43. data/assets/bower_components/foundation/scss/foundation/components/_clearing.scss +51 -47
  44. data/assets/bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss +10 -11
  45. data/assets/bower_components/foundation/scss/foundation/components/_dropdown.scss +45 -38
  46. data/assets/bower_components/foundation/scss/foundation/components/_flex-video.scss +7 -7
  47. data/assets/bower_components/foundation/scss/foundation/components/_forms.scss +99 -62
  48. data/assets/bower_components/foundation/scss/foundation/components/_global.scss +152 -67
  49. data/assets/bower_components/foundation/scss/foundation/components/_grid.scss +39 -36
  50. data/assets/bower_components/foundation/scss/foundation/components/_icon-bar.scss +337 -235
  51. data/assets/bower_components/foundation/scss/foundation/components/_inline-lists.scss +9 -8
  52. data/assets/bower_components/foundation/scss/foundation/components/_joyride.scss +40 -42
  53. data/assets/bower_components/foundation/scss/foundation/components/_keystrokes.scss +2 -3
  54. data/assets/bower_components/foundation/scss/foundation/components/_labels.scss +6 -6
  55. data/assets/bower_components/foundation/scss/foundation/components/_magellan.scss +2 -2
  56. data/assets/bower_components/foundation/scss/foundation/components/_offcanvas.scss +259 -168
  57. data/assets/bower_components/foundation/scss/foundation/components/_orbit.scss +82 -62
  58. data/assets/bower_components/foundation/scss/foundation/components/_pagination.scss +16 -15
  59. data/assets/bower_components/foundation/scss/foundation/components/_panels.scss +21 -15
  60. data/assets/bower_components/foundation/scss/foundation/components/_pricing-tables.scss +16 -16
  61. data/assets/bower_components/foundation/scss/foundation/components/_progress-bars.scss +10 -4
  62. data/assets/bower_components/foundation/scss/foundation/components/_range-slider.scss +28 -20
  63. data/assets/bower_components/foundation/scss/foundation/components/_reveal.scss +38 -28
  64. data/assets/bower_components/foundation/scss/foundation/components/_side-nav.scss +15 -11
  65. data/assets/bower_components/foundation/scss/foundation/components/_split-buttons.scss +22 -18
  66. data/assets/bower_components/foundation/scss/foundation/components/_sub-nav.scss +14 -12
  67. data/assets/bower_components/foundation/scss/foundation/components/_switches.scss +22 -19
  68. data/assets/bower_components/foundation/scss/foundation/components/_tables.scss +8 -8
  69. data/assets/bower_components/foundation/scss/foundation/components/_tabs.scss +50 -31
  70. data/assets/bower_components/foundation/scss/foundation/components/_thumbs.scss +8 -8
  71. data/assets/bower_components/foundation/scss/foundation/components/_tooltips.scss +25 -25
  72. data/assets/bower_components/foundation/scss/foundation/components/_top-bar.scss +176 -122
  73. data/assets/bower_components/foundation/scss/foundation/components/_type.scss +38 -38
  74. data/assets/bower_components/foundation/scss/foundation/components/_visibility.scss +33 -16
  75. data/assets/bower_components/foundation/scss/foundation.scss +37 -40
  76. data/assets/bower_components/foundation/scss/normalize.scss +8 -11
  77. data/assets/bower_components/jquery/bower.json +2 -1
  78. data/assets/bower_components/jquery/dist/jquery.js +9 -4
  79. data/assets/bower_components/jquery/dist/jquery.min.js +4 -4
  80. data/assets/bower_components/jquery/dist/jquery.min.map +1 -1
  81. data/assets/bower_components/jquery/src/core.js +6 -1
  82. data/assets/scss/_settings.scss +2 -0
  83. data/assets/stylesheets/app.css +3066 -2429
  84. data/lib/catscope/version.rb +1 -1
  85. data/lib/catscope/views/layout.erb +6 -2
  86. metadata +8 -4
  87. data/assets/bower_components/foundation/scss/foundation/components/_toolbar.scss +0 -70
@@ -2,8 +2,8 @@
2
2
  // foundation.zurb.com
3
3
  // Licensed under MIT Open Source
4
4
 
5
- @import "global";
6
- @import "buttons";
5
+ @import 'global';
6
+ @import 'buttons';
7
7
 
8
8
  //
9
9
  // @variables
@@ -23,6 +23,7 @@ $form-label-small-transform: capitalize !default;
23
23
  $form-label-bottom-margin: 0 !default;
24
24
  $input-font-family: inherit !default;
25
25
  $input-font-color: rgba(0,0,0,0.75) !default;
26
+ $input-placeholder-font-color: $steel !default;
26
27
  $input-font-size: rem-calc(14) !default;
27
28
  $input-bg-color: $white !default;
28
29
  $input-focus-bg-color: scale-color($white, $lightness: -2%) !default;
@@ -44,7 +45,6 @@ $fieldset-padding: rem-calc(20) !default;
44
45
  $fieldset-margin: rem-calc(18 0) !default;
45
46
 
46
47
  // We use these to style the legends when you use them
47
- $legend-bg: $white !default;
48
48
  $legend-font-weight: $font-weight-bold !default;
49
49
  $legend-padding: rem-calc(0 3) !default;
50
50
 
@@ -53,7 +53,7 @@ $input-prefix-bg: scale-color($white, $lightness: -5%) !default;
53
53
  $input-prefix-border-color: scale-color($white, $lightness: -20%) !default;
54
54
  $input-prefix-border-size: 1px !default;
55
55
  $input-prefix-border-type: solid !default;
56
- $input-prefix-overflow: hidden !default;
56
+ $input-prefix-overflow: visible !default;
57
57
  $input-prefix-font-color: $oil !default;
58
58
  $input-prefix-font-color-alt: $white !default;
59
59
 
@@ -71,9 +71,13 @@ $input-error-message-bg-color: $alert-color !default;
71
71
  $input-error-message-font-color-alt: $oil !default;
72
72
 
73
73
  // We use this to style the glowing effect of inputs when focused
74
- $glowing-effect-fade-time: 0.45s !default;
74
+ $glowing-effect-fade-time: .45s !default;
75
75
  $glowing-effect-color: $input-focus-border-color !default;
76
76
 
77
+ // We use this to style the transition when inputs are focused and when the glowing effect is disabled.
78
+ $input-transition-fade-time: 0.15s !default;
79
+ $input-transition-fade-timing-function: linear !default;
80
+
77
81
  // Select variables
78
82
  $select-bg-color: $ghost !default;
79
83
  $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
@@ -111,7 +115,6 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
111
115
  // We use this mixin to give all basic form elements their style
112
116
  @mixin form-element {
113
117
  background-color: $input-bg-color;
114
- font-family: $input-font-family;
115
118
  border: {
116
119
  style: $input-border-style;
117
120
  width: $input-border-width;
@@ -120,10 +123,11 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
120
123
  box-shadow: $input-box-shadow;
121
124
  color: $input-font-color;
122
125
  display: block;
126
+ font-family: $input-font-family;
123
127
  font-size: $input-font-size;
128
+ height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
124
129
  margin: 0 0 $form-spacing 0;
125
130
  padding: $form-spacing / 2;
126
- height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
127
131
  width: 100%;
128
132
  @include box-sizing(border-box);
129
133
  @if $input-include-glowing-effect {
@@ -135,7 +139,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
135
139
  border-color: $input-focus-border-color;
136
140
  outline: none;
137
141
  }
138
- // Disbaled Styles
142
+ // Disabled Styles
139
143
  &:disabled {
140
144
  background-color: $input-disabled-bg;
141
145
  cursor: $input-disabled-cursor;
@@ -160,10 +164,10 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
160
164
 
161
165
  // Control whether or not the base styles come through.
162
166
  @if $base-style {
163
- font-size: $form-label-font-size;
164
167
  color: $form-label-font-color;
165
168
  cursor: $form-label-pointer;
166
169
  display: block;
170
+ font-size: $form-label-font-size;
167
171
  font-weight: $form-label-font-weight;
168
172
  line-height: $form-label-line-height;
169
173
  margin-bottom: $form-label-bottom-margin;
@@ -182,19 +186,19 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
182
186
 
183
187
  // We use this mixin to create postfix/prefix form Labels
184
188
  @mixin prefix-postfix-base {
185
- display: block;
186
- position: relative;
187
- z-index: 2;
188
- text-align: center;
189
- width: 100%;
190
- padding-top: 0;
191
- padding-bottom: 0;
192
189
  border-style: $input-prefix-border-type;
193
190
  border-width: $input-prefix-border-size;
194
- overflow: $input-prefix-overflow;
191
+ display: block;
195
192
  font-size: $form-label-font-size;
196
193
  height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
197
194
  line-height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
195
+ overflow: $input-prefix-overflow;
196
+ padding-bottom: 0;
197
+ padding-top: 0;
198
+ position: relative;
199
+ text-align: center;
200
+ width: 100%;
201
+ z-index: 2;
198
202
  }
199
203
 
200
204
  // @MIXIN
@@ -220,12 +224,12 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
220
224
  }
221
225
 
222
226
  @if $is-button {
227
+ border: none;
223
228
  padding-#{$default-float}: 0;
224
229
  padding-#{$opposite-direction}: 0;
225
- padding-top: 0;
226
230
  padding-bottom: 0;
231
+ padding-top: 0;
227
232
  text-align: center;
228
- border: none;
229
233
  }
230
234
 
231
235
  }
@@ -235,12 +239,14 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
235
239
  // We use this mixin to create postfix label styles
236
240
  // $bg - Default:$input-prefix-bg || scale-color($white, $lightness: -5%) !default;
237
241
  // $is-button - Toggle position settings if prefix is a button. Default: false
238
- @mixin postfix($bg:$input-prefix-bg, $border:$input-prefix-border-color, $is-button:false) {
242
+ @mixin postfix($bg:$input-prefix-bg, $border-left-hidden:true, $border:$input-prefix-border-color, $is-button:false) {
239
243
 
240
244
  @if $bg {
241
245
  $bg-lightness: lightness($bg);
242
246
  background: $bg;
243
- border-#{$default-float}: none;
247
+ @if $border-left-hidden {
248
+ border-#{$default-float}: none;
249
+ }
244
250
 
245
251
  // Control the font color based on background brightness
246
252
  @if $bg-lightness > 70% or $bg == yellow { color: $input-prefix-font-color; }
@@ -252,12 +258,12 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
252
258
  }
253
259
 
254
260
  @if $is-button {
261
+ border: none;
255
262
  padding-#{$default-float}: 0;
256
263
  padding-#{$opposite-direction}: 0;
257
- padding-top: 0;
258
264
  padding-bottom: 0;
265
+ padding-top: 0;
259
266
  text-align: center;
260
- border: none;
261
267
  }
262
268
 
263
269
  }
@@ -265,16 +271,15 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
265
271
  // We use this mixin to style fieldsets
266
272
  @mixin fieldset {
267
273
  border: $fieldset-border-width $fieldset-border-style $fieldset-border-color;
268
- padding: $fieldset-padding;
269
274
  margin: $fieldset-margin;
275
+ padding: $fieldset-padding;
270
276
 
271
277
  // and legend styles
272
278
  legend {
273
279
  font-weight: $legend-font-weight;
274
- background: $legend-bg;
275
- padding: $legend-padding;
276
280
  margin: 0;
277
281
  margin-#{$default-float}: rem-calc(-3);
282
+ padding: $legend-padding;
278
283
  }
279
284
  }
280
285
 
@@ -283,8 +288,8 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
283
288
  // We use this mixin to control border and background color of error inputs
284
289
  // $color - Default: $alert-color (found in settings file)
285
290
  @mixin form-error-color($color:$alert-color) {
291
+ background-color: rgba($color, .1);
286
292
  border-color: $color;
287
- background-color: rgba($color, 0.1);
288
293
 
289
294
  // Go back to normal on focus
290
295
  &:focus {
@@ -305,12 +310,12 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
305
310
  // $bg - Default: $alert-color (Found in settings file)
306
311
  @mixin form-error-message($bg:$input-error-message-bg-color) {
307
312
  display: block;
308
- padding: $input-error-message-padding;
309
- margin-top: $input-error-message-top;
310
- margin-bottom: $form-spacing;
311
313
  font-size: $input-error-message-font-size;
312
- font-weight: $input-error-message-font-weight;
313
314
  font-style: $input-error-message-font-style;
315
+ font-weight: $input-error-message-font-weight;
316
+ margin-bottom: $form-spacing;
317
+ margin-top: $input-error-message-top;
318
+ padding: $input-error-message-padding;
314
319
 
315
320
  // We can control the text color based on the brightness of the background.
316
321
  $bg-lightness: lightness($bg);
@@ -322,8 +327,9 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
322
327
  // We use this mixin to style select elements
323
328
  @mixin form-select {
324
329
  -webkit-appearance: none !important;
325
- border-radius: 0;
330
+ -moz-appearance: none !important;
326
331
  background-color: $select-bg-color;
332
+ border-radius: 0;
327
333
 
328
334
  // Hide the dropdown arrow shown in newer IE versions
329
335
  &::-ms-expand {
@@ -332,7 +338,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
332
338
 
333
339
  // The custom arrow has some fake horizontal padding so we can align it
334
340
  // from the right side of the element without relying on CSS3
335
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+);
341
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+');
336
342
 
337
343
  // We can safely use leftmost and rightmost now
338
344
  background-position: if($text-direction == 'rtl', 0%, 100%) center;
@@ -343,14 +349,14 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
343
349
  width: $input-border-width;
344
350
  color: $input-border-color;
345
351
  }
346
- padding: ($form-spacing / 2);
347
- font-size: $input-font-size;
348
- font-family: $body-font-family;
349
352
  color: $input-font-color;
353
+ font-family: $input-font-family;
354
+ font-size: $input-font-size;
350
355
  line-height: normal;
356
+ padding: ($form-spacing / 2);
351
357
  @include radius(0);
352
358
  &.radius { @include radius($global-radius); }
353
- &:hover {
359
+ &:focus {
354
360
  background-color: $select-hover-bg-color;
355
361
  border-color: $input-focus-border-color;
356
362
  }
@@ -362,12 +368,12 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
362
368
  }
363
369
 
364
370
  // We use this mixin to turn on/off HTML5 number spinners
365
- @mixin html5number($browser, $on:true) {
366
- @if $on==false {
367
- @if $browser==webkit {
371
+ @mixin html5number($browser, $on: true) {
372
+ @if $on == false {
373
+ @if $browser == webkit {
368
374
  -webkit-appearance: none;
369
375
  margin: 0;
370
- } @else if $browser==moz {
376
+ } @else if $browser == moz {
371
377
  -moz-appearance: textfield;
372
378
  }
373
379
  }
@@ -383,8 +389,8 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
383
389
 
384
390
  /* Label Styles */
385
391
  label { @include form-label;
386
- &.right { @include form-label(right,false); }
387
- &.inline { @include form-label(inline,false); }
392
+ &.right { @include form-label(right, false); }
393
+ &.inline { @include form-label(inline, false); }
388
394
  /* Styles for required inputs */
389
395
  small {
390
396
  text-transform: $form-label-small-transform;
@@ -397,8 +403,8 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
397
403
  .postfix { @include prefix-postfix-base; }
398
404
 
399
405
  /* Adjust padding, alignment and radius if pre/post element is a button */
400
- .postfix.button { @include button-size(false,false); @include postfix(false, false, true); }
401
- .prefix.button { @include button-size(false,false); @include prefix(false, false, true); }
406
+ .postfix.button { @include button-size(false, false); @include postfix(false, false, false, true); }
407
+ .prefix.button { @include button-size(false, false); @include prefix(false, false, true); }
402
408
 
403
409
  .prefix.button.radius { @include radius(0); @include side-radius($default-float, $button-radius); }
404
410
  .postfix.button.radius { @include radius(0); @include side-radius($opposite-direction, $button-radius); }
@@ -406,16 +412,21 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
406
412
  .postfix.button.round { @include radius(0); @include side-radius($opposite-direction, $button-round); }
407
413
 
408
414
  /* Separate prefix and postfix styles when on span or label so buttons keep their own */
409
- span.prefix,label.prefix { @include prefix(); }
410
- span.postfix,label.postfix { @include postfix(); }
415
+ span.prefix, label.prefix { @include prefix(); }
416
+ span.postfix, label.postfix { @include postfix(); }
411
417
 
412
418
  /* We use this to get basic styling on all basic form elements */
413
- #{text-inputs(all, 'input')} {
419
+ input:not([type]), #{text-inputs(all, 'input')} {
414
420
  -webkit-appearance: none;
421
+ -moz-appearance: none;
415
422
  border-radius: 0;
416
423
  @include form-element;
417
424
  @if $input-include-glowing-effect == false {
418
- @include single-transition(all, 0.15s, linear);
425
+ -webkit-transition: border-color $input-transition-fade-time $input-transition-fade-timing-function, background $input-transition-fade-time $input-transition-fade-timing-function;
426
+ -moz-transition: border-color $input-transition-fade-time $input-transition-fade-timing-function, background $input-transition-fade-time $input-transition-fade-timing-function;
427
+ -ms-transition: border-color $input-transition-fade-time $input-transition-fade-timing-function, background $input-transition-fade-time $input-transition-fade-timing-function;
428
+ -o-transition: border-color $input-transition-fade-time $input-transition-fade-timing-function, background $input-transition-fade-time $input-transition-fade-timing-function;
429
+ transition: border-color $input-transition-fade-time $input-transition-fade-timing-function, background $input-transition-fade-time $input-transition-fade-timing-function;
419
430
  }
420
431
  &.radius {
421
432
  @include radius($input-border-radius);
@@ -427,25 +438,29 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
427
438
  .prefix-radius.row.collapse {
428
439
  input,
429
440
  textarea,
430
- select { @include radius(0); @include side-radius($opposite-direction, $button-radius); }
441
+ select,
442
+ button { @include radius(0); @include side-radius($opposite-direction, $button-radius); }
431
443
  .prefix { @include radius(0); @include side-radius($default-float, $button-radius); }
432
444
  }
433
445
  .postfix-radius.row.collapse {
434
446
  input,
435
447
  textarea,
436
- select { @include radius(0); @include side-radius($default-float, $button-radius); }
448
+ select,
449
+ button { @include radius(0); @include side-radius($default-float, $button-radius); }
437
450
  .postfix { @include radius(0); @include side-radius($opposite-direction, $button-radius); }
438
451
  }
439
452
  .prefix-round.row.collapse {
440
453
  input,
441
454
  textarea,
442
- select { @include radius(0); @include side-radius($opposite-direction, $button-round); }
455
+ select,
456
+ button { @include radius(0); @include side-radius($opposite-direction, $button-round); }
443
457
  .prefix { @include radius(0); @include side-radius($default-float, $button-round); }
444
458
  }
445
459
  .postfix-round.row.collapse {
446
460
  input,
447
461
  textarea,
448
- select { @include radius(0); @include side-radius($default-float, $button-round); }
462
+ select,
463
+ button { @include radius(0); @include side-radius($default-float, $button-round); }
449
464
  .postfix { @include radius(0); @include side-radius($opposite-direction, $button-round); }
450
465
  }
451
466
  }
@@ -453,6 +468,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
453
468
 
454
469
  input[type="submit"] {
455
470
  -webkit-appearance: none;
471
+ -moz-appearance: none;
456
472
  border-radius: 0;
457
473
  }
458
474
 
@@ -461,15 +477,36 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
461
477
  height: auto;
462
478
  }
463
479
 
464
- /* Not allow resize out of parent */
465
- textarea {
466
- max-width: 100%;
467
- }
480
+ /* Not allow resize out of parent */
481
+ textarea {
482
+ max-width: 100%;
483
+ }
484
+
485
+ // style placeholder text cross browser
486
+ ::-webkit-input-placeholder {
487
+ color: $input-placeholder-font-color;
488
+ }
489
+
490
+ :-moz-placeholder { /* Firefox 18- */
491
+ color: $input-placeholder-font-color;
492
+ }
493
+
494
+ ::-moz-placeholder { /* Firefox 19+ */
495
+ color: $input-placeholder-font-color;
496
+ }
497
+
498
+ :-ms-input-placeholder {
499
+ color: $input-placeholder-font-color;
500
+ }
501
+
468
502
 
469
503
  /* Add height value for select elements to match text input height */
470
504
  select {
471
505
  @include form-select;
472
506
  height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
507
+ &[multiple] {
508
+ height: auto;
509
+ }
473
510
  }
474
511
 
475
512
  /* Adjust margin for form elements below */
@@ -544,14 +581,14 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default;
544
581
 
545
582
  > label {
546
583
  > small {
547
- color: scale-color($form-label-font-color, $lightness: 15%);
548
584
  background: transparent;
549
- padding: 0;
550
- text-transform: $form-label-small-transform;
551
- font-style: normal;
585
+ color: scale-color($form-label-font-color, $lightness: 15%);
586
+ display: inline;
552
587
  font-size: 60%;
588
+ font-style: normal;
553
589
  margin: 0;
554
- display: inline;
590
+ padding: 0;
591
+ text-transform: $form-label-small-transform;
555
592
  }
556
593
  }
557
594