openshift-origin-console 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (291) hide show
  1. data/COPYRIGHT +1 -0
  2. data/Gemfile +21 -0
  3. data/LICENSE +203 -0
  4. data/README.md +123 -0
  5. data/Rakefile +44 -0
  6. data/app/assets/images/cartridge-edge.gif +0 -0
  7. data/app/assets/images/console/arrow-down.png +0 -0
  8. data/app/assets/images/console/console-sprite.png +0 -0
  9. data/app/assets/images/favicon-32.png +0 -0
  10. data/app/assets/images/loader-dark.gif +0 -0
  11. data/app/assets/images/loader.gif +0 -0
  12. data/app/assets/images/sprite-vert.png +0 -0
  13. data/app/assets/javascripts/console.js +10 -0
  14. data/app/assets/javascripts/console/form.js.coffee +51 -0
  15. data/app/assets/stylesheets/_alerts.scss +84 -0
  16. data/app/assets/stylesheets/_breadcrumbs.scss +31 -0
  17. data/app/assets/stylesheets/_buttons.scss +229 -0
  18. data/app/assets/stylesheets/_code.scss +86 -0
  19. data/app/assets/stylesheets/_custom.scss +207 -0
  20. data/app/assets/stylesheets/_footer.scss +54 -0
  21. data/app/assets/stylesheets/_forms.scss +710 -0
  22. data/app/assets/stylesheets/_grid.scss +28 -0
  23. data/app/assets/stylesheets/_input-prepend-append.scss +138 -0
  24. data/app/assets/stylesheets/_labels.scss +40 -0
  25. data/app/assets/stylesheets/_mixins.scss +76 -0
  26. data/app/assets/stylesheets/_override-variables.scss +1 -0
  27. data/app/assets/stylesheets/_responsive.scss +438 -0
  28. data/app/assets/stylesheets/_ribbon.scss +57 -0
  29. data/app/assets/stylesheets/_type.scss +306 -0
  30. data/app/assets/stylesheets/_utilities.scss +10 -0
  31. data/app/assets/stylesheets/_variables.scss +131 -0
  32. data/app/assets/stylesheets/common.css.scss +82 -0
  33. data/app/assets/stylesheets/console/_application.scss +194 -0
  34. data/app/assets/stylesheets/console/_base.scss +26 -0
  35. data/app/assets/stylesheets/console/_breadcrumbs.scss +32 -0
  36. data/app/assets/stylesheets/console/_buttons.scss +214 -0
  37. data/app/assets/stylesheets/console/_core.scss +1002 -0
  38. data/app/assets/stylesheets/console/_dropdowns.scss +63 -0
  39. data/app/assets/stylesheets/console/_help.scss +54 -0
  40. data/app/assets/stylesheets/console/_mixins.scss +11 -0
  41. data/app/assets/stylesheets/console/_navbar.scss +415 -0
  42. data/app/assets/stylesheets/console/_ribbon.scss +82 -0
  43. data/app/assets/stylesheets/console/_tile.scss +122 -0
  44. data/app/assets/stylesheets/origin.css.scss +37 -0
  45. data/app/controllers/account/dashboard.rb +13 -0
  46. data/app/controllers/account_controller.rb +3 -0
  47. data/app/controllers/application_types_controller.rb +80 -0
  48. data/app/controllers/applications_controller.rb +183 -0
  49. data/app/controllers/building_controller.rb +81 -0
  50. data/app/controllers/capability_aware.rb +18 -0
  51. data/app/controllers/cartridge_types_controller.rb +53 -0
  52. data/app/controllers/cartridges_controller.rb +43 -0
  53. data/app/controllers/console/auth/basic.rb +65 -0
  54. data/app/controllers/console/auth/none.rb +5 -0
  55. data/app/controllers/console/auth/remote_user.rb +69 -0
  56. data/app/controllers/console/rescue.rb +48 -0
  57. data/app/controllers/console_controller.rb +19 -0
  58. data/app/controllers/console_index_controller.rb +14 -0
  59. data/app/controllers/domain_aware.rb +26 -0
  60. data/app/controllers/domain_session_sweeper.rb +29 -0
  61. data/app/controllers/domains_controller.rb +30 -0
  62. data/app/controllers/keys_controller.rb +43 -0
  63. data/app/controllers/scaling_controller.rb +46 -0
  64. data/app/controllers/sshkey_aware.rb +23 -0
  65. data/app/controllers/sshkey_session_sweeper.rb +29 -0
  66. data/app/controllers/user_session_sweeper.rb +29 -0
  67. data/app/helpers/console/community_helper.rb +78 -0
  68. data/app/helpers/console/console_helper.rb +26 -0
  69. data/app/helpers/console/help_helper.rb +270 -0
  70. data/app/helpers/console/html5_boilerplate_helper.rb +63 -0
  71. data/app/helpers/console/layout_helper.rb +277 -0
  72. data/app/helpers/console/model_helper.rb +106 -0
  73. data/app/helpers/console/secured_helper.rb +5 -0
  74. data/app/models/alias.rb +10 -0
  75. data/app/models/application.rb +148 -0
  76. data/app/models/application_associations.rb +36 -0
  77. data/app/models/application_template.rb +90 -0
  78. data/app/models/application_type.rb +258 -0
  79. data/app/models/async_aware.rb +60 -0
  80. data/app/models/capabilities.rb +62 -0
  81. data/app/models/cartridge.rb +122 -0
  82. data/app/models/cartridge_type.rb +140 -0
  83. data/app/models/domain.rb +44 -0
  84. data/app/models/domain_associations.rb +33 -0
  85. data/app/models/embedded.rb +11 -0
  86. data/app/models/gear.rb +13 -0
  87. data/app/models/gear_group.rb +104 -0
  88. data/app/models/key.rb +87 -0
  89. data/app/models/quickstart.rb +135 -0
  90. data/app/models/rest_api.rb +130 -0
  91. data/app/models/rest_api/base.rb +781 -0
  92. data/app/models/rest_api/cacheable.rb +91 -0
  93. data/app/models/rest_api/environment.rb +13 -0
  94. data/app/models/rest_api/info.rb +34 -0
  95. data/app/models/rest_api/log_subscriber.rb +29 -0
  96. data/app/models/rest_api/railties/controller_runtime.rb +37 -0
  97. data/app/models/user.rb +27 -0
  98. data/app/models/user_associations.rb +6 -0
  99. data/app/views/account/_domain.html.haml +14 -0
  100. data/app/views/account/_keys.html.haml +20 -0
  101. data/app/views/account/_user.html.haml +5 -0
  102. data/app/views/account/show.html.haml +15 -0
  103. data/app/views/application_templates/_application_template.html.haml +5 -0
  104. data/app/views/application_types/_application_type.html.haml +19 -0
  105. data/app/views/application_types/_custom.html.haml +19 -0
  106. data/app/views/application_types/_persisted.html.haml +26 -0
  107. data/app/views/application_types/_tile.html.haml +9 -0
  108. data/app/views/application_types/index.html.haml +87 -0
  109. data/app/views/application_types/search.html.haml +67 -0
  110. data/app/views/application_types/show.html.haml +219 -0
  111. data/app/views/applications/_application.html.haml +34 -0
  112. data/app/views/applications/_applications_filter.html.haml +8 -0
  113. data/app/views/applications/_footer.html.haml +0 -0
  114. data/app/views/applications/_name.html.haml +28 -0
  115. data/app/views/applications/delete.html.haml +19 -0
  116. data/app/views/applications/get_started.html.haml +145 -0
  117. data/app/views/applications/index.html.haml +55 -0
  118. data/app/views/applications/show.html.haml +193 -0
  119. data/app/views/building/delete.html.haml +22 -0
  120. data/app/views/building/new.html.haml +57 -0
  121. data/app/views/building/show.html.haml +12 -0
  122. data/app/views/cartridge_types/_cartridge_type.html.haml +61 -0
  123. data/app/views/cartridge_types/index.html.haml +37 -0
  124. data/app/views/cartridge_types/show.html.haml +21 -0
  125. data/app/views/cartridges/next_steps.html.haml +58 -0
  126. data/app/views/cartridges/show.html.haml +1 -0
  127. data/app/views/console/error.html.haml +58 -0
  128. data/app/views/console/help.html.haml +90 -0
  129. data/app/views/console/not_found.html.haml +69 -0
  130. data/app/views/console/unauthorized.html.haml +7 -0
  131. data/app/views/domains/_domain.html.haml +14 -0
  132. data/app/views/domains/_form.html.haml +13 -0
  133. data/app/views/domains/edit.html.haml +5 -0
  134. data/app/views/domains/new.html.haml +6 -0
  135. data/app/views/keys/_form.html.haml +14 -0
  136. data/app/views/keys/_simple_form.html.haml +14 -0
  137. data/app/views/keys/new.html.haml +2 -0
  138. data/app/views/layouts/_footer.html.haml +38 -0
  139. data/app/views/layouts/_head.html.haml +35 -0
  140. data/app/views/layouts/console.html.haml +60 -0
  141. data/app/views/layouts/console/_header.html.haml +44 -0
  142. data/app/views/layouts/console/_identity.html.haml +7 -0
  143. data/app/views/layouts/console/_javascripts.html.haml +5 -0
  144. data/app/views/layouts/console/_stylesheets.html.haml +6 -0
  145. data/app/views/scaling/delete.html.haml +17 -0
  146. data/app/views/scaling/new.html.haml +24 -0
  147. data/app/views/scaling/show.html.haml +81 -0
  148. data/app/views/shared/_tracking.html.haml +0 -0
  149. data/conf/console.conf.example +108 -0
  150. data/conf/openshift_console.conf +10 -0
  151. data/config/cartridge_types.yml +54 -0
  152. data/config/initializers/barista_config.rb +86 -0
  153. data/config/initializers/cartridge_types.rb +5 -0
  154. data/config/initializers/console_security.rb +1 -0
  155. data/config/initializers/date_helper.rb +5 -0
  156. data/config/initializers/extended_logger.rb +51 -0
  157. data/config/initializers/formtastic.rb +100 -0
  158. data/config/initializers/inflections.rb +38 -0
  159. data/config/initializers/rdiscount.rb +8 -0
  160. data/config/initializers/rest_api.rb +22 -0
  161. data/config/initializers/sass.rb +30 -0
  162. data/config/initializers/session_trace.rb +32 -0
  163. data/config/initializers/x_frame_options.rb +53 -0
  164. data/config/locales/en.yml +12 -0
  165. data/lib/active_resource/associations.rb +107 -0
  166. data/lib/active_resource/associations/builder/association.rb +35 -0
  167. data/lib/active_resource/associations/builder/belongs_to.rb +5 -0
  168. data/lib/active_resource/associations/builder/has_many.rb +5 -0
  169. data/lib/active_resource/associations/builder/has_one.rb +5 -0
  170. data/lib/active_resource/persistent_connection.rb +341 -0
  171. data/lib/active_resource/persistent_http_mock.rb +68 -0
  172. data/lib/active_resource/reflection.rb +78 -0
  173. data/lib/console.rb +8 -0
  174. data/lib/console/config_file.rb +13 -0
  175. data/lib/console/configuration.rb +163 -0
  176. data/lib/console/engine.rb +28 -0
  177. data/lib/console/formtastic/bootstrap_form_builder.rb +369 -0
  178. data/lib/console/rails/app_redirector.rb +40 -0
  179. data/lib/console/rails/filter_hash.rb +15 -0
  180. data/lib/console/rails/routes.rb +51 -0
  181. data/lib/console/version.rb +5 -0
  182. data/lib/tasks/assets.rake +79 -0
  183. data/lib/tasks/stats.rake +18 -0
  184. data/lib/tasks/test_suites.rake +73 -0
  185. data/test/coverage_helper.rb +27 -0
  186. data/test/fixtures/cartridges.json +1 -0
  187. data/test/fixtures/quickstarts.csv +3 -0
  188. data/test/functional/account_controller_test.rb +14 -0
  189. data/test/functional/application_types_controller_test.rb +251 -0
  190. data/test/functional/applications_controller_sanity_test.rb +26 -0
  191. data/test/functional/applications_controller_test.rb +365 -0
  192. data/test/functional/building_controller_test.rb +203 -0
  193. data/test/functional/cartridge_types_controller_isolation_test.rb +68 -0
  194. data/test/functional/cartridge_types_controller_test.rb +48 -0
  195. data/test/functional/cartridges_controller_test.rb +83 -0
  196. data/test/functional/console_auth_basic_controller_test.rb +82 -0
  197. data/test/functional/console_auth_remote_user_controller_test.rb +90 -0
  198. data/test/functional/console_index_controller_test.rb +22 -0
  199. data/test/functional/domains_controller_test.rb +194 -0
  200. data/test/functional/keys_controller_test.rb +163 -0
  201. data/test/functional/quickstarts.json +18 -0
  202. data/test/functional/scaling_controller_test.rb +153 -0
  203. data/test/integration/assets_test.rb +34 -0
  204. data/test/integration/help_link_test.rb +43 -0
  205. data/test/integration/quickstarts_test.rb +24 -0
  206. data/test/integration/rescue_from_test.rb +25 -0
  207. data/test/integration/rest_api/application_test.rb +115 -0
  208. data/test/integration/rest_api/cartridge_test.rb +44 -0
  209. data/test/integration/rest_api/cartridge_type_test.rb +143 -0
  210. data/test/integration/rest_api/domain_test.rb +91 -0
  211. data/test/integration/rest_api/info_test.rb +9 -0
  212. data/test/integration/rest_api/key_test.rb +85 -0
  213. data/test/integration/static_pages_test.rb +44 -0
  214. data/test/rails_app/Rakefile +7 -0
  215. data/test/rails_app/app/controllers/application_controller.rb +5 -0
  216. data/test/rails_app/config.ru +4 -0
  217. data/test/rails_app/config/application.rb +48 -0
  218. data/test/rails_app/config/boot.rb +10 -0
  219. data/test/rails_app/config/database.yml +25 -0
  220. data/test/rails_app/config/environment.rb +5 -0
  221. data/test/rails_app/config/environments/development.rb +38 -0
  222. data/test/rails_app/config/environments/production.rb +70 -0
  223. data/test/rails_app/config/environments/test.rb +43 -0
  224. data/test/rails_app/config/initializers/auth.rb +0 -0
  225. data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  226. data/test/rails_app/config/initializers/inflections.rb +10 -0
  227. data/test/rails_app/config/initializers/mime_types.rb +5 -0
  228. data/test/rails_app/config/initializers/secret_token.rb +7 -0
  229. data/test/rails_app/config/initializers/session_store.rb +8 -0
  230. data/test/rails_app/config/locales/en.yml +5 -0
  231. data/test/rails_app/config/routes.rb +4 -0
  232. data/test/rails_app/script/rails +6 -0
  233. data/test/support/auth.rb +111 -0
  234. data/test/support/base.rb +142 -0
  235. data/test/support/errors.rb +28 -0
  236. data/test/support/rest_api.rb +189 -0
  237. data/test/test_helper.rb +14 -0
  238. data/test/unit/active_model_compliance_test.rb +23 -0
  239. data/test/unit/async_aware_test.rb +55 -0
  240. data/test/unit/configuration_test.rb +158 -0
  241. data/test/unit/filter_hash_test.rb +64 -0
  242. data/test/unit/helpers/model_helper_test.rb +61 -0
  243. data/test/unit/overrides_test.rb +9 -0
  244. data/test/unit/rest_api_test.rb +1590 -0
  245. data/vendor/assets/javascripts/MIT-LICENSE.txt +20 -0
  246. data/vendor/assets/javascripts/bootstrap-collapse.js +157 -0
  247. data/vendor/assets/javascripts/bootstrap-dropdown.js +100 -0
  248. data/vendor/assets/javascripts/bootstrap-tab.js +135 -0
  249. data/vendor/assets/javascripts/bootstrap-transition.js +61 -0
  250. data/vendor/assets/javascripts/jquery.spin.js +47 -0
  251. data/vendor/assets/javascripts/jquery.ui.widget.js +16 -0
  252. data/vendor/assets/javascripts/jquery_cookie.js +41 -0
  253. data/vendor/assets/javascripts/jquery_validate_min.js +51 -0
  254. data/vendor/assets/javascripts/modernizr.min.js +2 -0
  255. data/vendor/assets/javascripts/plugins.js +16 -0
  256. data/vendor/assets/stylesheets/bootstrap/_accordion.scss +28 -0
  257. data/vendor/assets/stylesheets/bootstrap/_alerts.scss +70 -0
  258. data/vendor/assets/stylesheets/bootstrap/_breadcrumbs.scss +22 -0
  259. data/vendor/assets/stylesheets/bootstrap/_button-groups.scss +147 -0
  260. data/vendor/assets/stylesheets/bootstrap/_buttons.scss +183 -0
  261. data/vendor/assets/stylesheets/bootstrap/_carousel.scss +121 -0
  262. data/vendor/assets/stylesheets/bootstrap/_close.scss +18 -0
  263. data/vendor/assets/stylesheets/bootstrap/_code.scss +57 -0
  264. data/vendor/assets/stylesheets/bootstrap/_component-animations.scss +18 -0
  265. data/vendor/assets/stylesheets/bootstrap/_dropdowns.scss +130 -0
  266. data/vendor/assets/stylesheets/bootstrap/_forms.scss +522 -0
  267. data/vendor/assets/stylesheets/bootstrap/_grid.scss +8 -0
  268. data/vendor/assets/stylesheets/bootstrap/_hero-unit.scss +20 -0
  269. data/vendor/assets/stylesheets/bootstrap/_labels.scss +32 -0
  270. data/vendor/assets/stylesheets/bootstrap/_layouts.scss +17 -0
  271. data/vendor/assets/stylesheets/bootstrap/_mixins.scss +602 -0
  272. data/vendor/assets/stylesheets/bootstrap/_modals.scss +84 -0
  273. data/vendor/assets/stylesheets/bootstrap/_navbar.scss +299 -0
  274. data/vendor/assets/stylesheets/bootstrap/_navs.scss +353 -0
  275. data/vendor/assets/stylesheets/bootstrap/_pager.scss +30 -0
  276. data/vendor/assets/stylesheets/bootstrap/_pagination.scss +55 -0
  277. data/vendor/assets/stylesheets/bootstrap/_popovers.scss +49 -0
  278. data/vendor/assets/stylesheets/bootstrap/_progress-bars.scss +95 -0
  279. data/vendor/assets/stylesheets/bootstrap/_reset.scss +126 -0
  280. data/vendor/assets/stylesheets/bootstrap/_scaffolding.scss +33 -0
  281. data/vendor/assets/stylesheets/bootstrap/_sprites.scss +158 -0
  282. data/vendor/assets/stylesheets/bootstrap/_tables.scss +150 -0
  283. data/vendor/assets/stylesheets/bootstrap/_thumbnails.scss +35 -0
  284. data/vendor/assets/stylesheets/bootstrap/_tooltip.scss +35 -0
  285. data/vendor/assets/stylesheets/bootstrap/_type.scss +218 -0
  286. data/vendor/assets/stylesheets/bootstrap/_utilities.scss +23 -0
  287. data/vendor/assets/stylesheets/bootstrap/_variables.scss +107 -0
  288. data/vendor/assets/stylesheets/bootstrap/_wells.scss +17 -0
  289. data/vendor/assets/stylesheets/bootstrap/bootstrap.scss +66 -0
  290. data/vendor/assets/stylesheets/bootstrap/responsive.scss +334 -0
  291. metadata +506 -0
@@ -0,0 +1,1002 @@
1
+ html {
2
+ background: #101010;
3
+ }
4
+
5
+ .alert {
6
+ word-wrap: break-word;
7
+ text-shadow: none;
8
+ }
9
+
10
+ .label-new { color: #101010 !important; background-color: #FFB02E !important; }
11
+ .label-premium { color: #101010 !important; background-color: #A6C911 !important; }
12
+ .label-popular { color: #101010 !important; background-color: #BFDCE8 !important; }
13
+
14
+ .account-total {
15
+ font-size: 250%;
16
+ margin-top: 20px;
17
+ }
18
+
19
+ .error-reference { color: #606060 }
20
+
21
+
22
+ @media (max-width: 767px) {
23
+ .form-horizontal .control-label {
24
+ float: none;
25
+ text-align: left;
26
+ }
27
+ .form-horizontal .controls {
28
+ margin-left: 0;
29
+ }
30
+ .form-horizontal .form-actions {
31
+ padding-left: 10px;
32
+ }
33
+ }
34
+
35
+
36
+ .section-console label {
37
+ color: #cfcfcf;
38
+ }
39
+
40
+
41
+ // Forms
42
+ // ----------------------------------------
43
+
44
+ input,
45
+ select,
46
+ textarea,
47
+ .uneditable-input {
48
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.075) inset;
49
+ background: #aaa;
50
+ border: 1px solid #222;
51
+ color: #222222;
52
+ }
53
+ input:focus, select:focus, textarea:focus {
54
+ background: #eee; color: #000;
55
+ box-shadow: none;
56
+ }
57
+ .input-prepend-append {
58
+ @include clearfix()
59
+ }
60
+ .input-prepend-append .add-on-first,
61
+ .input-prepend-append .add-on-last,
62
+ .input-prepend-append .add-on-middle {
63
+ background-color: #444;
64
+ border: 1px solid #222;
65
+ text-shadow: none;
66
+ float: left;
67
+ }
68
+ .input-prepend-append .add-on-first {border-right: 0;@include border-radius($inputBorderRadius 0 0 $inputBorderRadius);margin-right: -1px;}
69
+ .input-prepend-append .add-on-last {border-left: 0;@include border-radius(0 $inputBorderRadius $inputBorderRadius 0);margin-left: -1px;}
70
+ .input-prepend-append input {
71
+ color: #000;
72
+ }
73
+ .input-prepend-append input,
74
+ .input-prepend-append .add-on-middle {
75
+ border-top: 1px solid #222;
76
+ border-bottom: 1px solid #222;
77
+ margin-bottom: 0;
78
+ border-radius: 0;
79
+ border-left: 0;
80
+ border-right: 0;
81
+ float: left;
82
+ }
83
+
84
+ input:-moz-placeholder,
85
+ textarea:-moz-placeholder {
86
+ color: $grayMedium;
87
+ background-color: $grayLight;
88
+ &:focus {
89
+ color: $grayLight;
90
+ background-color: $grayLighter;
91
+ }
92
+ }
93
+
94
+ input:-ms-input-placeholder,
95
+ textarea:-ms-input-placeholder {
96
+ color: $grayMedium;
97
+ background-color: $grayLight;
98
+ &:focus {
99
+ color: $grayLight;
100
+ background-color: $grayLighter;
101
+ }
102
+ }
103
+
104
+ input::-webkit-input-placeholder,
105
+ textarea::-webkit-input-placeholder {
106
+ color: $grayMedium;
107
+ //background-color: $grayLight;
108
+ &:focus {
109
+ color: $grayLight;
110
+ //background-color: $grayLighter;
111
+ }
112
+ }
113
+
114
+
115
+
116
+ .console-inner-block {
117
+ background: #222222;
118
+ color: #B0B0B0;
119
+ margin-left: 0;
120
+ padding: 25px 0;
121
+ }
122
+
123
+ @media (max-width: 767px) {
124
+ .console-inner-block {
125
+ padding: 25px;
126
+ }
127
+ }
128
+
129
+ .text-warning {
130
+ color: #EED99D;
131
+ }
132
+
133
+ // Disabled and read-only inputs
134
+ /*input[disabled],
135
+ select[disabled],
136
+ textarea[disabled],
137
+ input[readonly],
138
+ select[readonly],
139
+ textarea[readonly] {
140
+ background-color: #444;
141
+ border-color: #111;
142
+ cursor: not-allowed;
143
+ color:#ccc;
144
+ }
145
+
146
+ input[type="radio"], input[type="checkbox"],input[type="image"] {
147
+ width: auto;
148
+ }
149
+ */
150
+
151
+ ::-moz-selection {background: #f0f392;color: black;}
152
+ ::-selection {background: #f0f392;color: black;}
153
+
154
+ .well {
155
+ background-color: #242424 /*.*/;
156
+ }
157
+ code, pre {
158
+ background-color: inherit;
159
+ border: 1px dotted #444;
160
+ border-radius: 0 0 0 0;
161
+ color: #babbbc;
162
+ }
163
+ ol.wizard {
164
+ margin: 0 0 15px 5px;
165
+ display: block;
166
+ }
167
+ ol.wizard li {
168
+ background-position: 0 -84px;
169
+ background-repeat: no-repeat;
170
+ display: inline-block;
171
+ font-size: 110%;
172
+ line-height: 25px;
173
+ list-style-position: inside;
174
+ list-style-type: none;
175
+ margin: 0 50px 10px 0;
176
+ padding: 10px 0 10px 45px;
177
+
178
+ &:last-child {
179
+ margin-right:0;
180
+ }
181
+ }
182
+ ol.wizard li span {
183
+ height: 40px;
184
+ position: relative;
185
+ vertical-align: baseline;
186
+ }
187
+ ol.wizard li span i {
188
+ border: 4px solid #505050;
189
+ background: #222;
190
+ border-radius: 30px;
191
+ font-style: normal;
192
+ height: 33px;
193
+ left: -51px;
194
+ line-height: 33px;
195
+ position: absolute;
196
+ text-align: center;
197
+ top: -13px;
198
+ width: 33px;
199
+ font-weight: bold;
200
+ }
201
+ ol.wizard li.active {
202
+ color: #EB0011;
203
+ }
204
+ ol.wizard li a {
205
+ color: inherit;
206
+ }
207
+
208
+ @media (max-width: 767px) {
209
+ ol.wizard {
210
+ display:block;
211
+ margin: 0 0 15px;
212
+
213
+ li {
214
+ background-position: 0 -84;
215
+ background-repeat: no-repeat;
216
+ display: inline-block;
217
+ font-size: inherit;
218
+ line-height: 25px;
219
+ list-style-position: inside;
220
+ list-style-type: none;
221
+ margin: 0;
222
+ padding:0 30px 10px 25px;
223
+
224
+ span i {
225
+ background:none;
226
+ border:none;
227
+ font-style:normal;
228
+ font-weight:bold;
229
+ height:35px;
230
+ left:-20px;
231
+ line-height:32px;
232
+ position:absolute;
233
+ text-align:center;
234
+ top:center;
235
+ width: 8px;
236
+ top: -8px;
237
+ }
238
+ }
239
+ }
240
+ }
241
+
242
+ @media (max-width: 480px) {
243
+ ol.wizard li {
244
+ display:block;
245
+ }
246
+ }
247
+
248
+
249
+ .section-console {
250
+ padding-top: 25px;
251
+ padding-bottom: 60px;
252
+ }
253
+
254
+ .section-console {
255
+ background-color: #1f1f1f;
256
+ @include console_background;
257
+ }
258
+
259
+ .ie9 .section-console {
260
+ background-color: #1f1f1f;
261
+ @include console_background_ie9;
262
+ }
263
+ @media (max-width: 767px) {
264
+ .ie9 .section-console {
265
+ background-color: #1f1f1f;
266
+ background-image: none;
267
+ }
268
+ }
269
+
270
+ figure {
271
+ background: black;
272
+ padding: 5px;
273
+ }
274
+ .sprite {
275
+ background-image: image-url("console/console-sprite.png");
276
+ background-repeat: no-repeat;
277
+ }
278
+
279
+ .section-header {
280
+ background: #262626;
281
+ border-bottom: 3px solid #2f2f2f;
282
+ margin: 5px 0 3px 5px;
283
+ padding: 15px 0 3px;
284
+ position: relative;
285
+
286
+ > nav {
287
+ position: relative;
288
+ left: -5px;
289
+ margin-right: -10px;
290
+ }
291
+ }
292
+
293
+ #footer-nav {
294
+ background: #070707;
295
+ }
296
+
297
+ .row-console > .row {
298
+ background: #000;
299
+ color: #babbbc;
300
+ }
301
+
302
+ .section-console-light .row-console > .row {
303
+ background: none repeat scroll 0 0 #292929;
304
+ color: #dadada;
305
+ min-height: 400px;
306
+
307
+ h1, h2, h3, h4, h5, h6, legend {
308
+ color: #dadada;
309
+ }
310
+
311
+ .divide, legend {
312
+ border-bottom: 2px solid #555;
313
+ margin-bottom: 0;
314
+ font-family: $headerFontFamily;
315
+ }
316
+
317
+ .divide {
318
+ margin-bottom: $baseLineHeight;
319
+ }
320
+ }
321
+
322
+ .row > .column-content {
323
+ padding-top: 0;
324
+ }
325
+
326
+ .row > .column-content > :first-child {
327
+ margin-top: 25px;
328
+ }
329
+
330
+ @media (max-width: 767px) {
331
+ .section-console {
332
+ background: #010101;
333
+ padding-bottom: 0;
334
+ padding-top: 0;
335
+ }
336
+ .section-console-light { background: #292929; }
337
+
338
+ .section-header {
339
+ margin-left: 0;
340
+ }
341
+ .row > .section-header {
342
+ margin-top: 3px;
343
+ @include expand_for_phone();
344
+ }
345
+ }
346
+
347
+ .digest-bg {
348
+ background-color: #212121;
349
+ border-bottom: 3px solid #2a2a2a;
350
+ margin: 0 -25px;
351
+ padding: 20px 25px;
352
+ }
353
+
354
+ #app-list, #account-digest {
355
+ margin-top: 0;
356
+ color: #babbbc;
357
+ }
358
+ .app-full-path {
359
+ color: #9a9b9c;
360
+ }
361
+
362
+ .table-data {
363
+ td,
364
+ th {
365
+ border: 0;
366
+ text-align: right;
367
+ vertical-align: middle;
368
+ }
369
+ td:first-child,
370
+ th:first-child {
371
+ text-align: left;
372
+ }
373
+ tr:last-child td {
374
+ border-top: 1px solid #232323;
375
+ color: #8ADDF2; //breaks regular tables
376
+ }
377
+ tbody tr:hover td,
378
+ tbody tr:hover th {
379
+ background-color:transparent;
380
+ }
381
+
382
+ }
383
+
384
+ .line-item-title {
385
+ margin-left: 15px;
386
+ }
387
+ .status {
388
+ display: inline-block;
389
+ float: left;
390
+ height: 10px;
391
+ width: 10px;
392
+ margin-top: 5px;
393
+ background-color: #333;
394
+ }
395
+ .status-important {
396
+ background-color: #900;
397
+ }
398
+
399
+ .nav {
400
+ margin-bottom: 6px;
401
+ }
402
+ .nav-pills.console-overview {
403
+ margin-right: -2px;
404
+ }
405
+ .nav-pills.console-overview > li {
406
+ text-align: center;
407
+ width: 33.3%;
408
+ }
409
+ .nav-pills.console-overview > li > a {
410
+ padding-right: 12px;
411
+ padding-left: 12px;
412
+ margin-right: 2px;
413
+ line-height: 14px;
414
+ color: #bebebe;
415
+ background-color: #292929;
416
+ padding-top: 8px;
417
+ padding-bottom: 8px;
418
+ margin-top: 2px;
419
+ margin-bottom: 2px;
420
+ -webkit-border-radius: 0;
421
+ -moz-border-radius: 0;
422
+ border-radius: 0;
423
+ color: #bebebe;
424
+ font-size: 12px;
425
+ }
426
+ .nav-pills.console-overview > li > a:hover {
427
+ color: #212121;
428
+ /*background-color: #808184;*/
429
+ background-color: #b1e5f2;
430
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#b1e5f2), to(#7ca1aa));
431
+ background-image: -webkit-linear-gradient(top, #b1e5f2, #7ca1aa);
432
+ background-image: -moz-linear-gradient(top, #b1e5f2, #7ca1aa);
433
+ background-image: -ms-linear-gradient(top, #b1e5f2, #7ca1aa);
434
+ background-image: -o-linear-gradient(top, #b1e5f2, #7ca1aa);
435
+ background-image: linear-gradient(to bottom, #b1e5f2, #7ca1aa);
436
+ }
437
+
438
+ .nav-pills.console-overview .active > a,
439
+ .nav-pills.console-overview .active > a:hover {
440
+ color: #212121;
441
+ background-color: #808184;
442
+ cursor: default;
443
+ }
444
+
445
+ .form-actions {
446
+ background-color: transparent;
447
+ border-top: 1px solid #333333;
448
+ margin-bottom: 18px;
449
+ margin-top: 18px;
450
+ padding: 17px 20px 18px;
451
+ }
452
+
453
+ a.console-link {
454
+ margin-right: 20px;
455
+ position: relative;
456
+ vertical-align: middle;
457
+ padding: 8px 3px;
458
+ color: inherit;
459
+ }
460
+ a.console-link:hover {
461
+ color:#fff;
462
+ text-decoration: none;
463
+ }
464
+ a.console-link .sprite {
465
+ background: image-url('sprite-vert.png') 0 -111px no-repeat;
466
+ display: inline-block;
467
+ height: 18px;
468
+ position: absolute;
469
+ right: -15px;
470
+ top: 6px;
471
+ width: 10px;
472
+ }
473
+ a.console-link:hover .sprite {
474
+ background-position: 0 -54px;
475
+ }
476
+ a.cap-link {
477
+ font-family: $headerFontFamily;
478
+ text-transform: uppercase;
479
+ padding: 8px 10px;
480
+ color: #555;
481
+ font-size: 11px;
482
+ }
483
+ a.cap-link:hover {
484
+ color: #bebebe;
485
+ }
486
+
487
+ /* application details */
488
+ #app-specifics {
489
+ margin-bottom: 20px;
490
+ }
491
+
492
+
493
+ .unstyled-flat.bits {
494
+ margin: 0 0 10px 0;
495
+ li {
496
+ border-left: 1px dotted #444;
497
+ padding: 0 8px;
498
+ min-height: 37px;
499
+ font-weight: normal;
500
+ text-transform: uppercase;
501
+
502
+ img {
503
+ vertical-align: text-top;
504
+ }
505
+ &:first-child {
506
+ border-left: 0;
507
+ }
508
+ }
509
+ }
510
+
511
+ $cartridgeBorderWidth: 10px;
512
+
513
+ #app-cartridges {
514
+ header {
515
+ background: #202020;
516
+ overflow: hidden;
517
+ padding-left: $gridGutterWidth;
518
+
519
+ h3 {
520
+ margin-top: 5px;
521
+ }
522
+
523
+ .btn-add-cart {
524
+ display: inline-block;
525
+ padding: 8px 8px 8px 20px;
526
+ position: relative;
527
+ width: 130px;
528
+ color: #9a9b9c;
529
+ text-decoration: none;
530
+ font-size: 11px;
531
+ text-transform: uppercase;
532
+ font-family: $headerFontFamily;
533
+ border-left: 2px solid transparent;
534
+
535
+ span.sprite {
536
+ background-position: 10px -50px;
537
+ background-color: #1d1d1d;
538
+ width: 35px;
539
+ height: 35px;
540
+ position: absolute;
541
+ right: 0;
542
+ top: 0;
543
+ }
544
+
545
+ &:hover {
546
+ color: #fff;
547
+ background: #1c1c1c;
548
+ border-color: black;
549
+ span {
550
+ background-color: #b1e5f2;
551
+ background-position:-26px -50px;
552
+ }
553
+ }
554
+ }
555
+ }
556
+
557
+ .gear-group {
558
+ margin-top: 5px;
559
+ margin-bottom: 15px;
560
+ border-bottom: 3px solid #2a2a2a;
561
+ }
562
+ .cartridge-block {
563
+ border-top: 3px solid #2a2a2a;
564
+
565
+ .cartridge-border {
566
+ background: image-url('cartridge-edge.gif') repeat-y;
567
+ padding-left: 10px;
568
+ }
569
+
570
+ .cartridge-inset {
571
+ background-color: #1d1d1d;
572
+ border: 1px solid #101010;
573
+ border-width: 2px 0;
574
+ padding: 15px ($gridGutterWidth - $cartridgeBorderWidth);
575
+ }
576
+
577
+ h2 {
578
+ text-overflow: ellipsis;
579
+ overflow: hidden;
580
+ white-space: nowrap;
581
+ }
582
+
583
+ /* &.warning { border-left: 2px dashed red; }*/
584
+ .warning {
585
+ color: #EB0011;
586
+ }
587
+
588
+ .embedded {
589
+ background: #131313;
590
+ margin-top: 15px;
591
+ padding: 10px 20px;
592
+ overflow: hidden;
593
+ position: relative;
594
+
595
+ .cart-msg {
596
+ padding: 8px 0;
597
+ }
598
+
599
+ .view-cart-details {
600
+ bottom: 10px;
601
+ padding: 10px 5px 0 6px;
602
+ position: absolute;
603
+ right: 0;
604
+ vertical-align: baseline;
605
+ width: 87px;
606
+ white-space: nowrap;
607
+ display: inline-block;
608
+
609
+ span.sprite {
610
+ background: image-url('sprite-vert.png') 0 -112px no-repeat;
611
+ display: inline-block;
612
+ height: 20px;
613
+ margin-left: 10px;
614
+ position: absolute;
615
+ width: 20px;
616
+ }
617
+ &:hover span.sprite {
618
+ background: image-url('sprite-vert.png') 0 -55px no-repeat;
619
+ }
620
+ }
621
+
622
+ .embedded-cart {
623
+ border: 1px solid #6b6b6b;
624
+ background: #242424;
625
+ float: left;
626
+ margin-right: 15px;
627
+ line-height: 35px;
628
+ //FIXME: embedded-cart should be more flexible
629
+ padding: 0 10px;
630
+ //width: 35px;
631
+ //height: 35px;
632
+ }
633
+ }
634
+
635
+ input {
636
+ border: 1px dotted #444;
637
+ @include border-radius(0);
638
+ color: #BABBBC;
639
+ background-color: inherit;
640
+ //@include font-family-monospace();
641
+ cursor: inherit;
642
+ @include box-sizing(border-box);
643
+ width: 100%;
644
+ height: 28px; // border-box height
645
+ //width: -moz-available;
646
+ }
647
+ }
648
+ }
649
+
650
+ #secondary {
651
+ a {
652
+ color: inherit;
653
+ }
654
+ h5 {
655
+ margin: 0 0 3px 0;
656
+ }
657
+ }
658
+
659
+ #assistance ul,
660
+ #app-unique-info ul {
661
+ margin-bottom: 25px;
662
+ }
663
+ #app-unique-info h5 {
664
+ border-bottom: 1px solid #222222;
665
+ }
666
+
667
+ .section-console h6 {
668
+ color: #9a9b9c;
669
+ font-weight: normal;
670
+ }
671
+ .data {
672
+ color: #eaebec;
673
+ }
674
+
675
+ .cartridge_type.installed,
676
+ .cartridge_type.inactive,
677
+ .section-console-light .cartridge_type.installed > h3,
678
+ .section-console-light .cartridge_type.inactive > h3 {
679
+ color: #888;
680
+ }
681
+ .cartridge_type.inactive,
682
+ .cartridge_type.installed {
683
+ background-color: rgba(255, 255, 255, 0.05);
684
+ cursor: default;
685
+ }
686
+
687
+ .italics {font-style: italic;}
688
+
689
+
690
+ // Responsive customizations
691
+ // -----------------------------------------------------
692
+
693
+ @media (max-width: 480px) {
694
+ .embedded .view-cart-details {
695
+ position: inherit;
696
+ }
697
+ #my-apps .status {
698
+ position: static;
699
+ }
700
+ #my-apps li h2 {
701
+ float: none;
702
+ }
703
+
704
+ #app-cartridges {
705
+ @include expand_for_phone(false);
706
+ header {
707
+ padding-left: $gridGutterWidthPhone;
708
+ }
709
+ .cartridge-block .cartridge-inset {
710
+ padding-left: $gridGutterWidthPhone - $cartridgeBorderWidth;
711
+ padding-right: $gridGutterWidthPhone - $cartridgeBorderWidth;
712
+ }
713
+ }
714
+ }
715
+
716
+ /* Arbitrarily chosen
717
+ @media (max-width: 600px) {
718
+ #app-cartridges .cartridge-block .bits {
719
+ margin-left: 0;
720
+ li {
721
+ display: block;
722
+ float: none;
723
+ border: 0;
724
+ text-align: right;
725
+ min-height: 0;
726
+ h6 {
727
+ display: inline;
728
+ }
729
+ }
730
+ }
731
+ }
732
+ */
733
+
734
+ @media (max-width: 767px) {
735
+ .section-console .base {
736
+ float: none;
737
+ display: block;
738
+ margin-left: 0;
739
+ }
740
+ .section-console-light {
741
+ //padding:0 20px;
742
+ }
743
+ .row > strong {
744
+ display: block;
745
+ float: none;
746
+ margin: 0;
747
+ width: auto;
748
+ }
749
+
750
+ .total-cost {
751
+ font-size: 23px;
752
+ float: left;
753
+ margin-left: 28px;
754
+ }
755
+ .digest-bg {
756
+ margin: 0;
757
+ }
758
+ #secondary {
759
+ margin: 0 30px;
760
+ }
761
+ #my-apps li h2 {
762
+ float: right;
763
+ }
764
+ section#console-mast .row ul.unstyled-flat li.span7.right { text-align: left; }
765
+ .form-horizontal .controls {
766
+ margin-left: 0;
767
+ }
768
+ .form-horizontal .control-label {
769
+ float: none;
770
+ text-align: left;
771
+ }
772
+ .control-group.error p+p {
773
+ padding-left: 0 !important;
774
+ display:block;
775
+ }
776
+ .control-group-important .input-prepend-append .add-on-first, .control-group-important .input-prepend-append .add-on-last, .control-group-important .input-prepend-append .add-on-middle, .control-group-important .input-prepend-append input, .control-group-important .input-prepend-append input {
777
+ font-size: inherit;
778
+ }
779
+
780
+ #account-digest {
781
+ @include expand_for_phone(false);
782
+ .digest-bg {
783
+ padding-left: 0;
784
+ padding-right: 0;
785
+ background: transparent;
786
+
787
+ #secondary {
788
+ margin: 0 $gridGutterWidthPhone;
789
+ }
790
+ }
791
+ }
792
+
793
+ #app-unique-info {
794
+ margin: 0;
795
+ }
796
+
797
+ #app-cartridges {
798
+ header {
799
+ padding-left: $gridGutterWidthTablet;
800
+ }
801
+ .cartridge-block .cartridge-inset {
802
+ padding-left: $gridGutterWidthTablet - $cartridgeBorderWidth;
803
+ padding-right: $gridGutterWidthTablet - $cartridgeBorderWidth;
804
+ }
805
+ }
806
+
807
+ }
808
+
809
+ @media (min-width: 768px) and (max-width: 979px) {
810
+ .total-cost {
811
+ font-size: 23px;
812
+ }
813
+ .digest-bg {
814
+ margin-right: -15px;
815
+ margin-left: -15px;
816
+ }
817
+ #my-apps li h2 {
818
+ float: none;
819
+ }
820
+ #my-apps .status {
821
+ position: static;
822
+ }
823
+ }
824
+
825
+ @media (min-width: 980px) and (max-width: 1199px) {
826
+ .digest-bg {
827
+ margin: 0 -23px;
828
+ }
829
+ #app-cartridges {
830
+ header {
831
+ padding-left: $gridGutterWidthLarge;
832
+ }
833
+ .cartridge-block .cartridge-inset {
834
+ padding-left: $gridGutterWidthLarge - $cartridgeBorderWidth;
835
+ padding-right: $gridGutterWidthLarge - $cartridgeBorderWidth;
836
+ }
837
+ }
838
+
839
+ }
840
+
841
+ @media (min-width: 1200px) {
842
+ }
843
+ @media (max-width: 979px) {
844
+ }
845
+ @media (min-width: 980px) {
846
+ }
847
+
848
+ .form-search {
849
+ position: relative;
850
+ > .search-query {
851
+ padding-left:8px;
852
+ padding-right:0;
853
+ border-radius: 3px;
854
+ // width:83%;
855
+ // width: -moz-available;
856
+ }
857
+ > .search {
858
+ position: absolute;
859
+ top: 1px;
860
+ right: 3px;
861
+ height: 25px;
862
+ width: 23px;
863
+ background: transparent image-url("sprite-vert.png") 2px -293px no-repeat;
864
+ border: 0;
865
+ }
866
+ }
867
+
868
+ .form-search-block {
869
+ display: inline-block;
870
+ }
871
+
872
+ #app-errors {
873
+ display: none;
874
+ margin-bottom: 15px;
875
+ }
876
+
877
+ .control-group.error p+p {padding-left: 100px;}
878
+
879
+ /* table customization
880
+ -----------------------------------------------*/
881
+
882
+ .table {
883
+ th,
884
+ td {
885
+ border-color: #383838;
886
+ }
887
+ // Account for multiple tbody instances
888
+ tbody + tbody {
889
+ border-color: #383838;
890
+ }
891
+ }
892
+
893
+ .table-bordered {
894
+ border-color: #383838;
895
+ th + th,
896
+ td + td,
897
+ th + td,
898
+ td + th {
899
+ border-color: #383838;
900
+ }
901
+ }
902
+
903
+
904
+ .table-striped {
905
+ tbody {
906
+ tr:nth-child(odd) td,
907
+ tr:nth-child(odd) th {
908
+ background-color: rgba(255,255,255,0.02);
909
+ }
910
+ }
911
+ }
912
+ .table {
913
+ tbody tr:hover td,
914
+ tbody tr:hover th {
915
+ background-color: rgba(255,255,255,0.04);
916
+ }
917
+ }
918
+
919
+ .ie9 .table-fixed, .ie8 .table-fixed, .ie7 .table-fixed { table-layout: fixed } // allow td text-overflow
920
+
921
+ .sshkey-name {
922
+ max-width: 80px;
923
+ overflow: hidden;
924
+ text-overflow: ellipsis;
925
+ white-space: nowrap;
926
+ }
927
+
928
+ #new_web_user table td {
929
+ max-width: 80px;
930
+ overflow: hidden;
931
+ text-overflow: ellipsis;
932
+ white-space: nowrap;
933
+ }
934
+
935
+
936
+
937
+
938
+
939
+ /* client side validation */
940
+ .form-validation fieldset input,
941
+ .form-validation fieldset textarea,
942
+ .form-validation fieldset select {
943
+ display: inline-block;
944
+ $transition: background-color .2s ease;
945
+ @include transition($transition);
946
+ }
947
+ .form-validation input:focus:required:invalid {
948
+ background-position: 379px 3px;
949
+ outline: none;
950
+ }
951
+ .form-validation input[type=text]:focus:not([pattern]):required:invalid {
952
+ background-color: #fff;
953
+ }
954
+
955
+ .form-validation .validation01 {
956
+ background: $infoBackground;
957
+ display: none;
958
+ color: $infoText;
959
+ @include border-radius(5px);
960
+ font-size: 12px;
961
+ padding: 3px 7px;
962
+ position: absolute;
963
+ left: 0;
964
+ text-align: center;
965
+ top: 60px;
966
+ max-width: 300px;
967
+ min-width: 85px;
968
+ z-index: 9999;
969
+ }
970
+ .form-validation .validation01:before {
971
+ border-color: transparent transparent $infoBackground;
972
+ border-style: solid;
973
+ border-width: 10px;
974
+ content: "";
975
+ height: 0;
976
+ left: 5px;
977
+ position: absolute;
978
+ top: -15px;
979
+ width: 0;
980
+ }
981
+ .form-validation input:focus + .validation01,
982
+ .form-validation select:focus + .validation01,
983
+ .form-validation textarea:focus + .validation01 { display: block; }
984
+ .form-validation input:focus:required:valid + .validation01 { background: $successBackground; }
985
+ .form-validation input:focus:required:valid + .validation01:before { border-color: transparent transparent $successBackground; }
986
+ .form-validation input:focus:required:valid + .validation01 .invalid { display: none; }
987
+ .form-validation input:focus:required:invalid + .validation01 .valid { display: none; }
988
+
989
+
990
+ /* Enhanced error styling */
991
+ .form-validation input.error,
992
+ .form-validation select.error,
993
+ .form-validation textarea.error {
994
+ outline: none;
995
+ border: 1px solid $errorBorder;
996
+ }
997
+ .form-validation input.required,
998
+ .form-validation select.required,
999
+ .form-validation textarea.required {
1000
+ border: 1px solid $errorBorder;
1001
+ }
1002
+