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
@@ -0,0 +1,501 @@
1
+ //
2
+ // Navbar
3
+ // --------------------------------------------------
4
+
5
+ .navbar-pf {
6
+ background: @navbar-pf-bg-color;
7
+ border: 0;
8
+ border-radius: 0;
9
+ border-top: 3px solid @navbar-pf-border-color;
10
+ margin-bottom: 0;
11
+ min-height: 0;
12
+ .navbar-brand {
13
+ color: @navbar-pf-active-color;
14
+ height: auto;
15
+ padding: 12px 0;
16
+ margin: 0 0 0 20px;
17
+ .ie8 & {
18
+ background: url('@{img-path}/@{img-brand-ie8}') no-repeat 0 49%;
19
+ min-width: @navbar-pf-navbar-navbar-brand-min-width;
20
+ }
21
+ img {
22
+ display: block;
23
+ .ie8 & {
24
+ height: 10px;
25
+ width: 0;
26
+ }
27
+ }
28
+ }
29
+ .navbar-collapse {
30
+ border-top: 0;
31
+ .box-shadow(none);
32
+ padding: 0;
33
+ }
34
+ .navbar-header {
35
+ border-bottom: 1px solid @navbar-pf-navbar-header-border-color;
36
+ float: none;
37
+ }
38
+ .navbar-nav {
39
+ margin: 0;
40
+ > .active > a, > .active > a:hover, > .active > a:focus {
41
+ background-color: @navbar-pf-navbar-nav-active-bg-color;
42
+ color: @navbar-pf-active-color;
43
+ }
44
+ > li > a {
45
+ color: @navbar-pf-color;
46
+ line-height: 1;
47
+ padding: 10px 20px;
48
+ text-shadow: none;
49
+ &:hover, &:focus {
50
+ color: @navbar-pf-active-color;
51
+ }
52
+ }
53
+ > .open {
54
+ > a {
55
+ &, &:hover, &:focus {
56
+ background-color: @navbar-pf-navbar-nav-active-bg-color;
57
+ color: @navbar-pf-active-color;
58
+ }
59
+ }
60
+ }
61
+ @media (max-width: @grid-float-breakpoint-max) {
62
+ .active .navbar-persistent, .active .dropdown-menu, .open .dropdown-menu {
63
+ background-color: @navbar-pf-navbar-nav-active-active-bg-color !important;
64
+ margin-left: 0;
65
+ padding-bottom: 0;
66
+ padding-top: 0;
67
+ > .active > a, .dropdown-submenu.open > a {
68
+ &, &:hover, &:focus {
69
+ background-color: @navbar-pf-navbar-nav-active-active-open-bg-color !important;
70
+ color: @navbar-pf-active-color;
71
+ }
72
+ }
73
+ > li > a {
74
+ background-color: transparent;
75
+ border: 0;
76
+ color: @navbar-pf-color;
77
+ outline: none;
78
+ padding-left: 30px;
79
+ &:hover {
80
+ color: @navbar-pf-active-color;
81
+ }
82
+ }
83
+ .divider {
84
+ background-color: @navbar-pf-navbar-header-border-color;
85
+ margin: 0 1px;
86
+ }
87
+ .dropdown-header {
88
+ padding-bottom: 0;
89
+ padding-left: 30px;
90
+ }
91
+ .dropdown-submenu {
92
+ &.open .dropdown-toggle {
93
+ color: @navbar-pf-active-color;
94
+ }
95
+ &.pull-left {
96
+ float: none !important;
97
+ }
98
+ > a:after {
99
+ display: none;
100
+ }
101
+ .dropdown-header {
102
+ padding-left: 45px;
103
+ }
104
+ .dropdown-menu {
105
+ border: 0;
106
+ bottom: auto;
107
+ .box-shadow(none);
108
+ display: block;
109
+ float: none;
110
+ margin: 0;
111
+ min-width: 0;
112
+ padding: 0;
113
+ position: relative;
114
+ left: auto;
115
+ right: auto;
116
+ top: auto;
117
+ > li > a {
118
+ padding: 5px 15px 5px 45px;
119
+ line-height: 20px;
120
+ }
121
+ .dropdown-menu > li > a {
122
+ padding-left: 60px;
123
+ }
124
+ }
125
+ }
126
+ }
127
+ .active .navbar-persistent {
128
+ .dropdown-submenu {
129
+ &.open .dropdown-menu {
130
+ display: block;
131
+ }
132
+ > a:after {
133
+ display: inline-block !important;
134
+ position: relative;
135
+ right: auto;
136
+ top: 1px;
137
+ }
138
+ .dropdown-menu {
139
+ display: none;
140
+ }
141
+ .dropdown-submenu > a:after {
142
+ display: none !important;
143
+ }
144
+ }
145
+ }
146
+ .context-bootstrap-select { // Also see bootstrap-select.less
147
+ .open > .dropdown-menu {
148
+ background-color: #fff !important;
149
+ > .active > a {
150
+ &, &:active {
151
+ background-color: @dropdown-link-hover-bg !important;
152
+ border-color: @dropdown-link-hover-border-color !important;
153
+ color: @gray-dark !important;
154
+ small {
155
+ color: @gray-light !important;
156
+ }
157
+ }
158
+ }
159
+ > .disabled > a {
160
+ color: @gray-light !important;
161
+ }
162
+ > .selected > a {
163
+ &, &:active {
164
+ background-color: @dropdown-link-active-bg !important;
165
+ border-color: @dropdown-link-active-border-color !important;
166
+ color: #fff !important;
167
+ small {
168
+ color: #70c8e7 !important;
169
+ color:rgba(225, 255, 255, 0.5) !important;
170
+ }
171
+ }
172
+ }
173
+ li {
174
+ > a.opt {
175
+ border-bottom: 1px solid transparent;
176
+ border-top: 1px solid transparent;
177
+ color: @gray-dark;
178
+ padding-left: 10px;
179
+ padding-right: 10px;
180
+ }
181
+ & a {
182
+ &:active small {
183
+ color: #70c8e7 !important;
184
+ color:rgba(225, 255, 255, 0.5) !important;
185
+ }
186
+ &:hover, &:focus {
187
+ small {
188
+ color: @gray-light;
189
+ }
190
+ }
191
+ }
192
+ }
193
+ }
194
+ > .open > .dropdown-menu {
195
+ padding-bottom: 5px;
196
+ padding-top: 5px;
197
+ }
198
+ }
199
+ }
200
+ }
201
+ .navbar-persistent {
202
+ display: none;
203
+ }
204
+ .active > .navbar-persistent {
205
+ display: block;
206
+ }
207
+ .navbar-primary {
208
+ float: none;
209
+ .context {
210
+ border-bottom: 1px solid @navbar-pf-navbar-header-border-color;
211
+ &.context-bootstrap-select .bootstrap-select.btn-group {
212
+ &, &[class*="span"] {
213
+ margin: 8px 20px 9px;
214
+ width: auto; // known bug: IE8 will make it as wide as the longest string
215
+ }
216
+ }
217
+ }
218
+ > li > .navbar-persistent > .dropdown-submenu > a {
219
+ position: relative;
220
+ &:after {
221
+ content: @fa-var-angle-down;
222
+ display: inline-block;
223
+ font-family: @icon-font-name-fa;
224
+ font-weight: normal;
225
+ @media (max-width: @grid-float-breakpoint-max) {
226
+ height: 10px;
227
+ margin-left: 4px;
228
+ vertical-align: baseline;
229
+ }
230
+ }
231
+ }
232
+ }
233
+ .navbar-toggle {
234
+ border: 0;
235
+ margin: 0;
236
+ padding: 10px 20px;
237
+ &:hover, &:focus {
238
+ background-color: transparent;
239
+ outline: none;
240
+ .icon-bar {
241
+ .box-shadow(0 0 3px rgba(255,255,255,1));
242
+ }
243
+ }
244
+ .icon-bar {
245
+ background-color: @navbar-pf-icon-bar-bg-color;
246
+ }
247
+ }
248
+ .navbar-utility {
249
+ border-bottom: 1px solid @navbar-pf-navbar-header-border-color;
250
+ li.dropdown > .dropdown-toggle {
251
+ padding-left: 36px;
252
+ position: relative;
253
+ .pficon-user {
254
+ left: 20px;
255
+ position: absolute;
256
+ top: 10px;
257
+ }
258
+ }
259
+ @media (max-width: @grid-float-breakpoint-max) {
260
+ > li + li {
261
+ border-top: 1px solid @navbar-pf-navbar-header-border-color;
262
+ }
263
+ }
264
+ }
265
+ }
266
+
267
+ @media (min-width: @grid-float-breakpoint) {
268
+ .navbar-pf {
269
+ .navbar-brand {
270
+ padding: @navbar-pf-navbar-navbar-brand-padding;
271
+ }
272
+ .navbar-nav > li > a {
273
+ padding-bottom: 14px;
274
+ padding-top: 14px;
275
+ }
276
+ .navbar-persistent {
277
+ font-size: @font-size-large;
278
+ }
279
+ .navbar-primary {
280
+ font-size: @font-size-large;
281
+ #gradient > .vertical(@navbar-pf-navbar-primary-bg-color-start, @navbar-pf-navbar-primary-bg-color-stop);
282
+ &.persistent-secondary {
283
+ .context {
284
+ .dropdown-menu {
285
+ top: auto;
286
+ }
287
+ }
288
+ .dropup .dropdown-menu {
289
+ bottom: -5px;
290
+ top: auto;
291
+ }
292
+ > li {
293
+ position: static;
294
+ &.active {
295
+ margin-bottom: 32px;
296
+ > .navbar-persistent {
297
+ display: block;
298
+ left: 0;
299
+ position: absolute;
300
+ }
301
+ }
302
+ > .navbar-persistent {
303
+ background: @navbar-pf-navbar-navbar-persistent-bg-color;
304
+ border-bottom: 1px solid @navbar-pf-navbar-navbar-persistent-border-color;
305
+ padding: 0;
306
+ width: 100%;
307
+ a {
308
+ text-decoration: none !important;
309
+ }
310
+ > li {
311
+ &.active {
312
+ &, &:hover {
313
+ .tab-indicator(@background: @nav-tabs-active-link-hover-color, @left: 20px, @right: 20px);
314
+ }
315
+ > a, > a:hover, &:hover > a {
316
+ color: @link-color !important;
317
+ }
318
+ .active > a {
319
+ color: @navbar-pf-active-color;
320
+ }
321
+ }
322
+ &.dropdown-submenu {
323
+ &:hover > .dropdown-menu {
324
+ display: none;
325
+ }
326
+ &.open {
327
+ > .dropdown-menu {
328
+ display: block;
329
+ left: 20px;
330
+ margin-top: 1px;
331
+ top: 100%;
332
+ }
333
+ > .dropdown-toggle {
334
+ color: @gray-darker;
335
+ &:after {
336
+ border-top-color: @gray-darker;
337
+ }
338
+ }
339
+ }
340
+ > .dropdown-toggle {
341
+ padding-right: 35px !important;
342
+ &:after {
343
+ position: absolute;
344
+ right: 20px;
345
+ top: 10px;
346
+ }
347
+ }
348
+ }
349
+ &:hover, &.open {
350
+ .tab-indicator(@left: 20px, @right: 20px);
351
+ > a {
352
+ color: @gray-darker;
353
+ &:after {
354
+ border-top-color: @gray-darker;
355
+ }
356
+ }
357
+ }
358
+ > a {
359
+ background-color: transparent;
360
+ display: block;
361
+ line-height: 1;
362
+ padding: 9px 20px;
363
+ &.dropdown-toggle {
364
+ padding-right: 35px;
365
+ &:after {
366
+ font-size: @font-size-large + 1;
367
+ position: absolute;
368
+ right: 20px;
369
+ top: 9px;
370
+ }
371
+ }
372
+ &:hover {
373
+ color: @gray-darker;
374
+ }
375
+ }
376
+ a {
377
+ color: @gray-pf;
378
+ }
379
+ }
380
+ }
381
+ }
382
+ }
383
+ > li > a {
384
+ border-bottom: 1px solid transparent;
385
+ border-top: 1px solid transparent;
386
+ position: relative;
387
+ margin: -1px 0 0;
388
+ &:hover {
389
+ background-color: @navbar-pf-navbar-primary-hover-bg-color-stop;
390
+ border-top-color: @navbar-pf-navbar-primary-hover-border-color;
391
+ color: @navbar-pf-color;
392
+ #gradient > .vertical(@navbar-pf-navbar-primary-hover-bg-color-start, @navbar-pf-navbar-primary-hover-bg-color-stop);
393
+ }
394
+ }
395
+ > .active > a, > .active > a:hover, > .active > a:focus, > .open > a, > .open > a:hover, > .open > a:focus {
396
+ background-color: @navbar-pf-navbar-primary-active-bg-color-stop;
397
+ border-bottom-color: @navbar-pf-navbar-primary-active-bg-color-stop;
398
+ border-top-color: @navbar-pf-navbar-primary-active-border-color;
399
+ .box-shadow(none);
400
+ color: @navbar-pf-active-color;
401
+ #gradient > .vertical(@navbar-pf-navbar-primary-active-bg-color-start, @navbar-pf-navbar-primary-active-bg-color-stop);
402
+ }
403
+ li.context {
404
+ &.context-bootstrap-select .filter-option {
405
+ max-width: 160px;
406
+ text-overflow: ellipsis;
407
+ .ie8 & {
408
+ max-width: none;
409
+ }
410
+ }
411
+ &.dropdown {
412
+ border-bottom: 0;
413
+ }
414
+ > a, &.context-bootstrap-select {
415
+ background-color: @navbar-pf-navbar-primary-context-bg-color-stop;
416
+ border-bottom-color: @navbar-pf-navbar-primary-context-border-color;
417
+ border-right: 1px solid @navbar-pf-navbar-primary-context-border-color;
418
+ border-top-color: @navbar-pf-navbar-primary-context-border-top-color;
419
+ font-weight: 600;
420
+ #gradient > .vertical(@navbar-pf-navbar-primary-context-bg-color-start, @navbar-pf-navbar-primary-context-bg-color-stop);
421
+ &:hover {
422
+ background-color: @navbar-pf-navbar-primary-context-hover-bg-color-stop;
423
+ border-bottom-color: @navbar-pf-navbar-primary-context-hover-border-color;
424
+ border-right-color: @navbar-pf-navbar-primary-context-hover-border-color;
425
+ border-top-color: @navbar-pf-navbar-primary-context-hover-border-top-color;
426
+ #gradient > .vertical(@navbar-pf-navbar-primary-context-hover-bg-color-start, @navbar-pf-navbar-primary-context-hover-bg-color-stop);
427
+ }
428
+ }
429
+ &.open > a {
430
+ background-color: @navbar-pf-navbar-primary-context-active-bg-color-stop;
431
+ border-bottom-color: @navbar-pf-navbar-primary-context-active-border-color;
432
+ border-right-color: @navbar-pf-navbar-primary-context-active-border-right-color;
433
+ border-top-color: @navbar-pf-navbar-primary-context-active-border-top-color;
434
+ #gradient > .vertical(@navbar-pf-navbar-primary-context-active-bg-color-start, @navbar-pf-navbar-primary-context-active-bg-color-stop);
435
+ }
436
+ }
437
+ }
438
+ .navbar-utility {
439
+ border-bottom: 0;
440
+ font-size: @font-size-small;
441
+ position: absolute;
442
+ right: 0;
443
+ top: 0;
444
+ > .active > a, > .active > a:hover, > .active > a:focus, > .open > a, > .open > a:hover, > .open > a:focus {
445
+ background: @navbar-pf-navbar-utility-open-bg-color;
446
+ color: @navbar-pf-navbar-utility-color;
447
+ }
448
+ > li > a {
449
+ border-left: 1px solid @navbar-pf-navbar-utility-border-color;
450
+ color: @navbar-pf-navbar-utility-color !important;
451
+ padding: 7px 10px;
452
+ &:hover {
453
+ background: @navbar-pf-navbar-utility-hover-bg-color;
454
+ border-left-color: @navbar-pf-navbar-utility-hover-border-color;
455
+ }
456
+ }
457
+ > li.open > a {
458
+ border-left-color: @navbar-pf-navbar-utility-open-border-color;
459
+ color: @navbar-pf-active-color !important;
460
+ }
461
+ li.dropdown > .dropdown-toggle {
462
+ padding-left: 26px;
463
+ .pficon-user {
464
+ left: 10px;
465
+ top: 7px;
466
+ }
467
+ }
468
+ .open .dropdown-menu {
469
+ left: auto;
470
+ right: 0;
471
+ .dropdown-menu {
472
+ left: auto;
473
+ right: 100%;
474
+ }
475
+ }
476
+ }
477
+ .open {
478
+ .dropdown-menu {
479
+ border-top-width: 0 !important;
480
+ }
481
+ &.bootstrap-select .dropdown-menu, .dropdown-submenu > .dropdown-menu {
482
+ border-top-width: 1px !important;
483
+ }
484
+ }
485
+ }
486
+ }
487
+ @media (max-width: 360px) {
488
+ .navbar-pf {
489
+ .navbar-brand {
490
+ margin-left: 10px;
491
+ width: 75%;
492
+ img {
493
+ height: auto;
494
+ max-width: 100%;
495
+ }
496
+ }
497
+ .navbar-toggle {
498
+ padding-left: 0;
499
+ }
500
+ }
501
+ }
@@ -0,0 +1,72 @@
1
+ //
2
+ // Pager
3
+ // --------------------------------------------------
4
+
5
+ .pager {
6
+ li {
7
+ > a,
8
+ > span {
9
+ .button-variant(@btn-default-color; @btn-default-bg; @btn-default-bg-img-start; @btn-default-bg-img-stop; @btn-default-border);
10
+ color: @gray-pf;
11
+ font-weight: 600;
12
+ line-height: 22px;
13
+ padding: 2px 14px;
14
+ > .i {
15
+ font-size: 18px;
16
+ vertical-align: top;
17
+ margin: 2px 0;
18
+ }
19
+ }
20
+ > a:hover
21
+ > a:focus {
22
+ color: @gray-pf;
23
+ }
24
+ a:active {
25
+ background-image: none;
26
+ .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
27
+ outline: 0;
28
+ }
29
+ }
30
+ .disabled {
31
+ > a,
32
+ > a:hover,
33
+ > a:focus,
34
+ > a:active,
35
+ > span {
36
+ background: @pagination-bg;
37
+ .box-shadow(none);
38
+ color: @pager-disabled-color;
39
+ cursor: default;
40
+ }
41
+ }
42
+ .next {
43
+ > a,
44
+ > span {
45
+ > .i {
46
+ margin-left: 5px;
47
+ }
48
+ }
49
+ }
50
+ .previous {
51
+ > a,
52
+ > span {
53
+ > .i {
54
+ margin-right: 5px;
55
+ }
56
+ }
57
+ }
58
+ }
59
+
60
+ .pager-sm {
61
+ li {
62
+ > a,
63
+ > span {
64
+ font-weight: 400;
65
+ line-height: 16px;
66
+ padding: 1px 10px;
67
+ > .i {
68
+ font-size: 12px;
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,64 @@
1
+ //
2
+ // Pagination
3
+ // --------------------------------------------------
4
+
5
+ .pagination {
6
+ > li {
7
+ > a,
8
+ > span {
9
+ .button-variant(@btn-default-color; @btn-default-bg; @btn-default-bg-img-start; @btn-default-bg-img-stop; @btn-default-border);
10
+ cursor: default;
11
+ font-weight: 600;
12
+ padding: @padding-base-vertical @padding-large-horizontal;
13
+ > .i {
14
+ font-size: 15px;
15
+ vertical-align: top;
16
+ margin: 2px 0;
17
+ }
18
+ }
19
+ }
20
+ > li > a,
21
+ > li > span {
22
+ &:active {
23
+ .box-shadow(inset 0 2px 8px rgba(0,0,0,.2));
24
+ }
25
+ }
26
+ > .active > a,
27
+ > .active > span {
28
+ &,
29
+ &:hover,
30
+ &:focus {
31
+ background-color: @btn-default-bg;
32
+ border-color: @pagination-border;
33
+ .box-shadow(inset 0 2px 8px rgba(0,0,0,.2));
34
+ color: @btn-default-color;
35
+ #gradient > .vertical(@btn-default-bg-img-start; @btn-default-bg-img-stop);
36
+ }
37
+ }
38
+ > .disabled {
39
+ > span,
40
+ > span:hover,
41
+ > span:focus,
42
+ > a,
43
+ > a:hover,
44
+ > a:focus {
45
+ .box-shadow(none);
46
+ cursor: default;
47
+ #gradient > .vertical(@btn-default-bg-img-start; @btn-default-bg-img-stop);
48
+ }
49
+ }
50
+ }
51
+
52
+ .pagination-sm {
53
+ .pagination-size(@pagination-padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);
54
+ > li {
55
+ > a,
56
+ > span {
57
+ font-weight: 400;
58
+ > .i {
59
+ font-size: 12px;
60
+ margin-top: 3px;
61
+ }
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,57 @@
1
+ //
2
+ // Panels
3
+ // --------------------------------------------------
4
+
5
+ .panel-title {
6
+ font-weight: 700;
7
+ }
8
+
9
+ //
10
+ // Collapsable panels (aka, accordion)
11
+ // --------------------------------------------------
12
+
13
+ .panel-group {
14
+ .panel {
15
+ color: @gray-pf;
16
+ + .panel {
17
+ margin-top: -1px;
18
+ }
19
+ }
20
+ .panel-default {
21
+ border-color: @panel-default-border-color;
22
+ border-top-color: #c4c3c3;
23
+ }
24
+ .panel-heading {
25
+ #gradient > .vertical(@btn-default-bg-img-start, @btn-default-bg-img-stop);
26
+ + .panel-collapse .panel-body {
27
+ border-top: 1px solid @panel-inner-border;
28
+ }
29
+ }
30
+ .panel-title {
31
+ font-weight: 500;
32
+ line-height: 1;
33
+ > a {
34
+ color: @gray-pf;
35
+ font-weight: @btn-font-weight;
36
+ &:before {
37
+ content: "\f107";
38
+ font-family: @icon-font-name-fa;
39
+ font-size: 13px;
40
+ margin-right: 5px;
41
+ vertical-align: 0;
42
+ }
43
+ &:focus {
44
+ outline: none;
45
+ text-decoration: none;
46
+ }
47
+ &:hover {
48
+ text-decoration: none;
49
+ }
50
+ &.collapsed:before {
51
+ content: "\f105";
52
+ margin-left: 4px;
53
+ margin-right: 7px;
54
+ }
55
+ }
56
+ }
57
+ }