bastion 0.1.14 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) hide show
  1. checksums.yaml +8 -8
  2. data/app/assets/javascripts/bastion/bastion.module.js +7 -5
  3. data/app/assets/javascripts/bastion/components/bst-alert.directive.js +8 -37
  4. data/app/assets/javascripts/bastion/components/bst-alerts.directive.js +67 -0
  5. data/app/assets/javascripts/bastion/components/bst-container-scroll.directive.js +2 -7
  6. data/app/assets/javascripts/bastion/components/bst-table.directive.js +2 -2
  7. data/app/assets/javascripts/bastion/components/views/bst-alert.html +17 -5
  8. data/app/assets/javascripts/bastion/components/views/bst-alerts.html +6 -0
  9. data/app/assets/javascripts/bastion/components/views/bst-dropdown.html +1 -1
  10. data/app/assets/javascripts/bastion/components/views/bst-edit-add-item.html +1 -1
  11. data/app/assets/javascripts/bastion/components/views/bst-edit-add-remove-cancel.html +1 -1
  12. data/app/assets/javascripts/bastion/components/views/bst-edit-multiselect.html +1 -1
  13. data/app/assets/javascripts/bastion/components/views/bst-edit-save-cancel.html +1 -1
  14. data/app/assets/javascripts/bastion/components/views/bst-edit.html +2 -2
  15. data/app/assets/javascripts/bastion/components/views/bst-menu.html +1 -1
  16. data/app/assets/javascripts/bastion/components/views/bst-modal.html +1 -1
  17. data/app/assets/javascripts/bastion/components/views/bst-save-control.html +1 -1
  18. data/app/assets/javascripts/bastion/components/views/current-tasks.html +1 -1
  19. data/app/assets/javascripts/bastion/features/bst-feature-flag.directive.js +1 -1
  20. data/app/assets/javascripts/bastion/layouts/details-nutupane.html +4 -4
  21. data/app/assets/javascripts/bastion/layouts/nutupane.html +12 -8
  22. data/app/assets/stylesheets/bastion/bastion.less +6 -5
  23. data/app/assets/stylesheets/bastion/nutupane.less +14 -10
  24. data/app/assets/stylesheets/bastion/overrides.less +6 -2
  25. data/app/assets/stylesheets/bastion/variables.less +1 -0
  26. data/app/views/bastion/layouts/application.html.erb +5 -3
  27. data/bower.json +25 -20
  28. data/grunt/bower.js +2 -6
  29. data/lib/bastion/version.rb +1 -1
  30. data/test/components/bst-alert.directive.test.js +8 -40
  31. data/test/components/bst-alerts.directive.test.js +84 -0
  32. data/test/components/bst-container-scroll.directive.test.js +1 -14
  33. data/test/components/bst-edit.directive.test.js +1 -1
  34. data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.eot +0 -0
  35. data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.svg +47 -47
  36. data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  37. data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.woff +0 -0
  38. data/vendor/assets/fonts/bastion/font-awesome/FontAwesome.otf +0 -0
  39. data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.eot +0 -0
  40. data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.svg +471 -366
  41. data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.ttf +0 -0
  42. data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.woff +0 -0
  43. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Bold-webfont.eot +0 -0
  44. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Bold-webfont.svg +1830 -0
  45. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Bold-webfont.ttf +0 -0
  46. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Bold-webfont.woff +0 -0
  47. data/vendor/assets/fonts/bastion/patternfly/OpenSans-BoldItalic-webfont.eot +0 -0
  48. data/vendor/assets/fonts/bastion/patternfly/OpenSans-BoldItalic-webfont.svg +1830 -0
  49. data/vendor/assets/fonts/bastion/patternfly/OpenSans-BoldItalic-webfont.ttf +0 -0
  50. data/vendor/assets/fonts/bastion/patternfly/OpenSans-BoldItalic-webfont.woff +0 -0
  51. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBold-webfont.eot +0 -0
  52. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBold-webfont.svg +1830 -0
  53. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBold-webfont.ttf +0 -0
  54. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBold-webfont.woff +0 -0
  55. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
  56. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBoldItalic-webfont.svg +1830 -0
  57. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
  58. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
  59. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Italic-webfont.eot +0 -0
  60. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Italic-webfont.svg +1830 -0
  61. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Italic-webfont.ttf +0 -0
  62. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Italic-webfont.woff +0 -0
  63. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Light-webfont.eot +0 -0
  64. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Light-webfont.svg +1831 -0
  65. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Light-webfont.ttf +0 -0
  66. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Light-webfont.woff +0 -0
  67. data/vendor/assets/fonts/bastion/patternfly/OpenSans-LightItalic-webfont.eot +0 -0
  68. data/vendor/assets/fonts/bastion/patternfly/OpenSans-LightItalic-webfont.svg +1835 -0
  69. data/vendor/assets/fonts/bastion/patternfly/OpenSans-LightItalic-webfont.ttf +0 -0
  70. data/vendor/assets/fonts/bastion/patternfly/OpenSans-LightItalic-webfont.woff +0 -0
  71. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Regular-webfont.eot +0 -0
  72. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Regular-webfont.svg +1831 -0
  73. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Regular-webfont.ttf +0 -0
  74. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Regular-webfont.woff +0 -0
  75. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Semibold-webfont.eot +0 -0
  76. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Semibold-webfont.svg +1830 -0
  77. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Semibold-webfont.ttf +0 -0
  78. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Semibold-webfont.woff +0 -0
  79. data/vendor/assets/fonts/bastion/patternfly/OpenSans-SemiboldItalic-webfont.eot +0 -0
  80. data/vendor/assets/fonts/bastion/patternfly/OpenSans-SemiboldItalic-webfont.svg +1830 -0
  81. data/vendor/assets/fonts/bastion/patternfly/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  82. data/vendor/assets/fonts/bastion/patternfly/OpenSans-SemiboldItalic-webfont.woff +0 -0
  83. data/vendor/assets/fonts/bastion/patternfly/PatternFlyIcons-webfont.eot +0 -0
  84. data/vendor/assets/fonts/bastion/patternfly/PatternFlyIcons-webfont.svg +37 -0
  85. data/vendor/assets/fonts/bastion/patternfly/PatternFlyIcons-webfont.ttf +0 -0
  86. data/vendor/assets/fonts/bastion/patternfly/PatternFlyIcons-webfont.woff +0 -0
  87. data/vendor/assets/javascripts/bastion/ngUpload/ng-upload.js +20 -19
  88. data/vendor/assets/stylesheets/bastion/bootstrap/badges.less +4 -0
  89. data/vendor/assets/stylesheets/bastion/bootstrap/breadcrumbs.less +4 -1
  90. data/vendor/assets/stylesheets/bastion/bootstrap/button-groups.less +13 -14
  91. data/vendor/assets/stylesheets/bastion/bootstrap/buttons.less +14 -10
  92. data/vendor/assets/stylesheets/bastion/bootstrap/carousel.less +3 -3
  93. data/vendor/assets/stylesheets/bastion/bootstrap/code.less +10 -0
  94. data/vendor/assets/stylesheets/bastion/bootstrap/dropdowns.less +28 -2
  95. data/vendor/assets/stylesheets/bastion/bootstrap/forms.less +104 -41
  96. data/vendor/assets/stylesheets/bastion/bootstrap/glyphicons.less +1 -5
  97. data/vendor/assets/stylesheets/bastion/bootstrap/grid.less +30 -25
  98. data/vendor/assets/stylesheets/bastion/bootstrap/input-groups.less +44 -18
  99. data/vendor/assets/stylesheets/bastion/bootstrap/jumbotron.less +3 -5
  100. data/vendor/assets/stylesheets/bastion/bootstrap/list-group.less +25 -3
  101. data/vendor/assets/stylesheets/bastion/bootstrap/mixins.less +147 -63
  102. data/vendor/assets/stylesheets/bastion/bootstrap/modals.less +18 -8
  103. data/vendor/assets/stylesheets/bastion/bootstrap/navbar.less +24 -20
  104. data/vendor/assets/stylesheets/bastion/bootstrap/navs.less +2 -2
  105. data/vendor/assets/stylesheets/bastion/bootstrap/normalize.less +139 -122
  106. data/vendor/assets/stylesheets/bastion/bootstrap/pager.less +5 -5
  107. data/vendor/assets/stylesheets/bastion/bootstrap/pagination.less +6 -3
  108. data/vendor/assets/stylesheets/bastion/bootstrap/panels.less +106 -47
  109. data/vendor/assets/stylesheets/bastion/bootstrap/popovers.less +11 -11
  110. data/vendor/assets/stylesheets/bastion/bootstrap/print.less +0 -4
  111. data/vendor/assets/stylesheets/bastion/bootstrap/responsive-utilities.less +15 -132
  112. data/vendor/assets/stylesheets/bastion/bootstrap/scaffolding.less +17 -2
  113. data/vendor/assets/stylesheets/bastion/bootstrap/tables.less +3 -1
  114. data/vendor/assets/stylesheets/bastion/bootstrap/theme.less +1 -1
  115. data/vendor/assets/stylesheets/bastion/bootstrap/thumbnails.less +1 -1
  116. data/vendor/assets/stylesheets/bastion/bootstrap/tooltip.less +1 -1
  117. data/vendor/assets/stylesheets/bastion/bootstrap/type.less +79 -67
  118. data/vendor/assets/stylesheets/bastion/bootstrap/variables.less +364 -177
  119. data/vendor/assets/stylesheets/bastion/bootstrap/wells.less +1 -1
  120. data/vendor/assets/stylesheets/bastion/font-awesome/less/bordered-pulled.less +16 -0
  121. data/vendor/assets/stylesheets/bastion/font-awesome/less/core.less +8 -126
  122. data/vendor/assets/stylesheets/bastion/font-awesome/less/extras.less +2 -93
  123. data/vendor/assets/stylesheets/bastion/font-awesome/less/fixed-width.less +6 -0
  124. data/vendor/assets/stylesheets/bastion/font-awesome/less/font-awesome.less +9 -25
  125. data/vendor/assets/stylesheets/bastion/font-awesome/less/icons.less +549 -378
  126. data/vendor/assets/stylesheets/bastion/font-awesome/less/larger.less +13 -0
  127. data/vendor/assets/stylesheets/bastion/font-awesome/less/list.less +19 -0
  128. data/vendor/assets/stylesheets/bastion/font-awesome/less/mixins.less +16 -39
  129. data/vendor/assets/stylesheets/bastion/font-awesome/less/path.less +6 -6
  130. data/vendor/assets/stylesheets/bastion/font-awesome/less/rotated-flipped.less +20 -0
  131. data/vendor/assets/stylesheets/bastion/font-awesome/less/spinning.less +29 -0
  132. data/vendor/assets/stylesheets/bastion/font-awesome/less/stacked.less +20 -0
  133. data/vendor/assets/stylesheets/bastion/font-awesome/less/variables.less +557 -731
  134. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_bordered-pulled.scss +16 -0
  135. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_core.scss +8 -126
  136. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_extras.scss +9 -58
  137. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_fixed-width.scss +6 -0
  138. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_icons.scss +550 -379
  139. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_larger.scss +13 -0
  140. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_list.scss +19 -0
  141. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_mixins.scss +16 -39
  142. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_path.scss +6 -6
  143. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_rotated-flipped.scss +20 -0
  144. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_spinning.scss +29 -0
  145. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_stacked.scss +20 -0
  146. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_variables.scss +557 -730
  147. data/vendor/assets/stylesheets/bastion/font-awesome/scss/font-awesome.scss +9 -25
  148. data/vendor/assets/stylesheets/bastion/patternfly/alerts.less +29 -0
  149. data/vendor/assets/stylesheets/bastion/patternfly/badges.less +11 -0
  150. data/vendor/assets/stylesheets/bastion/patternfly/bootstrap-combobox.less +27 -0
  151. data/vendor/assets/stylesheets/bastion/patternfly/bootstrap-select.less +67 -0
  152. data/vendor/assets/stylesheets/bastion/patternfly/bootstrap-treeview.less +37 -0
  153. data/vendor/assets/stylesheets/bastion/patternfly/breadcrumbs.less +20 -0
  154. data/vendor/assets/stylesheets/bastion/{rcue → patternfly}/buttons.less +4 -0
  155. data/vendor/assets/stylesheets/bastion/patternfly/close.less +13 -0
  156. data/vendor/assets/stylesheets/bastion/patternfly/datatables.less +221 -0
  157. data/vendor/assets/stylesheets/bastion/patternfly/dropdowns.less +145 -0
  158. data/vendor/assets/stylesheets/bastion/{rcue → patternfly}/fonts.less +4 -2
  159. data/vendor/assets/stylesheets/bastion/{rcue → patternfly}/forms.less +7 -4
  160. data/vendor/assets/stylesheets/bastion/patternfly/icons.less +130 -0
  161. data/vendor/assets/stylesheets/bastion/patternfly/infotip.less +149 -0
  162. data/vendor/assets/stylesheets/bastion/patternfly/labels.less +12 -0
  163. data/vendor/assets/stylesheets/bastion/patternfly/list-group.less +18 -0
  164. data/vendor/assets/stylesheets/bastion/patternfly/login.less +121 -0
  165. data/vendor/assets/stylesheets/bastion/patternfly/mixins.less +81 -0
  166. data/vendor/assets/stylesheets/bastion/patternfly/modals.less +38 -0
  167. data/vendor/assets/stylesheets/bastion/patternfly/navbar.less +501 -0
  168. data/vendor/assets/stylesheets/bastion/patternfly/pager.less +72 -0
  169. data/vendor/assets/stylesheets/bastion/patternfly/pagination.less +64 -0
  170. data/vendor/assets/stylesheets/bastion/patternfly/panels.less +57 -0
  171. data/vendor/assets/stylesheets/bastion/patternfly/patternfly.less +42 -0
  172. data/vendor/assets/stylesheets/bastion/patternfly/popovers.less +32 -0
  173. data/vendor/assets/stylesheets/bastion/patternfly/progress-bars.less +87 -0
  174. data/vendor/assets/stylesheets/bastion/patternfly/search.less +65 -0
  175. data/vendor/assets/stylesheets/bastion/patternfly/sidebar.less +174 -0
  176. data/vendor/assets/stylesheets/bastion/patternfly/spinner.less +62 -0
  177. data/vendor/assets/stylesheets/bastion/patternfly/tables.less +74 -0
  178. data/vendor/assets/stylesheets/bastion/patternfly/tabs.less +118 -0
  179. data/vendor/assets/stylesheets/bastion/patternfly/tooltip.less +16 -0
  180. data/vendor/assets/stylesheets/bastion/patternfly/type.less +24 -0
  181. data/vendor/assets/stylesheets/bastion/patternfly/variables.less +219 -0
  182. metadata +98 -57
  183. data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.eot +0 -0
  184. data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.svg +0 -146
  185. data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.ttf +0 -0
  186. data/vendor/assets/fonts/bastion/rcue/OpenSans-Bold-webfont.woff +0 -0
  187. data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.eot +0 -0
  188. data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.svg +0 -146
  189. data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.ttf +0 -0
  190. data/vendor/assets/fonts/bastion/rcue/OpenSans-BoldItalic-webfont.woff +0 -0
  191. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.eot +0 -0
  192. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.svg +0 -146
  193. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.ttf +0 -0
  194. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBold-webfont.woff +0 -0
  195. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
  196. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.svg +0 -146
  197. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
  198. data/vendor/assets/fonts/bastion/rcue/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
  199. data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.eot +0 -0
  200. data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.svg +0 -146
  201. data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.ttf +0 -0
  202. data/vendor/assets/fonts/bastion/rcue/OpenSans-Italic-webfont.woff +0 -0
  203. data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.eot +0 -0
  204. data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.svg +0 -146
  205. data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.ttf +0 -0
  206. data/vendor/assets/fonts/bastion/rcue/OpenSans-Light-webfont.woff +0 -0
  207. data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.eot +0 -0
  208. data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.svg +0 -146
  209. data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.ttf +0 -0
  210. data/vendor/assets/fonts/bastion/rcue/OpenSans-LightItalic-webfont.woff +0 -0
  211. data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.eot +0 -0
  212. data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.svg +0 -146
  213. data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.ttf +0 -0
  214. data/vendor/assets/fonts/bastion/rcue/OpenSans-Regular-webfont.woff +0 -0
  215. data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.eot +0 -0
  216. data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.svg +0 -146
  217. data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.ttf +0 -0
  218. data/vendor/assets/fonts/bastion/rcue/OpenSans-Semibold-webfont.woff +0 -0
  219. data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.eot +0 -0
  220. data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.svg +0 -146
  221. data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  222. data/vendor/assets/fonts/bastion/rcue/OpenSans-SemiboldItalic-webfont.woff +0 -0
  223. data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.eot +0 -0
  224. data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.svg +0 -454
  225. data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.ttf +0 -0
  226. data/vendor/assets/fonts/bastion/rcue/Overpass-Bold-webfont.woff +0 -0
  227. data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.eot +0 -0
  228. data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.svg +0 -454
  229. data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.ttf +0 -0
  230. data/vendor/assets/fonts/bastion/rcue/Overpass-Regular-webfont.woff +0 -0
  231. data/vendor/assets/stylesheets/bastion/rcue/mixins.less +0 -50
  232. data/vendor/assets/stylesheets/bastion/rcue/navbar.less +0 -481
  233. data/vendor/assets/stylesheets/bastion/rcue/rcue.less +0 -15
  234. data/vendor/assets/stylesheets/bastion/rcue/variables.less +0 -47
@@ -3,11 +3,9 @@
3
3
  // --------------------------------------------------
4
4
 
5
5
 
6
- // Global values
7
- // --------------------------------------------------
8
-
9
- // Grays
10
- // -------------------------
6
+ //== Colors
7
+ //
8
+ //## Gray and brand colors for use across Bootstrap.
11
9
 
12
10
  @gray-darker: lighten(#000, 13.5%); // #222
13
11
  @gray-dark: lighten(#000, 20%); // #333
@@ -15,107 +13,127 @@
15
13
  @gray-light: lighten(#000, 60%); // #999
16
14
  @gray-lighter: lighten(#000, 93.5%); // #eee
17
15
 
18
- // Brand colors
19
- // -------------------------
20
-
21
16
  @brand-primary: #428bca;
22
17
  @brand-success: #5cb85c;
18
+ @brand-info: #5bc0de;
23
19
  @brand-warning: #f0ad4e;
24
20
  @brand-danger: #d9534f;
25
- @brand-info: #5bc0de;
26
21
 
27
- // Scaffolding
28
- // -------------------------
29
22
 
23
+ //== Scaffolding
24
+ //
25
+ // ## Settings for some of the most global styles.
26
+
27
+ //** Background color for `<body>`.
30
28
  @body-bg: #fff;
29
+ //** Global text color on `<body>`.
31
30
  @text-color: @gray-dark;
32
31
 
33
- // Links
34
- // -------------------------
35
-
32
+ //** Global textual link color.
36
33
  @link-color: @brand-primary;
34
+ //** Link hover color set via `darken()` function.
37
35
  @link-hover-color: darken(@link-color, 15%);
38
36
 
39
- // Typography
40
- // -------------------------
37
+
38
+ //== Typography
39
+ //
40
+ //## Font, line-height, and color for body text, headings, and more.
41
41
 
42
42
  @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
43
43
  @font-family-serif: Georgia, "Times New Roman", Times, serif;
44
+ //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
44
45
  @font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
45
46
  @font-family-base: @font-family-sans-serif;
46
47
 
47
48
  @font-size-base: 14px;
48
- @font-size-large: ceil(@font-size-base * 1.25); // ~18px
49
- @font-size-small: ceil(@font-size-base * 0.85); // ~12px
49
+ @font-size-large: ceil((@font-size-base * 1.25)); // ~18px
50
+ @font-size-small: ceil((@font-size-base * 0.85)); // ~12px
50
51
 
51
- @font-size-h1: floor(@font-size-base * 2.6); // ~36px
52
- @font-size-h2: floor(@font-size-base * 2.15); // ~30px
53
- @font-size-h3: ceil(@font-size-base * 1.7); // ~24px
54
- @font-size-h4: ceil(@font-size-base * 1.25); // ~18px
52
+ @font-size-h1: floor((@font-size-base * 2.6)); // ~36px
53
+ @font-size-h2: floor((@font-size-base * 2.15)); // ~30px
54
+ @font-size-h3: ceil((@font-size-base * 1.7)); // ~24px
55
+ @font-size-h4: ceil((@font-size-base * 1.25)); // ~18px
55
56
  @font-size-h5: @font-size-base;
56
- @font-size-h6: ceil(@font-size-base * 0.85); // ~12px
57
+ @font-size-h6: ceil((@font-size-base * 0.85)); // ~12px
57
58
 
59
+ //** Unit-less `line-height` for use in components like buttons.
58
60
  @line-height-base: 1.428571429; // 20/14
59
- @line-height-computed: floor(@font-size-base * @line-height-base); // ~20px
61
+ //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
62
+ @line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px
60
63
 
61
- @headings-font-family: @font-family-base;
64
+ //** By default, this inherits from the `<body>`.
65
+ @headings-font-family: inherit;
62
66
  @headings-font-weight: 500;
63
67
  @headings-line-height: 1.1;
64
68
  @headings-color: inherit;
65
69
 
66
70
 
67
- // Iconography
68
- // -------------------------
71
+ //-- Iconography
72
+ //
73
+ //## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower.
69
74
 
70
75
  @icon-font-path: "../fonts/";
71
76
  @icon-font-name: "glyphicons-halflings-regular";
77
+ @icon-font-svg-id: "glyphicons_halflingsregular";
72
78
 
79
+ //== Components
80
+ //
81
+ //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
73
82
 
74
- // Components
75
- // -------------------------
76
- // Based on 14px font-size and 1.428 line-height (~20px to start)
83
+ @padding-base-vertical: 6px;
84
+ @padding-base-horizontal: 12px;
77
85
 
78
- @padding-base-vertical: 6px;
79
- @padding-base-horizontal: 12px;
86
+ @padding-large-vertical: 10px;
87
+ @padding-large-horizontal: 16px;
80
88
 
81
- @padding-large-vertical: 10px;
82
- @padding-large-horizontal: 16px;
89
+ @padding-small-vertical: 5px;
90
+ @padding-small-horizontal: 10px;
83
91
 
84
- @padding-small-vertical: 5px;
85
- @padding-small-horizontal: 10px;
92
+ @padding-xs-vertical: 1px;
93
+ @padding-xs-horizontal: 5px;
86
94
 
87
- @padding-xs-vertical: 1px;
88
- @padding-xs-horizontal: 5px;
95
+ @line-height-large: 1.33;
96
+ @line-height-small: 1.5;
89
97
 
90
- @line-height-large: 1.33;
91
- @line-height-small: 1.5;
98
+ @border-radius-base: 4px;
99
+ @border-radius-large: 6px;
100
+ @border-radius-small: 3px;
92
101
 
93
- @border-radius-base: 4px;
94
- @border-radius-large: 6px;
95
- @border-radius-small: 3px;
102
+ //** Global color for active items (e.g., navs or dropdowns).
103
+ @component-active-color: #fff;
104
+ //** Global background color for active items (e.g., navs or dropdowns).
105
+ @component-active-bg: @brand-primary;
96
106
 
97
- @component-active-color: #fff;
98
- @component-active-bg: @brand-primary;
107
+ //** Width of the `border` for generating carets that indicator dropdowns.
108
+ @caret-width-base: 4px;
109
+ //** Carets increase slightly in size for larger components.
110
+ @caret-width-large: 5px;
99
111
 
100
- @caret-width-base: 4px;
101
- @caret-width-large: 5px;
102
112
 
103
- // Tables
104
- // -------------------------
113
+ //== Tables
114
+ //
115
+ //## Customizes the `.table` component with basic values, each used across all table variations.
105
116
 
106
- @table-cell-padding: 8px;
107
- @table-condensed-cell-padding: 5px;
117
+ //** Padding for `<th>`s and `<td>`s.
118
+ @table-cell-padding: 8px;
119
+ //** Padding for cells in `.table-condensed`.
120
+ @table-condensed-cell-padding: 5px;
108
121
 
109
- @table-bg: transparent; // overall background-color
110
- @table-bg-accent: #f9f9f9; // for striping
111
- @table-bg-hover: #f5f5f5;
112
- @table-bg-active: @table-bg-hover;
122
+ //** Default background color used for all tables.
123
+ @table-bg: transparent;
124
+ //** Background color used for `.table-striped`.
125
+ @table-bg-accent: #f9f9f9;
126
+ //** Background color used for `.table-hover`.
127
+ @table-bg-hover: #f5f5f5;
128
+ @table-bg-active: @table-bg-hover;
113
129
 
114
- @table-border-color: #ddd; // table and cell border
130
+ //** Border color for table and cell borders.
131
+ @table-border-color: #ddd;
115
132
 
116
133
 
117
- // Buttons
118
- // -------------------------
134
+ //== Buttons
135
+ //
136
+ //## For each of Bootstrap's buttons, define text, background and border color.
119
137
 
120
138
  @btn-font-weight: normal;
121
139
 
@@ -131,6 +149,10 @@
131
149
  @btn-success-bg: @brand-success;
132
150
  @btn-success-border: darken(@btn-success-bg, 5%);
133
151
 
152
+ @btn-info-color: #fff;
153
+ @btn-info-bg: @brand-info;
154
+ @btn-info-border: darken(@btn-info-bg, 5%);
155
+
134
156
  @btn-warning-color: #fff;
135
157
  @btn-warning-bg: @brand-warning;
136
158
  @btn-warning-border: darken(@btn-warning-bg, 5%);
@@ -139,65 +161,87 @@
139
161
  @btn-danger-bg: @brand-danger;
140
162
  @btn-danger-border: darken(@btn-danger-bg, 5%);
141
163
 
142
- @btn-info-color: #fff;
143
- @btn-info-bg: @brand-info;
144
- @btn-info-border: darken(@btn-info-bg, 5%);
145
-
146
164
  @btn-link-disabled-color: @gray-light;
147
165
 
148
166
 
149
- // Forms
150
- // -------------------------
167
+ //== Forms
168
+ //
169
+ //##
151
170
 
171
+ //** `<input>` background color
152
172
  @input-bg: #fff;
173
+ //** `<input disabled>` background color
153
174
  @input-bg-disabled: @gray-lighter;
154
175
 
176
+ //** Text color for `<input>`s
155
177
  @input-color: @gray;
178
+ //** `<input>` border color
156
179
  @input-border: #ccc;
180
+ //** `<input>` border radius
157
181
  @input-border-radius: @border-radius-base;
182
+ //** Border color for inputs on focus
158
183
  @input-border-focus: #66afe9;
159
184
 
185
+ //** Placeholder text color
160
186
  @input-color-placeholder: @gray-light;
161
187
 
188
+ //** Default `.form-control` height
162
189
  @input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
190
+ //** Large `.form-control` height
163
191
  @input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
192
+ //** Small `.form-control` height
164
193
  @input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
165
194
 
166
195
  @legend-color: @gray-dark;
167
196
  @legend-border-color: #e5e5e5;
168
197
 
198
+ //** Background color for textual input addons
169
199
  @input-group-addon-bg: @gray-lighter;
200
+ //** Border color for textual input addons
170
201
  @input-group-addon-border-color: @input-border;
171
202
 
172
203
 
173
- // Dropdowns
174
- // -------------------------
204
+ //== Dropdowns
205
+ //
206
+ //## Dropdown menu container and contents.
175
207
 
208
+ //** Background for the dropdown menu.
176
209
  @dropdown-bg: #fff;
210
+ //** Dropdown menu `border-color`.
177
211
  @dropdown-border: rgba(0,0,0,.15);
212
+ //** Dropdown menu `border-color` **for IE8**.
178
213
  @dropdown-fallback-border: #ccc;
214
+ //** Divider color for between dropdown items.
179
215
  @dropdown-divider-bg: #e5e5e5;
180
216
 
217
+ //** Dropdown link text color.
181
218
  @dropdown-link-color: @gray-dark;
219
+ //** Hover color for dropdown links.
182
220
  @dropdown-link-hover-color: darken(@gray-dark, 5%);
221
+ //** Hover background for dropdown links.
183
222
  @dropdown-link-hover-bg: #f5f5f5;
184
223
 
224
+ //** Active dropdown menu item text color.
185
225
  @dropdown-link-active-color: @component-active-color;
226
+ //** Active dropdown menu item background color.
186
227
  @dropdown-link-active-bg: @component-active-bg;
187
228
 
229
+ //** Disabled dropdown menu item background color.
188
230
  @dropdown-link-disabled-color: @gray-light;
189
231
 
232
+ //** Text color for headers within dropdown menus.
190
233
  @dropdown-header-color: @gray-light;
191
234
 
192
-
193
- // COMPONENT VARIABLES
194
- // --------------------------------------------------
235
+ // Note: Deprecated @dropdown-caret-color as of v3.1.0
236
+ @dropdown-caret-color: #000;
195
237
 
196
238
 
197
- // Z-index master list
198
- // -------------------------
199
- // Used for a bird's eye view of components dependent on the z-axis
200
- // Try to avoid customizing these :)
239
+ //-- Z-index master list
240
+ //
241
+ // Warning: Avoid customizing these values. They're used for a bird's eye view
242
+ // of components dependent on the z-axis and are designed to all work together.
243
+ //
244
+ // Note: These variables are not generated into the Customizer.
201
245
 
202
246
  @zindex-navbar: 1000;
203
247
  @zindex-dropdown: 1000;
@@ -207,8 +251,10 @@
207
251
  @zindex-modal-background: 1040;
208
252
  @zindex-modal: 1050;
209
253
 
210
- // Media queries breakpoints
211
- // --------------------------------------------------
254
+
255
+ //== Media queries breakpoints
256
+ //
257
+ //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
212
258
 
213
259
  // Extra small screen / phone
214
260
  // Note: Deprecated @screen-xs and @screen-phone as of v3.0.1
@@ -240,31 +286,52 @@
240
286
  @screen-md-max: (@screen-lg-min - 1);
241
287
 
242
288
 
243
- // Grid system
244
- // --------------------------------------------------
289
+ //== Grid system
290
+ //
291
+ //## Define your custom responsive grid.
245
292
 
246
- // Number of columns in the grid system
293
+ //** Number of columns in the grid.
247
294
  @grid-columns: 12;
248
- // Padding, to be divided by two and applied to the left and right of all columns
295
+ //** Padding between columns. Gets divided in half for the left and right.
249
296
  @grid-gutter-width: 30px;
250
-
251
297
  // Navbar collapse
252
-
253
- // Point at which the navbar becomes uncollapsed
298
+ //** Point at which the navbar becomes uncollapsed.
254
299
  @grid-float-breakpoint: @screen-sm-min;
255
- // Point at which the navbar begins collapsing
300
+ //** Point at which the navbar begins collapsing.
256
301
  @grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
257
302
 
258
303
 
259
- // Navbar
260
- // -------------------------
304
+ //== Container sizes
305
+ //
306
+ //## Define the maximum width of `.container` for different screen sizes.
307
+
308
+ // Small screen / tablet
309
+ @container-tablet: ((720px + @grid-gutter-width));
310
+ //** For `@screen-sm-min` and up.
311
+ @container-sm: @container-tablet;
312
+
313
+ // Medium screen / desktop
314
+ @container-desktop: ((940px + @grid-gutter-width));
315
+ //** For `@screen-md-min` and up.
316
+ @container-md: @container-desktop;
317
+
318
+ // Large screen / wide desktop
319
+ @container-large-desktop: ((1140px + @grid-gutter-width));
320
+ //** For `@screen-lg-min` and up.
321
+ @container-lg: @container-large-desktop;
322
+
323
+
324
+ //== Navbar
325
+ //
326
+ //##
261
327
 
262
328
  // Basics of a navbar
263
329
  @navbar-height: 50px;
264
330
  @navbar-margin-bottom: @line-height-computed;
265
331
  @navbar-border-radius: @border-radius-base;
266
- @navbar-padding-horizontal: floor(@grid-gutter-width / 2);
332
+ @navbar-padding-horizontal: floor((@grid-gutter-width / 2));
267
333
  @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
334
+ @navbar-collapse-max-height: 340px;
268
335
 
269
336
  @navbar-default-color: #777;
270
337
  @navbar-default-bg: #f8f8f8;
@@ -286,12 +353,11 @@
286
353
 
287
354
  // Navbar toggle
288
355
  @navbar-default-toggle-hover-bg: #ddd;
289
- @navbar-default-toggle-icon-bar-bg: #ccc;
356
+ @navbar-default-toggle-icon-bar-bg: #888;
290
357
  @navbar-default-toggle-border-color: #ddd;
291
358
 
292
359
 
293
360
  // Inverted navbar
294
- //
295
361
  // Reset inverted navbar basics
296
362
  @navbar-inverse-color: @gray-light;
297
363
  @navbar-inverse-bg: #222;
@@ -317,9 +383,11 @@
317
383
  @navbar-inverse-toggle-border-color: #333;
318
384
 
319
385
 
320
- // Navs
321
- // -------------------------
386
+ //== Navs
387
+ //
388
+ //##
322
389
 
390
+ //=== Shared nav styles
323
391
  @nav-link-padding: 10px 15px;
324
392
  @nav-link-hover-bg: @gray-lighter;
325
393
 
@@ -328,7 +396,7 @@
328
396
 
329
397
  @nav-open-link-hover-color: #fff;
330
398
 
331
- // Tabs
399
+ //== Tabs
332
400
  @nav-tabs-border-color: #ddd;
333
401
 
334
402
  @nav-tabs-link-hover-border-color: @gray-lighter;
@@ -340,45 +408,63 @@
340
408
  @nav-tabs-justified-link-border-color: #ddd;
341
409
  @nav-tabs-justified-active-link-border-color: @body-bg;
342
410
 
343
- // Pills
411
+ //== Pills
344
412
  @nav-pills-border-radius: @border-radius-base;
345
413
  @nav-pills-active-link-hover-bg: @component-active-bg;
346
414
  @nav-pills-active-link-hover-color: @component-active-color;
347
415
 
348
416
 
349
- // Pagination
350
- // -------------------------
417
+ //== Pagination
418
+ //
419
+ //##
351
420
 
421
+ @pagination-color: @link-color;
352
422
  @pagination-bg: #fff;
353
423
  @pagination-border: #ddd;
354
424
 
425
+ @pagination-hover-color: @link-hover-color;
355
426
  @pagination-hover-bg: @gray-lighter;
427
+ @pagination-hover-border: #ddd;
356
428
 
357
- @pagination-active-bg: @brand-primary;
358
429
  @pagination-active-color: #fff;
430
+ @pagination-active-bg: @brand-primary;
431
+ @pagination-active-border: @brand-primary;
359
432
 
360
433
  @pagination-disabled-color: @gray-light;
434
+ @pagination-disabled-bg: #fff;
435
+ @pagination-disabled-border: #ddd;
361
436
 
362
437
 
363
- // Pager
364
- // -------------------------
438
+ //== Pager
439
+ //
440
+ //##
365
441
 
442
+ @pager-bg: @pagination-bg;
443
+ @pager-border: @pagination-border;
366
444
  @pager-border-radius: 15px;
367
- @pager-disabled-color: @gray-light;
368
445
 
446
+ @pager-hover-bg: @pagination-hover-bg;
447
+
448
+ @pager-active-bg: @pagination-active-bg;
449
+ @pager-active-color: @pagination-active-color;
369
450
 
370
- // Jumbotron
371
- // -------------------------
451
+ @pager-disabled-color: @pagination-disabled-color;
452
+
453
+
454
+ //== Jumbotron
455
+ //
456
+ //##
372
457
 
373
458
  @jumbotron-padding: 30px;
374
459
  @jumbotron-color: inherit;
375
460
  @jumbotron-bg: @gray-lighter;
376
461
  @jumbotron-heading-color: inherit;
377
- @jumbotron-font-size: ceil(@font-size-base * 1.5);
462
+ @jumbotron-font-size: ceil((@font-size-base * 1.5));
378
463
 
379
464
 
380
- // Form states and alerts
381
- // -------------------------
465
+ //== Form states and alerts
466
+ //
467
+ //## Define colors for form feedback states and, by default, alerts.
382
468
 
383
469
  @state-success-text: #3c763d;
384
470
  @state-success-bg: #dff0d8;
@@ -397,65 +483,113 @@
397
483
  @state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
398
484
 
399
485
 
400
- // Tooltips
401
- // -------------------------
486
+ //== Tooltips
487
+ //
488
+ //##
489
+
490
+ //** Tooltip max width
402
491
  @tooltip-max-width: 200px;
492
+ //** Tooltip text color
403
493
  @tooltip-color: #fff;
494
+ //** Tooltip background color
404
495
  @tooltip-bg: #000;
496
+ @tooltip-opacity: .9;
405
497
 
498
+ //** Tooltip arrow width
406
499
  @tooltip-arrow-width: 5px;
500
+ //** Tooltip arrow color
407
501
  @tooltip-arrow-color: @tooltip-bg;
408
502
 
409
503
 
410
- // Popovers
411
- // -------------------------
504
+ //== Popovers
505
+ //
506
+ //##
507
+
508
+ //** Popover body background color
412
509
  @popover-bg: #fff;
510
+ //** Popover maximum width
413
511
  @popover-max-width: 276px;
512
+ //** Popover border color
414
513
  @popover-border-color: rgba(0,0,0,.2);
514
+ //** Popover fallback border color
415
515
  @popover-fallback-border-color: #ccc;
416
516
 
517
+ //** Popover title background color
417
518
  @popover-title-bg: darken(@popover-bg, 3%);
418
519
 
520
+ //** Popover arrow width
419
521
  @popover-arrow-width: 10px;
522
+ //** Popover arrow color
420
523
  @popover-arrow-color: #fff;
421
524
 
525
+ //** Popover outer arrow width
422
526
  @popover-arrow-outer-width: (@popover-arrow-width + 1);
423
- @popover-arrow-outer-color: rgba(0,0,0,.25);
424
- @popover-arrow-outer-fallback-color: #999;
527
+ //** Popover outer arrow color
528
+ @popover-arrow-outer-color: fadein(@popover-border-color, 5%);
529
+ //** Popover outer arrow fallback color
530
+ @popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%);
425
531
 
426
532
 
427
- // Labels
428
- // -------------------------
533
+ //== Labels
534
+ //
535
+ //##
429
536
 
537
+ //** Default label background color
430
538
  @label-default-bg: @gray-light;
539
+ //** Primary label background color
431
540
  @label-primary-bg: @brand-primary;
541
+ //** Success label background color
432
542
  @label-success-bg: @brand-success;
543
+ //** Info label background color
433
544
  @label-info-bg: @brand-info;
545
+ //** Warning label background color
434
546
  @label-warning-bg: @brand-warning;
547
+ //** Danger label background color
435
548
  @label-danger-bg: @brand-danger;
436
549
 
550
+ //** Default label text color
437
551
  @label-color: #fff;
552
+ //** Default text color of a linked label
438
553
  @label-link-hover-color: #fff;
439
554
 
440
555
 
441
- // Modals
442
- // -------------------------
556
+ //== Modals
557
+ //
558
+ //##
559
+
560
+ //** Padding applied to the modal body
443
561
  @modal-inner-padding: 20px;
444
562
 
563
+ //** Padding applied to the modal title
445
564
  @modal-title-padding: 15px;
565
+ //** Modal title line-height
446
566
  @modal-title-line-height: @line-height-base;
447
567
 
568
+ //** Background color of modal content area
448
569
  @modal-content-bg: #fff;
570
+ //** Modal content border color
449
571
  @modal-content-border-color: rgba(0,0,0,.2);
572
+ //** Modal content border color **for IE8**
450
573
  @modal-content-fallback-border-color: #999;
451
574
 
575
+ //** Modal backdrop background color
452
576
  @modal-backdrop-bg: #000;
577
+ //** Modal backdrop opacity
578
+ @modal-backdrop-opacity: .5;
579
+ //** Modal header border color
453
580
  @modal-header-border-color: #e5e5e5;
581
+ //** Modal footer border color
454
582
  @modal-footer-border-color: @modal-header-border-color;
455
583
 
584
+ @modal-lg: 900px;
585
+ @modal-md: 600px;
586
+ @modal-sm: 300px;
587
+
588
+
589
+ //== Alerts
590
+ //
591
+ //## Define alert colors, border radius, and padding.
456
592
 
457
- // Alerts
458
- // -------------------------
459
593
  @alert-padding: 15px;
460
594
  @alert-border-radius: @border-radius-base;
461
595
  @alert-link-font-weight: bold;
@@ -477,38 +611,62 @@
477
611
  @alert-danger-border: @state-danger-border;
478
612
 
479
613
 
480
- // Progress bars
481
- // -------------------------
614
+ //== Progress bars
615
+ //
616
+ //##
617
+
618
+ //** Background color of the whole progress component
482
619
  @progress-bg: #f5f5f5;
620
+ //** Progress bar text color
483
621
  @progress-bar-color: #fff;
484
622
 
623
+ //** Default progress bar color
485
624
  @progress-bar-bg: @brand-primary;
625
+ //** Success progress bar color
486
626
  @progress-bar-success-bg: @brand-success;
627
+ //** Warning progress bar color
487
628
  @progress-bar-warning-bg: @brand-warning;
629
+ //** Danger progress bar color
488
630
  @progress-bar-danger-bg: @brand-danger;
631
+ //** Info progress bar color
489
632
  @progress-bar-info-bg: @brand-info;
490
633
 
491
634
 
492
- // List group
493
- // -------------------------
494
- @list-group-bg: #fff;
495
- @list-group-border: #ddd;
496
- @list-group-border-radius: @border-radius-base;
497
-
498
- @list-group-hover-bg: #f5f5f5;
499
- @list-group-active-color: @component-active-color;
500
- @list-group-active-bg: @component-active-bg;
501
- @list-group-active-border: @list-group-active-bg;
502
-
503
- @list-group-link-color: #555;
504
- @list-group-link-heading-color: #333;
505
-
635
+ //== List group
636
+ //
637
+ //##
638
+
639
+ //** Background color on `.list-group-item`
640
+ @list-group-bg: #fff;
641
+ //** `.list-group-item` border color
642
+ @list-group-border: #ddd;
643
+ //** List group border radius
644
+ @list-group-border-radius: @border-radius-base;
645
+
646
+ //** Background color of single list elements on hover
647
+ @list-group-hover-bg: #f5f5f5;
648
+ //** Text color of active list elements
649
+ @list-group-active-color: @component-active-color;
650
+ //** Background color of active list elements
651
+ @list-group-active-bg: @component-active-bg;
652
+ //** Border color of active list elements
653
+ @list-group-active-border: @list-group-active-bg;
654
+ @list-group-active-text-color: lighten(@list-group-active-bg, 40%);
655
+
656
+ @list-group-link-color: #555;
657
+ @list-group-link-heading-color: #333;
658
+
659
+
660
+ //== Panels
661
+ //
662
+ //##
506
663
 
507
- // Panels
508
- // -------------------------
509
664
  @panel-bg: #fff;
510
- @panel-inner-border: #ddd;
665
+ @panel-body-padding: 15px;
511
666
  @panel-border-radius: @border-radius-base;
667
+
668
+ //** Border color for elements within panels
669
+ @panel-inner-border: #ddd;
512
670
  @panel-footer-bg: #f5f5f5;
513
671
 
514
672
  @panel-default-text: @gray-dark;
@@ -523,6 +681,10 @@
523
681
  @panel-success-border: @state-success-border;
524
682
  @panel-success-heading-bg: @state-success-bg;
525
683
 
684
+ @panel-info-text: @state-info-text;
685
+ @panel-info-border: @state-info-border;
686
+ @panel-info-heading-bg: @state-info-bg;
687
+
526
688
  @panel-warning-text: @state-warning-text;
527
689
  @panel-warning-border: @state-warning-border;
528
690
  @panel-warning-heading-bg: @state-warning-bg;
@@ -531,34 +693,46 @@
531
693
  @panel-danger-border: @state-danger-border;
532
694
  @panel-danger-heading-bg: @state-danger-bg;
533
695
 
534
- @panel-info-text: @state-info-text;
535
- @panel-info-border: @state-info-border;
536
- @panel-info-heading-bg: @state-info-bg;
537
696
 
697
+ //== Thumbnails
698
+ //
699
+ //##
538
700
 
539
- // Thumbnails
540
- // -------------------------
701
+ //** Padding around the thumbnail image
541
702
  @thumbnail-padding: 4px;
703
+ //** Thumbnail background color
542
704
  @thumbnail-bg: @body-bg;
705
+ //** Thumbnail border color
543
706
  @thumbnail-border: #ddd;
707
+ //** Thumbnail border radius
544
708
  @thumbnail-border-radius: @border-radius-base;
545
709
 
710
+ //** Custom text color for thumbnail captions
546
711
  @thumbnail-caption-color: @text-color;
712
+ //** Padding around the thumbnail caption
547
713
  @thumbnail-caption-padding: 9px;
548
714
 
549
715
 
550
- // Wells
551
- // -------------------------
716
+ //== Wells
717
+ //
718
+ //##
719
+
552
720
  @well-bg: #f5f5f5;
721
+ @well-border: darken(@well-bg, 7%);
553
722
 
554
723
 
555
- // Badges
556
- // -------------------------
724
+ //== Badges
725
+ //
726
+ //##
727
+
557
728
  @badge-color: #fff;
729
+ //** Linked badge text color on hover
558
730
  @badge-link-hover-color: #fff;
559
731
  @badge-bg: @gray-light;
560
732
 
733
+ //** Badge text color in active nav link
561
734
  @badge-active-color: @link-color;
735
+ //** Badge background color in active nav link
562
736
  @badge-active-bg: #fff;
563
737
 
564
738
  @badge-font-weight: bold;
@@ -566,16 +740,25 @@
566
740
  @badge-border-radius: 10px;
567
741
 
568
742
 
569
- // Breadcrumbs
570
- // -------------------------
571
- @breadcrumb-bg: #f5f5f5;
572
- @breadcrumb-color: #ccc;
573
- @breadcrumb-active-color: @gray-light;
574
- @breadcrumb-separator: "/";
743
+ //== Breadcrumbs
744
+ //
745
+ //##
746
+
747
+ @breadcrumb-padding-vertical: 8px;
748
+ @breadcrumb-padding-horizontal: 15px;
749
+ //** Breadcrumb background color
750
+ @breadcrumb-bg: #f5f5f5;
751
+ //** Breadcrumb text color
752
+ @breadcrumb-color: #ccc;
753
+ //** Text color of current page in the breadcrumb
754
+ @breadcrumb-active-color: @gray-light;
755
+ //** Textual separator for between breadcrumb elements
756
+ @breadcrumb-separator: "/";
575
757
 
576
758
 
577
- // Carousel
578
- // ------------------------
759
+ //== Carousel
760
+ //
761
+ //##
579
762
 
580
763
  @carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
581
764
 
@@ -590,53 +773,57 @@
590
773
  @carousel-caption-color: #fff;
591
774
 
592
775
 
593
- // Close
594
- // ------------------------
776
+ //== Close
777
+ //
778
+ //##
779
+
595
780
  @close-font-weight: bold;
596
781
  @close-color: #000;
597
782
  @close-text-shadow: 0 1px 0 #fff;
598
783
 
599
784
 
600
- // Code
601
- // ------------------------
785
+ //== Code
786
+ //
787
+ //##
788
+
602
789
  @code-color: #c7254e;
603
790
  @code-bg: #f9f2f4;
604
791
 
792
+ @kbd-color: #fff;
793
+ @kbd-bg: #333;
794
+
605
795
  @pre-bg: #f5f5f5;
606
796
  @pre-color: @gray-dark;
607
797
  @pre-border-color: #ccc;
608
798
  @pre-scrollable-max-height: 340px;
609
799
 
610
- // Type
611
- // ------------------------
800
+
801
+ //== Type
802
+ //
803
+ //##
804
+
805
+ //** Text muted color
612
806
  @text-muted: @gray-light;
807
+ //** Abbreviations and acronyms border color
613
808
  @abbr-border-color: @gray-light;
809
+ //** Headings small color
614
810
  @headings-small-color: @gray-light;
811
+ //** Blockquote small color
615
812
  @blockquote-small-color: @gray-light;
813
+ //** Blockquote font size
814
+ @blockquote-font-size: (@font-size-base * 1.25);
815
+ //** Blockquote border color
616
816
  @blockquote-border-color: @gray-lighter;
817
+ //** Page header border color
617
818
  @page-header-border-color: @gray-lighter;
618
819
 
619
- // Miscellaneous
620
- // -------------------------
621
820
 
622
- // Hr border color
821
+ //== Miscellaneous
822
+ //
823
+ //##
824
+
825
+ //** Horizontal line color.
623
826
  @hr-border: @gray-lighter;
624
827
 
625
- // Horizontal forms & lists
828
+ //** Horizontal offset for forms and lists.
626
829
  @component-offset-horizontal: 180px;
627
-
628
-
629
- // Container sizes
630
- // --------------------------------------------------
631
-
632
- // Small screen / tablet
633
- @container-tablet: ((720px + @grid-gutter-width));
634
- @container-sm: @container-tablet;
635
-
636
- // Medium screen / desktop
637
- @container-desktop: ((940px + @grid-gutter-width));
638
- @container-md: @container-desktop;
639
-
640
- // Large screen / wide desktop
641
- @container-large-desktop: ((1140px + @grid-gutter-width));
642
- @container-lg: @container-large-desktop;