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
@@ -1,171 +0,0 @@
1
- //
2
- // Input groups
3
- // --------------------------------------------------
4
-
5
- // Base styles
6
- // -------------------------
7
- .input-group {
8
- position: relative; // For dropdowns
9
- display: table;
10
- border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
11
-
12
- // Undo padding and float of grid classes
13
- &[class*="col-"] {
14
- float: none;
15
- padding-left: 0;
16
- padding-right: 0;
17
- }
18
-
19
- .form-control {
20
- // Ensure that the input is always above the *appended* addon button for
21
- // proper border colors.
22
- position: relative;
23
- z-index: 2;
24
-
25
- // IE9 fubars the placeholder attribute in text inputs and the arrows on
26
- // select elements in input groups. To fix it, we float the input. Details:
27
- // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
28
- float: left;
29
-
30
- width: 100%;
31
- margin-bottom: 0;
32
-
33
- &:focus {
34
- z-index: 3;
35
- }
36
- }
37
- }
38
-
39
- // Sizing options
40
- //
41
- // Remix the default form control sizing classes into new ones for easier
42
- // manipulation.
43
-
44
- .input-group-lg > .form-control,
45
- .input-group-lg > .input-group-addon,
46
- .input-group-lg > .input-group-btn > .btn {
47
- @extend .input-lg;
48
- }
49
- .input-group-sm > .form-control,
50
- .input-group-sm > .input-group-addon,
51
- .input-group-sm > .input-group-btn > .btn {
52
- @extend .input-sm;
53
- }
54
-
55
-
56
- // Display as table-cell
57
- // -------------------------
58
- .input-group-addon,
59
- .input-group-btn,
60
- .input-group .form-control {
61
- display: table-cell;
62
-
63
- &:not(:first-child):not(:last-child) {
64
- border-radius: 0;
65
- }
66
- }
67
- // Addon and addon wrapper for buttons
68
- .input-group-addon,
69
- .input-group-btn {
70
- width: 1%;
71
- white-space: nowrap;
72
- vertical-align: middle; // Match the inputs
73
- }
74
-
75
- // Text input groups
76
- // -------------------------
77
- .input-group-addon {
78
- padding: $padding-base-vertical $padding-base-horizontal;
79
- font-size: $font-size-base;
80
- font-weight: normal;
81
- line-height: 1;
82
- color: $input-color;
83
- text-align: center;
84
- background-color: $input-group-addon-bg;
85
- border: 1px solid $input-group-addon-border-color;
86
- border-radius: $input-border-radius;
87
-
88
- // Sizing
89
- &.input-sm {
90
- padding: $padding-small-vertical $padding-small-horizontal;
91
- font-size: $font-size-small;
92
- border-radius: $input-border-radius-small;
93
- }
94
- &.input-lg {
95
- padding: $padding-large-vertical $padding-large-horizontal;
96
- font-size: $font-size-large;
97
- border-radius: $input-border-radius-large;
98
- }
99
-
100
- // Nuke default margins from checkboxes and radios to vertically center within.
101
- input[type="radio"],
102
- input[type="checkbox"] {
103
- margin-top: 0;
104
- }
105
- }
106
-
107
- // Reset rounded corners
108
- .input-group .form-control:first-child,
109
- .input-group-addon:first-child,
110
- .input-group-btn:first-child > .btn,
111
- .input-group-btn:first-child > .btn-group > .btn,
112
- .input-group-btn:first-child > .dropdown-toggle,
113
- .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
114
- .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
115
- @include border-right-radius(0);
116
- }
117
- .input-group-addon:first-child {
118
- border-right: 0;
119
- }
120
- .input-group .form-control:last-child,
121
- .input-group-addon:last-child,
122
- .input-group-btn:last-child > .btn,
123
- .input-group-btn:last-child > .btn-group > .btn,
124
- .input-group-btn:last-child > .dropdown-toggle,
125
- .input-group-btn:first-child > .btn:not(:first-child),
126
- .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
127
- @include border-left-radius(0);
128
- }
129
- .input-group-addon:last-child {
130
- border-left: 0;
131
- }
132
-
133
- // Button input groups
134
- // -------------------------
135
- .input-group-btn {
136
- position: relative;
137
- // Jankily prevent input button groups from wrapping with `white-space` and
138
- // `font-size` in combination with `inline-block` on buttons.
139
- font-size: 0;
140
- white-space: nowrap;
141
-
142
- // Negative margin for spacing, position for bringing hovered/focused/actived
143
- // element above the siblings.
144
- > .btn {
145
- position: relative;
146
- + .btn {
147
- margin-left: -1px;
148
- }
149
- // Bring the "active" button to the front
150
- &:hover,
151
- &:focus,
152
- &:active {
153
- z-index: 2;
154
- }
155
- }
156
-
157
- // Negative margin to only have a 1px border between the two
158
- &:first-child {
159
- > .btn,
160
- > .btn-group {
161
- margin-right: -1px;
162
- }
163
- }
164
- &:last-child {
165
- > .btn,
166
- > .btn-group {
167
- z-index: 2;
168
- margin-left: -1px;
169
- }
170
- }
171
- }
@@ -1,66 +0,0 @@
1
- //
2
- // Labels
3
- // --------------------------------------------------
4
-
5
- .label {
6
- display: inline;
7
- padding: .2em .6em .3em;
8
- font-size: 75%;
9
- font-weight: bold;
10
- line-height: 1;
11
- color: $label-color;
12
- text-align: center;
13
- white-space: nowrap;
14
- vertical-align: baseline;
15
- border-radius: .25em;
16
-
17
- // [converter] extracted a& to a.label
18
-
19
- // Empty labels collapse automatically (not available in IE8)
20
- &:empty {
21
- display: none;
22
- }
23
-
24
- // Quick fix for labels in buttons
25
- .btn & {
26
- position: relative;
27
- top: -1px;
28
- }
29
- }
30
-
31
- // Add hover effects, but only for links
32
- a.label {
33
- &:hover,
34
- &:focus {
35
- color: $label-link-hover-color;
36
- text-decoration: none;
37
- cursor: pointer;
38
- }
39
- }
40
-
41
- // Colors
42
- // Contextual variations (linked labels get darker on :hover)
43
-
44
- .label-default {
45
- @include label-variant($label-default-bg);
46
- }
47
-
48
- .label-primary {
49
- @include label-variant($label-primary-bg);
50
- }
51
-
52
- .label-success {
53
- @include label-variant($label-success-bg);
54
- }
55
-
56
- .label-info {
57
- @include label-variant($label-info-bg);
58
- }
59
-
60
- .label-warning {
61
- @include label-variant($label-warning-bg);
62
- }
63
-
64
- .label-danger {
65
- @include label-variant($label-danger-bg);
66
- }
@@ -1,150 +0,0 @@
1
- //
2
- // Modals
3
- // --------------------------------------------------
4
-
5
- // .modal-open - body class for killing the scroll
6
- // .modal - container to scroll within
7
- // .modal-dialog - positioning shell for the actual modal
8
- // .modal-content - actual modal w/ bg and corners and shit
9
-
10
- // Kill the scroll on the body
11
- .modal-open {
12
- overflow: hidden;
13
- }
14
-
15
- // Container that the modal scrolls within
16
- .modal {
17
- display: none;
18
- overflow: hidden;
19
- position: fixed;
20
- top: 0;
21
- right: 0;
22
- bottom: 0;
23
- left: 0;
24
- z-index: $zindex-modal;
25
- -webkit-overflow-scrolling: touch;
26
-
27
- // Prevent Chrome on Windows from adding a focus outline. For details, see
28
- // https://github.com/twbs/bootstrap/pull/10951.
29
- outline: 0;
30
-
31
- // When fading in the modal, animate it to slide down
32
- &.fade .modal-dialog {
33
- @include translate(0, -25%);
34
- @include transition-transform(0.3s ease-out);
35
- }
36
- &.in .modal-dialog { @include translate(0, 0) }
37
- }
38
- .modal-open .modal {
39
- overflow-x: hidden;
40
- overflow-y: auto;
41
- }
42
-
43
- // Shell div to position the modal with bottom padding
44
- .modal-dialog {
45
- position: relative;
46
- width: auto;
47
- margin: 10px;
48
- }
49
-
50
- // Actual modal
51
- .modal-content {
52
- position: relative;
53
- background-color: $modal-content-bg;
54
- border: 1px solid $modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
55
- border: 1px solid $modal-content-border-color;
56
- border-radius: $border-radius-large;
57
- @include box-shadow(0 3px 9px rgba(0,0,0,.5));
58
- background-clip: padding-box;
59
- // Remove focus outline from opened modal
60
- outline: 0;
61
- }
62
-
63
- // Modal background
64
- .modal-backdrop {
65
- position: fixed;
66
- top: 0;
67
- right: 0;
68
- bottom: 0;
69
- left: 0;
70
- z-index: $zindex-modal-background;
71
- background-color: $modal-backdrop-bg;
72
- // Fade for backdrop
73
- &.fade { @include opacity(0); }
74
- &.in { @include opacity($modal-backdrop-opacity); }
75
- }
76
-
77
- // Modal header
78
- // Top section of the modal w/ title and dismiss
79
- .modal-header {
80
- padding: $modal-title-padding;
81
- border-bottom: 1px solid $modal-header-border-color;
82
- @include clearfix;
83
- }
84
- // Close icon
85
- .modal-header .close {
86
- margin-top: -2px;
87
- }
88
-
89
- // Title text within header
90
- .modal-title {
91
- margin: 0;
92
- line-height: $modal-title-line-height;
93
- }
94
-
95
- // Modal body
96
- // Where all modal content resides (sibling of .modal-header and .modal-footer)
97
- .modal-body {
98
- position: relative;
99
- padding: $modal-inner-padding;
100
- }
101
-
102
- // Footer (for actions)
103
- .modal-footer {
104
- padding: $modal-inner-padding;
105
- text-align: right; // right align buttons
106
- border-top: 1px solid $modal-footer-border-color;
107
- @include clearfix; // clear it in case folks use .pull-* classes on buttons
108
-
109
- // Properly space out buttons
110
- .btn + .btn {
111
- margin-left: 5px;
112
- margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
113
- }
114
- // but override that for button groups
115
- .btn-group .btn + .btn {
116
- margin-left: -1px;
117
- }
118
- // and override it for block buttons as well
119
- .btn-block + .btn-block {
120
- margin-left: 0;
121
- }
122
- }
123
-
124
- // Measure scrollbar width for padding body during modal show/hide
125
- .modal-scrollbar-measure {
126
- position: absolute;
127
- top: -9999px;
128
- width: 50px;
129
- height: 50px;
130
- overflow: scroll;
131
- }
132
-
133
- // Scale up the modal
134
- @media (min-width: $screen-sm-min) {
135
- // Automatically set modal's width for larger viewports
136
- .modal-dialog {
137
- width: $modal-md;
138
- margin: 30px auto;
139
- }
140
- .modal-content {
141
- @include box-shadow(0 5px 15px rgba(0,0,0,.5));
142
- }
143
-
144
- // Modal sizes
145
- .modal-sm { width: $modal-sm; }
146
- }
147
-
148
- @media (min-width: $screen-md-min) {
149
- .modal-lg { width: $modal-lg; }
150
- }
@@ -1,242 +0,0 @@
1
- //
2
- // Navs
3
- // --------------------------------------------------
4
-
5
-
6
- // Base class
7
- // --------------------------------------------------
8
-
9
- .nav {
10
- margin-bottom: 0;
11
- padding-left: 0; // Override default ul/ol
12
- list-style: none;
13
- @include clearfix;
14
-
15
- > li {
16
- position: relative;
17
- display: block;
18
-
19
- > a {
20
- position: relative;
21
- display: block;
22
- padding: $nav-link-padding;
23
- &:hover,
24
- &:focus {
25
- text-decoration: none;
26
- background-color: $nav-link-hover-bg;
27
- }
28
- }
29
-
30
- // Disabled state sets text to gray and nukes hover/tab effects
31
- &.disabled > a {
32
- color: $nav-disabled-link-color;
33
-
34
- &:hover,
35
- &:focus {
36
- color: $nav-disabled-link-hover-color;
37
- text-decoration: none;
38
- background-color: transparent;
39
- cursor: $cursor-disabled;
40
- }
41
- }
42
- }
43
-
44
- // Open dropdowns
45
- .open > a {
46
- &,
47
- &:hover,
48
- &:focus {
49
- background-color: $nav-link-hover-bg;
50
- border-color: $link-color;
51
- }
52
- }
53
-
54
- // Nav dividers (deprecated with v3.0.1)
55
- //
56
- // This should have been removed in v3 with the dropping of `.nav-list`, but
57
- // we missed it. We don't currently support this anywhere, but in the interest
58
- // of maintaining backward compatibility in case you use it, it's deprecated.
59
- .nav-divider {
60
- @include nav-divider;
61
- }
62
-
63
- // Prevent IE8 from misplacing imgs
64
- //
65
- // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
66
- > li > a > img {
67
- max-width: none;
68
- }
69
- }
70
-
71
-
72
- // Tabs
73
- // -------------------------
74
-
75
- // Give the tabs something to sit on
76
- .nav-tabs {
77
- border-bottom: 1px solid $nav-tabs-border-color;
78
- > li {
79
- float: left;
80
- // Make the list-items overlay the bottom border
81
- margin-bottom: -1px;
82
-
83
- // Actual tabs (as links)
84
- > a {
85
- margin-right: 2px;
86
- line-height: $line-height-base;
87
- border: 1px solid transparent;
88
- border-radius: $border-radius-base $border-radius-base 0 0;
89
- &:hover {
90
- border-color: $nav-tabs-link-hover-border-color $nav-tabs-link-hover-border-color $nav-tabs-border-color;
91
- }
92
- }
93
-
94
- // Active state, and its :hover to override normal :hover
95
- &.active > a {
96
- &,
97
- &:hover,
98
- &:focus {
99
- color: $nav-tabs-active-link-hover-color;
100
- background-color: $nav-tabs-active-link-hover-bg;
101
- border: 1px solid $nav-tabs-active-link-hover-border-color;
102
- border-bottom-color: transparent;
103
- cursor: default;
104
- }
105
- }
106
- }
107
- // pulling this in mainly for less shorthand
108
- &.nav-justified {
109
- @extend .nav-justified;
110
- @extend .nav-tabs-justified;
111
- }
112
- }
113
-
114
-
115
- // Pills
116
- // -------------------------
117
- .nav-pills {
118
- > li {
119
- float: left;
120
-
121
- // Links rendered as pills
122
- > a {
123
- border-radius: $nav-pills-border-radius;
124
- }
125
- + li {
126
- margin-left: 2px;
127
- }
128
-
129
- // Active state
130
- &.active > a {
131
- &,
132
- &:hover,
133
- &:focus {
134
- color: $nav-pills-active-link-hover-color;
135
- background-color: $nav-pills-active-link-hover-bg;
136
- }
137
- }
138
- }
139
- }
140
-
141
-
142
- // Stacked pills
143
- .nav-stacked {
144
- > li {
145
- float: none;
146
- + li {
147
- margin-top: 2px;
148
- margin-left: 0; // no need for this gap between nav items
149
- }
150
- }
151
- }
152
-
153
-
154
- // Nav variations
155
- // --------------------------------------------------
156
-
157
- // Justified nav links
158
- // -------------------------
159
-
160
- .nav-justified {
161
- width: 100%;
162
-
163
- > li {
164
- float: none;
165
- > a {
166
- text-align: center;
167
- margin-bottom: 5px;
168
- }
169
- }
170
-
171
- > .dropdown .dropdown-menu {
172
- top: auto;
173
- left: auto;
174
- }
175
-
176
- @media (min-width: $screen-sm-min) {
177
- > li {
178
- display: table-cell;
179
- width: 1%;
180
- > a {
181
- margin-bottom: 0;
182
- }
183
- }
184
- }
185
- }
186
-
187
- // Move borders to anchors instead of bottom of list
188
- //
189
- // Mixin for adding on top the shared `.nav-justified` styles for our tabs
190
- .nav-tabs-justified {
191
- border-bottom: 0;
192
-
193
- > li > a {
194
- // Override margin from .nav-tabs
195
- margin-right: 0;
196
- border-radius: $border-radius-base;
197
- }
198
-
199
- > .active > a,
200
- > .active > a:hover,
201
- > .active > a:focus {
202
- border: 1px solid $nav-tabs-justified-link-border-color;
203
- }
204
-
205
- @media (min-width: $screen-sm-min) {
206
- > li > a {
207
- border-bottom: 1px solid $nav-tabs-justified-link-border-color;
208
- border-radius: $border-radius-base $border-radius-base 0 0;
209
- }
210
- > .active > a,
211
- > .active > a:hover,
212
- > .active > a:focus {
213
- border-bottom-color: $nav-tabs-justified-active-link-border-color;
214
- }
215
- }
216
- }
217
-
218
-
219
- // Tabbable tabs
220
- // -------------------------
221
-
222
- // Hide tabbable panes to start, show them when `.active`
223
- .tab-content {
224
- > .tab-pane {
225
- display: none;
226
- }
227
- > .active {
228
- display: block;
229
- }
230
- }
231
-
232
-
233
- // Dropdowns
234
- // -------------------------
235
-
236
- // Specific dropdowns
237
- .nav-tabs .dropdown-menu {
238
- // make dropdown border overlap tab border
239
- margin-top: -1px;
240
- // Remove the top rounded corners here since there is a hard edge above the menu
241
- @include border-top-radius(0);
242
- }