ssg-guideline 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +45 -0
  4. data/_layouts/default.html +1 -0
  5. data/_layouts/page.html +5 -0
  6. data/_layouts/post.html +5 -0
  7. data/_sass/bootstrap/_alert.scss +55 -0
  8. data/_sass/bootstrap/_badge.scss +77 -0
  9. data/_sass/bootstrap/_breadcrumb.scss +38 -0
  10. data/_sass/bootstrap/_button-group.scss +202 -0
  11. data/_sass/bootstrap/_buttons.scss +170 -0
  12. data/_sass/bootstrap/_card.scss +276 -0
  13. data/_sass/bootstrap/_carousel.scss +178 -0
  14. data/_sass/bootstrap/_close.scss +31 -0
  15. data/_sass/bootstrap/_code.scss +64 -0
  16. data/_sass/bootstrap/_custom-forms.scss +263 -0
  17. data/_sass/bootstrap/_custom.scss +4 -0
  18. data/_sass/bootstrap/_dropdown.scss +161 -0
  19. data/_sass/bootstrap/_forms.scss +388 -0
  20. data/_sass/bootstrap/_grid.scss +52 -0
  21. data/_sass/bootstrap/_images.scss +43 -0
  22. data/_sass/bootstrap/_input-group.scss +178 -0
  23. data/_sass/bootstrap/_jumbotron.scss +20 -0
  24. data/_sass/bootstrap/_list-group.scss +141 -0
  25. data/_sass/bootstrap/_media.scss +8 -0
  26. data/_sass/bootstrap/_mixins.scss +57 -0
  27. data/_sass/bootstrap/_modal.scss +142 -0
  28. data/_sass/bootstrap/_nav.scss +119 -0
  29. data/_sass/bootstrap/_navbar.scss +268 -0
  30. data/_sass/bootstrap/_normalize.scss +461 -0
  31. data/_sass/bootstrap/_pagination.scss +67 -0
  32. data/_sass/bootstrap/_popover.scss +171 -0
  33. data/_sass/bootstrap/_print.scss +119 -0
  34. data/_sass/bootstrap/_progress.scss +32 -0
  35. data/_sass/bootstrap/_reboot.scss +389 -0
  36. data/_sass/bootstrap/_responsive-embed.scss +52 -0
  37. data/_sass/bootstrap/_tables.scss +153 -0
  38. data/_sass/bootstrap/_tooltip.scss +90 -0
  39. data/_sass/bootstrap/_transitions.scss +34 -0
  40. data/_sass/bootstrap/_type.scss +143 -0
  41. data/_sass/bootstrap/_utilities.scss +13 -0
  42. data/_sass/bootstrap/_variables.scss +961 -0
  43. data/_sass/bootstrap/bootstrap-grid.scss +43 -0
  44. data/_sass/bootstrap/bootstrap-reboot.scss +10 -0
  45. data/_sass/bootstrap/bootstrap.scss +54 -0
  46. data/_sass/extra/_syntax-highlighting.scss +71 -0
  47. data/_sass/main.scss +48 -0
  48. metadata +132 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: '08cb2c0b9e783e196998ed9c7dce8de6a3fd3fd1'
4
+ data.tar.gz: afedcab144fa8b5a2bfb56afd03fc8ed1834d231
5
+ SHA512:
6
+ metadata.gz: 974b31cd74aa592db3792044ce93a792cad9c36f68e5b98bb8d67aa9807e368b002ec6b092b7b87b30390f87980bc35213a693f9b0aebf1f5a7023acf13c700e
7
+ data.tar.gz: 1e0932565197c6b13c9934577f58e39afd1f55b911d5e537a94859b02d6c89fee7eac2341efef991ae32ec473e2ed70b574c46d1d4e218eda43228e3c9b7b6c4
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Bastian G
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,45 @@
1
+ # ssg-guideline
2
+
3
+ We develop this guideline to have some consistency accross all our group websites. One guideline to rule them all.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your Jekyll site's `Gemfile`:
8
+
9
+ ```ruby
10
+ gem "ssg-guideline"
11
+ ```
12
+
13
+ And add this line to your Jekyll site's `_config.yml`:
14
+
15
+ ```yaml
16
+ theme: ssg-guideline
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install ssg-guideline
26
+
27
+ ## Usage
28
+
29
+ TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
30
+
31
+ ## Contributing
32
+
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
34
+
35
+ ## Development
36
+
37
+ To set up your environment to develop this theme, run `bundle install`.
38
+
39
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
40
+
41
+ When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
42
+
43
+ ## License
44
+
45
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1 @@
1
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,55 @@
1
+ //
2
+ // Base styles
3
+ //
4
+
5
+ .alert {
6
+ padding: $alert-padding-y $alert-padding-x;
7
+ margin-bottom: $alert-margin-bottom;
8
+ border: $alert-border-width solid transparent;
9
+ @include border-radius($alert-border-radius);
10
+ }
11
+
12
+ // Headings for larger alerts
13
+ .alert-heading {
14
+ // Specified to prevent conflicts of changing $headings-color
15
+ color: inherit;
16
+ }
17
+
18
+ // Provide class for links that match alerts
19
+ .alert-link {
20
+ font-weight: $alert-link-font-weight;
21
+ }
22
+
23
+
24
+ // Dismissible alerts
25
+ //
26
+ // Expand the right padding and account for the close button's positioning.
27
+
28
+ .alert-dismissible {
29
+ // Adjust close link position
30
+ .close {
31
+ position: relative;
32
+ top: -$alert-padding-y;
33
+ right: -$alert-padding-x;
34
+ padding: $alert-padding-y $alert-padding-x;
35
+ color: inherit;
36
+ }
37
+ }
38
+
39
+
40
+ // Alternate styles
41
+ //
42
+ // Generate contextual modifier classes for colorizing the alert.
43
+
44
+ .alert-success {
45
+ @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
46
+ }
47
+ .alert-info {
48
+ @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
49
+ }
50
+ .alert-warning {
51
+ @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
52
+ }
53
+ .alert-danger {
54
+ @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
55
+ }
@@ -0,0 +1,77 @@
1
+ // Base class
2
+ //
3
+ // Requires one of the contextual, color modifier classes for `color` and
4
+ // `background-color`.
5
+
6
+ .badge {
7
+ display: inline-block;
8
+ padding: $badge-padding-y $badge-padding-x;
9
+ font-size: $badge-font-size;
10
+ font-weight: $badge-font-weight;
11
+ line-height: 1;
12
+ color: $badge-color;
13
+ text-align: center;
14
+ white-space: nowrap;
15
+ vertical-align: baseline;
16
+ @include border-radius();
17
+
18
+ // Empty badges collapse automatically
19
+ &:empty {
20
+ display: none;
21
+ }
22
+ }
23
+
24
+ // Quick fix for badges in buttons
25
+ .btn .badge {
26
+ position: relative;
27
+ top: -1px;
28
+ }
29
+
30
+ // scss-lint:disable QualifyingElement
31
+ // Add hover effects, but only for links
32
+ a.badge {
33
+ @include hover-focus {
34
+ color: $badge-link-hover-color;
35
+ text-decoration: none;
36
+ cursor: pointer;
37
+ }
38
+ }
39
+ // scss-lint:enable QualifyingElement
40
+
41
+ // Pill badges
42
+ //
43
+ // Make them extra rounded with a modifier to replace v3's badges.
44
+
45
+ .badge-pill {
46
+ padding-right: $badge-pill-padding-x;
47
+ padding-left: $badge-pill-padding-x;
48
+ @include border-radius($badge-pill-border-radius);
49
+ }
50
+
51
+ // Colors
52
+ //
53
+ // Contextual variations (linked badges get darker on :hover).
54
+
55
+ .badge-default {
56
+ @include badge-variant($badge-default-bg);
57
+ }
58
+
59
+ .badge-primary {
60
+ @include badge-variant($badge-primary-bg);
61
+ }
62
+
63
+ .badge-success {
64
+ @include badge-variant($badge-success-bg);
65
+ }
66
+
67
+ .badge-info {
68
+ @include badge-variant($badge-info-bg);
69
+ }
70
+
71
+ .badge-warning {
72
+ @include badge-variant($badge-warning-bg);
73
+ }
74
+
75
+ .badge-danger {
76
+ @include badge-variant($badge-danger-bg);
77
+ }
@@ -0,0 +1,38 @@
1
+ .breadcrumb {
2
+ padding: $breadcrumb-padding-y $breadcrumb-padding-x;
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
+
10
+ .breadcrumb-item {
11
+ float: left;
12
+
13
+ // The separator between breadcrumbs (by default, a forward-slash: "/")
14
+ + .breadcrumb-item::before {
15
+ display: inline-block; // Suppress underlining of the separator in modern browsers
16
+ padding-right: $breadcrumb-item-padding;
17
+ padding-left: $breadcrumb-item-padding;
18
+ color: $breadcrumb-divider-color;
19
+ content: "#{$breadcrumb-divider}";
20
+ }
21
+
22
+ // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
23
+ // without `<ul>`s. The `::before` pseudo-element generates an element
24
+ // *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
25
+ //
26
+ // To trick IE into suppressing the underline, we give the pseudo-element an
27
+ // underline and then immediately remove it.
28
+ + .breadcrumb-item:hover::before {
29
+ text-decoration: underline;
30
+ }
31
+ + .breadcrumb-item:hover::before {
32
+ text-decoration: none;
33
+ }
34
+
35
+ &.active {
36
+ color: $breadcrumb-active-color;
37
+ }
38
+ }
@@ -0,0 +1,202 @@
1
+ // scss-lint:disable QualifyingElement
2
+
3
+ // Make the div behave like a button
4
+ .btn-group,
5
+ .btn-group-vertical {
6
+ position: relative;
7
+ display: inline-flex;
8
+ vertical-align: middle; // match .btn alignment given font-size hack above
9
+
10
+ > .btn {
11
+ position: relative;
12
+ flex: 0 1 auto;
13
+
14
+ // Bring the hover, focused, and "active" buttons to the fron to overlay
15
+ // the borders properly
16
+ @include hover {
17
+ z-index: 2;
18
+ }
19
+ &:focus,
20
+ &:active,
21
+ &.active {
22
+ z-index: 2;
23
+ }
24
+ }
25
+
26
+ // Prevent double borders when buttons are next to each other
27
+ .btn + .btn,
28
+ .btn + .btn-group,
29
+ .btn-group + .btn,
30
+ .btn-group + .btn-group {
31
+ margin-left: -$input-btn-border-width;
32
+ }
33
+ }
34
+
35
+ // Optional: Group multiple button groups together for a toolbar
36
+ .btn-toolbar {
37
+ display: flex;
38
+ justify-content: flex-start;
39
+
40
+ .input-group {
41
+ width: auto;
42
+ }
43
+ }
44
+
45
+ .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
46
+ border-radius: 0;
47
+ }
48
+
49
+ // Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
50
+ .btn-group > .btn:first-child {
51
+ margin-left: 0;
52
+
53
+ &:not(:last-child):not(.dropdown-toggle) {
54
+ @include border-right-radius(0);
55
+ }
56
+ }
57
+ // Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
58
+ .btn-group > .btn:last-child:not(:first-child),
59
+ .btn-group > .dropdown-toggle:not(:first-child) {
60
+ @include border-left-radius(0);
61
+ }
62
+
63
+ // Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
64
+ .btn-group > .btn-group {
65
+ float: left;
66
+ }
67
+ .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
68
+ border-radius: 0;
69
+ }
70
+ .btn-group > .btn-group:first-child:not(:last-child) {
71
+ > .btn:last-child,
72
+ > .dropdown-toggle {
73
+ @include border-right-radius(0);
74
+ }
75
+ }
76
+ .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
77
+ @include border-left-radius(0);
78
+ }
79
+
80
+ // On active and open, don't show outline
81
+ .btn-group .dropdown-toggle:active,
82
+ .btn-group.open .dropdown-toggle {
83
+ outline: 0;
84
+ }
85
+
86
+
87
+ // Sizing
88
+ //
89
+ // Remix the default button sizing classes into new ones for easier manipulation.
90
+
91
+ .btn-group-sm > .btn { @extend .btn-sm; }
92
+ .btn-group-lg > .btn { @extend .btn-lg; }
93
+
94
+
95
+ //
96
+ // Split button dropdowns
97
+ //
98
+
99
+ .btn + .dropdown-toggle-split {
100
+ padding-right: $btn-padding-x * .75;
101
+ padding-left: $btn-padding-x * .75;
102
+
103
+ &::after {
104
+ margin-left: 0;
105
+ }
106
+ }
107
+
108
+ .btn-sm + .dropdown-toggle-split {
109
+ padding-right: $btn-padding-x-sm * .75;
110
+ padding-left: $btn-padding-x-sm * .75;
111
+ }
112
+
113
+ .btn-lg + .dropdown-toggle-split {
114
+ padding-right: $btn-padding-x-lg * .75;
115
+ padding-left: $btn-padding-x-lg * .75;
116
+ }
117
+
118
+
119
+ // The clickable button for toggling the menu
120
+ // Remove the gradient and set the same inset shadow as the :active state
121
+ .btn-group.open .dropdown-toggle {
122
+ @include box-shadow($btn-active-box-shadow);
123
+
124
+ // Show no shadow for `.btn-link` since it has no other button styles.
125
+ &.btn-link {
126
+ @include box-shadow(none);
127
+ }
128
+ }
129
+
130
+
131
+ //
132
+ // Vertical button groups
133
+ //
134
+
135
+ .btn-group-vertical {
136
+ display: inline-flex;
137
+ flex-direction: column;
138
+ align-items: flex-start;
139
+ justify-content: center;
140
+
141
+ .btn,
142
+ .btn-group {
143
+ width: 100%;
144
+ }
145
+
146
+ > .btn + .btn,
147
+ > .btn + .btn-group,
148
+ > .btn-group + .btn,
149
+ > .btn-group + .btn-group {
150
+ margin-top: -$input-btn-border-width;
151
+ margin-left: 0;
152
+ }
153
+ }
154
+
155
+ .btn-group-vertical > .btn {
156
+ &:not(:first-child):not(:last-child) {
157
+ border-radius: 0;
158
+ }
159
+ &:first-child:not(:last-child) {
160
+ @include border-bottom-radius(0);
161
+ }
162
+ &:last-child:not(:first-child) {
163
+ @include border-top-radius(0);
164
+ }
165
+ }
166
+ .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
167
+ border-radius: 0;
168
+ }
169
+ .btn-group-vertical > .btn-group:first-child:not(:last-child) {
170
+ > .btn:last-child,
171
+ > .dropdown-toggle {
172
+ @include border-bottom-radius(0);
173
+ }
174
+ }
175
+ .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
176
+ @include border-top-radius(0);
177
+ }
178
+
179
+
180
+ // Checkbox and radio options
181
+ //
182
+ // In order to support the browser's form validation feedback, powered by the
183
+ // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
184
+ // `display: none;` or `visibility: hidden;` as that also hides the popover.
185
+ // Simply visually hiding the inputs via `opacity` would leave them clickable in
186
+ // certain cases which is prevented by using `clip` and `pointer-events`.
187
+ // This way, we ensure a DOM element is visible to position the popover from.
188
+ //
189
+ // See https://github.com/twbs/bootstrap/pull/12794 and
190
+ // https://github.com/twbs/bootstrap/pull/14559 for more information.
191
+
192
+ [data-toggle="buttons"] {
193
+ > .btn,
194
+ > .btn-group > .btn {
195
+ input[type="radio"],
196
+ input[type="checkbox"] {
197
+ position: absolute;
198
+ clip: rect(0,0,0,0);
199
+ pointer-events: none;
200
+ }
201
+ }
202
+ }
@@ -0,0 +1,170 @@
1
+ // scss-lint:disable QualifyingElement
2
+
3
+ //
4
+ // Base styles
5
+ //
6
+
7
+ .btn {
8
+ display: inline-block;
9
+ font-weight: $btn-font-weight;
10
+ line-height: $btn-line-height;
11
+ text-align: center;
12
+ white-space: nowrap;
13
+ vertical-align: middle;
14
+ user-select: none;
15
+ border: $input-btn-border-width solid transparent;
16
+ @include button-size($btn-padding-y, $btn-padding-x, $font-size-base, $btn-border-radius);
17
+ @include transition($btn-transition);
18
+
19
+ // Share hover and focus styles
20
+ @include hover-focus {
21
+ text-decoration: none;
22
+ }
23
+ &:focus,
24
+ &.focus {
25
+ outline: 0;
26
+ box-shadow: $btn-focus-box-shadow;
27
+ }
28
+
29
+ // Disabled comes first so active can properly restyle
30
+ &.disabled,
31
+ &:disabled {
32
+ cursor: $cursor-disabled;
33
+ opacity: .65;
34
+ @include box-shadow(none);
35
+ }
36
+
37
+ &:active,
38
+ &.active {
39
+ background-image: none;
40
+ @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
41
+ }
42
+ }
43
+
44
+ // Future-proof disabling of clicks on `<a>` elements
45
+ a.btn.disabled,
46
+ fieldset[disabled] a.btn {
47
+ pointer-events: none;
48
+ }
49
+
50
+
51
+ //
52
+ // Alternate buttons
53
+ //
54
+
55
+ .btn-primary {
56
+ @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
57
+ }
58
+ .btn-secondary {
59
+ @include button-variant($btn-secondary-color, $btn-secondary-bg, $btn-secondary-border);
60
+ }
61
+ .btn-info {
62
+ @include button-variant($btn-info-color, $btn-info-bg, $btn-info-border);
63
+ }
64
+ .btn-success {
65
+ @include button-variant($btn-success-color, $btn-success-bg, $btn-success-border);
66
+ }
67
+ .btn-warning {
68
+ @include button-variant($btn-warning-color, $btn-warning-bg, $btn-warning-border);
69
+ }
70
+ .btn-danger {
71
+ @include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border);
72
+ }
73
+
74
+ // Remove all backgrounds
75
+ .btn-outline-primary {
76
+ @include button-outline-variant($btn-primary-bg);
77
+ }
78
+ .btn-outline-secondary {
79
+ @include button-outline-variant($btn-secondary-border);
80
+ }
81
+ .btn-outline-info {
82
+ @include button-outline-variant($btn-info-bg);
83
+ }
84
+ .btn-outline-success {
85
+ @include button-outline-variant($btn-success-bg);
86
+ }
87
+ .btn-outline-warning {
88
+ @include button-outline-variant($btn-warning-bg);
89
+ }
90
+ .btn-outline-danger {
91
+ @include button-outline-variant($btn-danger-bg);
92
+ }
93
+
94
+
95
+ //
96
+ // Link buttons
97
+ //
98
+
99
+ // Make a button look and behave like a link
100
+ .btn-link {
101
+ font-weight: $font-weight-normal;
102
+ color: $link-color;
103
+ border-radius: 0;
104
+
105
+ &,
106
+ &:active,
107
+ &.active,
108
+ &:disabled {
109
+ background-color: transparent;
110
+ @include box-shadow(none);
111
+ }
112
+ &,
113
+ &:focus,
114
+ &:active {
115
+ border-color: transparent;
116
+ }
117
+ @include hover {
118
+ border-color: transparent;
119
+ }
120
+ @include hover-focus {
121
+ color: $link-hover-color;
122
+ text-decoration: $link-hover-decoration;
123
+ background-color: transparent;
124
+ }
125
+ &:disabled {
126
+ color: $btn-link-disabled-color;
127
+
128
+ @include hover-focus {
129
+ text-decoration: none;
130
+ }
131
+ }
132
+ }
133
+
134
+
135
+ //
136
+ // Button Sizes
137
+ //
138
+
139
+ .btn-lg {
140
+ // line-height: ensure even-numbered height of button next to large input
141
+ @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $font-size-lg, $btn-border-radius-lg);
142
+ }
143
+ .btn-sm {
144
+ // line-height: ensure proper height of button next to small input
145
+ @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $font-size-sm, $btn-border-radius-sm);
146
+ }
147
+
148
+
149
+ //
150
+ // Block button
151
+ //
152
+
153
+ .btn-block {
154
+ display: block;
155
+ width: 100%;
156
+ }
157
+
158
+ // Vertically space out multiple block buttons
159
+ .btn-block + .btn-block {
160
+ margin-top: $btn-block-spacing-y;
161
+ }
162
+
163
+ // Specificity overrides
164
+ input[type="submit"],
165
+ input[type="reset"],
166
+ input[type="button"] {
167
+ &.btn-block {
168
+ width: 100%;
169
+ }
170
+ }