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
@@ -1,101 +1,115 @@
1
- //
2
- // Tooltips
3
- // --------------------------------------------------
4
-
5
-
6
1
  // Base class
7
2
  .tooltip {
8
3
  position: absolute;
9
4
  z-index: $zindex-tooltip;
10
5
  display: block;
6
+ margin: $tooltip-margin;
11
7
  // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
12
8
  // So reset our font and text properties to avoid inheriting weird values.
13
- @include reset-text;
14
- font-size: $font-size-small;
9
+ @include reset-text();
10
+ font-size: $tooltip-font-size;
11
+ // Allow breaking very long words so they don't overflow the tooltip's bounds
12
+ word-wrap: break-word;
13
+ opacity: 0;
15
14
 
16
- @include opacity(0);
15
+ &.show { opacity: $tooltip-opacity; }
17
16
 
18
- &.in { @include opacity($tooltip-opacity); }
19
- &.top { margin-top: -3px; padding: $tooltip-arrow-width 0; }
20
- &.right { margin-left: 3px; padding: 0 $tooltip-arrow-width; }
21
- &.bottom { margin-top: 3px; padding: $tooltip-arrow-width 0; }
22
- &.left { margin-left: -3px; padding: 0 $tooltip-arrow-width; }
23
- }
17
+ .arrow {
18
+ position: absolute;
19
+ display: block;
20
+ width: $tooltip-arrow-width;
21
+ height: $tooltip-arrow-height;
24
22
 
25
- // Wrapper for the tooltip content
26
- .tooltip-inner {
27
- max-width: $tooltip-max-width;
28
- padding: 3px 8px;
29
- color: $tooltip-color;
30
- text-align: center;
31
- background-color: $tooltip-bg;
32
- border-radius: $border-radius-base;
23
+ &::before {
24
+ position: absolute;
25
+ content: "";
26
+ border-color: transparent;
27
+ border-style: solid;
28
+ }
29
+ }
33
30
  }
34
31
 
35
- // Arrows
36
- .tooltip-arrow {
37
- position: absolute;
38
- width: 0;
39
- height: 0;
40
- border-color: transparent;
41
- border-style: solid;
42
- }
43
- // Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
44
- .tooltip {
45
- &.top .tooltip-arrow {
46
- bottom: 0;
47
- left: 50%;
48
- margin-left: -$tooltip-arrow-width;
49
- border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
50
- border-top-color: $tooltip-arrow-color;
51
- }
52
- &.top-left .tooltip-arrow {
53
- bottom: 0;
54
- right: $tooltip-arrow-width;
55
- margin-bottom: -$tooltip-arrow-width;
56
- border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
57
- border-top-color: $tooltip-arrow-color;
58
- }
59
- &.top-right .tooltip-arrow {
32
+ .bs-tooltip-top {
33
+ padding: $tooltip-arrow-height 0;
34
+
35
+ .arrow {
60
36
  bottom: 0;
61
- left: $tooltip-arrow-width;
62
- margin-bottom: -$tooltip-arrow-width;
63
- border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
64
- border-top-color: $tooltip-arrow-color;
37
+
38
+ &::before {
39
+ top: 0;
40
+ border-width: $tooltip-arrow-height ($tooltip-arrow-width / 2) 0;
41
+ border-top-color: $tooltip-arrow-color;
42
+ }
65
43
  }
66
- &.right .tooltip-arrow {
67
- top: 50%;
44
+ }
45
+
46
+ .bs-tooltip-right {
47
+ padding: 0 $tooltip-arrow-height;
48
+
49
+ .arrow {
68
50
  left: 0;
69
- margin-top: -$tooltip-arrow-width;
70
- border-width: $tooltip-arrow-width $tooltip-arrow-width $tooltip-arrow-width 0;
71
- border-right-color: $tooltip-arrow-color;
51
+ width: $tooltip-arrow-height;
52
+ height: $tooltip-arrow-width;
53
+
54
+ &::before {
55
+ right: 0;
56
+ border-width: ($tooltip-arrow-width / 2) $tooltip-arrow-height ($tooltip-arrow-width / 2) 0;
57
+ border-right-color: $tooltip-arrow-color;
58
+ }
72
59
  }
73
- &.left .tooltip-arrow {
74
- top: 50%;
60
+ }
61
+
62
+ .bs-tooltip-bottom {
63
+ padding: $tooltip-arrow-height 0;
64
+
65
+ .arrow {
66
+ top: 0;
67
+
68
+ &::before {
69
+ bottom: 0;
70
+ border-width: 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height;
71
+ border-bottom-color: $tooltip-arrow-color;
72
+ }
73
+ }
74
+ }
75
+
76
+ .bs-tooltip-left {
77
+ padding: 0 $tooltip-arrow-height;
78
+
79
+ .arrow {
75
80
  right: 0;
76
- margin-top: -$tooltip-arrow-width;
77
- border-width: $tooltip-arrow-width 0 $tooltip-arrow-width $tooltip-arrow-width;
78
- border-left-color: $tooltip-arrow-color;
81
+ width: $tooltip-arrow-height;
82
+ height: $tooltip-arrow-width;
83
+
84
+ &::before {
85
+ left: 0;
86
+ border-width: ($tooltip-arrow-width / 2) 0 ($tooltip-arrow-width / 2) $tooltip-arrow-height;
87
+ border-left-color: $tooltip-arrow-color;
88
+ }
79
89
  }
80
- &.bottom .tooltip-arrow {
81
- top: 0;
82
- left: 50%;
83
- margin-left: -$tooltip-arrow-width;
84
- border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
85
- border-bottom-color: $tooltip-arrow-color;
90
+ }
91
+
92
+ .bs-tooltip-auto {
93
+ &[x-placement^="top"] {
94
+ @extend .bs-tooltip-top;
86
95
  }
87
- &.bottom-left .tooltip-arrow {
88
- top: 0;
89
- right: $tooltip-arrow-width;
90
- margin-top: -$tooltip-arrow-width;
91
- border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
92
- border-bottom-color: $tooltip-arrow-color;
96
+ &[x-placement^="right"] {
97
+ @extend .bs-tooltip-right;
93
98
  }
94
- &.bottom-right .tooltip-arrow {
95
- top: 0;
96
- left: $tooltip-arrow-width;
97
- margin-top: -$tooltip-arrow-width;
98
- border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
99
- border-bottom-color: $tooltip-arrow-color;
99
+ &[x-placement^="bottom"] {
100
+ @extend .bs-tooltip-bottom;
101
+ }
102
+ &[x-placement^="left"] {
103
+ @extend .bs-tooltip-left;
100
104
  }
101
105
  }
106
+
107
+ // Wrapper for the tooltip content
108
+ .tooltip-inner {
109
+ max-width: $tooltip-max-width;
110
+ padding: $tooltip-padding-y $tooltip-padding-x;
111
+ color: $tooltip-color;
112
+ text-align: center;
113
+ background-color: $tooltip-bg;
114
+ @include border-radius($tooltip-border-radius);
115
+ }
@@ -0,0 +1,22 @@
1
+ // stylelint-disable selector-no-qualifying-type
2
+
3
+ .fade {
4
+ @include transition($transition-fade);
5
+
6
+ &:not(.show) {
7
+ opacity: 0;
8
+ }
9
+ }
10
+
11
+ .collapse {
12
+ &:not(.show) {
13
+ display: none;
14
+ }
15
+ }
16
+
17
+ .collapsing {
18
+ position: relative;
19
+ height: 0;
20
+ overflow: hidden;
21
+ @include transition($transition-collapse);
22
+ }
@@ -1,298 +1,125 @@
1
- //
2
- // Typography
3
- // --------------------------------------------------
4
-
1
+ // stylelint-disable declaration-no-important, selector-list-comma-newline-after
5
2
 
3
+ //
6
4
  // Headings
7
- // -------------------------
5
+ //
8
6
 
9
7
  h1, h2, h3, h4, h5, h6,
10
8
  .h1, .h2, .h3, .h4, .h5, .h6 {
9
+ margin-bottom: $headings-margin-bottom;
11
10
  font-family: $headings-font-family;
12
11
  font-weight: $headings-font-weight;
13
12
  line-height: $headings-line-height;
14
13
  color: $headings-color;
15
-
16
- small,
17
- .small {
18
- font-weight: normal;
19
- line-height: 1;
20
- color: $headings-small-color;
21
- }
22
14
  }
23
15
 
24
- h1, .h1,
25
- h2, .h2,
26
- h3, .h3 {
27
- margin-top: $line-height-computed;
28
- margin-bottom: ($line-height-computed / 2);
16
+ h1, .h1 { font-size: $h1-font-size; }
17
+ h2, .h2 { font-size: $h2-font-size; }
18
+ h3, .h3 { font-size: $h3-font-size; }
19
+ h4, .h4 { font-size: $h4-font-size; }
20
+ h5, .h5 { font-size: $h5-font-size; }
21
+ h6, .h6 { font-size: $h6-font-size; }
29
22
 
30
- small,
31
- .small {
32
- font-size: 65%;
33
- }
23
+ .lead {
24
+ font-size: $lead-font-size;
25
+ font-weight: $lead-font-weight;
34
26
  }
35
- h4, .h4,
36
- h5, .h5,
37
- h6, .h6 {
38
- margin-top: ($line-height-computed / 2);
39
- margin-bottom: ($line-height-computed / 2);
40
27
 
41
- small,
42
- .small {
43
- font-size: 75%;
44
- }
28
+ // Type display classes
29
+ .display-1 {
30
+ font-size: $display1-size;
31
+ font-weight: $display1-weight;
32
+ line-height: $display-line-height;
45
33
  }
46
-
47
- h1, .h1 { font-size: $font-size-h1; }
48
- h2, .h2 { font-size: $font-size-h2; }
49
- h3, .h3 { font-size: $font-size-h3; }
50
- h4, .h4 { font-size: $font-size-h4; }
51
- h5, .h5 { font-size: $font-size-h5; }
52
- h6, .h6 { font-size: $font-size-h6; }
53
-
54
-
55
- // Body text
56
- // -------------------------
57
-
58
- p {
59
- margin: 0 0 ($line-height-computed / 2);
34
+ .display-2 {
35
+ font-size: $display2-size;
36
+ font-weight: $display2-weight;
37
+ line-height: $display-line-height;
38
+ }
39
+ .display-3 {
40
+ font-size: $display3-size;
41
+ font-weight: $display3-weight;
42
+ line-height: $display-line-height;
43
+ }
44
+ .display-4 {
45
+ font-size: $display4-size;
46
+ font-weight: $display4-weight;
47
+ line-height: $display-line-height;
60
48
  }
61
49
 
62
- .lead {
63
- margin-bottom: $line-height-computed;
64
- font-size: floor(($font-size-base * 1.15));
65
- font-weight: 300;
66
- line-height: 1.4;
67
50
 
68
- @media (min-width: $screen-sm-min) {
69
- font-size: ($font-size-base * 1.5);
70
- }
51
+ //
52
+ // Horizontal rules
53
+ //
54
+
55
+ hr {
56
+ margin-top: $hr-margin-y;
57
+ margin-bottom: $hr-margin-y;
58
+ border: 0;
59
+ border-top: $hr-border-width solid $hr-border-color;
71
60
  }
72
61
 
73
62
 
74
- // Emphasis & misc
75
- // -------------------------
63
+ //
64
+ // Emphasis
65
+ //
76
66
 
77
- // Ex: (12px small font / 14px base font) * 100% = about 85%
78
67
  small,
79
68
  .small {
80
- font-size: floor((100% * $font-size-small / $font-size-base));
69
+ font-size: $small-font-size;
70
+ font-weight: $font-weight-normal;
81
71
  }
82
72
 
83
73
  mark,
84
74
  .mark {
85
- background-color: $state-warning-bg;
86
- padding: .2em;
87
- }
88
-
89
- // Alignment
90
- .text-left { text-align: left; }
91
- .text-right { text-align: right; }
92
- .text-center { text-align: center; }
93
- .text-justify { text-align: justify; }
94
- .text-nowrap { white-space: nowrap; }
95
-
96
- // Transformation
97
- .text-lowercase { text-transform: lowercase; }
98
- .text-uppercase { text-transform: uppercase; }
99
- .text-capitalize { text-transform: capitalize; }
100
-
101
- // Contextual colors
102
- .text-muted {
103
- color: $text-muted;
104
- }
105
-
106
- @include text-emphasis-variant('.text-primary', $brand-primary);
107
-
108
- @include text-emphasis-variant('.text-success', $state-success-text);
109
-
110
- @include text-emphasis-variant('.text-info', $state-info-text);
111
-
112
- @include text-emphasis-variant('.text-warning', $state-warning-text);
113
-
114
- @include text-emphasis-variant('.text-danger', $state-danger-text);
115
-
116
- // Contextual backgrounds
117
- // For now we'll leave these alongside the text classes until v4 when we can
118
- // safely shift things around (per SemVer rules).
119
- .bg-primary {
120
- // Given the contrast here, this is the only class to have its color inverted
121
- // automatically.
122
- color: #fff;
123
- }
124
- @include bg-variant('.bg-primary', $brand-primary);
125
-
126
- @include bg-variant('.bg-success', $state-success-bg);
127
-
128
- @include bg-variant('.bg-info', $state-info-bg);
129
-
130
- @include bg-variant('.bg-warning', $state-warning-bg);
131
-
132
- @include bg-variant('.bg-danger', $state-danger-bg);
133
-
134
-
135
- // Page header
136
- // -------------------------
137
-
138
- .page-header {
139
- padding-bottom: (($line-height-computed / 2) - 1);
140
- margin: ($line-height-computed * 2) 0 $line-height-computed;
141
- border-bottom: 1px solid $page-header-border-color;
75
+ padding: $mark-padding;
76
+ background-color: $mark-bg;
142
77
  }
143
78
 
144
79
 
80
+ //
145
81
  // Lists
146
- // -------------------------
147
-
148
- // Unordered and Ordered lists
149
- ul,
150
- ol {
151
- margin-top: 0;
152
- margin-bottom: ($line-height-computed / 2);
153
- ul,
154
- ol {
155
- margin-bottom: 0;
156
- }
157
- }
158
-
159
- // List options
82
+ //
160
83
 
161
- // [converter] extracted from `.list-unstyled` for libsass compatibility
162
- @mixin list-unstyled {
163
- padding-left: 0;
164
- list-style: none;
165
- }
166
- // [converter] extracted as `@mixin list-unstyled` for libsass compatibility
167
84
  .list-unstyled {
168
85
  @include list-unstyled;
169
86
  }
170
87
 
171
-
172
88
  // Inline turns list items into inline-block
173
89
  .list-inline {
174
90
  @include list-unstyled;
175
- margin-left: -5px;
176
-
177
- > li {
178
- display: inline-block;
179
- padding-left: 5px;
180
- padding-right: 5px;
181
- }
182
91
  }
92
+ .list-inline-item {
93
+ display: inline-block;
183
94
 
184
- // Description Lists
185
- dl {
186
- margin-top: 0; // Remove browser default
187
- margin-bottom: $line-height-computed;
188
- }
189
- dt,
190
- dd {
191
- line-height: $line-height-base;
192
- }
193
- dt {
194
- font-weight: bold;
195
- }
196
- dd {
197
- margin-left: 0; // Undo browser default
198
- }
199
-
200
- // Horizontal description lists
201
- //
202
- // Defaults to being stacked without any of the below styles applied, until the
203
- // grid breakpoint is reached (default of ~768px).
204
-
205
- .dl-horizontal {
206
- dd {
207
- @include clearfix; // Clear the floated `dt` if an empty `dd` is present
208
- }
209
-
210
- @media (min-width: $dl-horizontal-breakpoint) {
211
- dt {
212
- float: left;
213
- width: ($dl-horizontal-offset - 20);
214
- clear: left;
215
- text-align: right;
216
- @include text-overflow;
217
- }
218
- dd {
219
- margin-left: $dl-horizontal-offset;
220
- }
95
+ &:not(:last-child) {
96
+ margin-right: $list-inline-padding;
221
97
  }
222
98
  }
223
99
 
224
100
 
101
+ //
225
102
  // Misc
226
- // -------------------------
103
+ //
227
104
 
228
- // Abbreviations and acronyms
229
- abbr[title],
230
- // Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
231
- abbr[data-original-title] {
232
- cursor: help;
233
- border-bottom: 1px dotted $abbr-border-color;
234
- }
105
+ // Builds on `abbr`
235
106
  .initialism {
236
107
  font-size: 90%;
237
- @extend .text-uppercase;
108
+ text-transform: uppercase;
238
109
  }
239
110
 
240
111
  // Blockquotes
241
- blockquote {
242
- padding: ($line-height-computed / 2) $line-height-computed;
243
- margin: 0 0 $line-height-computed;
112
+ .blockquote {
113
+ margin-bottom: $spacer;
244
114
  font-size: $blockquote-font-size;
245
- border-left: 5px solid $blockquote-border-color;
246
-
247
- p,
248
- ul,
249
- ol {
250
- &:last-child {
251
- margin-bottom: 0;
252
- }
253
- }
254
-
255
- // Note: Deprecated small and .small as of v3.1.0
256
- // Context: https://github.com/twbs/bootstrap/issues/11660
257
- footer,
258
- small,
259
- .small {
260
- display: block;
261
- font-size: 80%; // back to default font-size
262
- line-height: $line-height-base;
263
- color: $blockquote-small-color;
264
-
265
- &:before {
266
- content: '\2014 \00A0'; // em dash, nbsp
267
- }
268
- }
269
115
  }
270
116
 
271
- // Opposite alignment of blockquote
272
- //
273
- // Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.
274
- .blockquote-reverse,
275
- blockquote.pull-right {
276
- padding-right: 15px;
277
- padding-left: 0;
278
- border-right: 5px solid $blockquote-border-color;
279
- border-left: 0;
280
- text-align: right;
117
+ .blockquote-footer {
118
+ display: block;
119
+ font-size: $blockquote-small-font-size;
120
+ color: $blockquote-small-color;
281
121
 
282
- // Account for citation
283
- footer,
284
- small,
285
- .small {
286
- &:before { content: ''; }
287
- &:after {
288
- content: '\00A0 \2014'; // nbsp, em dash
289
- }
122
+ &::before {
123
+ content: "\2014\00A0"; // em dash, nbsp
290
124
  }
291
125
  }
292
-
293
- // Addresses
294
- address {
295
- margin-bottom: $line-height-computed;
296
- font-style: normal;
297
- line-height: $line-height-base;
298
- }