locomotivecms_wagon 2.4.0.rc2 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/generators/foundation/public/javascripts/vendor/foundation.js +10839 -6523
  3. data/generators/foundation/public/javascripts/vendor/foundation.min.js +5 -3
  4. data/generators/foundation/public/stylesheets/_settings.scss +455 -115
  5. data/generators/foundation/public/stylesheets/app.css +0 -3
  6. data/generators/foundation/public/stylesheets/app.scss +15 -6
  7. data/generators/foundation/public/stylesheets/foundation.css +4191 -1885
  8. data/generators/foundation/public/stylesheets/foundation6/_global.scss +106 -54
  9. data/generators/foundation/public/stylesheets/foundation6/components/_accordion-menu.scss +157 -14
  10. data/generators/foundation/public/stylesheets/foundation6/components/_accordion.scss +71 -28
  11. data/generators/foundation/public/stylesheets/foundation6/components/_badge.scss +17 -9
  12. data/generators/foundation/public/stylesheets/foundation6/components/_breadcrumbs.scss +33 -10
  13. data/generators/foundation/public/stylesheets/foundation6/components/_button-group.scss +168 -30
  14. data/generators/foundation/public/stylesheets/foundation6/components/_button.scss +165 -44
  15. data/generators/foundation/public/stylesheets/foundation6/components/_callout.scss +9 -18
  16. data/generators/foundation/public/stylesheets/foundation6/components/_card.scss +129 -0
  17. data/generators/foundation/public/stylesheets/foundation6/components/_close-button.scss +54 -13
  18. data/generators/foundation/public/stylesheets/foundation6/components/_drilldown.scss +108 -33
  19. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown-menu.scss +215 -64
  20. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown.scss +22 -7
  21. data/generators/foundation/public/stylesheets/foundation6/components/_flex-video.scss +1 -68
  22. data/generators/foundation/public/stylesheets/foundation6/components/_flex.scss +117 -0
  23. data/generators/foundation/public/stylesheets/foundation6/components/_float.scss +1 -1
  24. data/generators/foundation/public/stylesheets/foundation6/components/_label.scss +16 -8
  25. data/generators/foundation/public/stylesheets/foundation6/components/_media-object.scss +50 -10
  26. data/generators/foundation/public/stylesheets/foundation6/components/_menu-icon.scss +9 -0
  27. data/generators/foundation/public/stylesheets/foundation6/components/_menu.scss +373 -91
  28. data/generators/foundation/public/stylesheets/foundation6/components/_off-canvas.scss +418 -83
  29. data/generators/foundation/public/stylesheets/foundation6/components/_orbit.scss +17 -7
  30. data/generators/foundation/public/stylesheets/foundation6/components/_pagination.scss +77 -45
  31. data/generators/foundation/public/stylesheets/foundation6/components/_progress-bar.scss +16 -35
  32. data/generators/foundation/public/stylesheets/foundation6/components/_responsive-embed.scss +70 -0
  33. data/generators/foundation/public/stylesheets/foundation6/components/_reveal.scss +59 -34
  34. data/generators/foundation/public/stylesheets/foundation6/components/_slider.scss +17 -38
  35. data/generators/foundation/public/stylesheets/foundation6/components/_sticky.scss +5 -4
  36. data/generators/foundation/public/stylesheets/foundation6/components/_switch.scss +52 -36
  37. data/generators/foundation/public/stylesheets/foundation6/components/_table.scss +197 -79
  38. data/generators/foundation/public/stylesheets/foundation6/components/_tabs.scss +126 -67
  39. data/generators/foundation/public/stylesheets/foundation6/components/_thumbnail.scss +17 -4
  40. data/generators/foundation/public/stylesheets/foundation6/components/_title-bar.scss +61 -21
  41. data/generators/foundation/public/stylesheets/foundation6/components/_tooltip.scss +74 -24
  42. data/generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss +128 -10
  43. data/generators/foundation/public/stylesheets/foundation6/components/_visibility.scss +6 -5
  44. data/generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss +14 -9
  45. data/generators/foundation/public/stylesheets/foundation6/forms/_error.scss +12 -5
  46. data/generators/foundation/public/stylesheets/foundation6/forms/_fieldset.scss +6 -6
  47. data/generators/foundation/public/stylesheets/foundation6/forms/_forms.scss +11 -9
  48. data/generators/foundation/public/stylesheets/foundation6/forms/_help-text.scss +1 -1
  49. data/generators/foundation/public/stylesheets/foundation6/forms/_input-group.scss +82 -10
  50. data/generators/foundation/public/stylesheets/foundation6/forms/_label.scss +2 -0
  51. data/generators/foundation/public/stylesheets/foundation6/forms/_meter.scss +116 -0
  52. data/generators/foundation/public/stylesheets/foundation6/forms/_progress.scss +94 -0
  53. data/generators/foundation/public/stylesheets/foundation6/forms/_range.scss +149 -0
  54. data/generators/foundation/public/stylesheets/foundation6/forms/_select.scss +36 -14
  55. data/generators/foundation/public/stylesheets/foundation6/forms/_text.scss +53 -27
  56. data/generators/foundation/public/stylesheets/foundation6/foundation.scss +59 -17
  57. data/generators/foundation/public/stylesheets/foundation6/grid/_classes.scss +100 -56
  58. data/generators/foundation/public/stylesheets/foundation6/grid/_column.scss +22 -22
  59. data/generators/foundation/public/stylesheets/foundation6/grid/_flex-grid.scss +164 -96
  60. data/generators/foundation/public/stylesheets/foundation6/grid/_grid.scss +19 -4
  61. data/generators/foundation/public/stylesheets/foundation6/grid/_gutter.scss +61 -10
  62. data/generators/foundation/public/stylesheets/foundation6/grid/_layout.scss +49 -5
  63. data/generators/foundation/public/stylesheets/foundation6/grid/_position.scss +14 -9
  64. data/generators/foundation/public/stylesheets/foundation6/grid/_row.scss +42 -15
  65. data/generators/foundation/public/stylesheets/foundation6/motion-ui/_classes.scss +11 -4
  66. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_fade.scss +4 -1
  67. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_zoom.scss +1 -1
  68. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_slide.scss +1 -1
  69. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_transition.scss +1 -1
  70. data/generators/foundation/public/stylesheets/foundation6/prototype/_arrow.scss +36 -0
  71. data/generators/foundation/public/stylesheets/foundation6/prototype/_border-box.scss +35 -0
  72. data/generators/foundation/public/stylesheets/foundation6/prototype/_border-none.scss +35 -0
  73. data/generators/foundation/public/stylesheets/foundation6/prototype/_bordered.scss +54 -0
  74. data/generators/foundation/public/stylesheets/foundation6/prototype/_box.scss +23 -0
  75. data/generators/foundation/public/stylesheets/foundation6/prototype/_display.scss +50 -0
  76. data/generators/foundation/public/stylesheets/foundation6/prototype/_font-styling.scss +95 -0
  77. data/generators/foundation/public/stylesheets/foundation6/prototype/_list-style-type.scss +95 -0
  78. data/generators/foundation/public/stylesheets/foundation6/prototype/_overflow.scss +72 -0
  79. data/generators/foundation/public/stylesheets/foundation6/prototype/_position.scss +114 -0
  80. data/generators/foundation/public/stylesheets/foundation6/prototype/_prototype.scss +87 -0
  81. data/generators/foundation/public/stylesheets/foundation6/prototype/_relation.scss +157 -0
  82. data/generators/foundation/public/stylesheets/foundation6/prototype/_rotate.scss +31 -0
  83. data/generators/foundation/public/stylesheets/foundation6/prototype/_rounded.scss +54 -0
  84. data/generators/foundation/public/stylesheets/foundation6/prototype/_separator.scss +96 -0
  85. data/generators/foundation/public/stylesheets/foundation6/prototype/_shadow.scss +43 -0
  86. data/generators/foundation/public/stylesheets/foundation6/prototype/_sizing.scss +73 -0
  87. data/generators/foundation/public/stylesheets/foundation6/prototype/_spacing.scss +204 -0
  88. data/generators/foundation/public/stylesheets/foundation6/prototype/_text-decoration.scss +48 -0
  89. data/generators/foundation/public/stylesheets/foundation6/prototype/_text-transformation.scss +48 -0
  90. data/generators/foundation/public/stylesheets/foundation6/prototype/_text-utilities.scss +88 -0
  91. data/generators/foundation/public/stylesheets/foundation6/settings/_settings.scss +454 -116
  92. data/generators/foundation/public/stylesheets/foundation6/typography/_alignment.scss +9 -8
  93. data/generators/foundation/public/stylesheets/foundation6/typography/_base.scss +128 -55
  94. data/generators/foundation/public/stylesheets/foundation6/typography/_helpers.scss +7 -4
  95. data/generators/foundation/public/stylesheets/foundation6/typography/_print.scss +22 -9
  96. data/generators/foundation/public/stylesheets/foundation6/typography/_typography.scss +0 -2
  97. data/generators/foundation/public/stylesheets/foundation6/util/_breakpoint.scss +213 -47
  98. data/generators/foundation/public/stylesheets/foundation6/util/_color.scss +105 -17
  99. data/generators/foundation/public/stylesheets/foundation6/util/_direction.scss +31 -0
  100. data/generators/foundation/public/stylesheets/foundation6/util/_flex.scss +85 -0
  101. data/generators/foundation/public/stylesheets/foundation6/util/_math.scss +72 -0
  102. data/generators/foundation/public/stylesheets/foundation6/util/_mixins.scss +161 -38
  103. data/generators/foundation/public/stylesheets/foundation6/util/_selector.scss +5 -3
  104. data/generators/foundation/public/stylesheets/foundation6/util/_typography.scss +26 -0
  105. data/generators/foundation/public/stylesheets/foundation6/util/_unit.scss +100 -17
  106. data/generators/foundation/public/stylesheets/foundation6/util/_util.scss +4 -5
  107. data/generators/foundation/public/stylesheets/foundation6/util/_value.scss +68 -25
  108. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/_normalize.scss +3 -0
  109. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_import-now.scss +11 -0
  110. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_normalize-mixin.scss +676 -0
  111. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_variables.scss +36 -0
  112. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_vertical-rhythm.scss +61 -0
  113. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_contain.scss +31 -0
  114. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_purge.scss +38 -0
  115. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_remove.scss +31 -0
  116. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_replace.scss +46 -0
  117. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_to-list.scss +27 -0
  118. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/helpers/_missing-dependencies.scss +25 -0
  119. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/helpers/_true.scss +13 -0
  120. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_cell.scss +169 -0
  121. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_classes.scss +476 -0
  122. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_collapse.scss +74 -0
  123. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_frame.scss +85 -0
  124. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_grid.scss +35 -0
  125. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_gutters.scss +45 -0
  126. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_layout.scss +33 -0
  127. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_position.scss +28 -0
  128. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_xy-grid.scss +51 -0
  129. data/lib/locomotive/wagon/tools/styled_yaml.rb +1 -1
  130. data/lib/locomotive/wagon/version.rb +1 -1
  131. data/locomotivecms_wagon.gemspec +2 -2
  132. data/spec/fixtures/cassettes/authenticate.yml +102 -48
  133. data/spec/fixtures/cassettes/delete.yml +519 -259
  134. data/spec/fixtures/cassettes/push.yml +2724 -1486
  135. metadata +61 -10
  136. data/generators/foundation/public/stylesheets/foundation6/motion-ui.scss +0 -4
  137. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize.scss +0 -424
@@ -25,6 +25,7 @@ $form-label-line-height: 1.8 !default;
25
25
  @mixin form-label {
26
26
  display: block;
27
27
  margin: 0;
28
+
28
29
  font-size: $form-label-font-size;
29
30
  font-weight: $form-label-font-weight;
30
31
  line-height: $form-label-line-height;
@@ -33,6 +34,7 @@ $form-label-line-height: 1.8 !default;
33
34
 
34
35
  @mixin form-label-middle {
35
36
  $input-border-width: get-border-value($input-border, width);
37
+
36
38
  margin: 0 0 $form-spacing;
37
39
  padding: ($form-spacing / 2 + rem-calc($input-border-width)) 0;
38
40
  }
@@ -0,0 +1,116 @@
1
+ // Foundation for Sites by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ ////
6
+ /// @group meter
7
+ ////
8
+
9
+ /// Height of a `<meter>` element.
10
+ /// @type Length
11
+ $meter-height: 1rem !default;
12
+
13
+ /// Border radius of a `<meter>` element.
14
+ /// @type Length
15
+ $meter-radius: $global-radius !default;
16
+
17
+ /// Background color of a `<meter>` element.
18
+ /// @type Color
19
+ $meter-background: $medium-gray !default;
20
+
21
+ /// Meter fill for an optimal value in a `<meter>` element.
22
+ /// @type Color
23
+ $meter-fill-good: $success-color !default;
24
+
25
+ /// Meter fill for an average value in a `<meter>` element.
26
+ /// @type Color
27
+ $meter-fill-medium: $warning-color !default;
28
+
29
+ /// Meter fill for a suboptimal value in a `<meter>` element.
30
+ /// @type Color
31
+ $meter-fill-bad: $alert-color !default;
32
+
33
+ @mixin foundation-meter-element {
34
+ meter {
35
+ display: block;
36
+ width: 100%;
37
+ height: $meter-height;
38
+ margin-bottom: 1rem;
39
+
40
+ // Disable `-webkit-appearance: none` from getting prefixed,
41
+ // We have disabled autoprefixer first and are just only using
42
+ // `-moz-appearance: none` as a prefix and neglecting the webkit.
43
+
44
+ /*! autoprefixer: off */
45
+ -moz-appearance: none;
46
+ appearance: none;
47
+
48
+ @if has-value($meter-radius) {
49
+ border-radius: $meter-radius;
50
+ }
51
+
52
+ // For Firefox
53
+ border: 0;
54
+ background: $meter-background;
55
+
56
+ // Chrome/Safari/Edge
57
+ &::-webkit-meter-bar {
58
+ border: 0;
59
+ @if has-value($meter-radius) {
60
+ border-radius: $meter-radius;
61
+ }
62
+
63
+ background: $meter-background;
64
+ }
65
+
66
+ &::-webkit-meter-inner-element {
67
+ @if has-value($meter-radius) {
68
+ border-radius: $meter-radius;
69
+ }
70
+ }
71
+
72
+ &::-webkit-meter-optimum-value {
73
+ background: $meter-fill-good;
74
+
75
+ @if has-value($meter-radius) {
76
+ border-radius: $meter-radius;
77
+ }
78
+ }
79
+
80
+ &::-webkit-meter-suboptimum-value {
81
+ background: $meter-fill-medium;
82
+
83
+ @if has-value($meter-radius) {
84
+ border-radius: $meter-radius;
85
+ }
86
+ }
87
+
88
+ &::-webkit-meter-even-less-good-value {
89
+ background: $meter-fill-bad;
90
+
91
+ @if has-value($meter-radius) {
92
+ border-radius: $meter-radius;
93
+ }
94
+ }
95
+
96
+ &::-moz-meter-bar {
97
+ background: $primary-color;
98
+
99
+ @if has-value($meter-radius) {
100
+ border-radius: $meter-radius;
101
+ }
102
+ }
103
+
104
+ &:-moz-meter-optimum::-moz-meter-bar { // sass-lint:disable-line force-pseudo-nesting
105
+ background: $meter-fill-good;
106
+ }
107
+
108
+ &:-moz-meter-sub-optimum::-moz-meter-bar { // sass-lint:disable-line force-pseudo-nesting
109
+ background: $meter-fill-medium;
110
+ }
111
+
112
+ &:-moz-meter-sub-sub-optimum::-moz-meter-bar { // sass-lint:disable-line force-pseudo-nesting
113
+ background: $meter-fill-bad;
114
+ }
115
+ }
116
+ }
@@ -0,0 +1,94 @@
1
+ // Foundation for Sites by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ ////
6
+ /// @group progress-bar
7
+ ////
8
+
9
+ /// Height of a progress bar.
10
+ /// @type Number
11
+ $progress-height: 1rem !default;
12
+
13
+ /// Background color of a progress bar.
14
+ /// @type Color
15
+ $progress-background: $medium-gray !default;
16
+
17
+ /// Bottom margin of a progress bar.
18
+ /// @type Number
19
+ $progress-margin-bottom: $global-margin !default;
20
+
21
+ /// Default color of a progress bar's meter.
22
+ /// @type Color
23
+ $progress-meter-background: $primary-color !default;
24
+
25
+ /// Default radius of a progress bar.
26
+ /// @type Number
27
+ $progress-radius: $global-radius !default;
28
+
29
+ @mixin foundation-progress-element {
30
+ progress {
31
+ display: block;
32
+ width: 100%;
33
+ height: $progress-height;
34
+ margin-bottom: $progress-margin-bottom;
35
+
36
+ appearance: none;
37
+
38
+ @if hasvalue($progress-radius) {
39
+ border-radius: $progress-radius;
40
+ }
41
+
42
+ // For Firefox
43
+ border: 0;
44
+ background: $progress-background;
45
+
46
+ &::-webkit-progress-bar {
47
+ background: $progress-background;
48
+
49
+ @if hasvalue($progress-radius) {
50
+ border-radius: $progress-radius;
51
+ }
52
+ }
53
+
54
+ &::-webkit-progress-value {
55
+ background: $progress-meter-background;
56
+
57
+ @if hasvalue($progress-radius) {
58
+ border-radius: $progress-radius;
59
+ }
60
+ }
61
+
62
+ &::-moz-progress-bar {
63
+ background: $progress-meter-background;
64
+
65
+ @if hasvalue($progress-radius) {
66
+ border-radius: $progress-radius;
67
+ }
68
+ }
69
+
70
+ @each $name, $color in $foundation-palette {
71
+ &.#{$name} {
72
+ // Internet Explorer sets the fill with color
73
+ color: $color;
74
+
75
+ &::-webkit-progress-value {
76
+ background: $color;
77
+ }
78
+
79
+ &::-moz-progress-bar {
80
+ background: $color;
81
+ }
82
+ }
83
+ }
84
+
85
+ // For IE and Edge
86
+ &::-ms-fill {
87
+ @if hasvalue($progress-radius) {
88
+ border-radius: $progress-radius;
89
+ }
90
+
91
+ border: 0;
92
+ }
93
+ }
94
+ }
@@ -0,0 +1,149 @@
1
+ // Foundation for Sites by ZURB
2
+ // foundation.zurb.com
3
+ // Licensed under MIT Open Source
4
+
5
+ ////
6
+ /// @group slider
7
+ ////
8
+
9
+ /// Default height of the slider.
10
+ /// @type Number
11
+ $slider-height: 0.5rem !default;
12
+
13
+ /// Default background color of the slider's track.
14
+ /// @type Color
15
+ $slider-background: $light-gray !default;
16
+
17
+ /// Default color of the active fill color of the slider.
18
+ /// @type Color
19
+ $slider-fill-background: $medium-gray !default;
20
+
21
+ /// Default height of the handle of the slider.
22
+ /// @type Number
23
+ $slider-handle-height: 1.4rem !default;
24
+
25
+ /// Default width of the handle of the slider.
26
+ /// @type Number
27
+ $slider-handle-width: 1.4rem !default;
28
+
29
+ /// Default color of the handle for the slider.
30
+ /// @type Color
31
+ $slider-handle-background: $primary-color !default;
32
+
33
+ /// Default fade amount of a disabled slider.
34
+ /// @type Number
35
+ $slider-opacity-disabled: 0.25 !default;
36
+
37
+ /// Default radius for slider.
38
+ /// @type Number
39
+ $slider-radius: $global-radius !default;
40
+
41
+ @mixin foundation-range-input {
42
+ input[type="range"] { // sass-lint:disable-line no-qualifying-elements
43
+ $margin: ($slider-handle-height - $slider-height) / 2;
44
+
45
+ display: block;
46
+ width: 100%;
47
+ height: auto;
48
+ margin-top: $margin;
49
+ margin-bottom: $margin;
50
+
51
+ appearance: none;
52
+ border: 0;
53
+ line-height: 1;
54
+ cursor: pointer;
55
+
56
+ @if has-value($slider-radius) {
57
+ border-radius: $slider-radius;
58
+ }
59
+
60
+ &:focus {
61
+ outline: 0;
62
+ }
63
+
64
+ &[disabled] {
65
+ opacity: $slider-opacity-disabled;
66
+ }
67
+
68
+ // sass-lint:disable no-vendor-prefix
69
+
70
+ // Chrome/Safari
71
+ &::-webkit-slider-runnable-track {
72
+ height: $slider-height;
73
+ background: $slider-background;
74
+ }
75
+
76
+ &::-webkit-slider-handle {
77
+ width: $slider-handle-width;
78
+ height: $slider-handle-height;
79
+ margin-top: -$margin;
80
+
81
+ -webkit-appearance: none;
82
+ background: $slider-handle-background;
83
+
84
+ @if has-value($slider-radius) {
85
+ border-radius: $slider-radius;
86
+ }
87
+ }
88
+
89
+ // Firefox
90
+ &::-moz-range-track {
91
+ height: $slider-height;
92
+ -moz-appearance: none;
93
+ background: $slider-background;
94
+ }
95
+
96
+ &::-moz-range-thumb {
97
+ width: $slider-handle-width;
98
+ height: $slider-handle-height;
99
+ margin-top: -$margin;
100
+
101
+ -moz-appearance: none;
102
+ background: $slider-handle-background;
103
+
104
+ @if has-value($slider-radius) {
105
+ border-radius: $slider-radius;
106
+ }
107
+ }
108
+
109
+ // Internet Explorer
110
+ &::-ms-track {
111
+ height: $slider-height;
112
+
113
+ border: 0;
114
+ border-top: $margin solid $body-background;
115
+ border-bottom: $margin solid $body-background;
116
+ background: $slider-background;
117
+
118
+ overflow: visible;
119
+ color: transparent;
120
+ }
121
+
122
+ &::-ms-thumb {
123
+ width: $slider-handle-width;
124
+ height: $slider-handle-height;
125
+ border: 0;
126
+ background: $slider-handle-background;
127
+
128
+ @if has-value($slider-radius) {
129
+ border-radius: $slider-radius;
130
+ }
131
+ }
132
+
133
+ &::-ms-fill-lower {
134
+ background: $slider-fill-background;
135
+ }
136
+
137
+ &::-ms-fill-upper {
138
+ background: $slider-background;
139
+ }
140
+
141
+ @at-root {
142
+ output {
143
+ vertical-align: middle;
144
+ margin-left: 0.5em;
145
+ line-height: $slider-handle-height;
146
+ }
147
+ }
148
+ }
149
+ }
@@ -8,39 +8,60 @@
8
8
 
9
9
  /// Background color for select menus.
10
10
  /// @type Color
11
- $select-background: #fafafa !default;
11
+ $select-background: $white !default;
12
12
 
13
13
  /// Color of the dropdown triangle inside select menus. Set to `transparent` to remove it entirely.
14
14
  /// @type Color
15
- $select-triangle-color: #333 !default;
15
+ $select-triangle-color: $dark-gray !default;
16
16
 
17
17
  /// Default radius for select menus.
18
18
  /// @type Color
19
19
  $select-radius: $global-radius !default;
20
20
 
21
21
  @mixin form-select {
22
- $height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
22
+ $height: ($input-font-size * unitless-calc($input-line-height)) + (get-side($input-padding, 'top') + get-side($input-padding, 'bottom')) - rem-calc(1);
23
23
 
24
24
  height: $height;
25
- padding: ($form-spacing / 2);
26
- border: $input-border;
27
- border-radius: $global-radius;
28
25
  margin: 0 0 $form-spacing;
29
- font-size: $input-font-size;
26
+ padding: $input-padding;
27
+
28
+ appearance: none;
29
+ border: $input-border;
30
+ border-radius: $select-radius;
31
+ background-color: $select-background;
32
+
30
33
  font-family: $input-font-family;
31
- line-height: normal;
34
+ font-size: $input-font-size;
35
+ font-weight: $input-font-weight;
36
+ line-height: $input-line-height;
32
37
  color: $input-color;
33
- background-color: $select-background;
34
- border-radius: $select-radius;
35
- -webkit-appearance: none;
36
- -moz-appearance: none;
37
38
 
38
39
  @if $select-triangle-color != transparent {
39
40
  @include background-triangle($select-triangle-color);
40
- background-size: 9px 6px;
41
- background-position: $global-right ($form-spacing / 2) center;
41
+ background-origin: content-box;
42
+ background-position: $global-right (-$form-spacing) center;
42
43
  background-repeat: no-repeat;
44
+ background-size: 9px 6px;
45
+
46
+ padding-#{$global-right}: ($form-spacing * 1.5);
47
+ }
48
+
49
+ @if has-value($input-transition) {
50
+ transition: $input-transition;
43
51
  }
52
+
53
+ // Focus state
54
+ &:focus {
55
+ outline: none;
56
+ border: $input-border-focus;
57
+ background-color: $input-background-focus;
58
+ box-shadow: $input-shadow-focus;
59
+
60
+ @if has-value($input-transition) {
61
+ transition: $input-transition;
62
+ }
63
+ }
64
+
44
65
  // Disabled state
45
66
  &:disabled {
46
67
  background-color: $input-background-disabled;
@@ -54,6 +75,7 @@ $select-radius: $global-radius !default;
54
75
 
55
76
  &[multiple] {
56
77
  height: auto;
78
+ background-image: none;
57
79
  }
58
80
  }
59
81