on-standards-rails 1.5.1.1 → 2.0.0.pre.alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -3
  3. data/lib/on-standards-rails.rb +0 -3
  4. data/lib/on/standards/rails/version.rb +1 -1
  5. data/on-standards-rails.gemspec +1 -4
  6. data/vendor/assets/javascripts/on-standards.js +17552 -18
  7. data/vendor/assets/stylesheets/on-standards.scss +67 -0
  8. data/vendor/assets/stylesheets/on-standards/_alert.scss +65 -0
  9. data/vendor/assets/stylesheets/on-standards/_animation.scss +27 -0
  10. data/vendor/assets/stylesheets/on-standards/_baseline.scss +351 -0
  11. data/vendor/assets/stylesheets/on-standards/_block-grid.scss +501 -0
  12. data/vendor/assets/stylesheets/on-standards/_breadcrumb.scss +23 -0
  13. data/vendor/assets/stylesheets/on-standards/_button-group.scss +293 -0
  14. data/vendor/assets/stylesheets/on-standards/_buttons.scss +241 -0
  15. data/vendor/assets/stylesheets/on-standards/_card.scss +292 -0
  16. data/vendor/assets/stylesheets/on-standards/_carousel.scss +252 -0
  17. data/vendor/assets/stylesheets/on-standards/_close.scss +27 -0
  18. data/vendor/assets/stylesheets/on-standards/_code.scss +58 -0
  19. data/vendor/assets/stylesheets/on-standards/_colors.scss +85 -0
  20. data/vendor/assets/stylesheets/on-standards/_custom-forms.scss +226 -0
  21. data/vendor/assets/stylesheets/on-standards/_dropdown.scss +193 -0
  22. data/vendor/assets/stylesheets/on-standards/_forms.scss +489 -0
  23. data/vendor/assets/stylesheets/on-standards/_functions.scss +19 -0
  24. data/vendor/assets/stylesheets/on-standards/_grid.scss +76 -0
  25. data/vendor/assets/stylesheets/on-standards/_images.scss +53 -0
  26. data/vendor/assets/stylesheets/on-standards/_input-group.scss +194 -0
  27. data/vendor/assets/stylesheets/on-standards/_jumbotron.scss +20 -0
  28. data/vendor/assets/stylesheets/on-standards/_list-group.scss +140 -0
  29. data/vendor/assets/stylesheets/on-standards/_media.scss +90 -0
  30. data/vendor/assets/stylesheets/on-standards/_mixins.scss +56 -0
  31. data/vendor/assets/stylesheets/on-standards/_modal.scss +143 -0
  32. data/vendor/assets/stylesheets/on-standards/_nav.scss +162 -0
  33. data/vendor/assets/stylesheets/on-standards/_navbar.scss +230 -0
  34. data/vendor/assets/stylesheets/on-standards/_normalize.scss +417 -0
  35. data/vendor/assets/stylesheets/on-standards/_off-canvas.scss +201 -0
  36. data/vendor/assets/stylesheets/on-standards/_pager.scss +57 -0
  37. data/vendor/assets/stylesheets/on-standards/_pagination.scss +73 -0
  38. data/vendor/assets/stylesheets/on-standards/_popover.scss +140 -0
  39. data/vendor/assets/stylesheets/on-standards/_print.scss +88 -0
  40. data/vendor/assets/stylesheets/on-standards/_progress.scss +156 -0
  41. data/vendor/assets/stylesheets/on-standards/_responsive-embed.scss +39 -0
  42. data/vendor/assets/stylesheets/on-standards/_tables.scss +193 -0
  43. data/vendor/assets/stylesheets/on-standards/_tags.scss +94 -0
  44. data/vendor/assets/stylesheets/on-standards/_tooltip.scss +85 -0
  45. data/vendor/assets/stylesheets/on-standards/_utilities-background.scss +19 -0
  46. data/vendor/assets/stylesheets/on-standards/_utilities-responsive.scss +49 -0
  47. data/vendor/assets/stylesheets/on-standards/_utilities-spacing.scss +39 -0
  48. data/vendor/assets/stylesheets/on-standards/_utilities.scss +93 -0
  49. data/vendor/assets/stylesheets/on-standards/_variables.scss +727 -0
  50. data/vendor/assets/stylesheets/on-standards/mixins/_alert.scss +18 -0
  51. data/vendor/assets/stylesheets/on-standards/mixins/_background-variant.scss +13 -0
  52. data/vendor/assets/stylesheets/on-standards/mixins/_border-radius.scss +35 -0
  53. data/vendor/assets/stylesheets/on-standards/mixins/_breakpoints.scss +86 -0
  54. data/vendor/assets/stylesheets/on-standards/mixins/_buttons.scss +157 -0
  55. data/vendor/assets/stylesheets/on-standards/mixins/_cards.scss +38 -0
  56. data/vendor/assets/stylesheets/on-standards/mixins/_center-block.scss +7 -0
  57. data/vendor/assets/stylesheets/on-standards/mixins/_clearfix.scss +7 -0
  58. data/vendor/assets/stylesheets/on-standards/mixins/_forms.scss +89 -0
  59. data/vendor/assets/stylesheets/on-standards/mixins/_gradients.scss +43 -0
  60. data/vendor/assets/stylesheets/on-standards/mixins/_grid-framework.scss +44 -0
  61. data/vendor/assets/stylesheets/on-standards/mixins/_grid.scss +75 -0
  62. data/vendor/assets/stylesheets/on-standards/mixins/_hover.scss +59 -0
  63. data/vendor/assets/stylesheets/on-standards/mixins/_image.scss +34 -0
  64. data/vendor/assets/stylesheets/on-standards/mixins/_list-group.scss +30 -0
  65. data/vendor/assets/stylesheets/on-standards/mixins/_lists.scss +7 -0
  66. data/vendor/assets/stylesheets/on-standards/mixins/_modernizr.scss +11 -0
  67. data/vendor/assets/stylesheets/on-standards/mixins/_nav-divider.scss +10 -0
  68. data/vendor/assets/stylesheets/on-standards/mixins/_navbar-align.scss +9 -0
  69. data/vendor/assets/stylesheets/on-standards/mixins/_pagination.scss +22 -0
  70. data/vendor/assets/stylesheets/on-standards/mixins/_progress.scss +18 -0
  71. data/vendor/assets/stylesheets/on-standards/mixins/_pulls.scss +6 -0
  72. data/vendor/assets/stylesheets/on-standards/mixins/_reset-filter.scss +8 -0
  73. data/vendor/assets/stylesheets/on-standards/mixins/_reset-text.scss +18 -0
  74. data/vendor/assets/stylesheets/on-standards/mixins/_resize.scss +6 -0
  75. data/vendor/assets/stylesheets/on-standards/mixins/_screen-reader.scss +32 -0
  76. data/vendor/assets/stylesheets/on-standards/mixins/_size.scss +6 -0
  77. data/vendor/assets/stylesheets/on-standards/mixins/_tab-focus.scss +5 -0
  78. data/vendor/assets/stylesheets/on-standards/mixins/_table-row.scss +30 -0
  79. data/vendor/assets/stylesheets/on-standards/mixins/_tag.scss +30 -0
  80. data/vendor/assets/stylesheets/on-standards/mixins/_text-emphasis.scss +12 -0
  81. data/vendor/assets/stylesheets/on-standards/mixins/_text-hide.scss +8 -0
  82. data/vendor/assets/stylesheets/on-standards/mixins/_text-truncate.scss +8 -0
  83. data/vendor/assets/stylesheets/on-standards/modules/_type.scss +171 -0
  84. metadata +83 -58
  85. data/vendor/assets/javascripts/on-standards/vendor/chosen.jquery.min.js +0 -2
  86. data/vendor/assets/javascripts/on-standards/vendor/jquery.tooltipster.min.js +0 -1
  87. data/vendor/assets/javascripts/on-standards/vendor/sweet-alert.min.js +0 -1
  88. data/vendor/assets/stylesheets/foundation_and_overrides.scss +0 -1450
  89. data/vendor/assets/stylesheets/on-overrides.sass +0 -0
  90. data/vendor/assets/stylesheets/on-standards.sass +0 -7
  91. data/vendor/assets/stylesheets/on-standards/church_to_church.sass +0 -1323
  92. data/vendor/assets/stylesheets/on-standards/vendor/chosen.min.css +0 -3
  93. data/vendor/assets/stylesheets/on-standards/vendor/sweet-alert.scss +0 -429
  94. data/vendor/assets/stylesheets/on-standards/vendor/tooltipster.css +0 -274
@@ -0,0 +1,23 @@
1
+ .breadcrumb {
2
+ padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal;
3
+ margin-bottom: $spacer-y;
4
+ list-style: none;
5
+ background-color: $breadcrumb-bg;
6
+ @include border-radius($border-radius);
7
+ @include clearfix;
8
+
9
+ > li {
10
+ float: left;
11
+
12
+ + li::before {
13
+ padding-right: .5rem;
14
+ padding-left: .5rem;
15
+ color: $breadcrumb-divider-color;
16
+ content: "#{$breadcrumb-divider}";
17
+ }
18
+ }
19
+
20
+ > .active {
21
+ color: $breadcrumb-active-color;
22
+ }
23
+ }
@@ -0,0 +1,293 @@
1
+ // Make the div behave like a button
2
+ .button-group,
3
+ .button-group-vertical {
4
+ position: relative;
5
+ display: inline-block;
6
+ vertical-align: middle; // match .button alignment given font-size hack above
7
+
8
+ > .button {
9
+ position: relative;
10
+ float: left;
11
+
12
+ // Bring the "active" button to the front
13
+ &:focus,
14
+ &:active,
15
+ &.active {
16
+ z-index: 2;
17
+ }
18
+ @include hover {
19
+ z-index: 2;
20
+ }
21
+ }
22
+ }
23
+
24
+ // Color variants for buttons
25
+ @mixin active-variant($color, $text-color: #fff) {
26
+ $highlight: tint($color, 20%);
27
+ $press: shade($color, 20%);
28
+ &:hover {
29
+ background: $highlight;
30
+ border-color: $highlight;
31
+ color: $text-color;
32
+ }
33
+ &:active {
34
+ background: $press;
35
+ border-color: $press;
36
+ color: $text-color;
37
+ }
38
+ &.active {
39
+ background: $color;
40
+ border-color: $color;
41
+ color: $text-color;
42
+ &:hover {
43
+ background: $highlight;
44
+ border-color: $highlight;
45
+ }
46
+ &:active {
47
+ background: $press;
48
+ border-color: $press;
49
+ }
50
+ }
51
+ }
52
+
53
+ .button-group,
54
+ .button-group-vertical {
55
+ > .button {
56
+ box-shadow: none;
57
+ &.active {
58
+ &:hover {
59
+ background: $button-highlight-color;
60
+ border-color: $button-highlight-color;
61
+ }
62
+ &:active {
63
+ background: $button-press-color;
64
+ border-color: $button-press-color;
65
+ }
66
+ }
67
+ &.active-color-green {
68
+ @include active-variant($green);
69
+ }
70
+ &.active-color-orange {
71
+ @include active-variant($orange);
72
+ }
73
+ &.active-color-pink {
74
+ @include active-variant($pink);
75
+ }
76
+ &.active-color-purple {
77
+ @include active-variant($purple);
78
+ }
79
+ &.active-color-cyan {
80
+ @include active-variant($cyan);
81
+ }
82
+ &.active-color-blue {
83
+ @include active-variant($blue);
84
+ }
85
+ &.active-color-muted {
86
+ @include active-variant($button-secondary-border, $body-color);
87
+ }
88
+ }
89
+ }
90
+
91
+
92
+ // Prevent double borders when buttons are next to each other
93
+ .button-group {
94
+ .button + .button,
95
+ .button + .button-group,
96
+ .button-group + .button,
97
+ .button-group + .button-group {
98
+ margin-left: -$input-button-border-width;
99
+ }
100
+ }
101
+
102
+ // Optional: Group multiple button groups together for a toolbar
103
+ .button-toolbar {
104
+ margin-left: -5px; // Offset the first child's margin
105
+ @include clearfix();
106
+
107
+ .button-group,
108
+ .input-group {
109
+ float: left;
110
+ }
111
+
112
+ > .button,
113
+ > .button-group,
114
+ > .input-group {
115
+ margin-left: 5px;
116
+ }
117
+ }
118
+
119
+ .button-group > .button:not(:first-child):not(:last-child):not(.dropdown-toggle) {
120
+ border-radius: 0;
121
+ }
122
+
123
+ // Set corners individual because sometimes a single button can be in a .button-group and we need :first-child and :last-child to both match
124
+ .button-group > .button:first-child {
125
+ margin-left: 0;
126
+
127
+ &:not(:last-child):not(.dropdown-toggle) {
128
+ @include border-right-radius(0);
129
+ }
130
+ }
131
+ // Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
132
+ .button-group > .button:last-child:not(:first-child),
133
+ .button-group > .dropdown-toggle:not(:first-child) {
134
+ @include border-left-radius(0);
135
+ }
136
+
137
+ // Custom edits for including button-groups within button-groups (useful for including dropdown buttons within a button-group)
138
+ .button-group > .button-group {
139
+ float: left;
140
+ }
141
+ .button-group > .button-group:not(:first-child):not(:last-child) > .button {
142
+ border-radius: 0;
143
+ }
144
+ .button-group > .button-group:first-child:not(:last-child) {
145
+ > .button:last-child,
146
+ > .dropdown-toggle {
147
+ @include border-right-radius(0);
148
+ }
149
+ }
150
+ .button-group > .button-group:last-child:not(:first-child) > .button:first-child {
151
+ @include border-left-radius(0);
152
+ }
153
+
154
+ // On active and open, don't show outline
155
+ .button-group .dropdown-toggle:active,
156
+ .button-group.open .dropdown-toggle {
157
+ outline: 0;
158
+ }
159
+
160
+
161
+ // Sizing
162
+ //
163
+ // Remix the default button sizing classes into new ones for easier manipulation.
164
+
165
+ .button-group-xsmall > .button { @extend .button-xsmall; }
166
+ .button-group-small > .button { @extend .button-small; }
167
+ .button-group-large > .button { @extend .button-large; }
168
+
169
+
170
+ //
171
+ // Split button dropdowns
172
+ //
173
+
174
+ // Give the line between buttons some depth
175
+ .button-group > .button + .dropdown-toggle {
176
+ padding-right: 8px;
177
+ padding-left: 8px;
178
+ }
179
+ .button-group > .button-lg + .dropdown-toggle {
180
+ padding-right: 12px;
181
+ padding-left: 12px;
182
+ }
183
+
184
+ // The clickable button for toggling the menu
185
+ // Remove the gradient and set the same inset shadow as the :active state
186
+ .button-group.open .dropdown-toggle {
187
+ @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
188
+
189
+ // Show no shadow for `.button-link` since it has no other button styles.
190
+ &.button-link {
191
+ @include box-shadow(none);
192
+ }
193
+ }
194
+
195
+
196
+ // Reposition the caret
197
+ .button .caret {
198
+ margin-left: 0;
199
+ }
200
+ // Carets in other button sizes
201
+ .button-lg .caret {
202
+ border-width: $caret-width-lg $caret-width-lg 0;
203
+ border-bottom-width: 0;
204
+ }
205
+ // Upside down carets for .dropup
206
+ .dropup .button-lg .caret {
207
+ border-width: 0 $caret-width-lg $caret-width-lg;
208
+ }
209
+
210
+
211
+
212
+ //
213
+ // Vertical button groups
214
+ //
215
+
216
+ .button-group-vertical {
217
+ > .button,
218
+ > .button-group,
219
+ > .button-group > .button {
220
+ display: block;
221
+ float: none;
222
+ width: 100%;
223
+ max-width: 100%;
224
+ }
225
+
226
+ // Clear floats so dropdown menus can be properly placed
227
+ > .button-group {
228
+ @include clearfix();
229
+
230
+ > .button {
231
+ float: none;
232
+ }
233
+ }
234
+
235
+ > .button + .button,
236
+ > .button + .button-group,
237
+ > .button-group + .button,
238
+ > .button-group + .button-group {
239
+ margin-top: -$input-button-border-width;
240
+ margin-left: 0;
241
+ }
242
+ }
243
+
244
+ .button-group-vertical > .button {
245
+ &:not(:first-child):not(:last-child) {
246
+ border-radius: 0;
247
+ }
248
+ &:first-child:not(:last-child) {
249
+ border-top-right-radius: $button-border-radius;
250
+ @include border-bottom-radius(0);
251
+ }
252
+ &:last-child:not(:first-child) {
253
+ border-bottom-left-radius: $button-border-radius;
254
+ @include border-top-radius(0);
255
+ }
256
+ }
257
+ .button-group-vertical > .button-group:not(:first-child):not(:last-child) > .button {
258
+ border-radius: 0;
259
+ }
260
+ .button-group-vertical > .button-group:first-child:not(:last-child) {
261
+ > .button:last-child,
262
+ > .dropdown-toggle {
263
+ @include border-bottom-radius(0);
264
+ }
265
+ }
266
+ .button-group-vertical > .button-group:last-child:not(:first-child) > .button:first-child {
267
+ @include border-top-radius(0);
268
+ }
269
+
270
+
271
+ // Checkbox and radio options
272
+ //
273
+ // In order to support the browser's form validation feedback, powered by the
274
+ // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
275
+ // `display: none;` or `visibility: hidden;` as that also hides the popover.
276
+ // Simply visually hiding the inputs via `opacity` would leave them clickable in
277
+ // certain cases which is prevented by using `clip` and `pointer-events`.
278
+ // This way, we ensure a DOM element is visible to position the popover from.
279
+ //
280
+ // See https://github.com/twbs/bootstrap/pull/12794 and
281
+ // https://github.com/twbs/bootstrap/pull/14559 for more information.
282
+
283
+ [data-toggle="buttons"] {
284
+ > .button,
285
+ > .button-group > .button {
286
+ input[type="radio"],
287
+ input[type="checkbox"] {
288
+ position: absolute;
289
+ clip: rect(0,0,0,0);
290
+ pointer-events: none;
291
+ }
292
+ }
293
+ }
@@ -0,0 +1,241 @@
1
+ //
2
+ // Base styles
3
+ //
4
+
5
+ // Some buttons share the same highlight and press states.
6
+ $button-highlight-color: button-highlight($brand-action);
7
+ $button-press-color: button-press($brand-action);
8
+
9
+ button,
10
+ .button {
11
+ outline: none;
12
+ &:focus,
13
+ &.focus {
14
+ outline: none;
15
+ }
16
+ }
17
+
18
+ .button {
19
+ display: inline-block;
20
+ font-weight: $button-font-weight;
21
+ text-align: center;
22
+ background: $gray-20;
23
+ white-space: nowrap;
24
+ vertical-align: middle;
25
+ user-select: none;
26
+ cursor: default;
27
+ border: $input-button-border-width solid transparent;
28
+ @include button-size($button-padding-y, $button-padding-x, $font-size-base, $line-height, $button-border-radius);
29
+ @include hover-focus {
30
+ text-decoration: none;
31
+ }
32
+
33
+ &:active,
34
+ &.active {
35
+ background-image: none;
36
+ outline: 0;
37
+ }
38
+
39
+ &.disabled,
40
+ &:disabled {
41
+ cursor: $cursor-disabled;
42
+ opacity: .5;
43
+ @include box-shadow(none);
44
+ @include hover {
45
+ box-shadow: none;
46
+ background-color: $gray-20;
47
+ }
48
+ }
49
+
50
+ &:focus,
51
+ &.focus {
52
+ box-shadow: inset 0 0 0 1px white;
53
+ }
54
+
55
+ @include hover {
56
+ color: white;
57
+ background-color: $button-highlight-color;
58
+ border-color: $button-highlight-color;
59
+ box-shadow: $box-shadow-1;
60
+ }
61
+
62
+ &:active,
63
+ &.active,
64
+ .open > &.dropdown-toggle {
65
+ color: white;
66
+ background-color: $button-press-color;
67
+ border-color: $button-press-color;
68
+ background-image: none;
69
+ box-shadow: none;
70
+ }
71
+ }
72
+
73
+ // Future-proof disabling of clicks on `<a>` elements
74
+ a.button.disabled,
75
+ fieldset[disabled] a.button {
76
+ pointer-events: none;
77
+ }
78
+
79
+
80
+ //
81
+ // Buttons
82
+ //
83
+
84
+ .button-primary {
85
+ @include button-variant($button-primary-color, $button-primary-bg, $button-primary-border);
86
+ }
87
+
88
+ .button-secondary {
89
+ &:focus,
90
+ &.focus {
91
+ box-shadow: inset 0 0 0 1px $button-secondary-border;
92
+ &:hover {
93
+ color: white;
94
+ box-shadow: $box-shadow-1;
95
+ }
96
+ }
97
+ &:active,
98
+ &.active {
99
+ &:focus,
100
+ &.focus {
101
+ background-color: $button-press-color;
102
+ border-color: $button-press-color;
103
+ box-shadow: none;
104
+ color: white;
105
+ }
106
+ }
107
+ @include button-variant($button-secondary-color, $button-secondary-bg, $button-secondary-border);
108
+ }
109
+
110
+ //
111
+ // Alternate buttons
112
+ //
113
+
114
+ .button-warning {
115
+ @include alternate-button-variant($button-warning-color, $button-warning-bg, $button-warning-border);
116
+ }
117
+ .button-danger {
118
+ @include alternate-button-variant($button-danger-color, $button-danger-bg, $button-danger-border);
119
+ }
120
+ .button-inverse {
121
+ @include alternate-button-variant($button-inverse-color, $button-inverse-bg, $button-inverse-border);
122
+ &:focus,
123
+ &.focus {
124
+ color: $button-inverse-color;
125
+ box-shadow: inset 0 0 0 1px $button-inverse-color;
126
+ }
127
+ }
128
+
129
+ // Remove all backgrounds
130
+ .button-primary-outline {
131
+ @include button-outline-variant($button-primary-bg);
132
+ }
133
+ .button-warning-outline {
134
+ @include button-outline-variant($button-warning-bg, $body-color);
135
+ }
136
+ .button-danger-outline {
137
+ @include button-outline-variant($button-danger-bg);
138
+ }
139
+
140
+ //
141
+ // Link buttons
142
+ //
143
+
144
+ // Make a button look and behave like a link
145
+ .button-link {
146
+ font-weight: normal;
147
+ color: $link-color;
148
+ border-radius: 0;
149
+ transition: none;
150
+ cursor: pointer;
151
+
152
+ &,
153
+ &:active,
154
+ &.active,
155
+ &:disabled,
156
+ &:hover {
157
+ background-color: transparent;
158
+ box-shadow: none;
159
+ }
160
+ &,
161
+ &:focus,
162
+ &:active {
163
+ border-color: transparent;
164
+
165
+ }
166
+ @include hover {
167
+ border-color: transparent;
168
+ color: $link-hover-color;
169
+ }
170
+ @include hover-focus {
171
+ color: $link-hover-color;
172
+ text-decoration: $link-hover-decoration;
173
+ background-color: transparent;
174
+ }
175
+ &:disabled {
176
+ @include hover-focus {
177
+ color: $button-link-disabled-color;
178
+ text-decoration: none;
179
+ }
180
+ }
181
+ &.text-muted,
182
+ &.text-danger {
183
+ text-decoration: underline;
184
+ }
185
+ &.text-muted:hover {
186
+ color: lighten($text-muted, 10%) !important;
187
+ }
188
+ &.text-danger:hover {
189
+ color: lighten($brand-danger, 10%) !important;
190
+ }
191
+ }
192
+
193
+
194
+ //
195
+ // Button Sizes
196
+ //
197
+ .button-xsmall {
198
+ // line-height: ensure proper height of button next to small input
199
+ @include button-size($button-padding-y-xsm, $button-padding-x-xsm, $font-size-1, $line-height-sm, $button-border-radius-sm);
200
+ }
201
+ .button-small {
202
+ // line-height: ensure proper height of button next to small input
203
+ @include button-size($button-padding-y-sm, $button-padding-x-sm, $font-size-1, $line-height-sm, $button-border-radius-sm);
204
+ }
205
+ .button-large {
206
+ // line-height: ensure even-numbered height of button next to large input
207
+ @include button-size($button-padding-y-lg, $button-padding-x-lg, $font-size-3, $line-height-lg, $button-border-radius-lg);
208
+ }
209
+ .button-xlarge {
210
+ // line-height: ensure even-numbered height of button next to large input
211
+ @include button-size($button-padding-y-xlg, $button-padding-x-xlg, $font-size-4, $line-height-lg, $button-border-radius-lg);
212
+ }
213
+ .button-xxlarge {
214
+ // line-height: ensure even-numbered height of button next to large input
215
+ @include button-size($button-padding-y-xxlg, $button-padding-x-xxlg, $font-size-5, $line-height-lg, $button-border-radius-lg);
216
+ }
217
+
218
+
219
+
220
+ //
221
+ // Block button
222
+ //
223
+
224
+ .button-block {
225
+ display: block;
226
+ width: 100%;
227
+ }
228
+
229
+ // Vertically space out multiple block buttons
230
+ .button-block + .button-block {
231
+ margin-top: 5px;
232
+ }
233
+
234
+ // Specificity overrides
235
+ input[type="submit"],
236
+ input[type="reset"],
237
+ input[type="button"] {
238
+ &.button-block {
239
+ width: 100%;
240
+ }
241
+ }