mno-enterprise-frontend 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (313) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +1 -0
  3. data/Rakefile +12 -0
  4. data/app/assets/images/favicon.ico +0 -0
  5. data/app/assets/images/mno_enterprise/impac/close-widget-pink.png +0 -0
  6. data/app/assets/images/mno_enterprise/impac/close-widget.png +0 -0
  7. data/app/assets/images/mno_enterprise/loader-32x32-bg-inverse.gif +0 -0
  8. data/app/assets/images/mno_enterprise/loader-32x32-bg-main.gif +0 -0
  9. data/app/assets/images/mno_enterprise/maestrano/logo-whitebg.png +0 -0
  10. data/app/assets/javascripts/mno_enterprise/angular/app.js.coffee.erb +173 -0
  11. data/app/assets/javascripts/mno_enterprise/angular/controllers/maestrano-controllers.js.coffee +4 -0
  12. data/app/assets/javascripts/mno_enterprise/angular/controllers/modals/modals-ctrl.js.coffee +62 -0
  13. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-account.js.coffee +157 -0
  14. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-app-deletion-request.js.coffee +62 -0
  15. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-apps-list.js.coffee +127 -0
  16. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-components.js.coffee +25 -0
  17. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-marketplace-app.js.coffee +77 -0
  18. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-marketplace.js.coffee +51 -0
  19. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/dashboard-menu.js.coffee +174 -0
  20. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/arrears.js.coffee +70 -0
  21. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/billing.js.coffee +48 -0
  22. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/credit-card.js.coffee +142 -0
  23. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/index.js.coffee +61 -0
  24. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/invoices.js.coffee +42 -0
  25. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/members.js.coffee +280 -0
  26. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/settings.js.coffee +91 -0
  27. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/team-list.js.coffee +179 -0
  28. data/app/assets/javascripts/mno_enterprise/angular/directives/dashboard/organization/teams.js.coffee +268 -0
  29. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/file-model.js.coffee +33 -0
  30. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/maestrano-components.js.coffee +22 -0
  31. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-autostop-app.js.coffee +123 -0
  32. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-compile.js.coffee +18 -0
  33. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-currency-widget.js.coffee +43 -0
  34. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-current-currency.js.coffee +22 -0
  35. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-editable.js.coffee +68 -0
  36. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-flash-msg.js.coffee +40 -0
  37. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-helptext.js.coffee +38 -0
  38. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-loading-lounge.js.coffee +184 -0
  39. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-match.js.coffee +14 -0
  40. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-message-modal.js.coffee +56 -0
  41. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-notification-widget.js.coffee +192 -0
  42. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-partner-code-popup.js.coffee +74 -0
  43. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-partner-contact.js.coffee +59 -0
  44. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-password-strength.js.coffee +154 -0
  45. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-password.js.coffee +40 -0
  46. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-price-converter.js.coffee +49 -0
  47. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-scroll-to.js.coffee +14 -0
  48. data/app/assets/javascripts/mno_enterprise/angular/directives/maestrano-components/mno-typeahead.js.coffee +89 -0
  49. data/app/assets/javascripts/mno_enterprise/angular/directives/user-setup/components.js.coffee +7 -0
  50. data/app/assets/javascripts/mno_enterprise/angular/directives/user-setup/index.js.coffee +256 -0
  51. data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-app-by-category.js.coffee +5 -0
  52. data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-currency.js.coffee +30 -0
  53. data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-filters.js.coffee +7 -0
  54. data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-replace-underscore-with-space.js.coffee +4 -0
  55. data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-titleize.js.coffee +7 -0
  56. data/app/assets/javascripts/mno_enterprise/angular/filters/maestrano-truncate.js.coffee +24 -0
  57. data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/maestrano-app-instance.js.coffee +15 -0
  58. data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/maestrano-apps-document.js.coffee +83 -0
  59. data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/maestrano-user.js.coffee +27 -0
  60. data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/organization-svc.js.coffee +318 -0
  61. data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/team-svc.js.coffee +180 -0
  62. data/app/assets/javascripts/mno_enterprise/angular/services/dashboard/tickets-svc.js.coffee +109 -0
  63. data/app/assets/javascripts/mno_enterprise/angular/services/impac-config.svc.js.coffee +35 -0
  64. data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-apps-list-helper.js.coffee +337 -0
  65. data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-assets.js.coffee.erb +21 -0
  66. data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-current-currency.js.coffee +7 -0
  67. data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-current-user-svc.js.coffee +99 -0
  68. data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-exchange-rates.js.coffee +102 -0
  69. data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-message-svc.js.coffee +71 -0
  70. data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-miscellaneous.js.coffee.erb +46 -0
  71. data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-modal.js.coffee +67 -0
  72. data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-msg-bus.js.coffee +50 -0
  73. data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-services.js.coffee +21 -0
  74. data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-shopping-cart.js.coffee +361 -0
  75. data/app/assets/javascripts/mno_enterprise/angular/services/maestrano-utilities.js.coffee +61 -0
  76. data/app/assets/javascripts/mno_enterprise/angular/services/marketplace-svc.js.coffee +59 -0
  77. data/app/assets/javascripts/mno_enterprise/application.js +17 -0
  78. data/app/assets/javascripts/mno_enterprise/application_lib.js +14 -0
  79. data/app/assets/javascripts/mno_enterprise/lib/angular-really-click.js +17 -0
  80. data/app/assets/javascripts/mno_enterprise/lib/sortable.js +315 -0
  81. data/app/assets/javascripts/mno_enterprise/lib/ui-bootstrap-tpls-0.13.4.js +5836 -0
  82. data/app/assets/javascripts/mno_enterprise/lib/xeditable.js +1588 -0
  83. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap.js +12 -0
  84. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/affix.js +162 -0
  85. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/alert.js +94 -0
  86. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/button.js +116 -0
  87. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/carousel.js +237 -0
  88. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/collapse.js +211 -0
  89. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/dropdown.js +161 -0
  90. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/modal.js +324 -0
  91. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/popover.js +113 -0
  92. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/scrollspy.js +175 -0
  93. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/tab.js +153 -0
  94. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/tooltip.js +472 -0
  95. data/app/assets/javascripts/mno_enterprise/twitter/bootstrap/transition.js +59 -0
  96. data/app/assets/javascripts/ng-performance/ngPerformance.html +109 -0
  97. data/app/assets/javascripts/ng-performance/ngPerformance.js +211 -0
  98. data/app/assets/stylesheets/mno_enterprise/application.css +13 -0
  99. data/app/assets/stylesheets/mno_enterprise/custom/accordion.less +90 -0
  100. data/app/assets/stylesheets/mno_enterprise/custom/alert.less +30 -0
  101. data/app/assets/stylesheets/mno_enterprise/custom/angular-animate.less +42 -0
  102. data/app/assets/stylesheets/mno_enterprise/custom/angular-material.less +56 -0
  103. data/app/assets/stylesheets/mno_enterprise/custom/bootstrap-on-juice.less +22 -0
  104. data/app/assets/stylesheets/mno_enterprise/custom/button.less +84 -0
  105. data/app/assets/stylesheets/mno_enterprise/custom/footer.less +44 -0
  106. data/app/assets/stylesheets/mno_enterprise/custom/form.less +191 -0
  107. data/app/assets/stylesheets/mno_enterprise/custom/header.less +281 -0
  108. data/app/assets/stylesheets/mno_enterprise/custom/impac-variables-override.less +65 -0
  109. data/app/assets/stylesheets/mno_enterprise/custom/modal.less +183 -0
  110. data/app/assets/stylesheets/mno_enterprise/custom/utilities.less +729 -0
  111. data/app/assets/stylesheets/mno_enterprise/custom/utility/app-presentation.less +77 -0
  112. data/app/assets/stylesheets/mno_enterprise/custom/utility/banners.less +145 -0
  113. data/app/assets/stylesheets/mno_enterprise/custom/utility/carousel.less +68 -0
  114. data/app/assets/stylesheets/mno_enterprise/custom/utility/helptext.less +40 -0
  115. data/app/assets/stylesheets/mno_enterprise/custom/utility/miscellaneous.less +134 -0
  116. data/app/assets/stylesheets/mno_enterprise/custom/utility/progress-bar.less +55 -0
  117. data/app/assets/stylesheets/mno_enterprise/custom/utility/step.less +101 -0
  118. data/app/assets/stylesheets/mno_enterprise/custom/utility/tabset.less +87 -0
  119. data/app/assets/stylesheets/mno_enterprise/custom/utility/testimonial.less +118 -0
  120. data/app/assets/stylesheets/mno_enterprise/custom/utility/text.less +23 -0
  121. data/app/assets/stylesheets/mno_enterprise/custom/views/apps.less +243 -0
  122. data/app/assets/stylesheets/mno_enterprise/custom/views/myspace.less +477 -0
  123. data/app/assets/stylesheets/mno_enterprise/custom/views/pages/confirmation_lounge.less +31 -0
  124. data/app/assets/stylesheets/mno_enterprise/custom/views/pages/home.less +57 -0
  125. data/app/assets/stylesheets/mno_enterprise/custom/views/pages/oauth-config-page.less +6 -0
  126. data/app/assets/stylesheets/mno_enterprise/custom/views/registration.less +84 -0
  127. data/app/assets/stylesheets/mno_enterprise/custom/views/star.less +18 -0
  128. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/bootstrap-wizard.less +63 -0
  129. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/dashboard-marketplace.less +187 -0
  130. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/dashboard-organization.less +149 -0
  131. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/dashboard-teams.less +119 -0
  132. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/support.less +42 -0
  133. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/dashboard/tickets.less +80 -0
  134. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/mno-editable.less +60 -0
  135. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/notification-widget.less +49 -0
  136. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/password-strength.less +28 -0
  137. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/shopping-cart.less +333 -0
  138. data/app/assets/stylesheets/mno_enterprise/custom/views/templates/star-wizard.less +49 -0
  139. data/app/assets/stylesheets/mno_enterprise/custom/views/user-setup.less +10 -0
  140. data/app/assets/stylesheets/mno_enterprise/custom/xeditable.less +40 -0
  141. data/app/assets/stylesheets/mno_enterprise/font-awesome/font-awesome-regular.less +13 -0
  142. data/app/assets/stylesheets/mno_enterprise/font-awesome/font-awesome-sprockets.less +13 -0
  143. data/app/assets/stylesheets/mno_enterprise/font-awesome/font-awesome.less +16 -0
  144. data/app/assets/stylesheets/mno_enterprise/font-awesome/fonts/FontAwesome.otf +0 -0
  145. data/app/assets/stylesheets/mno_enterprise/font-awesome/fonts/fontawesome-webfont.eot +0 -0
  146. data/app/assets/stylesheets/mno_enterprise/font-awesome/fonts/fontawesome-webfont.svg +640 -0
  147. data/app/assets/stylesheets/mno_enterprise/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
  148. data/app/assets/stylesheets/mno_enterprise/font-awesome/fonts/fontawesome-webfont.woff +0 -0
  149. data/app/assets/stylesheets/mno_enterprise/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
  150. data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/animated.less +34 -0
  151. data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/bordered-pulled.less +25 -0
  152. data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/core.less +12 -0
  153. data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/extras.less +2 -0
  154. data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/fixed-width.less +6 -0
  155. data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/icons.less +677 -0
  156. data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/larger.less +13 -0
  157. data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/list.less +19 -0
  158. data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/mixins.less +26 -0
  159. data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/rotated-flipped.less +20 -0
  160. data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/stacked.less +20 -0
  161. data/app/assets/stylesheets/mno_enterprise/font-awesome/framework/variables.less +687 -0
  162. data/app/assets/stylesheets/mno_enterprise/main.less +132 -0
  163. data/app/assets/stylesheets/mno_enterprise/mixins.less +75 -0
  164. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/alerts.less +73 -0
  165. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/badges.less +65 -0
  166. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/bootstrap.less +50 -0
  167. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/breadcrumbs.less +26 -0
  168. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/button-groups.less +243 -0
  169. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/buttons.less +160 -0
  170. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/carousel.less +269 -0
  171. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/close.less +34 -0
  172. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/code.less +69 -0
  173. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/component-animations.less +34 -0
  174. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/dropdowns.less +214 -0
  175. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/forms.less +566 -0
  176. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/glyphicons.less +301 -0
  177. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/grid.less +84 -0
  178. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/input-groups.less +166 -0
  179. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/jumbotron.less +50 -0
  180. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/labels.less +64 -0
  181. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/list-group.less +124 -0
  182. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/media.less +61 -0
  183. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins.less +39 -0
  184. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/alerts.less +14 -0
  185. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/background-variant.less +8 -0
  186. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/border-radius.less +18 -0
  187. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/buttons.less +52 -0
  188. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/center-block.less +7 -0
  189. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/clearfix.less +22 -0
  190. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/forms.less +85 -0
  191. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/gradients.less +59 -0
  192. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/grid-framework.less +91 -0
  193. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/grid.less +122 -0
  194. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/hide-text.less +21 -0
  195. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/image.less +33 -0
  196. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/labels.less +12 -0
  197. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/list-group.less +29 -0
  198. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/nav-divider.less +10 -0
  199. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/nav-vertical-align.less +9 -0
  200. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/opacity.less +8 -0
  201. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/pagination.less +23 -0
  202. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/panels.less +24 -0
  203. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/progress-bar.less +10 -0
  204. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/reset-filter.less +8 -0
  205. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/resize.less +6 -0
  206. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/responsive-visibility.less +15 -0
  207. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/size.less +10 -0
  208. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/tab-focus.less +9 -0
  209. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/table-row.less +28 -0
  210. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/text-emphasis.less +8 -0
  211. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/text-overflow.less +8 -0
  212. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/mixins/vendor-prefixes.less +227 -0
  213. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/modals.less +148 -0
  214. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/navbar.less +661 -0
  215. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/navs.less +244 -0
  216. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/normalize.less +427 -0
  217. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/pager.less +54 -0
  218. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/pagination.less +88 -0
  219. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/panels.less +265 -0
  220. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/popovers.less +135 -0
  221. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/print.less +107 -0
  222. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/progress-bars.less +87 -0
  223. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/responsive-embed.less +35 -0
  224. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/responsive-utilities.less +194 -0
  225. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/scaffolding.less +150 -0
  226. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/tables.less +234 -0
  227. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/theme.less +273 -0
  228. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/thumbnails.less +36 -0
  229. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/tooltip.less +103 -0
  230. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/type.less +302 -0
  231. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/utilities.less +56 -0
  232. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/variables.less +857 -0
  233. data/app/assets/stylesheets/mno_enterprise/twitter-bootstrap/wells.less +29 -0
  234. data/app/assets/stylesheets/mno_enterprise/variables.less +226 -0
  235. data/app/assets/templates/mno_enterprise/dashboard/account.html +131 -0
  236. data/app/assets/templates/mno_enterprise/dashboard/app_deletion.html +36 -0
  237. data/app/assets/templates/mno_enterprise/dashboard/apps_list.html +103 -0
  238. data/app/assets/templates/mno_enterprise/dashboard/horizontal_menu.html +85 -0
  239. data/app/assets/templates/mno_enterprise/dashboard/marketplace/index.html +60 -0
  240. data/app/assets/templates/mno_enterprise/dashboard/marketplace/show.html +133 -0
  241. data/app/assets/templates/mno_enterprise/dashboard/menu.html +161 -0
  242. data/app/assets/templates/mno_enterprise/dashboard/organization/arrears.html +37 -0
  243. data/app/assets/templates/mno_enterprise/dashboard/organization/billing.html +37 -0
  244. data/app/assets/templates/mno_enterprise/dashboard/organization/credit-card.html +156 -0
  245. data/app/assets/templates/mno_enterprise/dashboard/organization/index.full.html +181 -0
  246. data/app/assets/templates/mno_enterprise/dashboard/organization/index.html +173 -0
  247. data/app/assets/templates/mno_enterprise/dashboard/organization/invoices.html +27 -0
  248. data/app/assets/templates/mno_enterprise/dashboard/organization/members.html +288 -0
  249. data/app/assets/templates/mno_enterprise/dashboard/organization/settings.html +55 -0
  250. data/app/assets/templates/mno_enterprise/dashboard/teams/index.html +175 -0
  251. data/app/assets/templates/mno_enterprise/dashboard/teams/member-add-modal.html +60 -0
  252. data/app/assets/templates/mno_enterprise/dashboard/teams/member-removal-modal.html +35 -0
  253. data/app/assets/templates/mno_enterprise/dashboard/teams/team-add-modal.html +35 -0
  254. data/app/assets/templates/mno_enterprise/dashboard/teams/team-delete-modal.html +35 -0
  255. data/app/assets/templates/mno_enterprise/dashboard/teams/team-list.html +107 -0
  256. data/app/assets/templates/mno_enterprise/default_template.html +20 -0
  257. data/app/assets/templates/mno_enterprise/maestrano-components/autostop_app.html +42 -0
  258. data/app/assets/templates/mno_enterprise/maestrano-components/currency_widget.html +1 -0
  259. data/app/assets/templates/mno_enterprise/maestrano-components/editable.html +28 -0
  260. data/app/assets/templates/mno_enterprise/maestrano-components/loading_lounge.html +63 -0
  261. data/app/assets/templates/mno_enterprise/maestrano-components/modal-messages/congratulations.html +8 -0
  262. data/app/assets/templates/mno_enterprise/maestrano-components/modal-messages/default.html +1 -0
  263. data/app/assets/templates/mno_enterprise/maestrano-components/modal-messages/information.html +8 -0
  264. data/app/assets/templates/mno_enterprise/maestrano-components/notification-widget.html +31 -0
  265. data/app/assets/templates/mno_enterprise/maestrano-components/password.html +55 -0
  266. data/app/assets/templates/mno_enterprise/maestrano-components/star_wizard.html +254 -0
  267. data/app/assets/templates/mno_enterprise/maestrano-components/upload_spreadsheet.html +191 -0
  268. data/app/assets/templates/mno_enterprise/modals/new-organization-reseller-req.html +35 -0
  269. data/app/assets/templates/mno_enterprise/modals/new-organization.html +35 -0
  270. data/app/assets/templates/mno_enterprise/user-setup/index.html +312 -0
  271. data/app/controllers/mno_enterprise/invoices_controller.rb +22 -0
  272. data/app/controllers/mno_enterprise/pages_controller.rb +9 -0
  273. data/app/controllers/mno_enterprise/user_setup_controller.rb +11 -0
  274. data/app/views/layouts/mno_enterprise/_application_js.html.haml +17 -0
  275. data/app/views/layouts/mno_enterprise/_common_cdn_lib_js.html.haml +19 -0
  276. data/app/views/layouts/mno_enterprise/_footer_files.html.haml +5 -0
  277. data/app/views/layouts/mno_enterprise/_header_files.html.haml +31 -0
  278. data/app/views/layouts/mno_enterprise/_impersonate_header.html.haml +7 -0
  279. data/app/views/layouts/mno_enterprise/_public_page_header.html.haml +2 -0
  280. data/app/views/layouts/mno_enterprise/application.html.haml +18 -0
  281. data/app/views/layouts/mno_enterprise/application_dashboard.html.haml +22 -0
  282. data/app/views/layouts/mno_enterprise/third_party/_google_tag_container.html.haml +10 -0
  283. data/app/views/mno_enterprise/pages/app_access_unauthorized.html.haml +19 -0
  284. data/app/views/mno_enterprise/pages/app_logout.html.haml +18 -0
  285. data/app/views/mno_enterprise/pages/billing_details_required.html.haml +19 -0
  286. data/app/views/mno_enterprise/pages/loading.html.haml +3 -0
  287. data/app/views/mno_enterprise/pages/myspace.html.haml +6 -0
  288. data/app/views/mno_enterprise/provision/_provision_apps.html.haml +43 -0
  289. data/app/views/mno_enterprise/provision/_select_organization.html.haml +17 -0
  290. data/app/views/mno_enterprise/provision/new.html.haml +4 -0
  291. data/app/views/mno_enterprise/user_setup/index.html.haml +2 -0
  292. data/config/initializers/ng-annotate.rb +3 -0
  293. data/config/initializers/ng-performance.rb +3 -0
  294. data/config/routes.rb +19 -0
  295. data/lib/assets/javascripts/impac-angular.js +8719 -0
  296. data/lib/assets/stylesheets/impac-angular.less +2352 -0
  297. data/lib/mno-enterprise-frontend.rb +1 -0
  298. data/lib/mno_enterprise/frontend.rb +13 -0
  299. data/lib/mno_enterprise/frontend/assets_util.rb +47 -0
  300. data/lib/mno_enterprise/frontend/concerns/README.md +6 -0
  301. data/lib/mno_enterprise/frontend/concerns/controllers/pages_controller.rb +25 -0
  302. data/lib/mno_enterprise/frontend/engine.rb +13 -0
  303. data/spec/controllers/mno_enterprise/auth/confirmations_controller_spec.rb +84 -0
  304. data/spec/controllers/mno_enterprise/invoices_controller_spec.rb +34 -0
  305. data/spec/controllers/mno_enterprise/pages_controller_spec.rb +42 -0
  306. data/spec/controllers/mno_enterprise/user_setup_controller_spec.rb +33 -0
  307. data/spec/controllers/mno_enterprise/webhook/o_auth_controller_spec.rb +76 -0
  308. data/spec/rails_helper.rb +92 -0
  309. data/spec/routing/mno_enterprise/invoices_controller_routing_spec.rb +11 -0
  310. data/spec/routing/mno_enterprise/pages_controller_routing_spec.rb +18 -0
  311. data/spec/routing/mno_enterprise/user_setup_controller_routing_spec.rb +11 -0
  312. data/spec/spec_helper.rb +78 -0
  313. metadata +464 -0
@@ -0,0 +1,729 @@
1
+ // Use this instead of TWB3 img-responsive class
2
+ // This class does not add a 'display: block' like TWB3 img-responsive class
3
+ .img-autosize {
4
+ max-width: 100%;
5
+ height: auto;
6
+ }
7
+
8
+ //-----------------------------------------
9
+ // Overflow scrollbars (webkit only)
10
+ // Need to be applied to the element wrapping
11
+ // the overflowable element
12
+ //-----------------------------------------
13
+ .scrollbar-lightgrey {
14
+ ::-webkit-scrollbar { width: 15px; }
15
+ ::-webkit-scrollbar-track {
16
+ background-color: lighten(@bg-main-color,6%);
17
+ }
18
+ ::-webkit-scrollbar-thumb {
19
+ background-color: darken(@bg-main-color,10%);
20
+ }
21
+ ::-webkit-scrollbar-thumb:hover {
22
+ background-color: darken(@bg-main-color,15%);
23
+ }
24
+ }
25
+
26
+ .scrollbar-hidden {
27
+ ::-webkit-scrollbar { display: none; width:0; }
28
+ }
29
+
30
+ //-----------------------------------------
31
+ // Frames
32
+ //-----------------------------------------
33
+
34
+ .scrollable-frame {
35
+ max-height: 75px;
36
+ overflow: auto;
37
+ }
38
+
39
+ .youtube-video {
40
+ position: relative;
41
+ padding-bottom: 56.25%;
42
+ padding-top: 0px;
43
+ height: 0;
44
+ }
45
+
46
+ .youtube-video iframe,
47
+ .youtube-video object,
48
+ .youtube-video embed {
49
+ position: absolute;
50
+ top: 0;
51
+ left: 0;
52
+ width: 100%;
53
+ height: 100%;
54
+ }
55
+
56
+
57
+ //-----------------------------------------
58
+ // Text Colors
59
+ //-----------------------------------------
60
+
61
+ .text-blue {
62
+ color: #67bbe9;
63
+ }
64
+
65
+ .text-orange {
66
+ color: #fab451;
67
+ }
68
+
69
+ .text-green {
70
+ color: #dae173;
71
+ }
72
+
73
+ .text-purple {
74
+ color: @elem-cozy-color;
75
+ }
76
+
77
+ .text-bg-inverse {
78
+ color: @bg-inverse-color;
79
+ }
80
+
81
+ //-----------------------------------------
82
+ // Text Size
83
+ //-----------------------------------------
84
+
85
+ .text-size-15 {
86
+ font-size: 15px;
87
+ }
88
+
89
+ //-----------------------------------------
90
+ // Responsive tables (using TWB grid)
91
+ // see templates/dashboard/organization/invoices.html
92
+ // for an example
93
+ //-----------------------------------------
94
+ .table-cell .th-row,
95
+ .table-cell .td-row {
96
+ margin-top: @table-cell-row-spacing;
97
+ margin-bottom: @table-cell-row-spacing;
98
+ margin-left: 0px;
99
+ margin-right: 0px;
100
+ padding-top: @table-cell-row-padding;
101
+ padding-bottom: @table-cell-row-padding;
102
+
103
+ }
104
+
105
+ .table-cell .th-row {
106
+ color: @table-cell-header-text-color;
107
+ background-color: @table-cell-header-bg-color;
108
+ font-size: @table-cell-header-text-size;
109
+ line-height: (@table-cell-header-text-size + @table-cell-row-padding)*2;
110
+ @table-cell-header-additional-rule();
111
+ }
112
+
113
+ .table-cell .td-row {
114
+ font-size: @table-cell-row-text-size;
115
+ line-height: (@table-cell-row-text-size + @table-cell-row-padding)*2;
116
+ }
117
+
118
+ .table-cell .td-row:nth-child(odd) {
119
+ background-color: @table-cell-row-odd-bg-color;
120
+ }
121
+
122
+ .table-cell .td-row:nth-child(even) {
123
+ background-color: @table-cell-row-even-bg-color;
124
+ }
125
+
126
+ .table-cell .td-row .cell > .cell-label {
127
+ font-weight: bold;
128
+ }
129
+
130
+ .table-cell .td-row .cell > a > i {
131
+ font-size: 20px;
132
+ }
133
+ @media (max-width: @screen-sm) {
134
+ .table-cell .td-row .cell > a { padding-left: 0px; }
135
+ }
136
+
137
+ // Inverse Style
138
+ .table-cell.inverse .th-row {
139
+ background-color: @bg-inverse-intense-color;
140
+ color: white;
141
+ }
142
+
143
+ .table-cell.inverse .td-row:nth-child(odd) {
144
+ background-color: lighten(@bg-inverse-color,3%);
145
+ }
146
+
147
+ .table-cell.inverse .td-row:nth-child(even) {
148
+ background-color: lighten(@bg-inverse-color,5%);
149
+ }
150
+
151
+ // Table style in a well
152
+ .well .table-cell .th-row,
153
+ .well .table-cell .td-row {
154
+ margin-left: -15px;
155
+ margin-right: -15px;
156
+ }
157
+
158
+ //-----------------------------------------
159
+ // Shadows
160
+ //-----------------------------------------
161
+ .double-shadow {
162
+ background: transparent image-url('double_shadow.png') 0px 0px no-repeat;
163
+ background-size: 639*0.88px 43*0.88px;
164
+ background-position: center;
165
+ height: 43*0.88px;
166
+ }
167
+
168
+ .double-shadow.xlarge {
169
+ background-size: 639*1.15px 43*1.15px;
170
+ background-position: center;
171
+ height: 43*1.15px;
172
+ }
173
+
174
+ .double-shadow.large {
175
+ background-size: 639*0.7px 43*0.7px;
176
+ background-position: center;
177
+ height: 43*0.7px;
178
+ }
179
+
180
+ .double-shadow.medium {
181
+ background-size: 639*0.4px 43*0.4px;
182
+ background-position: center;
183
+ height: 43*0.4px;
184
+ }
185
+
186
+ .double-shadow.small-medium {
187
+ background-size: 639*0.3px 43*0.3px;
188
+ background-position: center;
189
+ height: 43*0.3px;
190
+ }
191
+
192
+ .double-shadow.small {
193
+ background-size: 639*0.265px 43*0.265px;
194
+ background-position: center;
195
+ height: 43*0.265px;
196
+ }
197
+
198
+ //-----------------------------------------
199
+ // Alignments
200
+ //-----------------------------------------
201
+ .align-left,
202
+ th.align-left,
203
+ td.align-left {
204
+ text-align: left;
205
+ }
206
+
207
+ .align-center,
208
+ th.align-center,
209
+ td.align-center {
210
+ text-align: center;
211
+ }
212
+
213
+ .align-right,
214
+ th.align-right,
215
+ td.align-right {
216
+ text-align: right;
217
+ }
218
+
219
+ .align-justified,
220
+ th.align-justified,
221
+ td.align-justified {
222
+ text-align:justify;
223
+ text-justify: inter-word;
224
+ }
225
+
226
+ //-----------------------------------------
227
+ // Static widths
228
+ //-----------------------------------------
229
+ .width-0 { width: 0px; }
230
+
231
+ //-----------------------------------------
232
+ // Grid Extension
233
+ //-----------------------------------------
234
+ // Add offet type to TWB grid
235
+ .offset05 {
236
+ margin-left: 65px;
237
+ }
238
+ .offset1-25 {
239
+ margin-left: 65*2.5px;
240
+ }
241
+ .offset1-5 {
242
+ margin-left: 65*3px;
243
+ }
244
+ .offset2-5 {
245
+ margin-left: 295px;
246
+ }
247
+ .offset3-5 {
248
+ margin-left: 380px;
249
+ }
250
+
251
+ .span2-5 {
252
+ width:235px;
253
+ }
254
+
255
+ //-----------------------------------------
256
+ // Separators
257
+ //-----------------------------------------
258
+ hr.thin {
259
+ width: 400px;
260
+ margin: 20px auto 15px auto;
261
+ border: none;
262
+ height: 5px;
263
+ background: transparent image-url('separator_light.png') 0px 0px no-repeat;
264
+ }
265
+
266
+ //-----------------------------------------
267
+ // Static heights
268
+ //-----------------------------------------
269
+ .height-50 { height: 50px; }
270
+ .height-75 { height: 75px; }
271
+ .height-100 { height: 100px; }
272
+ .height-150 { height: 150px; }
273
+ .height-200 { height: 200px; }
274
+ .height-250 { height: 250px; }
275
+ .height-300 { height: 300px; }
276
+ .height-350 { height: 350px; }
277
+ .height-400 { height: 400px; }
278
+ .height-450 { height: 450px; }
279
+ .height-500 { height: 500px; }
280
+ .height-550 { height: 550px; }
281
+ .height-600 { height: 600px; }
282
+ .height-650 { height: 650px; }
283
+ .height-700 { height: 700px; }
284
+ .height-750 { height: 750px; }
285
+ .height-800 { height: 800px; }
286
+ .height-1000 { height: 1000px; }
287
+ .height-1200 { height: 1200px; }
288
+ .height-1250 { height: 1250px; }
289
+ .height-1300 { height: 1300px; }
290
+ .height-1400 { height: 1400px; }
291
+ .height-1450 { height: 1450px; }
292
+ .height-1500 { height: 1500px; }
293
+
294
+ //-----------------------------------------
295
+ // Spacers (deprecated, see Top-buffers instead)
296
+ //-----------------------------------------
297
+ @baseSpacerHeight: 20px;
298
+ .spacer1 { clear: both; margin-bottom: @baseSpacerHeight; }
299
+ .spacer2 { clear: both; margin-bottom: 2*@baseSpacerHeight; }
300
+ .spacer3 { clear: both; margin-bottom: 3*@baseSpacerHeight; }
301
+ .spacer4 { clear: both; margin-bottom: 4*@baseSpacerHeight; }
302
+ .spacer5 { clear: both; margin-bottom: 5*@baseSpacerHeight; }
303
+ .spacer6 { clear: both; margin-bottom: 6*@baseSpacerHeight; }
304
+ .spacer7 { clear: both; margin-bottom: 7*@baseSpacerHeight; }
305
+ .spacer8 { clear: both; margin-bottom: 8*@baseSpacerHeight; }
306
+ .spacer9 { clear: both; margin-bottom: 9*@baseSpacerHeight; }
307
+ .spacer10 { clear: both; margin-bottom: 10*@baseSpacerHeight; }
308
+ .spacer11 { clear: both; margin-bottom: 11*@baseSpacerHeight; }
309
+ .spacer12 { clear: both; margin-bottom: 12*@baseSpacerHeight; }
310
+ .spacer13 { clear: both; margin-bottom: 13*@baseSpacerHeight; }
311
+ .spacer14 { clear: both; margin-bottom: 14*@baseSpacerHeight; }
312
+ .spacer15 { clear: both; margin-bottom: 15*@baseSpacerHeight; }
313
+
314
+ //-----------------------------------------
315
+ // Top-buffers
316
+ // <div class="top-buffer-1">
317
+ // <span>...</span>
318
+ // ...
319
+ // </div>)
320
+ //-----------------------------------------
321
+ @top-buffer-height: @grid-gutter-width/2;
322
+ .top-buffer-1 { margin-top: @top-buffer-height; }
323
+ .top-buffer-2 { margin-top: 2*@top-buffer-height; }
324
+ .top-buffer-3 { margin-top: 3*@top-buffer-height; }
325
+ .top-buffer-4 { margin-top: 4*@top-buffer-height; }
326
+ .top-buffer-5 { margin-top: 5*@top-buffer-height; }
327
+ .top-buffer-6 { margin-top: 6*@top-buffer-height; }
328
+ .top-buffer-7 { margin-top: 7*@top-buffer-height; }
329
+ .top-buffer-8 { margin-top: 8*@top-buffer-height; }
330
+ .top-buffer-9 { margin-top: 9*@top-buffer-height; }
331
+ .top-buffer-10 { margin-top: 10*@top-buffer-height; }
332
+
333
+ //-----------------------------------------
334
+ // Grid
335
+ //-----------------------------------------
336
+ // Vertical Separator
337
+ hr.vertical {
338
+ float: left;
339
+ margin-left: 15px;
340
+ margin-right: -18px;
341
+ width: 0px;
342
+ border: none;
343
+ border-right: solid 1px #ddd;
344
+ min-height: 10px;
345
+ }
346
+
347
+ //------------------------------------
348
+ // disclaimer
349
+ //------------------------------------
350
+ .disclaimer {
351
+ .muted();
352
+ font-size: 11px;
353
+ font-style: italic;
354
+ }
355
+
356
+ //------------------------------------
357
+ // Header Sticky
358
+ //------------------------------------
359
+ .header-attached {
360
+ position: absolute;
361
+ top: 82px;
362
+ }
363
+
364
+ //------------------------------------
365
+ // Page Header
366
+ //------------------------------------
367
+ .page-header {
368
+ text-align: center;
369
+ margin-top: -30px;
370
+ border: none;
371
+ }
372
+
373
+ @media (max-width: 1170px) {
374
+ // Remove margin top on element to
375
+ // compensate the loss of padding top on body
376
+ .page-header {
377
+ margin-top: 23px;
378
+ }
379
+ }
380
+
381
+ .page-header h1,
382
+ .page-header h2 {
383
+ color: #878787;
384
+ font-weight: 500;
385
+ text-align: center;
386
+ }
387
+
388
+ //------------------------------------
389
+ // Green Banners
390
+ //------------------------------------
391
+ .popular-apps-banner {
392
+ min-height: 355px;
393
+ margin: -30px 0px;
394
+ position: absolute;
395
+ z-index: -1;
396
+ min-width: 1030px;
397
+ border-radius: 5px;
398
+ background-color: rgba(255,255,255,0.3);
399
+ border: 1px solid #d0d0d0;
400
+ box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
401
+ -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
402
+ }
403
+
404
+ .popular-apps-ribbon {
405
+ //min-height: 149px;
406
+ //min-width: 149px;
407
+ z-index: 2;
408
+ background-image: image-url('ribbon_popular_apps.png');
409
+ background-size: 149px 149px;
410
+ background-repeat: no-repeat;
411
+ float:right;
412
+ position: absolute;
413
+ right: 0px;
414
+ }
415
+
416
+ .ribbon-wrapper {
417
+ width: 1031px;
418
+ height: 1px;
419
+ position: absolute;
420
+ margin-top: -30px;
421
+ }
422
+
423
+ .green-banner {
424
+ background-color: @elem-positive-color;
425
+ min-height: 150px;
426
+ position: absolute;
427
+ left: 0px;
428
+ right: 0px;
429
+ z-index: -1;
430
+ min-width: 1170px;
431
+ }
432
+
433
+ .lightgreen-banner.bordered,
434
+ .green-banner.bordered {
435
+ border-top: solid 1px darken(@elem-positive-color,15%);
436
+ border-bottom: solid 1px darken(@elem-positive-color,15%);
437
+ }
438
+
439
+ .lightgreen-banner {
440
+ background-color: #e9edab;
441
+ min-height: 50px;
442
+ position: absolute;
443
+ left: 0px;
444
+ right: 0px;
445
+ z-index: -1;
446
+ min-width: 1170px;
447
+ }
448
+
449
+ .grey-banner {
450
+ background-color: #e5e5e5;
451
+ min-height: 50px;
452
+ position: absolute;
453
+ left: 0px;
454
+ right: 0px;
455
+ z-index: -1;
456
+ min-width: 1170px;
457
+ }
458
+
459
+ .lightgrey-banner {
460
+ background-color: #f2f2f2;
461
+ min-height: 50px;
462
+ position: absolute;
463
+ left: 0px;
464
+ right: 0px;
465
+ z-index: -1;
466
+ min-width: 1170px;
467
+ }
468
+
469
+
470
+ .grey-banner.bordered,
471
+ .lightgrey-banner.bordered {
472
+ border-top: solid 1px darken(#f2f2f2,15%);
473
+ border-bottom: solid 1px darken(#f2f2f2,15%);
474
+ }
475
+
476
+ .black-banner {
477
+ background-color: black;
478
+ min-height: 50px;
479
+ position: absolute;
480
+ left: 0px;
481
+ right: 0px;
482
+ z-index: -1;
483
+ min-width: 1170px;
484
+ }
485
+
486
+ .blacklight-banner {
487
+ background-color: black;
488
+ min-height: 50px;
489
+ position: absolute;
490
+ left: 0px;
491
+ right: 0px;
492
+ z-index: -1;
493
+ min-width: 1170px;
494
+ opacity: .8
495
+ }
496
+
497
+ .narrow-dark-box {
498
+ border-radius: 5px;
499
+ background-color: rgba(255,255,255,0.3);
500
+ border: 1px solid #d0d0d0;
501
+ box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
502
+ -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
503
+ margin: 20px 30px;
504
+ padding: 20px;
505
+ }
506
+
507
+ //------------------------------------
508
+ // Text Gradient
509
+ //------------------------------------
510
+ // The gradient color should be the same as the background color
511
+ // The element needs to have position:relative
512
+ // Eg.
513
+ // .mygradient {
514
+ // position: relative;
515
+ // }
516
+ // .mygradient:after {
517
+ // .text-gradient(255,255,255);
518
+ // }
519
+ .text-gradient(@r: 255, @g: 255, @b: 255) {
520
+ content: '';
521
+ position:absolute;
522
+ display:block;
523
+ top:0;
524
+ left:0;
525
+ height:100%;
526
+ width:100%;
527
+
528
+ background: -moz-linear-gradient(top, rgba(@r,@g,@b,0) 0%, rgba(@r,@g,@b,1) 100%);
529
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(35%,rgba(@r,@g,@b,0)), color-stop(100%,rgba(@r,@g,@b,1)));
530
+ background: -webkit-linear-gradient(top, rgba(@r,@g,@b,0) 35%,rgba(@r,@g,@b,1) 100%);
531
+ background: -o-linear-gradient(top, rgba(@r,@g,@b,0) 0%,rgba(@r,@g,@b,1) 100%);
532
+ background: -ms-linear-gradient(top, rgba(@r,@g,@b,0) 0%,rgba(@r,@g,@b,1) 100%);
533
+ background: linear-gradient(top, rgba(@r,@g,@b,0) 0%,rgba(@r,@g,@b,1) 100%);
534
+ filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(rgba(@r,@g,@b,0)),argb(rgba(@r,@g,@b,1))));
535
+ }
536
+
537
+ //------------------------------------
538
+ // Search Bar
539
+ //------------------------------------
540
+ .search-bar {
541
+ border-bottom: solid 1px #d1d1d1;
542
+ margin-bottom: 10px;
543
+ }
544
+
545
+ .search-bar .input-prepend,
546
+ .search-bar .input-append {
547
+ margin-bottom: 0px;
548
+ }
549
+
550
+ .search-bar .input-prepend > .add-on,
551
+ .search-bar .input-append > .add-on {
552
+ background: transparent;
553
+ }
554
+
555
+ .search-bar input {
556
+ background: transparent;
557
+ line-height: 17px;
558
+ border: none;
559
+
560
+ &:focus {
561
+ background-color: #f4f4f4;
562
+ .box-shadow(0px 0px 0px rgba(0,0,0,0));
563
+ }
564
+ }
565
+
566
+ //------------------------------------
567
+ // Text Color (Override TWB)
568
+ //------------------------------------
569
+ .text-danger,
570
+ .text-error {
571
+ color: #f03838;
572
+ }
573
+
574
+ .text-success {
575
+ color: #dae173;
576
+ }
577
+
578
+ .text-info {
579
+ color: #67bbe9;
580
+ }
581
+
582
+ //------------------------------------
583
+ // Table Striped (Override TWB)
584
+ //------------------------------------
585
+ table.table-striped {
586
+ border-spacing: 0px;
587
+ color: #878787;
588
+ font-weight: 500;
589
+ }
590
+
591
+ table.table-striped thead th {
592
+ background-color: #e6e6e6;
593
+ }
594
+
595
+ table.table-striped.green-header thead th {
596
+ background-color: #e9edab;
597
+ color: white;
598
+ }
599
+
600
+ table.table-striped td {
601
+ border: none;
602
+ }
603
+
604
+ table.table-striped tbody > tr:nth-child(odd) > td {
605
+ background-color: white;
606
+ }
607
+
608
+ table.table-striped tbody > tr:nth-child(even) > td {
609
+ background-color: #f4f4f4;
610
+ }
611
+
612
+ //------------------------------------
613
+ // Accordion (Override TWB)
614
+ //------------------------------------
615
+ .accordion .accordion-group {
616
+ .border-radius(0px);
617
+ border: none;
618
+ }
619
+
620
+ .accordion .accordion-group .accordion-heading {
621
+ background-color: #e9edab;
622
+ }
623
+
624
+ .accordion .accordion-group .accordion-heading a {
625
+ color: white;
626
+ font-weight: bold;
627
+ }
628
+
629
+ .accordion .accordion-group .accordion-body .accordion-inner {
630
+ border: none;
631
+ background-color: #f4f4f4;
632
+ }
633
+
634
+ //------------------------------------
635
+ // Tabs (Override TWB)
636
+ //------------------------------------
637
+ .nav.nav-tabs {
638
+ border: none;
639
+ background-color: white;
640
+ }
641
+
642
+ .nav.nav-tabs > li {
643
+ background-color: white;
644
+ min-width: 120px;
645
+ text-align: center;
646
+ }
647
+
648
+ .nav.nav-tabs > li > a {
649
+ color: #878787;
650
+ padding-top: 14px;
651
+ padding-bottom: 14px;
652
+ margin-right: 0px;
653
+
654
+ }
655
+
656
+ .nav.nav-tabs > li > a:hover,
657
+ .nav.nav-tabs > li > a:focus {
658
+ background-color: lighten(#f4f4f4,3%);
659
+ border: none;
660
+ padding-bottom: 16px;
661
+ .border-radius(0px);
662
+ }
663
+
664
+ .nav.nav-tabs > .active > a,
665
+ .nav.nav-tabs > .active > a:hover,
666
+ .nav.nav-tabs > .active > a:focus {
667
+ color: #878787;
668
+ background-color: #f4f4f4;
669
+ border: none;
670
+ padding-bottom: 16px;
671
+ font-weight: bold;
672
+ .border-radius(0px);
673
+ }
674
+
675
+ .tab-content .tab-pane {
676
+ background-color: #f4f4f4;
677
+ }
678
+
679
+ //------------------------------------
680
+ // Tabs Inverse (Override TWB)
681
+ //------------------------------------
682
+ .tabbable.inverse .nav.nav-tabs,
683
+ .nav.nav-tabs.inverse {
684
+ background-color: #f2f2f2;
685
+ }
686
+
687
+ .tabbable.inverse .nav.nav-tabs > li,
688
+ .nav.nav-tabs.inverse > li {
689
+ background-color: #f2f2f2;
690
+ }
691
+
692
+ .tabbable.inverse .nav.nav-tabs > .active > a,
693
+ .tabbable.inverse .nav.nav-tabs > .active > a:hover,
694
+ .tabbable.inverse .nav.nav-tabs > .active > a:focus,
695
+ .nav.nav-tabs.inverse > .active > a,
696
+ .nav.nav-tabs.inverse > .active > a:hover,
697
+ .nav.nav-tabs.inverse > .active > a:focus {
698
+ background-color: white;
699
+ }
700
+
701
+ .tabbable.inverse .nav.nav-tabs > li > a:hover,
702
+ .tabbable.inverse .nav.nav-tabs > li > a:focus,
703
+ .nav.nav-tabs.inverse > li > a:hover,
704
+ .nav.nav-tabs.inverse > li > a:focus {
705
+ background-color: darken(#f2f2f2,3%);
706
+ }
707
+
708
+
709
+ .tabbable.inverse .tab-pane,
710
+ .tab-content.inverse .tab-pane {
711
+ background-color: white;
712
+ }
713
+
714
+ //------------------------------------
715
+ // caret-up
716
+ //------------------------------------
717
+ .caret-up {
718
+ .caret;
719
+ border-top-width: 0;
720
+ border-bottom: 4px solid;
721
+ }
722
+
723
+ .caret-down {
724
+ .caret;
725
+ }
726
+
727
+ .no-padding {
728
+ padding:0px;
729
+ }