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