linaro-jekyll-theme 1.3 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (339) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +1 -1
  3. data/README.md +19 -50
  4. data/_config.yml +192 -0
  5. data/_data/footer.yml +27 -107
  6. data/_data/nav.yml +72 -61
  7. data/_data/picture.yml +151 -0
  8. data/_data/universal_nav.yml +22 -0
  9. data/_includes/blog/authors_posts.html +37 -0
  10. data/_includes/blog/blog_filler_element.html +21 -0
  11. data/_includes/blog/display_latest_posts.html +119 -0
  12. data/_includes/blog/disqus_comments.html +24 -0
  13. data/_includes/blog/latest_posts.html +11 -0
  14. data/_includes/blog/pagination.html +37 -0
  15. data/_includes/blog/post_search.html +11 -0
  16. data/_includes/blog/post_series.html +28 -0
  17. data/_includes/blog/post_sidebar.html +74 -0
  18. data/_includes/blog/read_time.html +7 -0
  19. data/_includes/components/breadcrumb.html +37 -0
  20. data/_includes/components/carousel_header.html +15 -0
  21. data/_includes/components/cookie_manager.html +72 -0
  22. data/_includes/components/css.html +8 -0
  23. data/_includes/components/github_edit.html +34 -0
  24. data/_includes/components/head.html +65 -0
  25. data/_includes/components/http2.html +57 -0
  26. data/_includes/components/javascript.html +10 -0
  27. data/_includes/components/jumbotron.html +82 -0
  28. data/_includes/components/linaro_404.html +16 -0
  29. data/_includes/components/schema.html +1 -0
  30. data/_includes/components/sidebar.html +55 -0
  31. data/_includes/examples/custom_include.html +10 -0
  32. data/_includes/examples/custom_include_row.html +562 -0
  33. data/_includes/flow/blocks.html +73 -0
  34. data/_includes/flow/button.html +6 -0
  35. data/_includes/flow/buttons.html +5 -0
  36. data/_includes/flow/call-to-action-banner.html +8 -0
  37. data/_includes/flow/collapse.html +21 -0
  38. data/_includes/flow/container_row.html +11 -0
  39. data/_includes/flow/feature_block.html +41 -0
  40. data/_includes/flow/flow_inner.html +29 -0
  41. data/_includes/flow/full_width_row.html +5 -0
  42. data/_includes/flow/image.html +12 -0
  43. data/_includes/flow/members-section.html +24 -0
  44. data/_includes/flow/slider.html +25 -0
  45. data/_includes/flow/slider_row.html +3 -0
  46. data/_includes/flow/tabbed_content.html +21 -0
  47. data/_includes/flow/text.html +3 -0
  48. data/_includes/flow/title.html +3 -0
  49. data/_includes/footer/footer.html +29 -0
  50. data/_includes/image.html +15 -4
  51. data/_includes/js_bundles/app.html +4 -0
  52. data/_includes/js_bundles/vendor.html +13 -0
  53. data/_includes/media.html +4 -4
  54. data/_includes/nav/brand.html +3 -0
  55. data/_includes/nav/nav.html +133 -0
  56. data/_includes/nav/universal_nav.html +36 -0
  57. data/_includes/social_media_icons.html +24 -0
  58. data/_includes/sticky-tab-bar.html +61 -0
  59. data/_includes/youtube.html +74 -6
  60. data/_layouts/author.html +61 -0
  61. data/_layouts/base.html +14 -0
  62. data/_layouts/default.html +2 -18
  63. data/_layouts/flow.html +33 -0
  64. data/_layouts/page.html +5 -0
  65. data/_layouts/post.html +56 -133
  66. data/{_layouts/about.html → _sass/app/blog.scss} +0 -0
  67. data/_sass/app/custom.scss +1 -0
  68. data/_sass/app/overrides.scss +43 -0
  69. data/_sass/app/search.scss +51 -0
  70. data/_sass/blog.scss +3 -0
  71. data/_sass/bootstrap/_alert.scss +51 -0
  72. data/_sass/bootstrap/_badge.scss +47 -0
  73. data/_sass/bootstrap/_breadcrumb.scss +41 -0
  74. data/_sass/bootstrap/_button-group.scss +172 -0
  75. data/_sass/bootstrap/_buttons.scss +75 -100
  76. data/_sass/bootstrap/_card.scss +301 -0
  77. data/_sass/bootstrap/_carousel.scss +161 -195
  78. data/_sass/bootstrap/_close.scss +15 -16
  79. data/_sass/bootstrap/_code.scss +15 -36
  80. data/_sass/bootstrap/_custom-forms.scss +433 -0
  81. data/_sass/bootstrap/_dropdown.scss +166 -0
  82. data/_sass/bootstrap/_forms.scss +213 -497
  83. data/_sass/bootstrap/_functions.scss +86 -0
  84. data/_sass/bootstrap/_grid.scss +29 -61
  85. data/_sass/bootstrap/_images.scss +42 -0
  86. data/_sass/bootstrap/_input-group.scss +173 -0
  87. data/_sass/bootstrap/_jumbotron.scss +9 -47
  88. data/_sass/bootstrap/_list-group.scss +64 -79
  89. data/_sass/bootstrap/_media.scss +3 -61
  90. data/_sass/bootstrap/_mixins.scss +19 -18
  91. data/_sass/bootstrap/_modal.scss +180 -0
  92. data/_sass/bootstrap/_nav.scss +118 -0
  93. data/_sass/bootstrap/_navbar.scss +192 -555
  94. data/_sass/bootstrap/_pagination.scss +59 -70
  95. data/_sass/bootstrap/_popover.scss +183 -0
  96. data/_sass/bootstrap/_print.scss +89 -49
  97. data/_sass/bootstrap/_progress.scss +34 -0
  98. data/_sass/bootstrap/_reboot.scss +483 -0
  99. data/_sass/bootstrap/_root.scss +19 -0
  100. data/_sass/bootstrap/_tables.scss +119 -166
  101. data/_sass/bootstrap/_tooltip.scss +93 -79
  102. data/_sass/bootstrap/_transitions.scss +22 -0
  103. data/_sass/bootstrap/_type.scss +66 -239
  104. data/_sass/bootstrap/_utilities.scss +15 -55
  105. data/_sass/bootstrap/_variables.scss +782 -727
  106. data/_sass/bootstrap/bootstrap-grid.scss +32 -0
  107. data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
  108. data/_sass/bootstrap/bootstrap.scss +42 -0
  109. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  110. data/_sass/bootstrap/mixins/_background-variant.scss +14 -5
  111. data/_sass/bootstrap/mixins/_badge.scss +12 -0
  112. data/_sass/bootstrap/mixins/_border-radius.scss +25 -8
  113. data/_sass/bootstrap/mixins/_box-shadow.scss +5 -0
  114. data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
  115. data/_sass/bootstrap/mixins/_buttons.scss +84 -40
  116. data/_sass/bootstrap/mixins/_caret.scss +66 -0
  117. data/_sass/bootstrap/mixins/_clearfix.scss +3 -18
  118. data/_sass/bootstrap/mixins/_float.scss +11 -0
  119. data/_sass/bootstrap/mixins/_forms.scss +125 -66
  120. data/_sass/bootstrap/mixins/_gradients.scss +17 -30
  121. data/_sass/bootstrap/mixins/_grid-framework.scss +52 -66
  122. data/_sass/bootstrap/mixins/_grid.scss +37 -107
  123. data/_sass/bootstrap/mixins/_hover.scss +37 -0
  124. data/_sass/bootstrap/mixins/_image.scss +18 -15
  125. data/_sass/bootstrap/mixins/_list-group.scss +10 -21
  126. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  127. data/_sass/bootstrap/mixins/_nav-divider.scss +4 -4
  128. data/_sass/bootstrap/mixins/_pagination.scss +10 -12
  129. data/_sass/bootstrap/mixins/_reset-text.scss +7 -8
  130. data/_sass/bootstrap/mixins/_resize.scss +1 -1
  131. data/_sass/bootstrap/mixins/_screen-reader.scss +33 -0
  132. data/_sass/bootstrap/mixins/_size.scss +1 -5
  133. data/_sass/bootstrap/mixins/_table-row.scss +16 -14
  134. data/_sass/bootstrap/mixins/_text-emphasis.scss +7 -5
  135. data/_sass/bootstrap/mixins/_text-hide.scss +13 -0
  136. data/_sass/bootstrap/mixins/{_text-overflow.scss → _text-truncate.scss} +2 -2
  137. data/_sass/bootstrap/mixins/_transition.scss +13 -0
  138. data/_sass/bootstrap/mixins/_visibility.scss +7 -0
  139. data/_sass/bootstrap/utilities/_align.scss +8 -0
  140. data/_sass/bootstrap/utilities/_background.scss +19 -0
  141. data/_sass/bootstrap/utilities/_borders.scss +59 -0
  142. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  143. data/_sass/bootstrap/utilities/_display.scss +38 -0
  144. data/_sass/bootstrap/{_responsive-embed.scss → utilities/_embed.scss} +26 -9
  145. data/_sass/bootstrap/utilities/_flex.scss +51 -0
  146. data/_sass/bootstrap/utilities/_float.scss +9 -0
  147. data/_sass/bootstrap/utilities/_position.scss +37 -0
  148. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  149. data/_sass/bootstrap/utilities/_shadows.scss +6 -0
  150. data/_sass/bootstrap/utilities/_sizing.scss +12 -0
  151. data/_sass/bootstrap/utilities/_spacing.scss +51 -0
  152. data/_sass/bootstrap/utilities/_text.scss +58 -0
  153. data/_sass/bootstrap/utilities/_visibility.scss +11 -0
  154. data/_sass/core.scss +15 -0
  155. data/_sass/core/blog.scss +242 -327
  156. data/_sass/core/bootstrap-multiselect.scss +1 -0
  157. data/_sass/core/breadcrumb.scss +16 -88
  158. data/_sass/core/carousel-header.scss +91 -0
  159. data/_sass/core/carousel-styles.scss +1 -0
  160. data/_sass/core/carousel.scss +188 -28
  161. data/_sass/core/cookies.scss +200 -0
  162. data/_sass/core/error.scss +190 -0
  163. data/_sass/core/featherlight.scss +158 -0
  164. data/_sass/core/flow.scss +94 -0
  165. data/_sass/core/fontello.scss +91 -0
  166. data/_sass/core/footer.scss +60 -132
  167. data/_sass/core/jumbotron.scss +105 -0
  168. data/_sass/core/navbar.scss +241 -0
  169. data/_sass/core/normalize.scss +358 -0
  170. data/_sass/core/syntax.scss +65 -62
  171. data/_sass/core/theme.scss +49 -440
  172. data/assets/css/main.scss +12 -18
  173. data/assets/fonts/fontello/fontello.eot +0 -0
  174. data/assets/fonts/fontello/fontello.svg +94 -0
  175. data/assets/fonts/fontello/fontello.ttf +0 -0
  176. data/assets/fonts/fontello/fontello.woff +0 -0
  177. data/assets/fonts/fontello/fontello.woff2 +0 -0
  178. data/assets/fonts/{lato-regular → lato}/LICENSE.txt +0 -0
  179. data/assets/fonts/{lato-regular → lato}/Lato-regular.eot +0 -0
  180. data/assets/fonts/{lato-regular → lato}/Lato-regular.svg +0 -0
  181. data/assets/fonts/{lato-regular → lato}/Lato-regular.ttf +0 -0
  182. data/assets/fonts/{lato-regular → lato}/Lato-regular.woff +0 -0
  183. data/assets/fonts/{lato-regular → lato}/Lato-regular.woff2 +0 -0
  184. data/assets/images/{Linaro-Logo_standard.svg → Linaro-Logo.svg} +0 -0
  185. data/assets/images/Linaro-Sprinkle.png +0 -0
  186. data/assets/images/Linaro-logo-white.png +0 -0
  187. data/assets/images/{avatar-placeholder.png → avatar-placeholder.jpg} +0 -0
  188. data/assets/images/breadcrumb-image.jpg +0 -0
  189. data/assets/images/clipboard.svg +3 -0
  190. data/{_sass/core/forms.scss → assets/js/app/custom.js} +0 -0
  191. data/assets/js/app/main.js +360 -96
  192. data/assets/js/bootstrap.js.map +1 -0
  193. data/assets/js/popper.min.js.map +1 -0
  194. data/assets/js/vendor/_popper.js +5 -0
  195. data/assets/js/vendor/bootstrap.js +6 -0
  196. data/assets/js/vendor/clipboard.min.js +7 -0
  197. data/assets/js/vendor/featherlight.js +641 -0
  198. data/assets/js/vendor/jquery.cookie.js +120 -0
  199. data/assets/js/vendor/jquery.ihavecookies.js +271 -0
  200. data/assets/js/vendor/jquery.js +10364 -0
  201. data/assets/js/vendor/lazysizes.js +698 -0
  202. data/assets/js/vendor/ls.unveilhooks.js +145 -0
  203. data/assets/js/vendor/owl.carousel.js +3907 -0
  204. data/assets/js/vendor/simple-jekyll-search.min.js +278 -0
  205. data/assets/json/posts.json +28 -0
  206. data/robots.txt +2 -2
  207. metadata +205 -260
  208. data/_data/authors.yml +0 -7
  209. data/_data/company.yml +0 -29
  210. data/_data/linaro.yml +0 -4
  211. data/_data/members_db.yaml +0 -115
  212. data/_data/news.yaml +0 -230
  213. data/_data/sub-nav-stacked.yml +0 -67
  214. data/_data/sub-nav.yml +0 -61
  215. data/_includes/_theme-includes/_blog/pagination.html +0 -39
  216. data/_includes/_theme-includes/_footer/footer.html +0 -85
  217. data/_includes/_theme-includes/_head/head.html +0 -35
  218. data/_includes/_theme-includes/_navigation/nav.html +0 -128
  219. data/_includes/_theme-includes/_navigation/stacked-nav.html +0 -20
  220. data/_includes/_theme-includes/_navigation/tabbed-nav.html +0 -35
  221. data/_includes/_theme-includes/_page-structure/breadcrumb.html +0 -101
  222. data/_includes/_theme-includes/_page-structure/home-hero-shape.html +0 -34
  223. data/_includes/_theme-includes/_page-structure/home-hero.html +0 -23
  224. data/_includes/_theme-includes/_page-structure/shape-divider.html +0 -12
  225. data/_includes/_theme-includes/_script-includes/css.html +0 -40
  226. data/_includes/_theme-includes/_script-includes/google-analytics/script.html +0 -10
  227. data/_includes/_theme-includes/_script-includes/gtm/gtm-noscript.html +0 -5
  228. data/_includes/_theme-includes/_script-includes/gtm/gtm-script.html +0 -9
  229. data/_includes/_theme-includes/_script-includes/javascript.html +0 -50
  230. data/_includes/_theme-includes/_third-party/disqus.html +0 -14
  231. data/_includes/_theme-includes/_third-party/mailchimp-homepage.html +0 -33
  232. data/_includes/_theme-includes/members.html +0 -63
  233. data/_includes/base.html +0 -14
  234. data/_includes/owl-carousel-homepage.html +0 -103
  235. data/_layouts/accessory-display-page.html +0 -88
  236. data/_layouts/blog-breadcrumbless.html +0 -49
  237. data/_layouts/blog.html +0 -56
  238. data/_layouts/contact.html +0 -10
  239. data/_layouts/default-empty.html +0 -11
  240. data/_layouts/default-no-sub-nav.html +0 -15
  241. data/_layouts/default-plain.html +0 -16
  242. data/_layouts/default-stacked-breadcrumb.html +0 -23
  243. data/_layouts/default-stacked.html +0 -22
  244. data/_layouts/empty.html +0 -10
  245. data/_layouts/fluid-no-sub-nav.html +0 -11
  246. data/_layouts/fluid.html +0 -15
  247. data/_layouts/home-shape.html +0 -18
  248. data/_layouts/home.html +0 -18
  249. data/_layouts/product-display-page.html +0 -262
  250. data/_layouts/project-display-page.html +0 -28
  251. data/_layouts/redirect.html +0 -11
  252. data/_sass/_bootstrap-compass.scss +0 -9
  253. data/_sass/_bootstrap-mincer.scss +0 -19
  254. data/_sass/_bootstrap-sprockets.scss +0 -9
  255. data/_sass/_bootstrap.scss +0 -56
  256. data/_sass/bootstrap/_alerts.scss +0 -73
  257. data/_sass/bootstrap/_badges.scss +0 -68
  258. data/_sass/bootstrap/_breadcrumbs.scss +0 -28
  259. data/_sass/bootstrap/_button-groups.scss +0 -244
  260. data/_sass/bootstrap/_component-animations.scss +0 -37
  261. data/_sass/bootstrap/_dropdowns.scss +0 -216
  262. data/_sass/bootstrap/_glyphicons.scss +0 -307
  263. data/_sass/bootstrap/_input-groups.scss +0 -171
  264. data/_sass/bootstrap/_labels.scss +0 -66
  265. data/_sass/bootstrap/_modals.scss +0 -150
  266. data/_sass/bootstrap/_navs.scss +0 -242
  267. data/_sass/bootstrap/_normalize.scss +0 -424
  268. data/_sass/bootstrap/_pager.scss +0 -54
  269. data/_sass/bootstrap/_panels.scss +0 -271
  270. data/_sass/bootstrap/_popovers.scss +0 -131
  271. data/_sass/bootstrap/_progress-bars.scss +0 -87
  272. data/_sass/bootstrap/_responsive-utilities.scss +0 -179
  273. data/_sass/bootstrap/_scaffolding.scss +0 -161
  274. data/_sass/bootstrap/_theme.scss +0 -291
  275. data/_sass/bootstrap/_thumbnails.scss +0 -38
  276. data/_sass/bootstrap/_wells.scss +0 -29
  277. data/_sass/bootstrap/mixins/_alerts.scss +0 -14
  278. data/_sass/bootstrap/mixins/_center-block.scss +0 -7
  279. data/_sass/bootstrap/mixins/_hide-text.scss +0 -21
  280. data/_sass/bootstrap/mixins/_labels.scss +0 -12
  281. data/_sass/bootstrap/mixins/_nav-vertical-align.scss +0 -9
  282. data/_sass/bootstrap/mixins/_opacity.scss +0 -8
  283. data/_sass/bootstrap/mixins/_panels.scss +0 -24
  284. data/_sass/bootstrap/mixins/_progress-bar.scss +0 -10
  285. data/_sass/bootstrap/mixins/_reset-filter.scss +0 -8
  286. data/_sass/bootstrap/mixins/_responsive-visibility.scss +0 -21
  287. data/_sass/bootstrap/mixins/_tab-focus.scss +0 -9
  288. data/_sass/bootstrap/mixins/_vendor-prefixes.scss +0 -222
  289. data/_sass/core/animations.scss +0 -125
  290. data/_sass/core/cookieconsent.scss +0 -42
  291. data/_sass/core/custom.scss +0 -3
  292. data/_sass/core/fa.scss +0 -2336
  293. data/_sass/core/flipclock.scss +0 -435
  294. data/_sass/core/font-awesome.min.scss +0 -4
  295. data/_sass/core/fonts.scss +0 -7
  296. data/_sass/core/homepage.scss +0 -45
  297. data/_sass/core/lightbox.scss +0 -213
  298. data/_sass/core/nav.scss +0 -723
  299. data/_sass/core/old-search.scss +0 -239
  300. data/_sass/core/openhours.scss +0 -51
  301. data/_sass/core/products.scss +0 -221
  302. data/_sass/core/projects.scss +0 -32
  303. data/_sass/core/social-media-icons.scss +0 -71
  304. data/_sass/core/tables.scss +0 -125
  305. data/_sass/core/youtube.scss +0 -65
  306. data/_sass/custom.scss +0 -0
  307. data/assets/fonts/fontawesome-webfont.eot +0 -0
  308. data/assets/fonts/fontawesome-webfont.svg +0 -2671
  309. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  310. data/assets/fonts/fontawesome-webfont.woff +0 -0
  311. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  312. data/assets/fonts/fontello.eot +0 -0
  313. data/assets/fonts/fontello.svg +0 -44
  314. data/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  315. data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  316. data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  317. data/assets/images/96boards-Logo.svg +0 -1
  318. data/assets/images/Linaro-Logo_light.png +0 -0
  319. data/assets/images/Linaro-Sprinkle.svg +0 -13
  320. data/assets/images/background-image.jpg +0 -0
  321. data/assets/images/banner.jpg +0 -0
  322. data/assets/images/css3.png +0 -0
  323. data/assets/images/html5.png +0 -0
  324. data/assets/images/jekyll.svg +0 -1
  325. data/assets/images/js.jpeg +0 -0
  326. data/assets/images/placeholder.png +0 -0
  327. data/assets/js/app/search.js +0 -41
  328. data/assets/js/app/sticky.js +0 -76
  329. data/assets/js/app/tables.js +0 -8
  330. data/assets/js/vendor/bootstrap.min.js +0 -7
  331. data/assets/js/vendor/cognito-forms.js +0 -150
  332. data/assets/js/vendor/cookieconsent.min.js +0 -8
  333. data/assets/js/vendor/flipclock.min.js +0 -35
  334. data/assets/js/vendor/jquery.min.js +0 -4
  335. data/assets/js/vendor/lazysizes.min.js +0 -2
  336. data/assets/js/vendor/lightbox.min.js +0 -14
  337. data/assets/js/vendor/loadCSS.js +0 -79
  338. data/assets/js/vendor/mc-validate.js +0 -14
  339. data/assets/js/vendor/owl.carousel.min.js +0 -27
@@ -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: 80%; // back to default 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
- }
@@ -1,55 +1,15 @@
1
- //
2
- // Utility classes
3
- // --------------------------------------------------
4
-
5
-
6
- // Floats
7
- // -------------------------
8
-
9
- .clearfix {
10
- @include clearfix;
11
- }
12
- .center-block {
13
- @include center-block;
14
- }
15
- .pull-right {
16
- float: right !important;
17
- }
18
- .pull-left {
19
- float: left !important;
20
- }
21
-
22
-
23
- // Toggling content
24
- // -------------------------
25
-
26
- // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
27
- .hide {
28
- display: none !important;
29
- }
30
- .show {
31
- display: block !important;
32
- }
33
- .invisible {
34
- visibility: hidden;
35
- }
36
- .text-hide {
37
- @include text-hide;
38
- }
39
-
40
-
41
- // Hide from screenreaders and browsers
42
- //
43
- // Credit: HTML5 Boilerplate
44
-
45
- .hidden {
46
- display: none !important;
47
- }
48
-
49
-
50
- // For Affix plugin
51
- // -------------------------
52
-
53
- .affix {
54
- position: fixed;
55
- }
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/position";
10
+ @import "utilities/screenreaders";
11
+ @import "utilities/shadows";
12
+ @import "utilities/sizing";
13
+ @import "utilities/spacing";
14
+ @import "utilities/text";
15
+ @import "utilities/visibility";