apx-docs-theme 0.1.7 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/footer.html +8 -9
  3. data/_includes/head.html +20 -9
  4. data/_includes/js_files.html +21 -3
  5. data/_includes/navbar.html +28 -0
  6. data/_includes/sidebar.html +43 -0
  7. data/_layouts/default.html +10 -10
  8. data/_layouts/docs.html +12 -20
  9. data/_sass/bootstrap/_alert.scss +51 -0
  10. data/_sass/bootstrap/_badge.scss +53 -0
  11. data/_sass/bootstrap/_breadcrumb.scss +41 -0
  12. data/_sass/bootstrap/_button-group.scss +163 -0
  13. data/_sass/bootstrap/_buttons.scss +73 -101
  14. data/_sass/bootstrap/_card.scss +310 -0
  15. data/_sass/bootstrap/_carousel.scss +130 -202
  16. data/_sass/bootstrap/_close.scss +23 -15
  17. data/_sass/bootstrap/_code.scss +15 -36
  18. data/_sass/bootstrap/_custom-forms.scss +507 -0
  19. data/_sass/bootstrap/_dropdown.scss +191 -0
  20. data/_sass/bootstrap/_forms.scss +215 -498
  21. data/_sass/bootstrap/_functions.scss +86 -0
  22. data/_sass/bootstrap/_grid.scss +29 -61
  23. data/_sass/bootstrap/_images.scss +42 -0
  24. data/_sass/bootstrap/_input-group.scss +193 -0
  25. data/_sass/bootstrap/_jumbotron.scss +9 -47
  26. data/_sass/bootstrap/_list-group.scss +70 -79
  27. data/_sass/bootstrap/_media.scss +3 -61
  28. data/_sass/bootstrap/_mixins.scss +19 -18
  29. data/_sass/bootstrap/_modal.scss +186 -0
  30. data/_sass/bootstrap/_nav.scss +120 -0
  31. data/_sass/bootstrap/_navbar.scss +192 -555
  32. data/_sass/bootstrap/_pagination.scss +59 -70
  33. data/_sass/bootstrap/_popover.scss +183 -0
  34. data/_sass/bootstrap/_print.scss +89 -49
  35. data/_sass/bootstrap/_progress.scss +34 -0
  36. data/_sass/bootstrap/_reboot.scss +462 -0
  37. data/_sass/bootstrap/_root.scss +19 -0
  38. data/_sass/bootstrap/_spinners.scss +53 -0
  39. data/_sass/bootstrap/_tables.scss +119 -166
  40. data/_sass/bootstrap/_toasts.scss +43 -0
  41. data/_sass/bootstrap/_tooltip.scss +93 -79
  42. data/_sass/bootstrap/_transitions.scss +22 -0
  43. data/_sass/bootstrap/_type.scss +66 -239
  44. data/_sass/bootstrap/_utilities.scss +16 -55
  45. data/_sass/bootstrap/_variables.scss +926 -709
  46. data/_sass/bootstrap/bootstrap-grid.scss +29 -0
  47. data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
  48. data/_sass/bootstrap/bootstrap.scss +44 -0
  49. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  50. data/_sass/bootstrap/mixins/_background-variant.scss +14 -5
  51. data/_sass/bootstrap/mixins/_badge.scss +11 -0
  52. data/_sass/bootstrap/mixins/_border-radius.scss +25 -8
  53. data/_sass/bootstrap/mixins/_box-shadow.scss +5 -0
  54. data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
  55. data/_sass/bootstrap/mixins/_buttons.scss +86 -40
  56. data/_sass/bootstrap/mixins/_caret.scss +62 -0
  57. data/_sass/bootstrap/mixins/_clearfix.scss +3 -18
  58. data/_sass/bootstrap/mixins/_float.scss +11 -0
  59. data/_sass/bootstrap/mixins/_forms.scss +176 -66
  60. data/_sass/bootstrap/mixins/_gradients.scss +17 -30
  61. data/_sass/bootstrap/mixins/_grid-framework.scss +51 -66
  62. data/_sass/bootstrap/mixins/_grid.scss +34 -105
  63. data/_sass/bootstrap/mixins/_hover.scss +37 -0
  64. data/_sass/bootstrap/mixins/_image.scss +18 -15
  65. data/_sass/bootstrap/mixins/_list-group.scss +10 -21
  66. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  67. data/_sass/bootstrap/mixins/_nav-divider.scss +4 -4
  68. data/_sass/bootstrap/mixins/_pagination.scss +10 -12
  69. data/_sass/bootstrap/mixins/_reset-text.scss +7 -8
  70. data/_sass/bootstrap/mixins/_resize.scss +1 -1
  71. data/_sass/bootstrap/mixins/_screen-reader.scss +33 -0
  72. data/_sass/bootstrap/mixins/_size.scss +1 -5
  73. data/_sass/bootstrap/mixins/_table-row.scss +26 -15
  74. data/_sass/bootstrap/mixins/_text-emphasis.scss +7 -5
  75. data/_sass/bootstrap/mixins/_text-hide.scss +13 -0
  76. data/_sass/bootstrap/mixins/{_text-overflow.scss → _text-truncate.scss} +2 -2
  77. data/_sass/bootstrap/mixins/_transition.scss +16 -0
  78. data/_sass/bootstrap/mixins/_visibility.scss +7 -0
  79. data/_sass/bootstrap/utilities/_align.scss +8 -0
  80. data/_sass/bootstrap/utilities/_background.scss +19 -0
  81. data/_sass/bootstrap/utilities/_borders.scss +63 -0
  82. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  83. data/_sass/bootstrap/utilities/_display.scss +38 -0
  84. data/_sass/bootstrap/utilities/_embed.scss +39 -0
  85. data/_sass/bootstrap/utilities/_flex.scss +51 -0
  86. data/_sass/bootstrap/utilities/_float.scss +9 -0
  87. data/_sass/bootstrap/utilities/_overflow.scss +5 -0
  88. data/_sass/bootstrap/utilities/_position.scss +32 -0
  89. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  90. data/_sass/bootstrap/utilities/_shadows.scss +6 -0
  91. data/_sass/bootstrap/utilities/_sizing.scss +20 -0
  92. data/_sass/bootstrap/utilities/_spacing.scss +73 -0
  93. data/_sass/bootstrap/utilities/_text.scss +67 -0
  94. data/_sass/bootstrap/utilities/_visibility.scss +11 -0
  95. data/_sass/markdown/code.scss +65 -0
  96. data/_sass/markdown/color-system.scss +114 -0
  97. data/_sass/markdown/images.scss +119 -0
  98. data/_sass/markdown/markdown-body.scss +103 -0
  99. data/_sass/markdown/markdown.scss +15 -0
  100. data/_sass/rouge.scss +209 -0
  101. data/_sass/theme.scss +35 -0
  102. data/_sass/{_typeahead.scss → typeahead.scss} +0 -0
  103. data/assets/css/main.scss +1 -90
  104. data/assets/img/{bg.jpg → jumbotron.jpg} +0 -0
  105. data/assets/js/bootstrap.min.js +6 -6
  106. data/assets/js/jquery-3.3.1.min.js +2 -0
  107. data/assets/js/main.js +2 -1
  108. data/assets/js/search.json +11 -0
  109. data/assets/js/typeahead.bundle.js +2621 -0
  110. data/assets/js/typeahead.bundle.min.js +4 -4
  111. metadata +81 -50
  112. data/_includes/pages_nav.html +0 -40
  113. data/_includes/topnav.html +0 -37
  114. data/_sass/_bootstrap.scss +0 -56
  115. data/_sass/_syntax-highlighting.scss +0 -71
  116. data/_sass/bootstrap/_alerts.scss +0 -73
  117. data/_sass/bootstrap/_badges.scss +0 -68
  118. data/_sass/bootstrap/_breadcrumbs.scss +0 -28
  119. data/_sass/bootstrap/_button-groups.scss +0 -244
  120. data/_sass/bootstrap/_component-animations.scss +0 -37
  121. data/_sass/bootstrap/_dropdowns.scss +0 -216
  122. data/_sass/bootstrap/_glyphicons.scss +0 -307
  123. data/_sass/bootstrap/_input-groups.scss +0 -171
  124. data/_sass/bootstrap/_labels.scss +0 -66
  125. data/_sass/bootstrap/_modals.scss +0 -150
  126. data/_sass/bootstrap/_navs.scss +0 -242
  127. data/_sass/bootstrap/_normalize.scss +0 -424
  128. data/_sass/bootstrap/_pager.scss +0 -54
  129. data/_sass/bootstrap/_panels.scss +0 -271
  130. data/_sass/bootstrap/_popovers.scss +0 -131
  131. data/_sass/bootstrap/_progress-bars.scss +0 -87
  132. data/_sass/bootstrap/_responsive-embed.scss +0 -35
  133. data/_sass/bootstrap/_responsive-utilities.scss +0 -179
  134. data/_sass/bootstrap/_scaffolding.scss +0 -161
  135. data/_sass/bootstrap/_theme.scss +0 -291
  136. data/_sass/bootstrap/_thumbnails.scss +0 -38
  137. data/_sass/bootstrap/_wells.scss +0 -29
  138. data/_sass/bootstrap/mixins/_alerts.scss +0 -14
  139. data/_sass/bootstrap/mixins/_center-block.scss +0 -7
  140. data/_sass/bootstrap/mixins/_hide-text.scss +0 -21
  141. data/_sass/bootstrap/mixins/_labels.scss +0 -12
  142. data/_sass/bootstrap/mixins/_nav-vertical-align.scss +0 -9
  143. data/_sass/bootstrap/mixins/_opacity.scss +0 -8
  144. data/_sass/bootstrap/mixins/_panels.scss +0 -24
  145. data/_sass/bootstrap/mixins/_progress-bar.scss +0 -10
  146. data/_sass/bootstrap/mixins/_reset-filter.scss +0 -8
  147. data/_sass/bootstrap/mixins/_responsive-visibility.scss +0 -21
  148. data/_sass/bootstrap/mixins/_tab-focus.scss +0 -9
  149. data/_sass/bootstrap/mixins/_vendor-prefixes.scss +0 -222
  150. data/assets/css/font-awesome.min.css +0 -4
  151. data/assets/fonts/FontAwesome.otf +0 -0
  152. data/assets/fonts/fontawesome-webfont.eot +0 -0
  153. data/assets/fonts/fontawesome-webfont.svg +0 -2671
  154. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  155. data/assets/fonts/fontawesome-webfont.woff +0 -0
  156. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
@@ -0,0 +1,34 @@
1
+ @keyframes progress-bar-stripes {
2
+ from { background-position: $progress-height 0; }
3
+ to { background-position: 0 0; }
4
+ }
5
+
6
+ .progress {
7
+ display: flex;
8
+ height: $progress-height;
9
+ overflow: hidden; // force rounded corners by cropping it
10
+ font-size: $progress-font-size;
11
+ background-color: $progress-bg;
12
+ @include border-radius($progress-border-radius);
13
+ @include box-shadow($progress-box-shadow);
14
+ }
15
+
16
+ .progress-bar {
17
+ display: flex;
18
+ flex-direction: column;
19
+ justify-content: center;
20
+ color: $progress-bar-color;
21
+ text-align: center;
22
+ white-space: nowrap;
23
+ background-color: $progress-bar-bg;
24
+ @include transition($progress-bar-transition);
25
+ }
26
+
27
+ .progress-bar-striped {
28
+ @include gradient-striped();
29
+ background-size: $progress-height $progress-height;
30
+ }
31
+
32
+ .progress-bar-animated {
33
+ animation: progress-bar-stripes $progress-bar-animation-timing;
34
+ }
@@ -0,0 +1,462 @@
1
+ // stylelint-disable at-rule-no-vendor-prefix, declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix
2
+
3
+ // Reboot
4
+ //
5
+ // Normalization of HTML elements, manually forked from Normalize.css to remove
6
+ // styles targeting irrelevant browsers while applying new styles.
7
+ //
8
+ // Normalize is licensed MIT. https://github.com/necolas/normalize.css
9
+
10
+
11
+ // Document
12
+ //
13
+ // 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
14
+ // 2. Change the default font family in all browsers.
15
+ // 3. Correct the line height in all browsers.
16
+ // 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.
17
+ // 5. Change the default tap highlight to be completely transparent in iOS.
18
+
19
+ *,
20
+ *::before,
21
+ *::after {
22
+ box-sizing: border-box; // 1
23
+ }
24
+
25
+ html {
26
+ font-family: sans-serif; // 2
27
+ line-height: 1.15; // 3
28
+ -webkit-text-size-adjust: 100%; // 4
29
+ -webkit-tap-highlight-color: rgba($black, 0); // 5
30
+ }
31
+
32
+ // Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers)
33
+ // TODO: remove in v5
34
+ // stylelint-disable-next-line selector-list-comma-newline-after
35
+ article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
36
+ display: block;
37
+ }
38
+
39
+ // Body
40
+ //
41
+ // 1. Remove the margin in all browsers.
42
+ // 2. As a best practice, apply a default `background-color`.
43
+ // 3. Set an explicit initial text-align value so that we can later use
44
+ // the `inherit` value on things like `<th>` elements.
45
+
46
+ body {
47
+ margin: 0; // 1
48
+ font-family: $font-family-base;
49
+ font-size: $font-size-base;
50
+ font-weight: $font-weight-base;
51
+ line-height: $line-height-base;
52
+ color: $body-color;
53
+ text-align: left; // 3
54
+ background-color: $body-bg; // 2
55
+ }
56
+
57
+ // Suppress the focus outline on elements that cannot be accessed via keyboard.
58
+ // This prevents an unwanted focus outline from appearing around elements that
59
+ // might still respond to pointer events.
60
+ //
61
+ // Credit: https://github.com/suitcss/base
62
+ [tabindex="-1"]:focus {
63
+ outline: 0 !important;
64
+ }
65
+
66
+
67
+ // Content grouping
68
+ //
69
+ // 1. Add the correct box sizing in Firefox.
70
+ // 2. Show the overflow in Edge and IE.
71
+
72
+ hr {
73
+ box-sizing: content-box; // 1
74
+ height: 0; // 1
75
+ overflow: visible; // 2
76
+ }
77
+
78
+
79
+ //
80
+ // Typography
81
+ //
82
+
83
+ // Remove top margins from headings
84
+ //
85
+ // By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
86
+ // margin for easier control within type scales as it avoids margin collapsing.
87
+ // stylelint-disable-next-line selector-list-comma-newline-after
88
+ h1, h2, h3, h4, h5, h6 {
89
+ margin-top: 0;
90
+ margin-bottom: $headings-margin-bottom;
91
+ }
92
+
93
+ // Reset margins on paragraphs
94
+ //
95
+ // Similarly, the top margin on `<p>`s get reset. However, we also reset the
96
+ // bottom margin to use `rem` units instead of `em`.
97
+ p {
98
+ margin-top: 0;
99
+ margin-bottom: $paragraph-margin-bottom;
100
+ }
101
+
102
+ // Abbreviations
103
+ //
104
+ // 1. Duplicate behavior to the data-* attribute for our tooltip plugin
105
+ // 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
106
+ // 3. Add explicit cursor to indicate changed behavior.
107
+ // 4. Remove the bottom border in Firefox 39-.
108
+ // 5. Prevent the text-decoration to be skipped.
109
+
110
+ abbr[title],
111
+ abbr[data-original-title] { // 1
112
+ text-decoration: underline; // 2
113
+ text-decoration: underline dotted; // 2
114
+ cursor: help; // 3
115
+ border-bottom: 0; // 4
116
+ text-decoration-skip-ink: none; // 5
117
+ }
118
+
119
+ address {
120
+ margin-bottom: 1rem;
121
+ font-style: normal;
122
+ line-height: inherit;
123
+ }
124
+
125
+ ol,
126
+ ul,
127
+ dl {
128
+ margin-top: 0;
129
+ margin-bottom: 1rem;
130
+ }
131
+
132
+ ol ol,
133
+ ul ul,
134
+ ol ul,
135
+ ul ol {
136
+ margin-bottom: 0;
137
+ }
138
+
139
+ dt {
140
+ font-weight: $dt-font-weight;
141
+ }
142
+
143
+ dd {
144
+ margin-bottom: .5rem;
145
+ margin-left: 0; // Undo browser default
146
+ }
147
+
148
+ blockquote {
149
+ margin: 0 0 1rem;
150
+ }
151
+
152
+ b,
153
+ strong {
154
+ font-weight: $font-weight-bolder; // Add the correct font weight in Chrome, Edge, and Safari
155
+ }
156
+
157
+ small {
158
+ font-size: 80%; // Add the correct font size in all browsers
159
+ }
160
+
161
+ //
162
+ // Prevent `sub` and `sup` elements from affecting the line height in
163
+ // all browsers.
164
+ //
165
+
166
+ sub,
167
+ sup {
168
+ position: relative;
169
+ font-size: 75%;
170
+ line-height: 0;
171
+ vertical-align: baseline;
172
+ }
173
+
174
+ sub { bottom: -.25em; }
175
+ sup { top: -.5em; }
176
+
177
+
178
+ //
179
+ // Links
180
+ //
181
+
182
+ a {
183
+ color: $link-color;
184
+ text-decoration: $link-decoration;
185
+ background-color: transparent; // Remove the gray background on active links in IE 10.
186
+
187
+ @include hover {
188
+ color: $link-hover-color;
189
+ text-decoration: $link-hover-decoration;
190
+ }
191
+ }
192
+
193
+ // And undo these styles for placeholder links/named anchors (without href)
194
+ // which have not been made explicitly keyboard-focusable (without tabindex).
195
+ // It would be more straightforward to just use a[href] in previous block, but that
196
+ // causes specificity issues in many other styles that are too complex to fix.
197
+ // See https://github.com/twbs/bootstrap/issues/19402
198
+
199
+ a:not([href]):not([tabindex]) {
200
+ color: inherit;
201
+ text-decoration: none;
202
+
203
+ @include hover-focus {
204
+ color: inherit;
205
+ text-decoration: none;
206
+ }
207
+
208
+ &:focus {
209
+ outline: 0;
210
+ }
211
+ }
212
+
213
+
214
+ //
215
+ // Code
216
+ //
217
+
218
+ pre,
219
+ code,
220
+ kbd,
221
+ samp {
222
+ font-family: $font-family-monospace;
223
+ font-size: 1em; // Correct the odd `em` font sizing in all browsers.
224
+ }
225
+
226
+ pre {
227
+ // Remove browser default top margin
228
+ margin-top: 0;
229
+ // Reset browser default of `1em` to use `rem`s
230
+ margin-bottom: 1rem;
231
+ // Don't allow content to break outside
232
+ overflow: auto;
233
+ }
234
+
235
+
236
+ //
237
+ // Figures
238
+ //
239
+
240
+ figure {
241
+ // Apply a consistent margin strategy (matches our type styles).
242
+ margin: 0 0 1rem;
243
+ }
244
+
245
+
246
+ //
247
+ // Images and content
248
+ //
249
+
250
+ img {
251
+ vertical-align: middle;
252
+ border-style: none; // Remove the border on images inside links in IE 10-.
253
+ }
254
+
255
+ svg {
256
+ // Workaround for the SVG overflow bug in IE10/11 is still required.
257
+ // See https://github.com/twbs/bootstrap/issues/26878
258
+ overflow: hidden;
259
+ vertical-align: middle;
260
+ }
261
+
262
+
263
+ //
264
+ // Tables
265
+ //
266
+
267
+ table {
268
+ border-collapse: collapse; // Prevent double borders
269
+ }
270
+
271
+ caption {
272
+ padding-top: $table-cell-padding;
273
+ padding-bottom: $table-cell-padding;
274
+ color: $table-caption-color;
275
+ text-align: left;
276
+ caption-side: bottom;
277
+ }
278
+
279
+ th {
280
+ // Matches default `<td>` alignment by inheriting from the `<body>`, or the
281
+ // closest parent with a set `text-align`.
282
+ text-align: inherit;
283
+ }
284
+
285
+
286
+ //
287
+ // Forms
288
+ //
289
+
290
+ label {
291
+ // Allow labels to use `margin` for spacing.
292
+ display: inline-block;
293
+ margin-bottom: $label-margin-bottom;
294
+ }
295
+
296
+ // Remove the default `border-radius` that macOS Chrome adds.
297
+ //
298
+ // Details at https://github.com/twbs/bootstrap/issues/24093
299
+ button {
300
+ border-radius: 0;
301
+ }
302
+
303
+ // Work around a Firefox/IE bug where the transparent `button` background
304
+ // results in a loss of the default `button` focus styles.
305
+ //
306
+ // Credit: https://github.com/suitcss/base/
307
+ button:focus {
308
+ outline: 1px dotted;
309
+ outline: 5px auto -webkit-focus-ring-color;
310
+ }
311
+
312
+ input,
313
+ button,
314
+ select,
315
+ optgroup,
316
+ textarea {
317
+ margin: 0; // Remove the margin in Firefox and Safari
318
+ font-family: inherit;
319
+ font-size: inherit;
320
+ line-height: inherit;
321
+ }
322
+
323
+ button,
324
+ input {
325
+ overflow: visible; // Show the overflow in Edge
326
+ }
327
+
328
+ button,
329
+ select {
330
+ text-transform: none; // Remove the inheritance of text transform in Firefox
331
+ }
332
+
333
+ // 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
334
+ // controls in Android 4.
335
+ // 2. Correct the inability to style clickable types in iOS and Safari.
336
+ button,
337
+ [type="button"], // 1
338
+ [type="reset"],
339
+ [type="submit"] {
340
+ -webkit-appearance: button; // 2
341
+ }
342
+
343
+ // Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
344
+ button::-moz-focus-inner,
345
+ [type="button"]::-moz-focus-inner,
346
+ [type="reset"]::-moz-focus-inner,
347
+ [type="submit"]::-moz-focus-inner {
348
+ padding: 0;
349
+ border-style: none;
350
+ }
351
+
352
+ input[type="radio"],
353
+ input[type="checkbox"] {
354
+ box-sizing: border-box; // 1. Add the correct box sizing in IE 10-
355
+ padding: 0; // 2. Remove the padding in IE 10-
356
+ }
357
+
358
+
359
+ input[type="date"],
360
+ input[type="time"],
361
+ input[type="datetime-local"],
362
+ input[type="month"] {
363
+ // Remove the default appearance of temporal inputs to avoid a Mobile Safari
364
+ // bug where setting a custom line-height prevents text from being vertically
365
+ // centered within the input.
366
+ // See https://bugs.webkit.org/show_bug.cgi?id=139848
367
+ // and https://github.com/twbs/bootstrap/issues/11266
368
+ -webkit-appearance: listbox;
369
+ }
370
+
371
+ textarea {
372
+ overflow: auto; // Remove the default vertical scrollbar in IE.
373
+ // Textareas should really only resize vertically so they don't break their (horizontal) containers.
374
+ resize: vertical;
375
+ }
376
+
377
+ fieldset {
378
+ // Browsers set a default `min-width: min-content;` on fieldsets,
379
+ // unlike e.g. `<div>`s, which have `min-width: 0;` by default.
380
+ // So we reset that to ensure fieldsets behave more like a standard block element.
381
+ // See https://github.com/twbs/bootstrap/issues/12359
382
+ // and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
383
+ min-width: 0;
384
+ // Reset the default outline behavior of fieldsets so they don't affect page layout.
385
+ padding: 0;
386
+ margin: 0;
387
+ border: 0;
388
+ }
389
+
390
+ // 1. Correct the text wrapping in Edge and IE.
391
+ // 2. Correct the color inheritance from `fieldset` elements in IE.
392
+ legend {
393
+ display: block;
394
+ width: 100%;
395
+ max-width: 100%; // 1
396
+ padding: 0;
397
+ margin-bottom: .5rem;
398
+ font-size: 1.5rem;
399
+ line-height: inherit;
400
+ color: inherit; // 2
401
+ white-space: normal; // 1
402
+ }
403
+
404
+ progress {
405
+ vertical-align: baseline; // Add the correct vertical alignment in Chrome, Firefox, and Opera.
406
+ }
407
+
408
+ // Correct the cursor style of increment and decrement buttons in Chrome.
409
+ [type="number"]::-webkit-inner-spin-button,
410
+ [type="number"]::-webkit-outer-spin-button {
411
+ height: auto;
412
+ }
413
+
414
+ [type="search"] {
415
+ // This overrides the extra rounded corners on search inputs in iOS so that our
416
+ // `.form-control` class can properly style them. Note that this cannot simply
417
+ // be added to `.form-control` as it's not specific enough. For details, see
418
+ // https://github.com/twbs/bootstrap/issues/11586.
419
+ outline-offset: -2px; // 2. Correct the outline style in Safari.
420
+ -webkit-appearance: none;
421
+ }
422
+
423
+ //
424
+ // Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
425
+ //
426
+
427
+ [type="search"]::-webkit-search-decoration {
428
+ -webkit-appearance: none;
429
+ }
430
+
431
+ //
432
+ // 1. Correct the inability to style clickable types in iOS and Safari.
433
+ // 2. Change font properties to `inherit` in Safari.
434
+ //
435
+
436
+ ::-webkit-file-upload-button {
437
+ font: inherit; // 2
438
+ -webkit-appearance: button; // 1
439
+ }
440
+
441
+ //
442
+ // Correct element displays
443
+ //
444
+
445
+ output {
446
+ display: inline-block;
447
+ }
448
+
449
+ summary {
450
+ display: list-item; // Add the correct display in all browsers
451
+ cursor: pointer;
452
+ }
453
+
454
+ template {
455
+ display: none; // Add the correct display in IE
456
+ }
457
+
458
+ // Always hide an element with the `hidden` HTML attribute (from PureCSS).
459
+ // Needed for proper display in IE 10-.
460
+ [hidden] {
461
+ display: none !important;
462
+ }