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,50 +0,0 @@
1
- /* Red Hat Common User Experience (RCUE) */
2
- /* Bootstrap overrides and RCUE-specific mixins */
3
-
4
- /* Bootstrap overrides */
5
-
6
- // Button variants
7
- .button-variant(@color; @background; @background-image-start; @background-image-stop; @border) {
8
- background-color: @background;
9
- #gradient .vertical(@background-image-start, @background-image-stop);
10
- border-color: @border;
11
- color: @color;
12
-
13
- &:hover,
14
- &:focus,
15
- &:active,
16
- &.active,
17
- .open .dropdown-toggle& {
18
- color: @color;
19
- background-color: @background;
20
- background-image: none;
21
- border-color: @border;
22
- }
23
- &:active,
24
- &.active,
25
- .open .dropdown-toggle& {
26
- background-image: none;
27
- }
28
- &.disabled,
29
- &[disabled],
30
- fieldset[disabled] & {
31
- &,
32
- &:hover,
33
- &:focus,
34
- &:active,
35
- &.active {
36
- background-color: @background;
37
- border-color: @border
38
- }
39
- }
40
- }
41
-
42
- // Placeholder text
43
- .placeholder(@color: @input-color-placeholder) {
44
- &:-moz-placeholder { color: @color; font-style: italic; } // Firefox 4-18
45
- &::-moz-placeholder { color: @color; font-style: italic;} // Firefox 19+
46
- &:-ms-input-placeholder { color: @color; font-style: italic; } // Internet Explorer 10+
47
- &::-webkit-input-placeholder { color: @color; font-style: italic; } // Safari and Chrome
48
- }
49
-
50
- /* RCUE-specific */
@@ -1,481 +0,0 @@
1
- .navbar-rcue {
2
- background: #393F45;
3
- border: 0;
4
- border-radius: 0;
5
- border-top: 3px solid @navbar-rcue-border-color;
6
- margin-bottom: 0;
7
- min-height: 0;
8
- z-index: auto;
9
- .navbar-brand {
10
- color: #fff;
11
- padding: 12px 0;
12
- margin: 0 0 0 20px;
13
- .ie8 & {
14
- background: url('@{img-path}/brand.png') no-repeat 0 49%;
15
- min-width: 300px;
16
- }
17
- img {
18
- display: block;
19
- .ie8 & {
20
- height: 10px;
21
- width: 0;
22
- }
23
- }
24
- }
25
- .navbar-collapse {
26
- border-top: 0;
27
- .box-shadow(none);
28
- padding: 0;
29
- }
30
- .navbar-header {
31
- border-bottom: 1px solid #53565b;
32
- float: none;
33
- }
34
- .navbar-nav {
35
- font-size: @font-size-base;
36
- margin: 0;
37
- > .active > a, > .active > a:hover, > .active > a:focus {
38
- color: #fff;
39
- background-color: #454C53;
40
- }
41
- > li > a {
42
- color: #dbdada;
43
- line-height: 1;
44
- padding: 10px 20px;
45
- text-shadow: none;
46
- &:hover, &:focus {
47
- color: #fff;
48
- }
49
- }
50
- > .open {
51
- > a {
52
- &, &:hover, &:focus {
53
- background-color: #454C53;
54
- color: #fff;
55
- }
56
- }
57
- }
58
- .dropdown > .dropdown-toggle .caret {
59
- border: none;
60
- font-family: @icon-font-name-rcue;
61
- font-weight: normal;
62
- height: 10px;
63
- vertical-align: baseline;
64
- width: auto;
65
- &:before {
66
- content: '\f107';
67
- }
68
- }
69
- @media (max-width: @screen-xs-max) {
70
- .active .navbar-persistent, .open .dropdown-menu {
71
- background-color: #3c434a;
72
- padding-bottom: 0;
73
- padding-top: 0;
74
- > .active > a {
75
- &, &:hover, &:focus {
76
- background-color: #424950;
77
- color: #fff;
78
- }
79
- }
80
- > li > a {
81
- color: #DBDADA;
82
- padding-left: 30px;
83
- &:hover {
84
- color: #fff;
85
- }
86
- }
87
- .dropdown-header {
88
- padding-left: 30px;
89
- }
90
- .dropdown-submenu {
91
- &.pull-left {
92
- float: none !important;
93
- }
94
- .dropdown-header {
95
- padding-left: 45px;
96
- }
97
- .dropdown-menu {
98
- > li > a {
99
- padding-left: 45px;
100
- }
101
- .dropdown-menu > li > a {
102
- padding-left: 60px;
103
- }
104
- }
105
- }
106
- }
107
- .open .dropdown-menu .dropdown-submenu .dropdown-menu {
108
- display: block;
109
- }
110
- }
111
- }
112
- .navbar-persistent {
113
- display: none;
114
- }
115
- .active > .navbar-persistent {
116
- display: block;
117
- }
118
- .navbar-primary {
119
- float: none;
120
- .context {
121
- border-bottom: 1px solid #53565B;
122
- }
123
- > li > .navbar-persistent > .dropdown-submenu > a {
124
- position: relative;
125
- &:after {
126
- content: '\f107';
127
- display: inline-block;
128
- font-family: @icon-font-name-rcue;
129
- font-weight: normal;
130
- @media (max-width: @screen-xs-max) {
131
- height: 10px;
132
- margin-left: 4px;
133
- vertical-align: baseline;
134
- }
135
- }
136
- }
137
- }
138
- .navbar-toggle {
139
- border: 0;
140
- margin: 0;
141
- padding: 10px 20px;
142
- &:hover, &:focus {
143
- background-color: transparent;
144
- outline: none;
145
- .icon-bar {
146
- .box-shadow(0 0 3px rgba(255,255,255,1));
147
- }
148
- }
149
- .icon-bar {
150
- background-color: #fff;
151
- }
152
- }
153
- .navbar-utility {
154
- border-bottom: 1px solid #53565B;
155
- li.dropdown > .dropdown-toggle {
156
- padding-left: 36px;
157
- position: relative;
158
- .glyphicon-user {
159
- font-size: @font-size-small;
160
- left: 20px;
161
- position: absolute;
162
- top: 11px;
163
- }
164
- }
165
- @media (max-width: @screen-xs-max) {
166
- > li + li {
167
- border-top: 1px solid #53565B;
168
- }
169
- }
170
- }
171
- .open {
172
- .dropdown-menu {
173
- .divider {
174
- background-color: #475057;
175
- margin: 0 1px;
176
- }
177
- .dropdown-header {
178
- margin-top: 0;
179
- padding-left: 10px;
180
- padding-right: 10px;
181
- text-transform: uppercase;
182
- }
183
- }
184
- }
185
- }
186
-
187
- @media (min-width: @grid-float-breakpoint) {
188
- .navbar-rcue {
189
- .navbar-brand {
190
- padding: 7px 0 8px;
191
- }
192
- .navbar-nav > li > a {
193
- padding-bottom: 14px;
194
- padding-top: 14px;
195
- }
196
- .navbar-persistent {
197
- font-size: @font-size-large;
198
- }
199
- .navbar-primary {
200
- font-size: @font-size-large;
201
- #gradient .vertical(#474c50, #383f43);
202
- &.persistent-secondary {
203
- .context .dropdown-menu {
204
- top: auto;
205
- }
206
- .dropup .dropdown-menu {
207
- bottom: 0;
208
- top: auto;
209
- }
210
- > li {
211
- position: static;
212
- &.active {
213
- margin-bottom: 32px;
214
- > .navbar-persistent {
215
- display: block;
216
- left: 0;
217
- position: absolute;
218
- }
219
- }
220
- > .navbar-persistent {
221
- background: #f6f6f6;
222
- border-bottom: 1px solid #cecdcd;
223
- padding: 0;
224
- width: 100%;
225
- a {
226
- text-decoration: none !important;
227
- }
228
- > .dropdown-submenu {
229
- &.open > a {
230
- color: #222;
231
- &:after {
232
- border-top-color: #222;
233
- }
234
- }
235
- > a {
236
- padding-right: 35px;
237
- &:after {
238
- font-size: @font-size-large + 1;
239
- position: absolute;
240
- right: 20px;
241
- top: 9px;
242
- }
243
- }
244
- > .dropdown-menu {
245
- margin-top: 1px;
246
- left: 20px;
247
- }
248
- }
249
- > li {
250
- float: left;
251
- position: relative;
252
- &.active {
253
- &:before, &:hover:before {
254
- background: #409cd3 !important;
255
- bottom: -1px;
256
- content: '';
257
- display: block;
258
- height: 2px;
259
- left: 20px;
260
- position: absolute;
261
- right: 20px;
262
- z-index: 1;
263
- }
264
- > a, > a:hover, &:hover > a {
265
- color: #0092c7 !important;
266
- }
267
- .active > a {
268
- color: #fff;
269
- }
270
- }
271
- &:hover, &.open {
272
- &:before {
273
- background: #aaa;
274
- bottom: -1px;
275
- content: '';
276
- display: block;
277
- height: 2px;
278
- left: 20px;
279
- position: absolute;
280
- right: 20px;
281
- z-index: 1;
282
- }
283
- > a {
284
- color: #222;
285
- &:after {
286
- border-top-color: #222;
287
- }
288
- }
289
- }
290
- a {
291
- color: #4d5258;
292
- &:hover {
293
- color: #fff;
294
- }
295
- }
296
- > a {
297
- background-color: transparent;
298
- display: block;
299
- line-height: 1;
300
- padding: 9px 20px;
301
- &:hover {
302
- color: #222;
303
- }
304
- }
305
- li:hover > a {
306
- color: #fff;
307
- }
308
- }
309
- }
310
- }
311
- }
312
- > li > a {
313
- border-bottom: 1px solid transparent;
314
- border-top: 1px solid transparent;
315
- position: relative;
316
- margin: -1px 0 0;
317
- z-index: 1;
318
- &:hover {
319
- background-color: #4b5053;
320
- border-top-color: #949699;
321
- color: #DBDADA;
322
- #gradient .vertical(#5c6165, #4b5053);
323
- }
324
- }
325
- > .active > a, > .active > a:hover, > .active > a:focus, > .open > a, > .open > a:hover, > .open > a:focus {
326
- background-color: #64686c;
327
- border-bottom-color: #64686c;
328
- border-top-color: #949699;
329
- .box-shadow(none);
330
- color: #fff;
331
- #gradient .vertical(#72757a, #64686c);
332
- }
333
- li.dropdown.context {
334
- border-bottom: 0;
335
- > a {
336
- background-color: #505458;
337
- border-bottom-color: #65696d;
338
- border-right: 1px solid #65696d;
339
- border-top-color: #64696d;
340
- font-weight: 600;
341
- z-index: 0;
342
- #gradient .vertical(#585d61, #505458);
343
- &:hover {
344
- background-color: #5a5e62;
345
- border-bottom-color: #6e7276;
346
- border-right-color: #6e7276;
347
- border-top-color: #6c7276;
348
- #gradient .vertical(#62676b, #5a5e62);
349
- }
350
- }
351
- &.open > a {
352
- background-color: #65696d;
353
- border-bottom-color: #6e7276;
354
- border-right-color: #777a7e;
355
- border-top-color: #767a7e;
356
- #gradient .vertical(#6b7175, #65696d);
357
- }
358
- }
359
- }
360
- .navbar-utility {
361
- border-bottom: 0;
362
- font-size: @font-size-base;
363
- position: absolute;
364
- right: 0;
365
- top: 0;
366
- > .active > a, > .active > a:hover, > .active > a:focus, > .open > a, > .open > a:hover, > .open > a:focus {
367
- background: #5b6165;
368
- color: #fff;
369
- }
370
- > li > a {
371
- border-left: 1px solid #53565b;
372
- color: #fff !important;
373
- padding: 7px 10px;
374
- &:hover {
375
- background: #4a5053;
376
- border-left-color: #636466;
377
- }
378
- }
379
- > li.open > a {
380
- border-left-color: #6c6e70;
381
- }
382
- li.dropdown > .dropdown-toggle {
383
- padding-left: 26px;
384
- .glyphicon-user {
385
- left: 10px;
386
- top: 7px;
387
- }
388
- }
389
- .open .dropdown-menu {
390
- left: auto;
391
- right: 0;
392
- .dropdown-menu {
393
- left: auto;
394
- right: 100%;
395
- }
396
- }
397
- }
398
- .open {
399
- .dropdown-menu {
400
- background: #fff;
401
- border: 1px solid #b6b6b6 !important;
402
- border-top-width: 0 !important;
403
- .box-shadow(0 3px 7px rgba(0,0,0,.15));
404
- font-size: @font-size-base;
405
- left: 0;
406
- margin-top: 0;
407
- position: absolute;
408
- .divider {
409
- background-color: #e5e5e5;
410
- margin-bottom: 4px;
411
- margin-top: 4px;
412
- }
413
- li > a {
414
- line-height: 22px;
415
- padding: 0 10px;
416
- }
417
- }
418
- .dropdown-menu > .active > a,
419
- .dropdown-menu > .active > a:hover,
420
- .dropdown-menu > .active > a:focus,
421
- .dropdown-menu > li > a:hover,
422
- .dropdown-menu > li > a:focus,
423
- .dropdown-submenu:hover > a,
424
- .dropdown-submenu:focus > a {
425
- background-color: #2b99c0;
426
- color: #fff !important;
427
- #gradient .vertical(#2ea1ca, #2792b6);
428
- }
429
- .dropdown-submenu {
430
- position:relative;
431
- &:hover > .dropdown-menu {
432
- display: block;
433
- }
434
- &.pull-left {
435
- float: none !important;
436
- > .dropdown-menu {
437
- left: auto;
438
- margin-left: 10px;
439
- right: 100%;
440
- }
441
- }
442
- > a {
443
- padding-right: 20px !important;
444
- &:after {
445
- content: '\f105';
446
- font-family: @icon-font-name-rcue;
447
- display: block;
448
- position: absolute;
449
- right: 10px;
450
- top: 0;
451
- }
452
- }
453
- > .dropdown-menu {
454
- border-top-width: 1px !important;
455
- left: 100%;
456
- margin-left: -1px;
457
- top: 0;
458
- }
459
- }
460
- .dropup .dropdown-submenu > .dropdown-menu {
461
- bottom: 0;
462
- top: auto;
463
- }
464
- }
465
- }
466
- }
467
- @media (max-width: 360px) {
468
- .navbar-rcue {
469
- .navbar-brand {
470
- margin-left: 10px;
471
- width: 75%;
472
- img {
473
- height: auto;
474
- max-width: 100%;
475
- }
476
- }
477
- .navbar-toggle {
478
- padding-left: 0;
479
- }
480
- }
481
- }
@@ -1,15 +0,0 @@
1
- /* Red Hat Common User Experience (RCUE) */
2
-
3
- /* Bootstrap 3.0.0 */
4
- @import "bootstrap/bootstrap";
5
-
6
- /* Font Awesome */
7
- @import "font-awesome/less/font-awesome.less";
8
-
9
- /* RCUE overrides and new stuff */
10
- @import "variables";
11
- @import "mixins";
12
- @import "fonts";
13
- @import "navbar";
14
- @import "buttons";
15
- @import "forms";
@@ -1,47 +0,0 @@
1
- /* Red Hat Common User Experience (RCUE) */
2
- /* Bootstrap overrides and RCUE-specific variables */
3
-
4
- /* Bootstrap overrides */
5
- @border-radius-base: 1px;
6
- @border-radius-large: @border-radius-base;
7
- @border-radius-small: @border-radius-base;
8
- @btn-danger-bg: #ab070f;
9
- @btn-danger-border: #340001;
10
- @btn-default-color: #4d5258;
11
- @btn-default-bg: #eee;
12
- @btn-default-border: #b7b7b7;
13
- @btn-primary-bg: #189AD1;
14
- @btn-primary-border: #267DA1;
15
- @btn-font-weight: 600;
16
- @font-family-base: "Open Sans", Helvetica, Arial, sans-serif;
17
- @font-size-base: 11px;
18
- @font-size-large: ceil(@font-size-base * 1.1818); // ~13px
19
- @font-size-small: ceil(@font-size-base * .9090); // ~10px
20
- @input-border: #BABABA;
21
- @input-bg-disabled: #F8F8F8;
22
- @input-color: #333;
23
- @input-height-base: 26px;
24
- @line-height-base: 1.81818181; // 20/11
25
- @link-color: #0099d3;
26
- @link-hover-color: #00618a;
27
- @padding-base-vertical: 2px;
28
- @padding-base-horizontal: 6px;
29
- @padding-large-vertical: 6px;
30
- @padding-large-horizontal: 10px;
31
- @padding-small-vertical: @padding-base-vertical;
32
- @padding-small-horizontal: @padding-base-horizontal;
33
-
34
- /* RCUE-specific */
35
- @btn-danger-bg-img-start: #d60915;
36
- @btn-danger-bg-img-stop: #ac0710;
37
- @btn-default-bg-img-start: #fafafa;
38
- @btn-default-bg-img-stop: #ededed;
39
- @btn-primary-bg-img-start: #1CACE8;
40
- @btn-primary-bg-img-stop: #1998CC;
41
- @btn-xs-font-weight: 400;
42
- @fa-font-path: "../components/font-awesome/fonts";
43
- @font-path: "../fonts";
44
- @icon-font-name-rcue: "FontAwesome";
45
- @icon-font-path: "../components/bootstrap/fonts/";
46
- @img-path: "../img";
47
- @navbar-rcue-border-color: #cc0000;