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
@@ -1,6 +1,25 @@
1
- /*! normalize.css v2.1.3 | MIT License | git.io/normalize */
1
+ /*! normalize.css v3.0.0 | MIT License | git.io/normalize */
2
+
3
+ //
4
+ // 1. Set default font family to sans-serif.
5
+ // 2. Prevent iOS text size adjust after orientation change, without disabling
6
+ // user zoom.
7
+ //
8
+
9
+ html {
10
+ font-family: sans-serif; // 1
11
+ -ms-text-size-adjust: 100%; // 2
12
+ -webkit-text-size-adjust: 100%; // 2
13
+ }
14
+
15
+ //
16
+ // Remove default margin.
17
+ //
18
+
19
+ body {
20
+ margin: 0;
21
+ }
2
22
 
3
- // ==========================================================================
4
23
  // HTML5 display definitions
5
24
  // ==========================================================================
6
25
 
@@ -24,13 +43,16 @@ summary {
24
43
  }
25
44
 
26
45
  //
27
- // Correct `inline-block` display not defined in IE 8/9.
46
+ // 1. Correct `inline-block` display not defined in IE 8/9.
47
+ // 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
28
48
  //
29
49
 
30
50
  audio,
31
51
  canvas,
52
+ progress,
32
53
  video {
33
- display: inline-block;
54
+ display: inline-block; // 1
55
+ vertical-align: baseline; // 2
34
56
  }
35
57
 
36
58
  //
@@ -53,31 +75,6 @@ template {
53
75
  display: none;
54
76
  }
55
77
 
56
- // ==========================================================================
57
- // Base
58
- // ==========================================================================
59
-
60
- //
61
- // 1. Set default font family to sans-serif.
62
- // 2. Prevent iOS text size adjust after orientation change, without disabling
63
- // user zoom.
64
- //
65
-
66
- html {
67
- font-family: sans-serif; // 1
68
- -ms-text-size-adjust: 100%; // 2
69
- -webkit-text-size-adjust: 100%; // 2
70
- }
71
-
72
- //
73
- // Remove default margin.
74
- //
75
-
76
- body {
77
- margin: 0;
78
- }
79
-
80
- // ==========================================================================
81
78
  // Links
82
79
  // ==========================================================================
83
80
 
@@ -89,14 +86,6 @@ a {
89
86
  background: transparent;
90
87
  }
91
88
 
92
- //
93
- // Address `outline` inconsistency between Chrome and other browsers.
94
- //
95
-
96
- a:focus {
97
- outline: thin dotted;
98
- }
99
-
100
89
  //
101
90
  // Improve readability when focused and also mouse hovered in all browsers.
102
91
  //
@@ -106,19 +95,8 @@ a:hover {
106
95
  outline: 0;
107
96
  }
108
97
 
98
+ // Text-level semantics
109
99
  // ==========================================================================
110
- // Typography
111
- // ==========================================================================
112
-
113
- //
114
- // Address variable `h1` font-size and margin within `section` and `article`
115
- // contexts in Firefox 4+, Safari 5, and Chrome.
116
- //
117
-
118
- h1 {
119
- font-size: 2em;
120
- margin: 0.67em 0;
121
- }
122
100
 
123
101
  //
124
102
  // Address styling not present in IE 8/9, Safari 5, and Chrome.
@@ -146,13 +124,13 @@ dfn {
146
124
  }
147
125
 
148
126
  //
149
- // Address differences between Firefox and other browsers.
127
+ // Address variable `h1` font-size and margin within `section` and `article`
128
+ // contexts in Firefox 4+, Safari 5, and Chrome.
150
129
  //
151
130
 
152
- hr {
153
- -moz-box-sizing: content-box;
154
- box-sizing: content-box;
155
- height: 0;
131
+ h1 {
132
+ font-size: 2em;
133
+ margin: 0.67em 0;
156
134
  }
157
135
 
158
136
  //
@@ -164,34 +142,6 @@ mark {
164
142
  color: #000;
165
143
  }
166
144
 
167
- //
168
- // Correct font family set oddly in Safari 5 and Chrome.
169
- //
170
-
171
- code,
172
- kbd,
173
- pre,
174
- samp {
175
- font-family: monospace, serif;
176
- font-size: 1em;
177
- }
178
-
179
- //
180
- // Improve readability of pre-formatted text in all browsers.
181
- //
182
-
183
- pre {
184
- white-space: pre-wrap;
185
- }
186
-
187
- //
188
- // Set consistent quote types.
189
- //
190
-
191
- q {
192
- quotes: "\201C" "\201D" "\2018" "\2019";
193
- }
194
-
195
145
  //
196
146
  // Address inconsistent and variable font size in all browsers.
197
147
  //
@@ -220,7 +170,6 @@ sub {
220
170
  bottom: -0.25em;
221
171
  }
222
172
 
223
- // ==========================================================================
224
173
  // Embedded content
225
174
  // ==========================================================================
226
175
 
@@ -240,8 +189,7 @@ svg:not(:root) {
240
189
  overflow: hidden;
241
190
  }
242
191
 
243
- // ==========================================================================
244
- // Figures
192
+ // Grouping content
245
193
  // ==========================================================================
246
194
 
247
195
  //
@@ -249,63 +197,77 @@ svg:not(:root) {
249
197
  //
250
198
 
251
199
  figure {
252
- margin: 0;
200
+ margin: 1em 40px;
253
201
  }
254
202
 
255
- // ==========================================================================
256
- // Forms
257
- // ==========================================================================
203
+ //
204
+ // Address differences between Firefox and other browsers.
205
+ //
206
+
207
+ hr {
208
+ -moz-box-sizing: content-box;
209
+ box-sizing: content-box;
210
+ height: 0;
211
+ }
258
212
 
259
213
  //
260
- // Define consistent border, margin, and padding.
214
+ // Contain overflow in all browsers.
261
215
  //
262
216
 
263
- fieldset {
264
- border: 1px solid #c0c0c0;
265
- margin: 0 2px;
266
- padding: 0.35em 0.625em 0.75em;
217
+ pre {
218
+ overflow: auto;
267
219
  }
268
220
 
269
221
  //
270
- // 1. Correct `color` not being inherited in IE 8/9.
271
- // 2. Remove padding so people aren't caught out if they zero out fieldsets.
222
+ // Address odd `em`-unit font size rendering in all browsers.
272
223
  //
273
224
 
274
- legend {
275
- border: 0; // 1
276
- padding: 0; // 2
225
+ code,
226
+ kbd,
227
+ pre,
228
+ samp {
229
+ font-family: monospace, monospace;
230
+ font-size: 1em;
277
231
  }
278
232
 
233
+ // Forms
234
+ // ==========================================================================
235
+
236
+ //
237
+ // Known limitation: by default, Chrome and Safari on OS X allow very limited
238
+ // styling of `select`, unless a `border` property is set.
239
+ //
240
+
279
241
  //
280
- // 1. Correct font family not being inherited in all browsers.
281
- // 2. Correct font size not being inherited in all browsers.
242
+ // 1. Correct color not being inherited.
243
+ // Known issue: affects color of disabled elements.
244
+ // 2. Correct font properties not being inherited.
282
245
  // 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
283
246
  //
284
247
 
285
248
  button,
286
249
  input,
250
+ optgroup,
287
251
  select,
288
252
  textarea {
289
- font-family: inherit; // 1
290
- font-size: 100%; // 2
253
+ color: inherit; // 1
254
+ font: inherit; // 2
291
255
  margin: 0; // 3
292
256
  }
293
257
 
294
258
  //
295
- // Address Firefox 4+ setting `line-height` on `input` using `!important` in
296
- // the UA stylesheet.
259
+ // Address `overflow` set to `hidden` in IE 8/9/10.
297
260
  //
298
261
 
299
- button,
300
- input {
301
- line-height: normal;
262
+ button {
263
+ overflow: visible;
302
264
  }
303
265
 
304
266
  //
305
267
  // Address inconsistent `text-transform` inheritance for `button` and `select`.
306
268
  // All other form control elements do not inherit `text-transform` values.
307
- // Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
308
- // Correct `select` style inheritance in Firefox 4+ and Opera.
269
+ // Correct `button` style inheritance in Firefox, IE 8+, and Opera
270
+ // Correct `select` style inheritance in Firefox.
309
271
  //
310
272
 
311
273
  button,
@@ -338,6 +300,28 @@ html input[disabled] {
338
300
  cursor: default;
339
301
  }
340
302
 
303
+ //
304
+ // Remove inner padding and border in Firefox 4+.
305
+ //
306
+
307
+ button::-moz-focus-inner,
308
+ input::-moz-focus-inner {
309
+ border: 0;
310
+ padding: 0;
311
+ }
312
+
313
+ //
314
+ // Address Firefox 4+ setting `line-height` on `input` using `!important` in
315
+ // the UA stylesheet.
316
+ //
317
+
318
+ input {
319
+ line-height: normal;
320
+ }
321
+
322
+ //
323
+ // It's recommended that you don't attempt to style these elements.
324
+ // Firefox's implementation doesn't respect box-sizing, padding, or width.
341
325
  //
342
326
  // 1. Address box sizing set to `content-box` in IE 8/9/10.
343
327
  // 2. Remove excess padding in IE 8/9/10.
@@ -349,6 +333,17 @@ input[type="radio"] {
349
333
  padding: 0; // 2
350
334
  }
351
335
 
336
+ //
337
+ // Fix the cursor style for Chrome's increment/decrement buttons. For certain
338
+ // `font-size` values of the `input`, it causes the cursor style of the
339
+ // decrement button to change from `default` to `text`.
340
+ //
341
+
342
+ input[type="number"]::-webkit-inner-spin-button,
343
+ input[type="number"]::-webkit-outer-spin-button {
344
+ height: auto;
345
+ }
346
+
352
347
  //
353
348
  // 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
354
349
  // 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
@@ -363,8 +358,9 @@ input[type="search"] {
363
358
  }
364
359
 
365
360
  //
366
- // Remove inner padding and search cancel button in Safari 5 and Chrome
367
- // on OS X.
361
+ // Remove inner padding and search cancel button in Safari and Chrome on OS X.
362
+ // Safari (but not Chrome) clips the cancel button when the search input has
363
+ // padding (and `textfield` appearance).
368
364
  //
369
365
 
370
366
  input[type="search"]::-webkit-search-cancel-button,
@@ -373,26 +369,42 @@ input[type="search"]::-webkit-search-decoration {
373
369
  }
374
370
 
375
371
  //
376
- // Remove inner padding and border in Firefox 4+.
372
+ // Define consistent border, margin, and padding.
377
373
  //
378
374
 
379
- button::-moz-focus-inner,
380
- input::-moz-focus-inner {
381
- border: 0;
382
- padding: 0;
375
+ fieldset {
376
+ border: 1px solid #c0c0c0;
377
+ margin: 0 2px;
378
+ padding: 0.35em 0.625em 0.75em;
383
379
  }
384
380
 
385
381
  //
386
- // 1. Remove default vertical scrollbar in IE 8/9.
387
- // 2. Improve readability and alignment in all browsers.
382
+ // 1. Correct `color` not being inherited in IE 8/9.
383
+ // 2. Remove padding so people aren't caught out if they zero out fieldsets.
384
+ //
385
+
386
+ legend {
387
+ border: 0; // 1
388
+ padding: 0; // 2
389
+ }
390
+
391
+ //
392
+ // Remove default vertical scrollbar in IE 8/9.
388
393
  //
389
394
 
390
395
  textarea {
391
- overflow: auto; // 1
392
- vertical-align: top; // 2
396
+ overflow: auto;
397
+ }
398
+
399
+ //
400
+ // Don't inherit the `font-weight` (applied by a rule above).
401
+ // NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
402
+ //
403
+
404
+ optgroup {
405
+ font-weight: bold;
393
406
  }
394
407
 
395
- // ==========================================================================
396
408
  // Tables
397
409
  // ==========================================================================
398
410
 
@@ -404,3 +416,8 @@ table {
404
416
  border-collapse: collapse;
405
417
  border-spacing: 0;
406
418
  }
419
+
420
+ td,
421
+ th {
422
+ padding: 0;
423
+ }
@@ -8,22 +8,22 @@
8
8
  margin: @line-height-computed 0;
9
9
  list-style: none;
10
10
  text-align: center;
11
- .clearfix();
11
+ &:extend(.clearfix all);
12
12
  li {
13
13
  display: inline;
14
14
  > a,
15
15
  > span {
16
16
  display: inline-block;
17
17
  padding: 5px 14px;
18
- background-color: @pagination-bg;
19
- border: 1px solid @pagination-border;
18
+ background-color: @pager-bg;
19
+ border: 1px solid @pager-border;
20
20
  border-radius: @pager-border-radius;
21
21
  }
22
22
 
23
23
  > a:hover,
24
24
  > a:focus {
25
25
  text-decoration: none;
26
- background-color: @pagination-hover-bg;
26
+ background-color: @pager-hover-bg;
27
27
  }
28
28
  }
29
29
 
@@ -47,7 +47,7 @@
47
47
  > a:focus,
48
48
  > span {
49
49
  color: @pager-disabled-color;
50
- background-color: @pagination-bg;
50
+ background-color: @pager-bg;
51
51
  cursor: not-allowed;
52
52
  }
53
53
  }
@@ -16,6 +16,7 @@
16
16
  padding: @padding-base-vertical @padding-base-horizontal;
17
17
  line-height: @line-height-base;
18
18
  text-decoration: none;
19
+ color: @pagination-color;
19
20
  background-color: @pagination-bg;
20
21
  border: 1px solid @pagination-border;
21
22
  margin-left: -1px;
@@ -39,7 +40,9 @@
39
40
  > li > span {
40
41
  &:hover,
41
42
  &:focus {
43
+ color: @pagination-hover-color;
42
44
  background-color: @pagination-hover-bg;
45
+ border-color: @pagination-hover-border;
43
46
  }
44
47
  }
45
48
 
@@ -51,7 +54,7 @@
51
54
  z-index: 2;
52
55
  color: @pagination-active-color;
53
56
  background-color: @pagination-active-bg;
54
- border-color: @pagination-active-bg;
57
+ border-color: @pagination-active-border;
55
58
  cursor: default;
56
59
  }
57
60
  }
@@ -64,8 +67,8 @@
64
67
  > a:hover,
65
68
  > a:focus {
66
69
  color: @pagination-disabled-color;
67
- background-color: @pagination-bg;
68
- border-color: @pagination-border;
70
+ background-color: @pagination-disabled-bg;
71
+ border-color: @pagination-disabled-border;
69
72
  cursor: not-allowed;
70
73
  }
71
74
  }
@@ -14,8 +14,39 @@
14
14
 
15
15
  // Panel contents
16
16
  .panel-body {
17
- padding: 15px;
18
- .clearfix();
17
+ padding: @panel-body-padding;
18
+ &:extend(.clearfix all);
19
+ }
20
+
21
+ // Optional heading
22
+ .panel-heading {
23
+ padding: 10px 15px;
24
+ border-bottom: 1px solid transparent;
25
+ .border-top-radius((@panel-border-radius - 1));
26
+
27
+ > .dropdown .dropdown-toggle {
28
+ color: inherit;
29
+ }
30
+ }
31
+
32
+ // Within heading, strip any `h*` tag of its default margins for spacing.
33
+ .panel-title {
34
+ margin-top: 0;
35
+ margin-bottom: 0;
36
+ font-size: ceil((@font-size-base * 1.125));
37
+ color: inherit;
38
+
39
+ > a {
40
+ color: inherit;
41
+ }
42
+ }
43
+
44
+ // Optional footer (stays gray in every modifier class)
45
+ .panel-footer {
46
+ padding: 10px 15px;
47
+ background-color: @panel-footer-bg;
48
+ border-top: 1px solid @panel-inner-border;
49
+ .border-bottom-radius((@panel-border-radius - 1));
19
50
  }
20
51
 
21
52
 
@@ -30,14 +61,21 @@
30
61
 
31
62
  .list-group-item {
32
63
  border-width: 1px 0;
64
+ border-radius: 0;
65
+ }
33
66
 
34
- // Remove border radius for top one
35
- &:first-child {
36
- .border-top-radius(0);
67
+ // Add border top radius for first one
68
+ &:first-child {
69
+ .list-group-item:first-child {
70
+ border-top: 0;
71
+ .border-top-radius((@panel-border-radius - 1));
37
72
  }
38
- // But keep it for the last one
39
- &:last-child {
73
+ }
74
+ // Add border bottom radius for last one
75
+ &:last-child {
76
+ .list-group-item:last-child {
40
77
  border-bottom: 0;
78
+ .border-bottom-radius((@panel-border-radius - 1));
41
79
  }
42
80
  }
43
81
  }
@@ -60,12 +98,50 @@
60
98
  > .table-responsive > .table {
61
99
  margin-bottom: 0;
62
100
  }
101
+ // Add border top radius for first one
102
+ > .table:first-child,
103
+ > .table-responsive:first-child > .table:first-child {
104
+ .border-top-radius((@panel-border-radius - 1));
105
+
106
+ > thead:first-child,
107
+ > tbody:first-child {
108
+ > tr:first-child {
109
+ td:first-child,
110
+ th:first-child {
111
+ border-top-left-radius: (@panel-border-radius - 1);
112
+ }
113
+ td:last-child,
114
+ th:last-child {
115
+ border-top-right-radius: (@panel-border-radius - 1);
116
+ }
117
+ }
118
+ }
119
+ }
120
+ // Add border bottom radius for last one
121
+ > .table:last-child,
122
+ > .table-responsive:last-child > .table:last-child {
123
+ .border-bottom-radius((@panel-border-radius - 1));
124
+
125
+ > tbody:last-child,
126
+ > tfoot:last-child {
127
+ > tr:last-child {
128
+ td:first-child,
129
+ th:first-child {
130
+ border-bottom-left-radius: (@panel-border-radius - 1);
131
+ }
132
+ td:last-child,
133
+ th:last-child {
134
+ border-bottom-right-radius: (@panel-border-radius - 1);
135
+ }
136
+ }
137
+ }
138
+ }
63
139
  > .panel-body + .table,
64
140
  > .panel-body + .table-responsive {
65
141
  border-top: 1px solid @table-border-color;
66
142
  }
67
- > .table > tbody:first-child th,
68
- > .table > tbody:first-child td {
143
+ > .table > tbody:first-child > tr:first-child th,
144
+ > .table > tbody:first-child > tr:first-child td {
69
145
  border-top: 0;
70
146
  }
71
147
  > .table-bordered,
@@ -83,9 +159,22 @@
83
159
  > td:last-child {
84
160
  border-right: 0;
85
161
  }
86
-
87
- &:last-child > th,
88
- &:last-child > td {
162
+ }
163
+ }
164
+ > thead,
165
+ > tbody {
166
+ > tr:first-child {
167
+ > td,
168
+ > th {
169
+ border-bottom: 0;
170
+ }
171
+ }
172
+ }
173
+ > tbody,
174
+ > tfoot {
175
+ > tr:last-child {
176
+ > td,
177
+ > th {
89
178
  border-bottom: 0;
90
179
  }
91
180
  }
@@ -98,44 +187,14 @@
98
187
  }
99
188
 
100
189
 
101
- // Optional heading
102
- .panel-heading {
103
- padding: 10px 15px;
104
- border-bottom: 1px solid transparent;
105
- .border-top-radius(@panel-border-radius - 1);
106
-
107
- > .dropdown .dropdown-toggle {
108
- color: inherit;
109
- }
110
- }
111
-
112
- // Within heading, strip any `h*` tag of it's default margins for spacing.
113
- .panel-title {
114
- margin-top: 0;
115
- margin-bottom: 0;
116
- font-size: ceil((@font-size-base * 1.125));
117
- color: inherit;
118
-
119
- > a {
120
- color: inherit;
121
- }
122
- }
123
-
124
- // Optional footer (stays gray in every modifier class)
125
- .panel-footer {
126
- padding: 10px 15px;
127
- background-color: @panel-footer-bg;
128
- border-top: 1px solid @panel-inner-border;
129
- .border-bottom-radius(@panel-border-radius - 1);
130
- }
131
-
132
-
133
190
  // Collapsable panels (aka, accordion)
134
191
  //
135
192
  // Wrap a series of panels in `.panel-group` to turn them into an accordion with
136
193
  // the help of our collapse JavaScript plugin.
137
194
 
138
195
  .panel-group {
196
+ margin-bottom: @line-height-computed;
197
+
139
198
  // Tighten up margin so it's only between panels
140
199
  .panel {
141
200
  margin-bottom: 0;
@@ -171,12 +230,12 @@
171
230
  .panel-success {
172
231
  .panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);
173
232
  }
233
+ .panel-info {
234
+ .panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);
235
+ }
174
236
  .panel-warning {
175
237
  .panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);
176
238
  }
177
239
  .panel-danger {
178
240
  .panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);
179
241
  }
180
- .panel-info {
181
- .panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);
182
- }