style.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. html,
  2. body {
  3. height: 100%;
  4. }
  5. .guide-content, .api-content {
  6. max-width: 1250px;
  7. }
  8. .guide-content img, .api-content img {
  9. max-width: 100%;
  10. }
  11. .wrap {
  12. min-height: 100%;
  13. height: auto;
  14. width: auto;
  15. margin: 60px 30px 0 30px;
  16. padding: 0;
  17. }
  18. .footer {
  19. height: 60px;
  20. background-color: #f5f5f5;
  21. border-top: 1px solid #ddd;
  22. padding: 20px 30px;
  23. }
  24. #navigation {
  25. margin-top: 20px;
  26. }
  27. .submenu a {
  28. background: #f5f5f5;
  29. border-radius: 0;
  30. }
  31. .submenu a:hover, .submenu a:active,
  32. .submenu a.active, .submenu a.active:hover, .submenu a.active:active {
  33. background: #44b5f6;
  34. border-color: #44b5f6;
  35. border-radius: 0;
  36. color: #fff;
  37. }
  38. .signature, .table-striped > tbody > tr > td.signature {
  39. margin: 0px 0 10px 0;
  40. padding: 8px;
  41. color: #000000;
  42. background: rgba(230, 236, 255, 0.81);
  43. border: 1px rgba(191, 207, 255, 0.81) solid;
  44. font-family: "courier new", "times new roman", monospace;
  45. line-height: 1.3em;
  46. white-space: pre-line;
  47. word-wrap: break-word;
  48. word-break: break-all;
  49. }
  50. pre {
  51. background: #efefef;
  52. }
  53. pre code.hljs {
  54. background: transparent;
  55. color: #28353d;
  56. }
  57. /* adjust comment color of hljs, because comments are important! */
  58. .hljs-comment {
  59. color: #ff6900;
  60. font-style: normal;
  61. }
  62. blockquote {
  63. font-size: 14px;
  64. }
  65. blockquote.warning { /* copy of bootstrap .alert-danger */
  66. background-color: #f2dede;
  67. border-color: #ebccd1;
  68. color: #a94442;
  69. }
  70. blockquote.note { /* copy of bootstrap .alert-warning */
  71. background-color: #fcf8e3;
  72. border-color: #faebcc;
  73. color: #8a6d3b;
  74. }
  75. blockquote.info { /* copy of bootstrap .alert-info */
  76. background-color: #d9edf7;
  77. border-color: #bce8f1;
  78. color: #31708f;
  79. }
  80. blockquote.tip { /* copy of bootstrap .alert-success */
  81. background-color: #dff0d8;
  82. border-color: #d6e9c6;
  83. color: #3c763d;
  84. }
  85. td p {
  86. margin: 0;
  87. }
  88. table.detail-table .param-name-col { width: 15%; min-width: 100px; }
  89. table.detail-table .param-type-col { width: 15%; min-width: 150px; }
  90. table.detail-table .param-desc-col { width: 70%; }
  91. table.summary-table .col-method { width: 20%; }
  92. table.summary-table .col-property { width: 20%; }
  93. table.summary-table .col-const { width: 20%; }
  94. table.summary-table .col-event { width: 20%; }
  95. table.summary-table .col-defined { width: 15%; }
  96. .detail-header {
  97. margin-top: 30px;
  98. }
  99. .doc-description {
  100. border-left: solid 1px #ddd;
  101. border-right: solid 1px #ddd;
  102. padding: 10px 8px;
  103. margin: 0;
  104. }
  105. .doc-description.deprecated {
  106. background: lightpink;
  107. border-top: solid 1px #ddd;
  108. border-bottom: solid 1px #ddd;
  109. }
  110. .event-doc .doc-description {
  111. border-bottom: solid 1px #ddd;
  112. }
  113. .doc-description p:last-child {
  114. margin-bottom: 0;
  115. }
  116. .signature-defs {
  117. color: #936;
  118. }
  119. .signature-type, .signature-type a {
  120. color: #693;
  121. }
  122. .tool-link {
  123. float: right;
  124. color: #ddd;
  125. margin: 0 8px;
  126. }
  127. .icon-hash:before {
  128. content: '#';
  129. font-size: 32px;
  130. font-weight: bold;
  131. /*top: -10px;*/
  132. line-height: 0.5;
  133. }
  134. .tool-link:hover {
  135. color: #bbb;
  136. text-decoration: none;
  137. }
  138. .hashlink {
  139. display: none;
  140. }
  141. h1:hover .hashlink, h2:hover .hashlink, h3:hover .hashlink, h4:hover .hashlink, h5:hover .hashlink {
  142. display: inline;
  143. }
  144. .toplink {
  145. position: fixed;
  146. bottom: 50px;
  147. right: 50px;
  148. padding: 5px 8px 0 5px;
  149. border: solid 1px #ddd;
  150. border-radius: 5px;
  151. background: #fff;
  152. }
  153. .toplink a {
  154. color: #bbb;
  155. text-decoration: none;
  156. }
  157. .toplink a:hover {
  158. color: #999;
  159. text-decoration: none;
  160. }
  161. #search-resultbox {
  162. position: fixed;
  163. left: 25%;
  164. right: 25%;
  165. bottom: 0;
  166. top: 50px;
  167. z-index: 1000;
  168. border-radius: 0;
  169. /* reset all due to android browser issues http://caniuse.com/#search=border-radius */
  170. border-top-left-radius: 0;
  171. border-top-right-radius: 0;
  172. border-bottom-left-radius: 0;
  173. border-bottom-right-radius: 0;
  174. }
  175. #search-results {
  176. margin: 0;
  177. padding: 0;
  178. list-style: none;
  179. overflow: auto;
  180. max-height: 100%;
  181. }
  182. #search-results li, #search-results li a {
  183. margin: 0;
  184. padding: 0;
  185. display: block;
  186. min-height: 50px;
  187. width: 100%;
  188. color: #333333;
  189. }
  190. #search-results li a .title, #search-results li .no-results {
  191. padding: 10px 20px 5px 20px;
  192. display: block;
  193. text-decoration: none;
  194. font-weight: bold;
  195. font-size: 120%;
  196. }
  197. #search-results li a .description {
  198. padding: 5px 20px 10px 20px;
  199. display: block;
  200. text-decoration: none;
  201. font-weight: normal;
  202. font-size: 90%;
  203. border-bottom: solid 1px #dddddd;
  204. }
  205. #search-results li a:hover, #search-results li a.selected {
  206. background: #44B5F6;
  207. text-decoration: none;
  208. }
  209. .navbar-form {
  210. width: 50%;
  211. max-width: 350px;
  212. }
  213. .navbar-form div, .navbar-form .form-control {
  214. width: 100%;
  215. }
  216. .broken-link {
  217. background: lightpink;
  218. }
  219. tr.deprecated td,
  220. tr.deprecated th {
  221. background: lightpink;
  222. }