1and1 1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (290) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/1and1-1.0.gem +0 -0
  4. data/1and1.gemspec +20 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE +201 -0
  7. data/README.md +499 -0
  8. data/docs/reference.md +2447 -0
  9. data/examples/dvd_examples.rb +15 -0
  10. data/examples/example_app.rb +100 -0
  11. data/examples/firewall_examples.rb +137 -0
  12. data/examples/image_examples.rb +48 -0
  13. data/examples/load_balancer_examples.rb +145 -0
  14. data/examples/log_examples.rb +15 -0
  15. data/examples/monitoring_center_examples.rb +15 -0
  16. data/examples/monitoring_policy_examples.rb +343 -0
  17. data/examples/private_network_examples.rb +86 -0
  18. data/examples/public_ip_examples.rb +42 -0
  19. data/examples/role_examples.rb +113 -0
  20. data/examples/server_appliance_examples.rb +15 -0
  21. data/examples/server_examples.rb +438 -0
  22. data/examples/shared_storage_examples.rb +108 -0
  23. data/examples/usage_examples.rb +6 -0
  24. data/examples/user_examples.rb +113 -0
  25. data/examples/vpn_examples.rb +56 -0
  26. data/lib/1and1/datacenter.rb +73 -0
  27. data/lib/1and1/dvd.rb +73 -0
  28. data/lib/1and1/firewall.rb +427 -0
  29. data/lib/1and1/image.rb +231 -0
  30. data/lib/1and1/load_balancer.rb +448 -0
  31. data/lib/1and1/log.rb +77 -0
  32. data/lib/1and1/monitoring_center.rb +84 -0
  33. data/lib/1and1/monitoring_policy.rb +598 -0
  34. data/lib/1and1/oneandone.rb +57 -0
  35. data/lib/1and1/ping.rb +41 -0
  36. data/lib/1and1/ping_auth.rb +41 -0
  37. data/lib/1and1/pricing.rb +41 -0
  38. data/lib/1and1/private_network.rb +333 -0
  39. data/lib/1and1/public_ip.rb +192 -0
  40. data/lib/1and1/role.rb +381 -0
  41. data/lib/1and1/server.rb +1208 -0
  42. data/lib/1and1/server_appliance.rb +73 -0
  43. data/lib/1and1/shared_storage.rb +379 -0
  44. data/lib/1and1/usage.rb +58 -0
  45. data/lib/1and1/user.rb +374 -0
  46. data/lib/1and1/vpn.rb +249 -0
  47. data/lib/oneandone.rb +27 -0
  48. data/sphinx/Makefile +192 -0
  49. data/sphinx/_build/doctrees/dvds.doctree +0 -0
  50. data/sphinx/_build/doctrees/environment.pickle +0 -0
  51. data/sphinx/_build/doctrees/firewalls.doctree +0 -0
  52. data/sphinx/_build/doctrees/images.doctree +0 -0
  53. data/sphinx/_build/doctrees/index.doctree +0 -0
  54. data/sphinx/_build/doctrees/load_balancers.doctree +0 -0
  55. data/sphinx/_build/doctrees/logs.doctree +0 -0
  56. data/sphinx/_build/doctrees/monitoring_center.doctree +0 -0
  57. data/sphinx/_build/doctrees/monitoring_policies.doctree +0 -0
  58. data/sphinx/_build/doctrees/private_networks.doctree +0 -0
  59. data/sphinx/_build/doctrees/public_ips.doctree +0 -0
  60. data/sphinx/_build/doctrees/server_appliances.doctree +0 -0
  61. data/sphinx/_build/doctrees/servers.doctree +0 -0
  62. data/sphinx/_build/doctrees/shared_storages.doctree +0 -0
  63. data/sphinx/_build/doctrees/usages.doctree +0 -0
  64. data/sphinx/_build/doctrees/users.doctree +0 -0
  65. data/sphinx/_build/html/.buildinfo +4 -0
  66. data/sphinx/_build/html/_sources/dvds.txt +42 -0
  67. data/sphinx/_build/html/_sources/firewalls.txt +189 -0
  68. data/sphinx/_build/html/_sources/images.txt +101 -0
  69. data/sphinx/_build/html/_sources/index.txt +499 -0
  70. data/sphinx/_build/html/_sources/load_balancers.txt +231 -0
  71. data/sphinx/_build/html/_sources/logs.txt +55 -0
  72. data/sphinx/_build/html/_sources/monitoring_center.txt +55 -0
  73. data/sphinx/_build/html/_sources/monitoring_policies.txt +288 -0
  74. data/sphinx/_build/html/_sources/private_networks.txt +146 -0
  75. data/sphinx/_build/html/_sources/public_ips.txt +78 -0
  76. data/sphinx/_build/html/_sources/server_appliances.txt +42 -0
  77. data/sphinx/_build/html/_sources/servers.txt +630 -0
  78. data/sphinx/_build/html/_sources/shared_storages.txt +160 -0
  79. data/sphinx/_build/html/_sources/usages.txt +45 -0
  80. data/sphinx/_build/html/_sources/users.txt +172 -0
  81. data/sphinx/_build/html/_static/ajax-loader.gif +0 -0
  82. data/sphinx/_build/html/_static/alabaster.css +585 -0
  83. data/sphinx/_build/html/_static/basic.css +599 -0
  84. data/sphinx/_build/html/_static/comment-bright.png +0 -0
  85. data/sphinx/_build/html/_static/comment-close.png +0 -0
  86. data/sphinx/_build/html/_static/comment.png +0 -0
  87. data/sphinx/_build/html/_static/doctools.js +263 -0
  88. data/sphinx/_build/html/_static/down-pressed.png +0 -0
  89. data/sphinx/_build/html/_static/down.png +0 -0
  90. data/sphinx/_build/html/_static/file.png +0 -0
  91. data/sphinx/_build/html/_static/jquery-1.11.1.js +10308 -0
  92. data/sphinx/_build/html/_static/jquery.js +4 -0
  93. data/sphinx/_build/html/_static/minus.png +0 -0
  94. data/sphinx/_build/html/_static/plus.png +0 -0
  95. data/sphinx/_build/html/_static/pygments.css +63 -0
  96. data/sphinx/_build/html/_static/searchtools.js +651 -0
  97. data/sphinx/_build/html/_static/underscore-1.3.1.js +999 -0
  98. data/sphinx/_build/html/_static/underscore.js +31 -0
  99. data/sphinx/_build/html/_static/up-pressed.png +0 -0
  100. data/sphinx/_build/html/_static/up.png +0 -0
  101. data/sphinx/_build/html/_static/websupport.js +808 -0
  102. data/sphinx/_build/html/dvds.html +151 -0
  103. data/sphinx/_build/html/firewalls.html +397 -0
  104. data/sphinx/_build/html/genindex.html +114 -0
  105. data/sphinx/_build/html/images.html +236 -0
  106. data/sphinx/_build/html/index.html +571 -0
  107. data/sphinx/_build/html/load_balancers.html +409 -0
  108. data/sphinx/_build/html/logs.html +160 -0
  109. data/sphinx/_build/html/monitoring_center.html +160 -0
  110. data/sphinx/_build/html/monitoring_policies.html +530 -0
  111. data/sphinx/_build/html/objects.inv +0 -0
  112. data/sphinx/_build/html/private_networks.html +316 -0
  113. data/sphinx/_build/html/public_ips.html +215 -0
  114. data/sphinx/_build/html/rb-modindex.html +106 -0
  115. data/sphinx/_build/html/search.html +99 -0
  116. data/sphinx/_build/html/searchindex.js +1 -0
  117. data/sphinx/_build/html/server_appliances.html +153 -0
  118. data/sphinx/_build/html/servers.html +994 -0
  119. data/sphinx/_build/html/shared_storages.html +349 -0
  120. data/sphinx/_build/html/usages.html +140 -0
  121. data/sphinx/_build/html/users.html +363 -0
  122. data/sphinx/conf.py +287 -0
  123. data/sphinx/dvds.rst +42 -0
  124. data/sphinx/firewalls.rst +189 -0
  125. data/sphinx/images.rst +101 -0
  126. data/sphinx/index.rst +499 -0
  127. data/sphinx/load_balancers.rst +231 -0
  128. data/sphinx/logs.rst +55 -0
  129. data/sphinx/make.bat +263 -0
  130. data/sphinx/monitoring_center.rst +55 -0
  131. data/sphinx/monitoring_policies.rst +288 -0
  132. data/sphinx/private_networks.rst +146 -0
  133. data/sphinx/public_ips.rst +78 -0
  134. data/sphinx/server_appliances.rst +42 -0
  135. data/sphinx/servers.rst +630 -0
  136. data/sphinx/shared_storages.rst +160 -0
  137. data/sphinx/usages.rst +45 -0
  138. data/sphinx/users.rst +172 -0
  139. data/test/mock-api/add-firewall.json +66 -0
  140. data/test/mock-api/add-hdd.json +49 -0
  141. data/test/mock-api/add-lb.json +71 -0
  142. data/test/mock-api/add-new-ip.json +18 -0
  143. data/test/mock-api/add-pn.json +66 -0
  144. data/test/mock-api/add-port-mp.json +81 -0
  145. data/test/mock-api/add-process-mp.json +20 -0
  146. data/test/mock-api/add-rule-fp.json +33 -0
  147. data/test/mock-api/add-rule-lb.json +40 -0
  148. data/test/mock-api/add-server-ip.json +66 -0
  149. data/test/mock-api/add-server-mp.json +66 -0
  150. data/test/mock-api/assign-ip-fp.json +32 -0
  151. data/test/mock-api/assign-server-lb.json +39 -0
  152. data/test/mock-api/attach-server-pn.json +14 -0
  153. data/test/mock-api/attach-server-storage.json +24 -0
  154. data/test/mock-api/change-api-key.json +15 -0
  155. data/test/mock-api/change-password.json +5 -0
  156. data/test/mock-api/change-server-status.json +70 -0
  157. data/test/mock-api/clone-server.json +29 -0
  158. data/test/mock-api/create-fp.json +26 -0
  159. data/test/mock-api/create-image.json +30 -0
  160. data/test/mock-api/create-lb.json +33 -0
  161. data/test/mock-api/create-mp.json +81 -0
  162. data/test/mock-api/create-pn.json +11 -0
  163. data/test/mock-api/create-public-ip.json +10 -0
  164. data/test/mock-api/create-server.json +34 -0
  165. data/test/mock-api/create-snapshot.json +74 -0
  166. data/test/mock-api/create-storage.json +13 -0
  167. data/test/mock-api/create-user.json +14 -0
  168. data/test/mock-api/delete-fp.json +26 -0
  169. data/test/mock-api/delete-image.json +26 -0
  170. data/test/mock-api/delete-ip.json +15 -0
  171. data/test/mock-api/delete-lb.json +33 -0
  172. data/test/mock-api/delete-mp.json +71 -0
  173. data/test/mock-api/delete-pn.json +11 -0
  174. data/test/mock-api/delete-public-ip.json +10 -0
  175. data/test/mock-api/delete-rule-fp.json +26 -0
  176. data/test/mock-api/delete-server.json +50 -0
  177. data/test/mock-api/delete-snapshot.json +74 -0
  178. data/test/mock-api/delete-storage.json +24 -0
  179. data/test/mock-api/delete-user.json +15 -0
  180. data/test/mock-api/detach-server-lb.json +33 -0
  181. data/test/mock-api/detach-server-mp.json +65 -0
  182. data/test/mock-api/detach-server-storage.json +19 -0
  183. data/test/mock-api/edit-image.json +26 -0
  184. data/test/mock-api/eject-dvd.json +66 -0
  185. data/test/mock-api/fixed-server-flavors.json +70 -0
  186. data/test/mock-api/get-appliance.json +16 -0
  187. data/test/mock-api/get-dvd.json +9 -0
  188. data/test/mock-api/get-firewall.json +26 -0
  189. data/test/mock-api/get-fixed-server.json +17 -0
  190. data/test/mock-api/get-fp-rule.json +7 -0
  191. data/test/mock-api/get-hardware.json +13 -0
  192. data/test/mock-api/get-hdd.json +5 -0
  193. data/test/mock-api/get-image.json +26 -0
  194. data/test/mock-api/get-lb-rule.json +7 -0
  195. data/test/mock-api/get-lb-server.json +5 -0
  196. data/test/mock-api/get-load-balancer.json +33 -0
  197. data/test/mock-api/get-log.json +23 -0
  198. data/test/mock-api/get-monitoring-center.json +161 -0
  199. data/test/mock-api/get-mp-port.json +7 -0
  200. data/test/mock-api/get-mp-process.json +6 -0
  201. data/test/mock-api/get-mp-server.json +4 -0
  202. data/test/mock-api/get-mp.json +65 -0
  203. data/test/mock-api/get-pn-server.json +4 -0
  204. data/test/mock-api/get-private-network.json +20 -0
  205. data/test/mock-api/get-public-ip.json +10 -0
  206. data/test/mock-api/get-server-dvd.json +4 -0
  207. data/test/mock-api/get-server-image.json +4 -0
  208. data/test/mock-api/get-server-ip-fp.json +4 -0
  209. data/test/mock-api/get-server-ip.json +8 -0
  210. data/test/mock-api/get-server-pn.json +16 -0
  211. data/test/mock-api/get-server-status.json +4 -0
  212. data/test/mock-api/get-server-storage.json +5 -0
  213. data/test/mock-api/get-server.json +44 -0
  214. data/test/mock-api/get-storage.json +19 -0
  215. data/test/mock-api/get-usage.json +161 -0
  216. data/test/mock-api/get-user-api-key.json +3 -0
  217. data/test/mock-api/get-user-api.json +7 -0
  218. data/test/mock-api/get-user.json +15 -0
  219. data/test/mock-api/list-appliances.json +66 -0
  220. data/test/mock-api/list-credentials.json +5 -0
  221. data/test/mock-api/list-dvds.json +128 -0
  222. data/test/mock-api/list-firewalls.json +54 -0
  223. data/test/mock-api/list-fp-rules.json +16 -0
  224. data/test/mock-api/list-hdds.json +7 -0
  225. data/test/mock-api/list-images.json +54 -0
  226. data/test/mock-api/list-lb-rules.json +16 -0
  227. data/test/mock-api/list-lb-servers.json +12 -0
  228. data/test/mock-api/list-load-balancers.json +68 -0
  229. data/test/mock-api/list-logs.json +49 -0
  230. data/test/mock-api/list-monitoring-center-usages.json +90 -0
  231. data/test/mock-api/list-mp-ports.json +16 -0
  232. data/test/mock-api/list-mp-processes.json +14 -0
  233. data/test/mock-api/list-mp-servers.json +10 -0
  234. data/test/mock-api/list-mps.json +152 -0
  235. data/test/mock-api/list-pn-servers.json +10 -0
  236. data/test/mock-api/list-private-networks.json +24 -0
  237. data/test/mock-api/list-public-ips.json +44 -0
  238. data/test/mock-api/list-server-fps.json +4 -0
  239. data/test/mock-api/list-server-ips-fp.json +7 -0
  240. data/test/mock-api/list-server-ips.json +10 -0
  241. data/test/mock-api/list-server-lbs.json +6 -0
  242. data/test/mock-api/list-server-pns.json +6 -0
  243. data/test/mock-api/list-servers.json +66 -0
  244. data/test/mock-api/list-snapshots.json +7 -0
  245. data/test/mock-api/list-storages.json +47 -0
  246. data/test/mock-api/list-usages.json +144 -0
  247. data/test/mock-api/list-user-ips.json +5 -0
  248. data/test/mock-api/list-users.json +31 -0
  249. data/test/mock-api/load-dvd.json +63 -0
  250. data/test/mock-api/modify-fp.json +26 -0
  251. data/test/mock-api/modify-lb.json +33 -0
  252. data/test/mock-api/modify-mp.json +81 -0
  253. data/test/mock-api/modify-pn.json +20 -0
  254. data/test/mock-api/modify-port-mp.json +81 -0
  255. data/test/mock-api/modify-process-mp.json +73 -0
  256. data/test/mock-api/modify-public-ip.json +10 -0
  257. data/test/mock-api/modify-server-hardware.json +44 -0
  258. data/test/mock-api/modify-server-hdd.json +54 -0
  259. data/test/mock-api/modify-server.json +44 -0
  260. data/test/mock-api/modify-storage.json +19 -0
  261. data/test/mock-api/modify-user-api.json +15 -0
  262. data/test/mock-api/modify-user.json +15 -0
  263. data/test/mock-api/reinstall-image.json +52 -0
  264. data/test/mock-api/remove-firewall-policy.json +26 -0
  265. data/test/mock-api/remove-hdd.json +54 -0
  266. data/test/mock-api/remove-ip-fp.json +26 -0
  267. data/test/mock-api/remove-lb.json +66 -0
  268. data/test/mock-api/remove-pn.json +71 -0
  269. data/test/mock-api/remove-port-mp.json +73 -0
  270. data/test/mock-api/remove-process-mp.json +66 -0
  271. data/test/mock-api/remove-rule-lb.json +33 -0
  272. data/test/mock-api/remove-server-ip.json +58 -0
  273. data/test/mock-api/remove-server-pn.json +16 -0
  274. data/test/mock-api/restore-snapshot.json +55 -0
  275. data/test/mock-api/storage-servers.json +12 -0
  276. data/test/test_mock_dvd.rb +55 -0
  277. data/test/test_mock_firewall.rb +309 -0
  278. data/test/test_mock_image.rb +123 -0
  279. data/test/test_mock_load_balancer.rb +312 -0
  280. data/test/test_mock_log.rb +55 -0
  281. data/test/test_mock_monitoring_center.rb +55 -0
  282. data/test/test_mock_monitoring_policy.rb +587 -0
  283. data/test/test_mock_private_network.rb +206 -0
  284. data/test/test_mock_public_ip.rb +118 -0
  285. data/test/test_mock_server.rb +929 -0
  286. data/test/test_mock_server_appliance.rb +55 -0
  287. data/test/test_mock_shared_storage.rb +256 -0
  288. data/test/test_mock_usage.rb +34 -0
  289. data/test/test_mock_user.rb +270 -0
  290. metadata +360 -0
@@ -0,0 +1,599 @@
1
+ /*
2
+ * basic.css
3
+ * ~~~~~~~~~
4
+ *
5
+ * Sphinx stylesheet -- basic theme.
6
+ *
7
+ * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
8
+ * :license: BSD, see LICENSE for details.
9
+ *
10
+ */
11
+
12
+ /* -- main layout ----------------------------------------------------------- */
13
+
14
+ div.clearer {
15
+ clear: both;
16
+ }
17
+
18
+ /* -- relbar ---------------------------------------------------------------- */
19
+
20
+ div.related {
21
+ width: 100%;
22
+ font-size: 90%;
23
+ }
24
+
25
+ div.related h3 {
26
+ display: none;
27
+ }
28
+
29
+ div.related ul {
30
+ margin: 0;
31
+ padding: 0 0 0 10px;
32
+ list-style: none;
33
+ }
34
+
35
+ div.related li {
36
+ display: inline;
37
+ }
38
+
39
+ div.related li.right {
40
+ float: right;
41
+ margin-right: 5px;
42
+ }
43
+
44
+ /* -- sidebar --------------------------------------------------------------- */
45
+
46
+ div.sphinxsidebarwrapper {
47
+ padding: 10px 5px 0 10px;
48
+ }
49
+
50
+ div.sphinxsidebar {
51
+ float: left;
52
+ width: 230px;
53
+ margin-left: -100%;
54
+ font-size: 90%;
55
+ }
56
+
57
+ div.sphinxsidebar ul {
58
+ list-style: none;
59
+ }
60
+
61
+ div.sphinxsidebar ul ul,
62
+ div.sphinxsidebar ul.want-points {
63
+ margin-left: 20px;
64
+ list-style: square;
65
+ }
66
+
67
+ div.sphinxsidebar ul ul {
68
+ margin-top: 0;
69
+ margin-bottom: 0;
70
+ }
71
+
72
+ div.sphinxsidebar form {
73
+ margin-top: 10px;
74
+ }
75
+
76
+ div.sphinxsidebar input {
77
+ border: 1px solid #98dbcc;
78
+ font-family: sans-serif;
79
+ font-size: 1em;
80
+ }
81
+
82
+ div.sphinxsidebar #searchbox input[type="text"] {
83
+ width: 170px;
84
+ }
85
+
86
+ div.sphinxsidebar #searchbox input[type="submit"] {
87
+ width: 30px;
88
+ }
89
+
90
+ img {
91
+ border: 0;
92
+ max-width: 100%;
93
+ }
94
+
95
+ /* -- search page ----------------------------------------------------------- */
96
+
97
+ ul.search {
98
+ margin: 10px 0 0 20px;
99
+ padding: 0;
100
+ }
101
+
102
+ ul.search li {
103
+ padding: 5px 0 5px 20px;
104
+ background-image: url(file.png);
105
+ background-repeat: no-repeat;
106
+ background-position: 0 7px;
107
+ }
108
+
109
+ ul.search li a {
110
+ font-weight: bold;
111
+ }
112
+
113
+ ul.search li div.context {
114
+ color: #888;
115
+ margin: 2px 0 0 30px;
116
+ text-align: left;
117
+ }
118
+
119
+ ul.keywordmatches li.goodmatch a {
120
+ font-weight: bold;
121
+ }
122
+
123
+ /* -- index page ------------------------------------------------------------ */
124
+
125
+ table.contentstable {
126
+ width: 90%;
127
+ }
128
+
129
+ table.contentstable p.biglink {
130
+ line-height: 150%;
131
+ }
132
+
133
+ a.biglink {
134
+ font-size: 1.3em;
135
+ }
136
+
137
+ span.linkdescr {
138
+ font-style: italic;
139
+ padding-top: 5px;
140
+ font-size: 90%;
141
+ }
142
+
143
+ /* -- general index --------------------------------------------------------- */
144
+
145
+ table.indextable {
146
+ width: 100%;
147
+ }
148
+
149
+ table.indextable td {
150
+ text-align: left;
151
+ vertical-align: top;
152
+ }
153
+
154
+ table.indextable dl, table.indextable dd {
155
+ margin-top: 0;
156
+ margin-bottom: 0;
157
+ }
158
+
159
+ table.indextable tr.pcap {
160
+ height: 10px;
161
+ }
162
+
163
+ table.indextable tr.cap {
164
+ margin-top: 10px;
165
+ background-color: #f2f2f2;
166
+ }
167
+
168
+ img.toggler {
169
+ margin-right: 3px;
170
+ margin-top: 3px;
171
+ cursor: pointer;
172
+ }
173
+
174
+ div.modindex-jumpbox {
175
+ border-top: 1px solid #ddd;
176
+ border-bottom: 1px solid #ddd;
177
+ margin: 1em 0 1em 0;
178
+ padding: 0.4em;
179
+ }
180
+
181
+ div.genindex-jumpbox {
182
+ border-top: 1px solid #ddd;
183
+ border-bottom: 1px solid #ddd;
184
+ margin: 1em 0 1em 0;
185
+ padding: 0.4em;
186
+ }
187
+
188
+ /* -- general body styles --------------------------------------------------- */
189
+
190
+ a.headerlink {
191
+ visibility: hidden;
192
+ }
193
+
194
+ h1:hover > a.headerlink,
195
+ h2:hover > a.headerlink,
196
+ h3:hover > a.headerlink,
197
+ h4:hover > a.headerlink,
198
+ h5:hover > a.headerlink,
199
+ h6:hover > a.headerlink,
200
+ dt:hover > a.headerlink,
201
+ caption:hover > a.headerlink,
202
+ p.caption:hover > a.headerlink,
203
+ div.code-block-caption:hover > a.headerlink {
204
+ visibility: visible;
205
+ }
206
+
207
+ div.body p.caption {
208
+ text-align: inherit;
209
+ }
210
+
211
+ div.body td {
212
+ text-align: left;
213
+ }
214
+
215
+ .field-list ul {
216
+ padding-left: 1em;
217
+ }
218
+
219
+ .first {
220
+ margin-top: 0 !important;
221
+ }
222
+
223
+ p.rubric {
224
+ margin-top: 30px;
225
+ font-weight: bold;
226
+ }
227
+
228
+ img.align-left, .figure.align-left, object.align-left {
229
+ clear: left;
230
+ float: left;
231
+ margin-right: 1em;
232
+ }
233
+
234
+ img.align-right, .figure.align-right, object.align-right {
235
+ clear: right;
236
+ float: right;
237
+ margin-left: 1em;
238
+ }
239
+
240
+ img.align-center, .figure.align-center, object.align-center {
241
+ display: block;
242
+ margin-left: auto;
243
+ margin-right: auto;
244
+ }
245
+
246
+ .align-left {
247
+ text-align: left;
248
+ }
249
+
250
+ .align-center {
251
+ text-align: center;
252
+ }
253
+
254
+ .align-right {
255
+ text-align: right;
256
+ }
257
+
258
+ /* -- sidebars -------------------------------------------------------------- */
259
+
260
+ div.sidebar {
261
+ margin: 0 0 0.5em 1em;
262
+ border: 1px solid #ddb;
263
+ padding: 7px 7px 0 7px;
264
+ background-color: #ffe;
265
+ width: 40%;
266
+ float: right;
267
+ }
268
+
269
+ p.sidebar-title {
270
+ font-weight: bold;
271
+ }
272
+
273
+ /* -- topics ---------------------------------------------------------------- */
274
+
275
+ div.topic {
276
+ border: 1px solid #ccc;
277
+ padding: 7px 7px 0 7px;
278
+ margin: 10px 0 10px 0;
279
+ }
280
+
281
+ p.topic-title {
282
+ font-size: 1.1em;
283
+ font-weight: bold;
284
+ margin-top: 10px;
285
+ }
286
+
287
+ /* -- admonitions ----------------------------------------------------------- */
288
+
289
+ div.admonition {
290
+ margin-top: 10px;
291
+ margin-bottom: 10px;
292
+ padding: 7px;
293
+ }
294
+
295
+ div.admonition dt {
296
+ font-weight: bold;
297
+ }
298
+
299
+ div.admonition dl {
300
+ margin-bottom: 0;
301
+ }
302
+
303
+ p.admonition-title {
304
+ margin: 0px 10px 5px 0px;
305
+ font-weight: bold;
306
+ }
307
+
308
+ div.body p.centered {
309
+ text-align: center;
310
+ margin-top: 25px;
311
+ }
312
+
313
+ /* -- tables ---------------------------------------------------------------- */
314
+
315
+ table.docutils {
316
+ border: 0;
317
+ border-collapse: collapse;
318
+ }
319
+
320
+ table caption span.caption-number {
321
+ font-style: italic;
322
+ }
323
+
324
+ table caption span.caption-text {
325
+ }
326
+
327
+ table.docutils td, table.docutils th {
328
+ padding: 1px 8px 1px 5px;
329
+ border-top: 0;
330
+ border-left: 0;
331
+ border-right: 0;
332
+ border-bottom: 1px solid #aaa;
333
+ }
334
+
335
+ table.field-list td, table.field-list th {
336
+ border: 0 !important;
337
+ }
338
+
339
+ table.footnote td, table.footnote th {
340
+ border: 0 !important;
341
+ }
342
+
343
+ th {
344
+ text-align: left;
345
+ padding-right: 5px;
346
+ }
347
+
348
+ table.citation {
349
+ border-left: solid 1px gray;
350
+ margin-left: 1px;
351
+ }
352
+
353
+ table.citation td {
354
+ border-bottom: none;
355
+ }
356
+
357
+ /* -- figures --------------------------------------------------------------- */
358
+
359
+ div.figure {
360
+ margin: 0.5em;
361
+ padding: 0.5em;
362
+ }
363
+
364
+ div.figure p.caption {
365
+ padding: 0.3em;
366
+ }
367
+
368
+ div.figure p.caption span.caption-number {
369
+ font-style: italic;
370
+ }
371
+
372
+ div.figure p.caption span.caption-text {
373
+ }
374
+
375
+
376
+ /* -- other body styles ----------------------------------------------------- */
377
+
378
+ ol.arabic {
379
+ list-style: decimal;
380
+ }
381
+
382
+ ol.loweralpha {
383
+ list-style: lower-alpha;
384
+ }
385
+
386
+ ol.upperalpha {
387
+ list-style: upper-alpha;
388
+ }
389
+
390
+ ol.lowerroman {
391
+ list-style: lower-roman;
392
+ }
393
+
394
+ ol.upperroman {
395
+ list-style: upper-roman;
396
+ }
397
+
398
+ dl {
399
+ margin-bottom: 15px;
400
+ }
401
+
402
+ dd p {
403
+ margin-top: 0px;
404
+ }
405
+
406
+ dd ul, dd table {
407
+ margin-bottom: 10px;
408
+ }
409
+
410
+ dd {
411
+ margin-top: 3px;
412
+ margin-bottom: 10px;
413
+ margin-left: 30px;
414
+ }
415
+
416
+ dt:target, .highlighted {
417
+ background-color: #fbe54e;
418
+ }
419
+
420
+ dl.glossary dt {
421
+ font-weight: bold;
422
+ font-size: 1.1em;
423
+ }
424
+
425
+ .field-list ul {
426
+ margin: 0;
427
+ padding-left: 1em;
428
+ }
429
+
430
+ .field-list p {
431
+ margin: 0;
432
+ }
433
+
434
+ .optional {
435
+ font-size: 1.3em;
436
+ }
437
+
438
+ .sig-paren {
439
+ font-size: larger;
440
+ }
441
+
442
+ .versionmodified {
443
+ font-style: italic;
444
+ }
445
+
446
+ .system-message {
447
+ background-color: #fda;
448
+ padding: 5px;
449
+ border: 3px solid red;
450
+ }
451
+
452
+ .footnote:target {
453
+ background-color: #ffa;
454
+ }
455
+
456
+ .line-block {
457
+ display: block;
458
+ margin-top: 1em;
459
+ margin-bottom: 1em;
460
+ }
461
+
462
+ .line-block .line-block {
463
+ margin-top: 0;
464
+ margin-bottom: 0;
465
+ margin-left: 1.5em;
466
+ }
467
+
468
+ .guilabel, .menuselection {
469
+ font-family: sans-serif;
470
+ }
471
+
472
+ .accelerator {
473
+ text-decoration: underline;
474
+ }
475
+
476
+ .classifier {
477
+ font-style: oblique;
478
+ }
479
+
480
+ abbr, acronym {
481
+ border-bottom: dotted 1px;
482
+ cursor: help;
483
+ }
484
+
485
+ /* -- code displays --------------------------------------------------------- */
486
+
487
+ pre {
488
+ overflow: auto;
489
+ overflow-y: hidden; /* fixes display issues on Chrome browsers */
490
+ }
491
+
492
+ td.linenos pre {
493
+ padding: 5px 0px;
494
+ border: 0;
495
+ background-color: transparent;
496
+ color: #aaa;
497
+ }
498
+
499
+ table.highlighttable {
500
+ margin-left: 0.5em;
501
+ }
502
+
503
+ table.highlighttable td {
504
+ padding: 0 0.5em 0 0.5em;
505
+ }
506
+
507
+ div.code-block-caption {
508
+ padding: 2px 5px;
509
+ font-size: small;
510
+ }
511
+
512
+ div.code-block-caption code {
513
+ background-color: transparent;
514
+ }
515
+
516
+ div.code-block-caption + div > div.highlight > pre {
517
+ margin-top: 0;
518
+ }
519
+
520
+ div.code-block-caption span.caption-number {
521
+ padding: 0.1em 0.3em;
522
+ font-style: italic;
523
+ }
524
+
525
+ div.code-block-caption span.caption-text {
526
+ }
527
+
528
+ div.literal-block-wrapper {
529
+ padding: 1em 1em 0;
530
+ }
531
+
532
+ div.literal-block-wrapper div.highlight {
533
+ margin: 0;
534
+ }
535
+
536
+ code.descname {
537
+ background-color: transparent;
538
+ font-weight: bold;
539
+ font-size: 1.2em;
540
+ }
541
+
542
+ code.descclassname {
543
+ background-color: transparent;
544
+ }
545
+
546
+ code.xref, a code {
547
+ background-color: transparent;
548
+ font-weight: bold;
549
+ }
550
+
551
+ h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
552
+ background-color: transparent;
553
+ }
554
+
555
+ .viewcode-link {
556
+ float: right;
557
+ }
558
+
559
+ .viewcode-back {
560
+ float: right;
561
+ font-family: sans-serif;
562
+ }
563
+
564
+ div.viewcode-block:target {
565
+ margin: -1px -10px;
566
+ padding: 0 10px;
567
+ }
568
+
569
+ /* -- math display ---------------------------------------------------------- */
570
+
571
+ img.math {
572
+ vertical-align: middle;
573
+ }
574
+
575
+ div.body div.math p {
576
+ text-align: center;
577
+ }
578
+
579
+ span.eqno {
580
+ float: right;
581
+ }
582
+
583
+ /* -- printout stylesheet --------------------------------------------------- */
584
+
585
+ @media print {
586
+ div.document,
587
+ div.documentwrapper,
588
+ div.bodywrapper {
589
+ margin: 0 !important;
590
+ width: 100%;
591
+ }
592
+
593
+ div.sphinxsidebar,
594
+ div.related,
595
+ div.footer,
596
+ #top-link {
597
+ display: none;
598
+ }
599
+ }