geekyll 0.0.9

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 (104) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +48 -0
  4. data/_includes/footer.html +20 -0
  5. data/_includes/head.html +27 -0
  6. data/_includes/header.html +18 -0
  7. data/_includes/image.html +14 -0
  8. data/_includes/javascripts.html +7 -0
  9. data/_includes/navigation.html +16 -0
  10. data/_includes/social.html +15 -0
  11. data/_layouts/default.html +10 -0
  12. data/_layouts/index.html +48 -0
  13. data/_layouts/page.html +23 -0
  14. data/_layouts/post.html +5 -0
  15. data/_layouts/root.html +14 -0
  16. data/_sass/geekyll/_icons.scss +9 -0
  17. data/_sass/geekyll/_layout.scss +233 -0
  18. data/_sass/geekyll/_pages.scss +232 -0
  19. data/_sass/geekyll/_typography.scss +4 -0
  20. data/_sass/geekyll/bootstrap4alpha4/_alert.scss +56 -0
  21. data/_sass/geekyll/bootstrap4alpha4/_animation.scss +27 -0
  22. data/_sass/geekyll/bootstrap4alpha4/_breadcrumb.scss +38 -0
  23. data/_sass/geekyll/bootstrap4alpha4/_button-group.scss +234 -0
  24. data/_sass/geekyll/bootstrap4alpha4/_buttons.scss +176 -0
  25. data/_sass/geekyll/bootstrap4alpha4/_card.scss +320 -0
  26. data/_sass/geekyll/bootstrap4alpha4/_carousel.scss +253 -0
  27. data/_sass/geekyll/bootstrap4alpha4/_close.scss +31 -0
  28. data/_sass/geekyll/bootstrap4alpha4/_code.scss +57 -0
  29. data/_sass/geekyll/bootstrap4alpha4/_custom-forms.scss +265 -0
  30. data/_sass/geekyll/bootstrap4alpha4/_custom.scss +4 -0
  31. data/_sass/geekyll/bootstrap4alpha4/_dropdown.scss +179 -0
  32. data/_sass/geekyll/bootstrap4alpha4/_forms.scss +364 -0
  33. data/_sass/geekyll/bootstrap4alpha4/_grid.scss +39 -0
  34. data/_sass/geekyll/bootstrap4alpha4/_images.scss +52 -0
  35. data/_sass/geekyll/bootstrap4alpha4/_input-group.scss +188 -0
  36. data/_sass/geekyll/bootstrap4alpha4/_jumbotron.scss +20 -0
  37. data/_sass/geekyll/bootstrap4alpha4/_list-group.scss +123 -0
  38. data/_sass/geekyll/bootstrap4alpha4/_media.scss +81 -0
  39. data/_sass/geekyll/bootstrap4alpha4/_mixins.scss +54 -0
  40. data/_sass/geekyll/bootstrap4alpha4/_modal.scss +132 -0
  41. data/_sass/geekyll/bootstrap4alpha4/_nav.scss +157 -0
  42. data/_sass/geekyll/bootstrap4alpha4/_navbar.scss +256 -0
  43. data/_sass/geekyll/bootstrap4alpha4/_normalize.scss +424 -0
  44. data/_sass/geekyll/bootstrap4alpha4/_pagination.scss +73 -0
  45. data/_sass/geekyll/bootstrap4alpha4/_popover.scss +147 -0
  46. data/_sass/geekyll/bootstrap4alpha4/_print.scss +116 -0
  47. data/_sass/geekyll/bootstrap4alpha4/_progress.scss +145 -0
  48. data/_sass/geekyll/bootstrap4alpha4/_reboot.scss +393 -0
  49. data/_sass/geekyll/bootstrap4alpha4/_responsive-embed.scss +39 -0
  50. data/_sass/geekyll/bootstrap4alpha4/_tables.scss +196 -0
  51. data/_sass/geekyll/bootstrap4alpha4/_tags.scss +77 -0
  52. data/_sass/geekyll/bootstrap4alpha4/_tooltip.scss +87 -0
  53. data/_sass/geekyll/bootstrap4alpha4/_type.scss +150 -0
  54. data/_sass/geekyll/bootstrap4alpha4/_utilities.scss +9 -0
  55. data/_sass/geekyll/bootstrap4alpha4/_variables.scss +830 -0
  56. data/_sass/geekyll/bootstrap4alpha4/bootstrap-flex.scss +8 -0
  57. data/_sass/geekyll/bootstrap4alpha4/bootstrap-grid.scss +23 -0
  58. data/_sass/geekyll/bootstrap4alpha4/bootstrap-reboot.scss +11 -0
  59. data/_sass/geekyll/bootstrap4alpha4/bootstrap.scss +54 -0
  60. data/_sass/geekyll/bootstrap4alpha4/mixins/_alert.scss +14 -0
  61. data/_sass/geekyll/bootstrap4alpha4/mixins/_background-variant.scss +13 -0
  62. data/_sass/geekyll/bootstrap4alpha4/mixins/_border-radius.scss +35 -0
  63. data/_sass/geekyll/bootstrap4alpha4/mixins/_breakpoints.scss +86 -0
  64. data/_sass/geekyll/bootstrap4alpha4/mixins/_buttons.scss +113 -0
  65. data/_sass/geekyll/bootstrap4alpha4/mixins/_cards.scss +44 -0
  66. data/_sass/geekyll/bootstrap4alpha4/mixins/_clearfix.scss +7 -0
  67. data/_sass/geekyll/bootstrap4alpha4/mixins/_forms.scss +86 -0
  68. data/_sass/geekyll/bootstrap4alpha4/mixins/_gradients.scss +43 -0
  69. data/_sass/geekyll/bootstrap4alpha4/mixins/_grid-framework.scss +70 -0
  70. data/_sass/geekyll/bootstrap4alpha4/mixins/_grid.scss +84 -0
  71. data/_sass/geekyll/bootstrap4alpha4/mixins/_hover.scss +60 -0
  72. data/_sass/geekyll/bootstrap4alpha4/mixins/_image.scss +34 -0
  73. data/_sass/geekyll/bootstrap4alpha4/mixins/_list-group.scss +30 -0
  74. data/_sass/geekyll/bootstrap4alpha4/mixins/_lists.scss +7 -0
  75. data/_sass/geekyll/bootstrap4alpha4/mixins/_nav-divider.scss +10 -0
  76. data/_sass/geekyll/bootstrap4alpha4/mixins/_navbar-align.scss +9 -0
  77. data/_sass/geekyll/bootstrap4alpha4/mixins/_pagination.scss +21 -0
  78. data/_sass/geekyll/bootstrap4alpha4/mixins/_progress.scss +23 -0
  79. data/_sass/geekyll/bootstrap4alpha4/mixins/_pulls.scss +6 -0
  80. data/_sass/geekyll/bootstrap4alpha4/mixins/_reset-filter.scss +8 -0
  81. data/_sass/geekyll/bootstrap4alpha4/mixins/_reset-text.scss +17 -0
  82. data/_sass/geekyll/bootstrap4alpha4/mixins/_resize.scss +6 -0
  83. data/_sass/geekyll/bootstrap4alpha4/mixins/_screen-reader.scss +32 -0
  84. data/_sass/geekyll/bootstrap4alpha4/mixins/_size.scss +6 -0
  85. data/_sass/geekyll/bootstrap4alpha4/mixins/_tab-focus.scss +9 -0
  86. data/_sass/geekyll/bootstrap4alpha4/mixins/_table-row.scss +30 -0
  87. data/_sass/geekyll/bootstrap4alpha4/mixins/_tag.scss +11 -0
  88. data/_sass/geekyll/bootstrap4alpha4/mixins/_text-emphasis.scss +12 -0
  89. data/_sass/geekyll/bootstrap4alpha4/mixins/_text-hide.scss +8 -0
  90. data/_sass/geekyll/bootstrap4alpha4/mixins/_text-truncate.scss +8 -0
  91. data/_sass/geekyll/bootstrap4alpha4/utilities/_background.scss +19 -0
  92. data/_sass/geekyll/bootstrap4alpha4/utilities/_clearfix.scss +3 -0
  93. data/_sass/geekyll/bootstrap4alpha4/utilities/_display.scss +13 -0
  94. data/_sass/geekyll/bootstrap4alpha4/utilities/_flex.scss +37 -0
  95. data/_sass/geekyll/bootstrap4alpha4/utilities/_pulls.scss +13 -0
  96. data/_sass/geekyll/bootstrap4alpha4/utilities/_screenreaders.scss +11 -0
  97. data/_sass/geekyll/bootstrap4alpha4/utilities/_spacing.scss +43 -0
  98. data/_sass/geekyll/bootstrap4alpha4/utilities/_text.scss +51 -0
  99. data/_sass/geekyll/bootstrap4alpha4/utilities/_visibility.scss +55 -0
  100. data/_sass/geekyll/reset.scss +9 -0
  101. data/_sass/geekyll/social.scss +5 -0
  102. data/_sass/geekyll.scss +39 -0
  103. data/screenshot.png +0 -0
  104. metadata +188 -0
@@ -0,0 +1,179 @@
1
+ // The dropdown wrapper (`<div>`)
2
+ .dropup,
3
+ .dropdown {
4
+ position: relative;
5
+ }
6
+
7
+ .dropdown-toggle {
8
+ // Generate the caret automatically
9
+ &::after {
10
+ display: inline-block;
11
+ width: 0;
12
+ height: 0;
13
+ margin-left: $caret-width;
14
+ vertical-align: middle;
15
+ content: "";
16
+ border-top: $caret-width solid;
17
+ border-right: $caret-width solid transparent;
18
+ border-left: $caret-width solid transparent;
19
+ }
20
+
21
+ // Prevent the focus on the dropdown toggle when closing dropdowns
22
+ &:focus {
23
+ outline: 0;
24
+ }
25
+ }
26
+
27
+ .dropup {
28
+ .dropdown-toggle {
29
+ &::after {
30
+ border-top: 0;
31
+ border-bottom: $caret-width solid;
32
+ }
33
+ }
34
+ }
35
+
36
+ // The dropdown menu
37
+ .dropdown-menu {
38
+ position: absolute;
39
+ top: 100%;
40
+ left: 0;
41
+ z-index: $zindex-dropdown;
42
+ display: none; // none by default, but block on "open" of the menu
43
+ float: left;
44
+ min-width: $dropdown-min-width;
45
+ padding: $dropdown-padding-y 0;
46
+ margin: $dropdown-margin-top 0 0; // override default ul
47
+ font-size: $font-size-base;
48
+ color: $body-color;
49
+ text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
50
+ list-style: none;
51
+ background-color: $dropdown-bg;
52
+ background-clip: padding-box;
53
+ border: $dropdown-border-width solid $dropdown-border-color;
54
+ @include border-radius($border-radius);
55
+ @include box-shadow($dropdown-box-shadow);
56
+ }
57
+
58
+ // Dividers (basically an `<hr>`) within the dropdown
59
+ .dropdown-divider {
60
+ @include nav-divider($dropdown-divider-bg);
61
+ }
62
+
63
+ // Links, buttons, and more within the dropdown menu
64
+ //
65
+ // `<button>`-specific styles are denoted with `// For <button>s`
66
+ .dropdown-item {
67
+ display: block;
68
+ width: 100%; // For `<button>`s
69
+ padding: 3px $dropdown-item-padding-x;
70
+ clear: both;
71
+ font-weight: normal;
72
+ color: $dropdown-link-color;
73
+ text-align: inherit; // For `<button>`s
74
+ white-space: nowrap; // prevent links from randomly breaking onto new lines
75
+ background: none; // For `<button>`s
76
+ border: 0; // For `<button>`s
77
+
78
+ @include hover-focus {
79
+ color: $dropdown-link-hover-color;
80
+ text-decoration: none;
81
+ background-color: $dropdown-link-hover-bg;
82
+ }
83
+
84
+ // Active state
85
+ &.active {
86
+ @include plain-hover-focus {
87
+ color: $dropdown-link-active-color;
88
+ text-decoration: none;
89
+ background-color: $dropdown-link-active-bg;
90
+ outline: 0;
91
+ }
92
+ }
93
+
94
+ // Disabled state
95
+ //
96
+ // Gray out text and ensure the hover/focus state remains gray
97
+ &.disabled {
98
+ @include plain-hover-focus {
99
+ color: $dropdown-link-disabled-color;
100
+ }
101
+
102
+ // Nuke hover/focus effects
103
+ @include hover-focus {
104
+ text-decoration: none;
105
+ cursor: $cursor-disabled;
106
+ background-color: transparent;
107
+ background-image: none; // Remove CSS gradient
108
+ @include reset-filter();
109
+ }
110
+ }
111
+ }
112
+
113
+ // Open state for the dropdown
114
+ .open {
115
+ // Show the menu
116
+ > .dropdown-menu {
117
+ display: block;
118
+ }
119
+
120
+ // Remove the outline when :focus is triggered
121
+ > a {
122
+ outline: 0;
123
+ }
124
+ }
125
+
126
+ // Menu positioning
127
+ //
128
+ // Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
129
+ // menu with the parent.
130
+ .dropdown-menu-right {
131
+ right: 0;
132
+ left: auto; // Reset the default from `.dropdown-menu`
133
+ }
134
+
135
+ .dropdown-menu-left {
136
+ right: auto;
137
+ left: 0;
138
+ }
139
+
140
+ // Dropdown section headers
141
+ .dropdown-header {
142
+ display: block;
143
+ padding: $dropdown-padding-y $dropdown-item-padding-x;
144
+ font-size: $font-size-sm;
145
+ color: $dropdown-header-color;
146
+ white-space: nowrap; // as with > li > a
147
+ }
148
+
149
+ // Backdrop to catch body clicks on mobile, etc.
150
+ .dropdown-backdrop {
151
+ position: fixed;
152
+ top: 0;
153
+ right: 0;
154
+ bottom: 0;
155
+ left: 0;
156
+ z-index: $zindex-dropdown-backdrop;
157
+ }
158
+
159
+ // Allow for dropdowns to go bottom up (aka, dropup-menu)
160
+ //
161
+ // Just add .dropup after the standard .dropdown class and you're set.
162
+ // TODO: abstract this so that the navbar fixed styles are not placed here?
163
+
164
+ .dropup,
165
+ .navbar-fixed-bottom .dropdown {
166
+ // Reverse the caret
167
+ .caret {
168
+ content: "";
169
+ border-top: 0;
170
+ border-bottom: $caret-width solid;
171
+ }
172
+
173
+ // Different positioning for bottom up menu
174
+ .dropdown-menu {
175
+ top: auto;
176
+ bottom: 100%;
177
+ margin-bottom: $dropdown-margin-top;
178
+ }
179
+ }
@@ -0,0 +1,364 @@
1
+ // scss-lint:disable QualifyingElement
2
+
3
+ //
4
+ // Textual form controls
5
+ //
6
+
7
+ .form-control {
8
+ display: block;
9
+ width: 100%;
10
+ // // Make inputs at least the height of their button counterpart (base line-height + padding + border)
11
+ // height: $input-height;
12
+ padding: $input-padding-y $input-padding-x;
13
+ font-size: $font-size-base;
14
+ line-height: $input-line-height;
15
+ color: $input-color;
16
+ background-color: $input-bg;
17
+ // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214.
18
+ background-image: none;
19
+ background-clip: padding-box;
20
+ border: $input-btn-border-width solid $input-border-color;
21
+ // Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS.
22
+ @include border-radius($input-border-radius);
23
+ @include box-shadow($input-box-shadow);
24
+ @include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);
25
+
26
+ // Unstyle the caret on `<select>`s in IE10+.
27
+ &::-ms-expand {
28
+ background-color: transparent;
29
+ border: 0;
30
+ }
31
+
32
+ // Customize the `:focus` state to imitate native WebKit styles.
33
+ @include form-control-focus();
34
+
35
+ // Placeholder
36
+ &::placeholder {
37
+ color: $input-color-placeholder;
38
+ // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526.
39
+ opacity: 1;
40
+ }
41
+
42
+ // Disabled and read-only inputs
43
+ //
44
+ // HTML5 says that controls under a fieldset > legend:first-child won't be
45
+ // disabled if the fieldset is disabled. Due to implementation difficulty, we
46
+ // don't honor that edge case; we style them as disabled anyway.
47
+ &:disabled,
48
+ &[readonly] {
49
+ background-color: $input-bg-disabled;
50
+ // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655.
51
+ opacity: 1;
52
+ }
53
+
54
+ &:disabled {
55
+ cursor: $cursor-disabled;
56
+ }
57
+ }
58
+
59
+ select.form-control {
60
+ &:not([size]):not([multiple]) {
61
+ height: $input-height;
62
+ }
63
+
64
+ &:focus::-ms-value {
65
+ // Suppress the nested default white text on blue background highlight given to
66
+ // the selected option text when the (still closed) <select> receives focus
67
+ // in IE and (under certain conditions) Edge, as it looks bad and cannot be made to
68
+ // match the appearance of the native widget.
69
+ // See https://github.com/twbs/bootstrap/issues/19398.
70
+ color: $input-color;
71
+ background-color: $input-bg;
72
+ }
73
+ }
74
+
75
+ // Make file inputs better match text inputs by forcing them to new lines.
76
+ .form-control-file,
77
+ .form-control-range {
78
+ display: block;
79
+ }
80
+
81
+
82
+ //
83
+ // Labels
84
+ //
85
+
86
+ // For use with horizontal and inline forms, when you need the label text to
87
+ // align with the form controls.
88
+ .col-form-label {
89
+ padding-top: $input-padding-y;
90
+ padding-bottom: $input-padding-y;
91
+ margin-bottom: 0; // Override the `<label>` default
92
+ }
93
+
94
+ .col-form-label-lg {
95
+ padding-top: $input-padding-y-lg;
96
+ padding-bottom: $input-padding-y-lg;
97
+ font-size: $font-size-lg;
98
+ }
99
+
100
+ .col-form-label-sm {
101
+ padding-top: $input-padding-y-sm;
102
+ padding-bottom: $input-padding-y-sm;
103
+ font-size: $font-size-sm;
104
+ }
105
+
106
+
107
+ //
108
+ // Legends
109
+ //
110
+
111
+ // For use with horizontal and inline forms, when you need the legend text to
112
+ // be the same size as regular labels, and to align with the form controls.
113
+ .col-form-legend {
114
+ padding-top: $input-padding-y;
115
+ padding-bottom: $input-padding-y;
116
+ margin-bottom: 0;
117
+ font-size: $font-size-base;
118
+ }
119
+
120
+
121
+ // Static form control text
122
+ //
123
+ // Apply class to an element to make any string of text align with labels in a
124
+ // horizontal form layout.
125
+
126
+ .form-control-static {
127
+ min-height: $input-height;
128
+ // Size it appropriately next to real form controls
129
+ padding-top: $input-padding-y;
130
+ padding-bottom: $input-padding-y;
131
+ // Remove default margin from `p`
132
+ margin-bottom: 0;
133
+
134
+ &.form-control-sm,
135
+ &.form-control-lg {
136
+ padding-right: 0;
137
+ padding-left: 0;
138
+ }
139
+ }
140
+
141
+
142
+ // Form control sizing
143
+ //
144
+ // Build on `.form-control` with modifier classes to decrease or increase the
145
+ // height and font-size of form controls.
146
+ //
147
+ // The `.form-group-* form-control` variations are sadly duplicated to avoid the
148
+ // issue documented in https://github.com/twbs/bootstrap/issues/15074.
149
+
150
+ .form-control-sm {
151
+ padding: $input-padding-y-sm $input-padding-x-sm;
152
+ font-size: $font-size-sm;
153
+ @include border-radius($input-border-radius-sm);
154
+ }
155
+
156
+ select.form-control-sm {
157
+ &:not([size]):not([multiple]) {
158
+ height: $input-height-sm;
159
+ }
160
+ }
161
+
162
+ .form-control-lg {
163
+ padding: $input-padding-y-lg $input-padding-x-lg;
164
+ font-size: $font-size-lg;
165
+ @include border-radius($input-border-radius-lg);
166
+ }
167
+
168
+ select.form-control-lg {
169
+ &:not([size]):not([multiple]) {
170
+ height: $input-height-lg;
171
+ }
172
+ }
173
+
174
+
175
+ // Form groups
176
+ //
177
+ // Designed to help with the organization and spacing of vertical forms. For
178
+ // horizontal forms, use the predefined grid classes.
179
+
180
+ .form-group {
181
+ margin-bottom: $form-group-margin-bottom;
182
+ }
183
+
184
+ .form-text {
185
+ display: block;
186
+ margin-top: ($spacer * .25);
187
+ }
188
+
189
+
190
+ // Checkboxes and radios
191
+ //
192
+ // Indent the labels to position radios/checkboxes as hanging controls.
193
+
194
+ .form-check {
195
+ position: relative;
196
+ display: block;
197
+ margin-bottom: ($spacer * .75);
198
+
199
+ // Move up sibling radios or checkboxes for tighter spacing
200
+ + .form-check {
201
+ margin-top: -.25rem;
202
+ }
203
+
204
+ &.disabled {
205
+ .form-check-label {
206
+ color: $text-muted;
207
+ cursor: $cursor-disabled;
208
+ }
209
+ }
210
+ }
211
+
212
+ .form-check-label {
213
+ padding-left: 1.25rem;
214
+ margin-bottom: 0; // Override default `<label>` bottom margin
215
+ cursor: pointer;
216
+ }
217
+
218
+ .form-check-input {
219
+ position: absolute;
220
+ margin-top: .25rem;
221
+ margin-left: -1.25rem;
222
+
223
+ &:only-child {
224
+ position: static;
225
+ }
226
+ }
227
+
228
+ // Radios and checkboxes on same line
229
+ .form-check-inline {
230
+ position: relative;
231
+ display: inline-block;
232
+ padding-left: 1.25rem;
233
+ margin-bottom: 0; // Override default `<label>` bottom margin
234
+ vertical-align: middle;
235
+ cursor: pointer;
236
+
237
+ + .form-check-inline {
238
+ margin-left: .75rem;
239
+ }
240
+
241
+ &.disabled {
242
+ cursor: $cursor-disabled;
243
+ }
244
+ }
245
+
246
+
247
+ // Form control feedback states
248
+ //
249
+ // Apply contextual and semantic states to individual form controls.
250
+
251
+ .form-control-feedback {
252
+ margin-top: ($spacer * .25);
253
+ }
254
+
255
+ .form-control-success,
256
+ .form-control-warning,
257
+ .form-control-danger {
258
+ padding-right: ($input-padding-x * 3);
259
+ background-repeat: no-repeat;
260
+ background-position: center right ($input-height / 4);
261
+ background-size: ($input-height / 2) ($input-height / 2);
262
+ }
263
+
264
+ // Form validation states
265
+ .has-success {
266
+ @include form-control-validation($brand-success);
267
+
268
+ .form-control-success {
269
+ background-image: $form-icon-success;
270
+ }
271
+ }
272
+
273
+ .has-warning {
274
+ @include form-control-validation($brand-warning);
275
+
276
+ .form-control-warning {
277
+ background-image: $form-icon-warning;
278
+ }
279
+ }
280
+
281
+ .has-danger {
282
+ @include form-control-validation($brand-danger);
283
+
284
+ .form-control-danger {
285
+ background-image: $form-icon-danger;
286
+ }
287
+ }
288
+
289
+
290
+ // Inline forms
291
+ //
292
+ // Make forms appear inline(-block) by adding the `.form-inline` class. Inline
293
+ // forms begin stacked on extra small (mobile) devices and then go inline when
294
+ // viewports reach <768px.
295
+ //
296
+ // Requires wrapping inputs and labels with `.form-group` for proper display of
297
+ // default HTML form controls and our custom form controls (e.g., input groups).
298
+
299
+ .form-inline {
300
+
301
+ // Kick in the inline
302
+ @include media-breakpoint-up(sm) {
303
+ // Inline-block all the things for "inline"
304
+ .form-group {
305
+ display: inline-block;
306
+ margin-bottom: 0;
307
+ vertical-align: middle;
308
+ }
309
+
310
+ // Allow folks to *not* use `.form-group`
311
+ .form-control {
312
+ display: inline-block;
313
+ width: auto; // Prevent labels from stacking above inputs in `.form-group`
314
+ vertical-align: middle;
315
+ }
316
+
317
+ // Make static controls behave like regular ones
318
+ .form-control-static {
319
+ display: inline-block;
320
+ }
321
+
322
+ .input-group {
323
+ display: inline-table;
324
+ vertical-align: middle;
325
+
326
+ .input-group-addon,
327
+ .input-group-btn,
328
+ .form-control {
329
+ width: auto;
330
+ }
331
+ }
332
+
333
+ // Input groups need that 100% width though
334
+ .input-group > .form-control {
335
+ width: 100%;
336
+ }
337
+
338
+ .form-control-label {
339
+ margin-bottom: 0;
340
+ vertical-align: middle;
341
+ }
342
+
343
+ // Remove default margin on radios/checkboxes that were used for stacking, and
344
+ // then undo the floating of radios and checkboxes to match.
345
+ .form-check {
346
+ display: inline-block;
347
+ margin-top: 0;
348
+ margin-bottom: 0;
349
+ vertical-align: middle;
350
+ }
351
+ .form-check-label {
352
+ padding-left: 0;
353
+ }
354
+ .form-check-input {
355
+ position: relative;
356
+ margin-left: 0;
357
+ }
358
+
359
+ // Re-override the feedback icon.
360
+ .has-feedback .form-control-feedback {
361
+ top: 0;
362
+ }
363
+ }
364
+ }
@@ -0,0 +1,39 @@
1
+ // Container widths
2
+ //
3
+ // Set the container width, and override it for fixed navbars in media queries.
4
+
5
+ @if $enable-grid-classes {
6
+ .container {
7
+ @include make-container();
8
+ @include make-container-max-widths();
9
+ }
10
+ }
11
+
12
+ // Fluid container
13
+ //
14
+ // Utilizes the mixin meant for fixed width containers, but without any defined
15
+ // width for fluid, full width layouts.
16
+
17
+ @if $enable-grid-classes {
18
+ .container-fluid {
19
+ @include make-container();
20
+ }
21
+ }
22
+
23
+ // Row
24
+ //
25
+ // Rows contain and clear the floats of your columns.
26
+
27
+ @if $enable-grid-classes {
28
+ .row {
29
+ @include make-row();
30
+ }
31
+ }
32
+
33
+ // Columns
34
+ //
35
+ // Common styles for small and large grid columns
36
+
37
+ @if $enable-grid-classes {
38
+ @include make-grid-columns();
39
+ }
@@ -0,0 +1,52 @@
1
+ // Responsive images (ensure images don't scale beyond their parents)
2
+ //
3
+ // This is purposefully opt-in via an explicit class rather than being the default for all `<img>`s.
4
+ // We previously tried the "images are responsive by default" approach in Bootstrap v2,
5
+ // and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps)
6
+ // which weren't expecting the images within themselves to be involuntarily resized.
7
+ // See also https://github.com/twbs/bootstrap/issues/18178
8
+ .img-fluid {
9
+ @include img-fluid();
10
+ }
11
+
12
+ // Rounded corners
13
+ .img-rounded {
14
+ @include border-radius($border-radius-lg);
15
+ }
16
+
17
+ // Image thumbnails
18
+ .img-thumbnail {
19
+ padding: $thumbnail-padding;
20
+ background-color: $thumbnail-bg;
21
+ border: $thumbnail-border-width solid $thumbnail-border-color;
22
+ @include border-radius($thumbnail-border-radius);
23
+ transition: all .2s ease-in-out;
24
+ @include box-shadow($thumbnail-box-shadow);
25
+
26
+ // Keep them at most 100% wide
27
+ @include img-fluid(inline-block);
28
+ }
29
+
30
+ // Perfect circle
31
+ .img-circle {
32
+ border-radius: 50%;
33
+ }
34
+
35
+ //
36
+ // Figures
37
+ //
38
+
39
+ .figure {
40
+ // Ensures the caption's text aligns with the image.
41
+ display: inline-block;
42
+ }
43
+
44
+ .figure-img {
45
+ margin-bottom: ($spacer-y / 2);
46
+ line-height: 1;
47
+ }
48
+
49
+ .figure-caption {
50
+ font-size: $figure-caption-font-size;
51
+ color: $gray-light;
52
+ }