inkstream 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +21 -0
  3. data/README.md +93 -0
  4. data/_config.yml +122 -0
  5. data/_includes/button.html +4 -0
  6. data/_includes/icon.html +1 -0
  7. data/_includes/nav-default.html +23 -0
  8. data/_includes/nav-header.html +25 -0
  9. data/_includes/post-list.html +59 -0
  10. data/_includes/post-meta.html +0 -0
  11. data/_includes/post-pagination.html +29 -0
  12. data/_includes/promo-section.html +12 -0
  13. data/_includes/site-before-end.html +1 -0
  14. data/_includes/site-before-start.html +1 -0
  15. data/_includes/site-favicons.html +7 -0
  16. data/_includes/site-fonts.html +13 -0
  17. data/_includes/site-footer-default.html +17 -0
  18. data/_includes/site-footer.html +12 -0
  19. data/_includes/site-header.html +46 -0
  20. data/_includes/site-styles.html +6 -0
  21. data/_layouts/blog.html +24 -0
  22. data/_layouts/default.html +62 -0
  23. data/_layouts/page.html +35 -0
  24. data/_layouts/post.html +201 -0
  25. data/assets/css/styles.css +11167 -0
  26. data/assets/images/about-me.jpg +0 -0
  27. data/assets/images/blog/blog-post-banner.jpg +0 -0
  28. data/assets/images/blog/blog-post-thumb-1.jpg +0 -0
  29. data/assets/images/blog/blog-post-thumb-10.jpg +0 -0
  30. data/assets/images/blog/blog-post-thumb-11.jpg +0 -0
  31. data/assets/images/blog/blog-post-thumb-12.jpg +0 -0
  32. data/assets/images/blog/blog-post-thumb-2.jpg +0 -0
  33. data/assets/images/blog/blog-post-thumb-3.jpg +0 -0
  34. data/assets/images/blog/blog-post-thumb-4.jpg +0 -0
  35. data/assets/images/blog/blog-post-thumb-5.jpg +0 -0
  36. data/assets/images/blog/blog-post-thumb-6.jpg +0 -0
  37. data/assets/images/blog/blog-post-thumb-7.jpg +0 -0
  38. data/assets/images/blog/blog-post-thumb-8.jpg +0 -0
  39. data/assets/images/blog/blog-post-thumb-9.jpg +0 -0
  40. data/assets/images/posts/default-post-img.jpg +0 -0
  41. data/assets/images/posts/text-syntax.jpg +0 -0
  42. data/assets/images/posts/welcome.jpg +0 -0
  43. data/assets/images/profile.png +0 -0
  44. data/assets/images/promo-banner.jpg +0 -0
  45. data/assets/js/blog.js +9 -0
  46. data/assets/js/demo/style-switcher.js +45 -0
  47. data/assets/plugins/bootstrap/js/bootstrap.min.js +7 -0
  48. data/assets/plugins/jquery-3.3.1.min.js +2 -0
  49. data/assets/plugins/popper.min.js +5 -0
  50. data/assets/scss/bootstrap/js/dist/alert.js +199 -0
  51. data/assets/scss/bootstrap/js/dist/alert.js.map +1 -0
  52. data/assets/scss/bootstrap/js/dist/button.js +187 -0
  53. data/assets/scss/bootstrap/js/dist/button.js.map +1 -0
  54. data/assets/scss/bootstrap/js/dist/carousel.js +668 -0
  55. data/assets/scss/bootstrap/js/dist/carousel.js.map +1 -0
  56. data/assets/scss/bootstrap/js/dist/collapse.js +428 -0
  57. data/assets/scss/bootstrap/js/dist/collapse.js.map +1 -0
  58. data/assets/scss/bootstrap/js/dist/dropdown.js +595 -0
  59. data/assets/scss/bootstrap/js/dist/dropdown.js.map +1 -0
  60. data/assets/scss/bootstrap/js/dist/index.js +23 -0
  61. data/assets/scss/bootstrap/js/dist/index.js.map +1 -0
  62. data/assets/scss/bootstrap/js/dist/modal.js +650 -0
  63. data/assets/scss/bootstrap/js/dist/modal.js.map +1 -0
  64. data/assets/scss/bootstrap/js/dist/popover.js +261 -0
  65. data/assets/scss/bootstrap/js/dist/popover.js.map +1 -0
  66. data/assets/scss/bootstrap/js/dist/scrollspy.js +375 -0
  67. data/assets/scss/bootstrap/js/dist/scrollspy.js.map +1 -0
  68. data/assets/scss/bootstrap/js/dist/tab.js +269 -0
  69. data/assets/scss/bootstrap/js/dist/tab.js.map +1 -0
  70. data/assets/scss/bootstrap/js/dist/toast.js +283 -0
  71. data/assets/scss/bootstrap/js/dist/toast.js.map +1 -0
  72. data/assets/scss/bootstrap/js/dist/tooltip.js +760 -0
  73. data/assets/scss/bootstrap/js/dist/tooltip.js.map +1 -0
  74. data/assets/scss/bootstrap/js/dist/util.js +172 -0
  75. data/assets/scss/bootstrap/js/dist/util.js.map +1 -0
  76. data/assets/scss/bootstrap/js/src/alert.js +179 -0
  77. data/assets/scss/bootstrap/js/src/button.js +171 -0
  78. data/assets/scss/bootstrap/js/src/carousel.js +606 -0
  79. data/assets/scss/bootstrap/js/src/collapse.js +402 -0
  80. data/assets/scss/bootstrap/js/src/dropdown.js +545 -0
  81. data/assets/scss/bootstrap/js/src/index.js +52 -0
  82. data/assets/scss/bootstrap/js/src/modal.js +594 -0
  83. data/assets/scss/bootstrap/js/src/popover.js +184 -0
  84. data/assets/scss/bootstrap/js/src/scrollspy.js +326 -0
  85. data/assets/scss/bootstrap/js/src/tab.js +260 -0
  86. data/assets/scss/bootstrap/js/src/toast.js +227 -0
  87. data/assets/scss/bootstrap/js/src/tooltip.js +752 -0
  88. data/assets/scss/bootstrap/js/src/util.js +177 -0
  89. data/assets/scss/bootstrap/js/tests/README.md +69 -0
  90. data/assets/scss/bootstrap/js/tests/browsers.js +82 -0
  91. data/assets/scss/bootstrap/js/tests/index.html +133 -0
  92. data/assets/scss/bootstrap/js/tests/integration/bundle.js +8 -0
  93. data/assets/scss/bootstrap/js/tests/integration/index.html +66 -0
  94. data/assets/scss/bootstrap/js/tests/integration/rollup.bundle.js +20 -0
  95. data/assets/scss/bootstrap/js/tests/karma.conf.js +143 -0
  96. data/assets/scss/bootstrap/js/tests/unit/.eslintrc.json +40 -0
  97. data/assets/scss/bootstrap/js/tests/unit/alert.js +123 -0
  98. data/assets/scss/bootstrap/js/tests/unit/button.js +222 -0
  99. data/assets/scss/bootstrap/js/tests/unit/carousel.js +1333 -0
  100. data/assets/scss/bootstrap/js/tests/unit/collapse.js +892 -0
  101. data/assets/scss/bootstrap/js/tests/unit/dropdown.js +1419 -0
  102. data/assets/scss/bootstrap/js/tests/unit/modal.js +815 -0
  103. data/assets/scss/bootstrap/js/tests/unit/popover.js +471 -0
  104. data/assets/scss/bootstrap/js/tests/unit/scrollspy.js +728 -0
  105. data/assets/scss/bootstrap/js/tests/unit/tab.js +518 -0
  106. data/assets/scss/bootstrap/js/tests/unit/toast.js +259 -0
  107. data/assets/scss/bootstrap/js/tests/unit/tooltip.js +1109 -0
  108. data/assets/scss/bootstrap/js/tests/unit/util.js +163 -0
  109. data/assets/scss/bootstrap/js/tests/visual/alert.html +58 -0
  110. data/assets/scss/bootstrap/js/tests/visual/button.html +51 -0
  111. data/assets/scss/bootstrap/js/tests/visual/carousel.html +66 -0
  112. data/assets/scss/bootstrap/js/tests/visual/collapse.html +78 -0
  113. data/assets/scss/bootstrap/js/tests/visual/dropdown.html +212 -0
  114. data/assets/scss/bootstrap/js/tests/visual/modal.html +268 -0
  115. data/assets/scss/bootstrap/js/tests/visual/popover.html +46 -0
  116. data/assets/scss/bootstrap/js/tests/visual/scrollspy.html +95 -0
  117. data/assets/scss/bootstrap/js/tests/visual/tab.html +234 -0
  118. data/assets/scss/bootstrap/js/tests/visual/toast.html +72 -0
  119. data/assets/scss/bootstrap/js/tests/visual/tooltip.html +106 -0
  120. data/assets/scss/bootstrap/scss/_alert.scss +51 -0
  121. data/assets/scss/bootstrap/scss/_badge.scss +54 -0
  122. data/assets/scss/bootstrap/scss/_breadcrumb.scss +41 -0
  123. data/assets/scss/bootstrap/scss/_button-group.scss +163 -0
  124. data/assets/scss/bootstrap/scss/_buttons.scss +137 -0
  125. data/assets/scss/bootstrap/scss/_card.scss +289 -0
  126. data/assets/scss/bootstrap/scss/_carousel.scss +197 -0
  127. data/assets/scss/bootstrap/scss/_close.scss +41 -0
  128. data/assets/scss/bootstrap/scss/_code.scss +48 -0
  129. data/assets/scss/bootstrap/scss/_custom-forms.scss +507 -0
  130. data/assets/scss/bootstrap/scss/_dropdown.scss +191 -0
  131. data/assets/scss/bootstrap/scss/_forms.scss +330 -0
  132. data/assets/scss/bootstrap/scss/_functions.scss +86 -0
  133. data/assets/scss/bootstrap/scss/_grid.scss +52 -0
  134. data/assets/scss/bootstrap/scss/_images.scss +42 -0
  135. data/assets/scss/bootstrap/scss/_input-group.scss +193 -0
  136. data/assets/scss/bootstrap/scss/_jumbotron.scss +17 -0
  137. data/assets/scss/bootstrap/scss/_list-group.scss +149 -0
  138. data/assets/scss/bootstrap/scss/_media.scss +8 -0
  139. data/assets/scss/bootstrap/scss/_mixins.scss +47 -0
  140. data/assets/scss/bootstrap/scss/_modal.scss +229 -0
  141. data/assets/scss/bootstrap/scss/_nav.scss +120 -0
  142. data/assets/scss/bootstrap/scss/_navbar.scss +294 -0
  143. data/assets/scss/bootstrap/scss/_pagination.scss +73 -0
  144. data/assets/scss/bootstrap/scss/_popover.scss +171 -0
  145. data/assets/scss/bootstrap/scss/_print.scss +141 -0
  146. data/assets/scss/bootstrap/scss/_progress.scss +43 -0
  147. data/assets/scss/bootstrap/scss/_reboot.scss +483 -0
  148. data/assets/scss/bootstrap/scss/_root.scss +19 -0
  149. data/assets/scss/bootstrap/scss/_spinners.scss +55 -0
  150. data/assets/scss/bootstrap/scss/_tables.scss +185 -0
  151. data/assets/scss/bootstrap/scss/_toasts.scss +44 -0
  152. data/assets/scss/bootstrap/scss/_tooltip.scss +115 -0
  153. data/assets/scss/bootstrap/scss/_transitions.scss +20 -0
  154. data/assets/scss/bootstrap/scss/_type.scss +125 -0
  155. data/assets/scss/bootstrap/scss/_utilities.scss +17 -0
  156. data/assets/scss/bootstrap/scss/_variables.scss +1123 -0
  157. data/assets/scss/bootstrap/scss/bootstrap-grid.scss +29 -0
  158. data/assets/scss/bootstrap/scss/bootstrap-reboot.scss +12 -0
  159. data/assets/scss/bootstrap/scss/bootstrap.scss +44 -0
  160. data/assets/scss/bootstrap/scss/mixins/_alert.scss +13 -0
  161. data/assets/scss/bootstrap/scss/mixins/_background-variant.scss +21 -0
  162. data/assets/scss/bootstrap/scss/mixins/_badge.scss +17 -0
  163. data/assets/scss/bootstrap/scss/mixins/_border-radius.scss +63 -0
  164. data/assets/scss/bootstrap/scss/mixins/_box-shadow.scss +20 -0
  165. data/assets/scss/bootstrap/scss/mixins/_breakpoints.scss +123 -0
  166. data/assets/scss/bootstrap/scss/mixins/_buttons.scss +107 -0
  167. data/assets/scss/bootstrap/scss/mixins/_caret.scss +62 -0
  168. data/assets/scss/bootstrap/scss/mixins/_clearfix.scss +7 -0
  169. data/assets/scss/bootstrap/scss/mixins/_deprecate.scss +10 -0
  170. data/assets/scss/bootstrap/scss/mixins/_float.scss +14 -0
  171. data/assets/scss/bootstrap/scss/mixins/_forms.scss +192 -0
  172. data/assets/scss/bootstrap/scss/mixins/_gradients.scss +45 -0
  173. data/assets/scss/bootstrap/scss/mixins/_grid-framework.scss +66 -0
  174. data/assets/scss/bootstrap/scss/mixins/_grid.scss +51 -0
  175. data/assets/scss/bootstrap/scss/mixins/_hover.scss +37 -0
  176. data/assets/scss/bootstrap/scss/mixins/_image.scss +36 -0
  177. data/assets/scss/bootstrap/scss/mixins/_list-group.scss +21 -0
  178. data/assets/scss/bootstrap/scss/mixins/_lists.scss +7 -0
  179. data/assets/scss/bootstrap/scss/mixins/_nav-divider.scss +10 -0
  180. data/assets/scss/bootstrap/scss/mixins/_pagination.scss +22 -0
  181. data/assets/scss/bootstrap/scss/mixins/_reset-text.scss +17 -0
  182. data/assets/scss/bootstrap/scss/mixins/_resize.scss +6 -0
  183. data/assets/scss/bootstrap/scss/mixins/_screen-reader.scss +33 -0
  184. data/assets/scss/bootstrap/scss/mixins/_size.scss +7 -0
  185. data/assets/scss/bootstrap/scss/mixins/_table-row.scss +39 -0
  186. data/assets/scss/bootstrap/scss/mixins/_text-emphasis.scss +16 -0
  187. data/assets/scss/bootstrap/scss/mixins/_text-hide.scss +11 -0
  188. data/assets/scss/bootstrap/scss/mixins/_text-truncate.scss +8 -0
  189. data/assets/scss/bootstrap/scss/mixins/_transition.scss +16 -0
  190. data/assets/scss/bootstrap/scss/mixins/_visibility.scss +8 -0
  191. data/assets/scss/bootstrap/scss/utilities/_align.scss +8 -0
  192. data/assets/scss/bootstrap/scss/utilities/_background.scss +19 -0
  193. data/assets/scss/bootstrap/scss/utilities/_borders.scss +75 -0
  194. data/assets/scss/bootstrap/scss/utilities/_clearfix.scss +3 -0
  195. data/assets/scss/bootstrap/scss/utilities/_display.scss +26 -0
  196. data/assets/scss/bootstrap/scss/utilities/_embed.scss +39 -0
  197. data/assets/scss/bootstrap/scss/utilities/_flex.scss +51 -0
  198. data/assets/scss/bootstrap/scss/utilities/_float.scss +11 -0
  199. data/assets/scss/bootstrap/scss/utilities/_overflow.scss +5 -0
  200. data/assets/scss/bootstrap/scss/utilities/_position.scss +32 -0
  201. data/assets/scss/bootstrap/scss/utilities/_screenreaders.scss +11 -0
  202. data/assets/scss/bootstrap/scss/utilities/_shadows.scss +6 -0
  203. data/assets/scss/bootstrap/scss/utilities/_sizing.scss +20 -0
  204. data/assets/scss/bootstrap/scss/utilities/_spacing.scss +73 -0
  205. data/assets/scss/bootstrap/scss/utilities/_stretched-link.scss +19 -0
  206. data/assets/scss/bootstrap/scss/utilities/_text.scss +72 -0
  207. data/assets/scss/bootstrap/scss/utilities/_visibility.scss +13 -0
  208. data/assets/scss/bootstrap/scss/vendor/_rfs.scss +212 -0
  209. data/assets/scss/theme/_about.scss +28 -0
  210. data/assets/scss/theme/_base.scss +207 -0
  211. data/assets/scss/theme/_blog.scss +140 -0
  212. data/assets/scss/theme/_demo.scss +153 -0
  213. data/assets/scss/theme/_mixins.scss +34 -0
  214. data/assets/scss/theme/_responsive.scss +88 -0
  215. data/assets/scss/theme/styles.scss +14 -0
  216. data/assets/scss/theme-8.scss +41 -0
  217. data/assets/styles.scss +6 -0
  218. metadata +219 -3
@@ -0,0 +1,185 @@
1
+ //
2
+ // Basic Bootstrap table
3
+ //
4
+
5
+ .table {
6
+ width: 100%;
7
+ margin-bottom: $spacer;
8
+ color: $table-color;
9
+ background-color: $table-bg; // Reset for nesting within parents with `background-color`.
10
+
11
+ th,
12
+ td {
13
+ padding: $table-cell-padding;
14
+ vertical-align: top;
15
+ border-top: $table-border-width solid $table-border-color;
16
+ }
17
+
18
+ thead th {
19
+ vertical-align: bottom;
20
+ border-bottom: (2 * $table-border-width) solid $table-border-color;
21
+ }
22
+
23
+ tbody + tbody {
24
+ border-top: (2 * $table-border-width) solid $table-border-color;
25
+ }
26
+ }
27
+
28
+
29
+ //
30
+ // Condensed table w/ half padding
31
+ //
32
+
33
+ .table-sm {
34
+ th,
35
+ td {
36
+ padding: $table-cell-padding-sm;
37
+ }
38
+ }
39
+
40
+
41
+ // Border versions
42
+ //
43
+ // Add or remove borders all around the table and between all the columns.
44
+
45
+ .table-bordered {
46
+ border: $table-border-width solid $table-border-color;
47
+
48
+ th,
49
+ td {
50
+ border: $table-border-width solid $table-border-color;
51
+ }
52
+
53
+ thead {
54
+ th,
55
+ td {
56
+ border-bottom-width: 2 * $table-border-width;
57
+ }
58
+ }
59
+ }
60
+
61
+ .table-borderless {
62
+ th,
63
+ td,
64
+ thead th,
65
+ tbody + tbody {
66
+ border: 0;
67
+ }
68
+ }
69
+
70
+ // Zebra-striping
71
+ //
72
+ // Default zebra-stripe styles (alternating gray and transparent backgrounds)
73
+
74
+ .table-striped {
75
+ tbody tr:nth-of-type(#{$table-striped-order}) {
76
+ background-color: $table-accent-bg;
77
+ }
78
+ }
79
+
80
+
81
+ // Hover effect
82
+ //
83
+ // Placed here since it has to come after the potential zebra striping
84
+
85
+ .table-hover {
86
+ tbody tr {
87
+ @include hover {
88
+ color: $table-hover-color;
89
+ background-color: $table-hover-bg;
90
+ }
91
+ }
92
+ }
93
+
94
+
95
+ // Table backgrounds
96
+ //
97
+ // Exact selectors below required to override `.table-striped` and prevent
98
+ // inheritance to nested tables.
99
+
100
+ @each $color, $value in $theme-colors {
101
+ @include table-row-variant($color, theme-color-level($color, $table-bg-level), theme-color-level($color, $table-border-level));
102
+ }
103
+
104
+ @include table-row-variant(active, $table-active-bg);
105
+
106
+
107
+ // Dark styles
108
+ //
109
+ // Same table markup, but inverted color scheme: dark background and light text.
110
+
111
+ // stylelint-disable-next-line no-duplicate-selectors
112
+ .table {
113
+ .thead-dark {
114
+ th {
115
+ color: $table-dark-color;
116
+ background-color: $table-dark-bg;
117
+ border-color: $table-dark-border-color;
118
+ }
119
+ }
120
+
121
+ .thead-light {
122
+ th {
123
+ color: $table-head-color;
124
+ background-color: $table-head-bg;
125
+ border-color: $table-border-color;
126
+ }
127
+ }
128
+ }
129
+
130
+ .table-dark {
131
+ color: $table-dark-color;
132
+ background-color: $table-dark-bg;
133
+
134
+ th,
135
+ td,
136
+ thead th {
137
+ border-color: $table-dark-border-color;
138
+ }
139
+
140
+ &.table-bordered {
141
+ border: 0;
142
+ }
143
+
144
+ &.table-striped {
145
+ tbody tr:nth-of-type(odd) {
146
+ background-color: $table-dark-accent-bg;
147
+ }
148
+ }
149
+
150
+ &.table-hover {
151
+ tbody tr {
152
+ @include hover {
153
+ color: $table-dark-hover-color;
154
+ background-color: $table-dark-hover-bg;
155
+ }
156
+ }
157
+ }
158
+ }
159
+
160
+
161
+ // Responsive tables
162
+ //
163
+ // Generate series of `.table-responsive-*` classes for configuring the screen
164
+ // size of where your table will overflow.
165
+
166
+ .table-responsive {
167
+ @each $breakpoint in map-keys($grid-breakpoints) {
168
+ $next: breakpoint-next($breakpoint, $grid-breakpoints);
169
+ $infix: breakpoint-infix($next, $grid-breakpoints);
170
+
171
+ &#{$infix} {
172
+ @include media-breakpoint-down($breakpoint) {
173
+ display: block;
174
+ width: 100%;
175
+ overflow-x: auto;
176
+ -webkit-overflow-scrolling: touch;
177
+
178
+ // Prevent double border on horizontal scroll due to use of `display: block;`
179
+ > .table-bordered {
180
+ border: 0;
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
@@ -0,0 +1,44 @@
1
+ .toast {
2
+ max-width: $toast-max-width;
3
+ overflow: hidden; // cheap rounded corners on nested items
4
+ @include font-size($toast-font-size);
5
+ color: $toast-color;
6
+ background-color: $toast-background-color;
7
+ background-clip: padding-box;
8
+ border: $toast-border-width solid $toast-border-color;
9
+ box-shadow: $toast-box-shadow;
10
+ backdrop-filter: blur(10px);
11
+ opacity: 0;
12
+ @include border-radius($toast-border-radius);
13
+
14
+ &:not(:last-child) {
15
+ margin-bottom: $toast-padding-x;
16
+ }
17
+
18
+ &.showing {
19
+ opacity: 1;
20
+ }
21
+
22
+ &.show {
23
+ display: block;
24
+ opacity: 1;
25
+ }
26
+
27
+ &.hide {
28
+ display: none;
29
+ }
30
+ }
31
+
32
+ .toast-header {
33
+ display: flex;
34
+ align-items: center;
35
+ padding: $toast-padding-y $toast-padding-x;
36
+ color: $toast-header-color;
37
+ background-color: $toast-header-background-color;
38
+ background-clip: padding-box;
39
+ border-bottom: $toast-border-width solid $toast-header-border-color;
40
+ }
41
+
42
+ .toast-body {
43
+ padding: $toast-padding-x; // apply to both vertical and horizontal
44
+ }
@@ -0,0 +1,115 @@
1
+ // Base class
2
+ .tooltip {
3
+ position: absolute;
4
+ z-index: $zindex-tooltip;
5
+ display: block;
6
+ margin: $tooltip-margin;
7
+ // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
8
+ // So reset our font and text properties to avoid inheriting weird values.
9
+ @include reset-text();
10
+ @include 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;
14
+
15
+ &.show { opacity: $tooltip-opacity; }
16
+
17
+ .arrow {
18
+ position: absolute;
19
+ display: block;
20
+ width: $tooltip-arrow-width;
21
+ height: $tooltip-arrow-height;
22
+
23
+ &::before {
24
+ position: absolute;
25
+ content: "";
26
+ border-color: transparent;
27
+ border-style: solid;
28
+ }
29
+ }
30
+ }
31
+
32
+ .bs-tooltip-top {
33
+ padding: $tooltip-arrow-height 0;
34
+
35
+ .arrow {
36
+ bottom: 0;
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
+ }
43
+ }
44
+ }
45
+
46
+ .bs-tooltip-right {
47
+ padding: 0 $tooltip-arrow-height;
48
+
49
+ .arrow {
50
+ left: 0;
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
+ }
59
+ }
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 {
80
+ right: 0;
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
+ }
89
+ }
90
+ }
91
+
92
+ .bs-tooltip-auto {
93
+ &[x-placement^="top"] {
94
+ @extend .bs-tooltip-top;
95
+ }
96
+ &[x-placement^="right"] {
97
+ @extend .bs-tooltip-right;
98
+ }
99
+ &[x-placement^="bottom"] {
100
+ @extend .bs-tooltip-bottom;
101
+ }
102
+ &[x-placement^="left"] {
103
+ @extend .bs-tooltip-left;
104
+ }
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,20 @@
1
+ .fade {
2
+ @include transition($transition-fade);
3
+
4
+ &:not(.show) {
5
+ opacity: 0;
6
+ }
7
+ }
8
+
9
+ .collapse {
10
+ &:not(.show) {
11
+ display: none;
12
+ }
13
+ }
14
+
15
+ .collapsing {
16
+ position: relative;
17
+ height: 0;
18
+ overflow: hidden;
19
+ @include transition($transition-collapse);
20
+ }
@@ -0,0 +1,125 @@
1
+ // stylelint-disable declaration-no-important, selector-list-comma-newline-after
2
+
3
+ //
4
+ // Headings
5
+ //
6
+
7
+ h1, h2, h3, h4, h5, h6,
8
+ .h1, .h2, .h3, .h4, .h5, .h6 {
9
+ margin-bottom: $headings-margin-bottom;
10
+ font-family: $headings-font-family;
11
+ font-weight: $headings-font-weight;
12
+ line-height: $headings-line-height;
13
+ color: $headings-color;
14
+ }
15
+
16
+ h1, .h1 { @include font-size($h1-font-size); }
17
+ h2, .h2 { @include font-size($h2-font-size); }
18
+ h3, .h3 { @include font-size($h3-font-size); }
19
+ h4, .h4 { @include font-size($h4-font-size); }
20
+ h5, .h5 { @include font-size($h5-font-size); }
21
+ h6, .h6 { @include font-size($h6-font-size); }
22
+
23
+ .lead {
24
+ @include font-size($lead-font-size);
25
+ font-weight: $lead-font-weight;
26
+ }
27
+
28
+ // Type display classes
29
+ .display-1 {
30
+ @include font-size($display1-size);
31
+ font-weight: $display1-weight;
32
+ line-height: $display-line-height;
33
+ }
34
+ .display-2 {
35
+ @include font-size($display2-size);
36
+ font-weight: $display2-weight;
37
+ line-height: $display-line-height;
38
+ }
39
+ .display-3 {
40
+ @include font-size($display3-size);
41
+ font-weight: $display3-weight;
42
+ line-height: $display-line-height;
43
+ }
44
+ .display-4 {
45
+ @include font-size($display4-size);
46
+ font-weight: $display4-weight;
47
+ line-height: $display-line-height;
48
+ }
49
+
50
+
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;
60
+ }
61
+
62
+
63
+ //
64
+ // Emphasis
65
+ //
66
+
67
+ small,
68
+ .small {
69
+ @include font-size($small-font-size);
70
+ font-weight: $font-weight-normal;
71
+ }
72
+
73
+ mark,
74
+ .mark {
75
+ padding: $mark-padding;
76
+ background-color: $mark-bg;
77
+ }
78
+
79
+
80
+ //
81
+ // Lists
82
+ //
83
+
84
+ .list-unstyled {
85
+ @include list-unstyled;
86
+ }
87
+
88
+ // Inline turns list items into inline-block
89
+ .list-inline {
90
+ @include list-unstyled;
91
+ }
92
+ .list-inline-item {
93
+ display: inline-block;
94
+
95
+ &:not(:last-child) {
96
+ margin-right: $list-inline-padding;
97
+ }
98
+ }
99
+
100
+
101
+ //
102
+ // Misc
103
+ //
104
+
105
+ // Builds on `abbr`
106
+ .initialism {
107
+ @include font-size(90%);
108
+ text-transform: uppercase;
109
+ }
110
+
111
+ // Blockquotes
112
+ .blockquote {
113
+ margin-bottom: $spacer;
114
+ @include font-size($blockquote-font-size);
115
+ }
116
+
117
+ .blockquote-footer {
118
+ display: block;
119
+ @include font-size($blockquote-small-font-size);
120
+ color: $blockquote-small-color;
121
+
122
+ &::before {
123
+ content: "\2014\00A0"; // em dash, nbsp
124
+ }
125
+ }
@@ -0,0 +1,17 @@
1
+ @import "utilities/align";
2
+ @import "utilities/background";
3
+ @import "utilities/borders";
4
+ @import "utilities/clearfix";
5
+ @import "utilities/display";
6
+ @import "utilities/embed";
7
+ @import "utilities/flex";
8
+ @import "utilities/float";
9
+ @import "utilities/overflow";
10
+ @import "utilities/position";
11
+ @import "utilities/screenreaders";
12
+ @import "utilities/shadows";
13
+ @import "utilities/sizing";
14
+ @import "utilities/stretched-link";
15
+ @import "utilities/spacing";
16
+ @import "utilities/text";
17
+ @import "utilities/visibility";