docs.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. img.AngularJS-small {
  2. width: 95px;
  3. height: 25px;
  4. }
  5. /* this is here to avoid the display=block shuffling of ngShow */
  6. .breadcrumb li > * {
  7. float:left;
  8. margin:0 2px 0 0;
  9. }
  10. .breadcrumb {
  11. padding-top: 6px;
  12. padding-bottom: 0;
  13. line-height: 18px
  14. }
  15. .navbar img {
  16. max-height: 40px;
  17. padding-right: 20px;
  18. }
  19. .navbar img+.brand {
  20. padding: 10px 20px 10px 10px;
  21. }
  22. .clear-navbar {
  23. margin-top: 60px;
  24. }
  25. .footer {
  26. padding-top: 2em;
  27. background-color: #333;
  28. color: white;
  29. padding-bottom: 2em;
  30. }
  31. .spacer {
  32. height: 1em;
  33. }
  34. .icon-cog {
  35. line-height: 13px;
  36. }
  37. /* =============================== */
  38. .form-search {
  39. margin-right: 10px;
  40. }
  41. .form-search .search-query {
  42. width: 180px;
  43. width: 200px \9;
  44. }
  45. .form-search .dropdown-menu {
  46. margin-left: 10px;
  47. }
  48. .form-search .code {
  49. font-family: monospace;
  50. font-weight: bold;
  51. font-size: 13px;
  52. color: black;
  53. overflow: hidden;
  54. text-overflow: ellipsis;
  55. }
  56. .form-search > ul.nav > li > a {
  57. margin: 0;
  58. }
  59. .form-search > ul.nav > li.module {
  60. background-color: #d3d3d3;
  61. }
  62. .form-search > ul.nav > li.section {
  63. background-color: #ebebeb;
  64. min-height: 14px;
  65. }
  66. .form-search > ul.nav > li.first {
  67. padding-top: 6px;
  68. }
  69. .form-search > ul.nav > li.last {
  70. padding-bottom: 6px;
  71. }
  72. .form-search > ul.nav > li.last + li.api-list-item {
  73. margin-top: -6px;
  74. padding-bottom: 6px;
  75. }
  76. .form-search .well {
  77. border-color: #d3d3d3;
  78. padding: 0;
  79. margin-bottom: 15px;
  80. }
  81. .form-search .well .nav-header {
  82. text-transform: none;
  83. padding: 3px 1px;
  84. margin: 0;
  85. }
  86. .form-search .well .nav-header a {
  87. text-transform: none;
  88. color: black;
  89. }
  90. .form-search .well .nav-header a:hover {
  91. background-color: inherit;
  92. }
  93. .form-search .well li {
  94. line-height: 14px;
  95. }
  96. .form-search .well li a:focus {
  97. outline: none;
  98. }
  99. .form-search .well .guide {
  100. float: right;
  101. padding-top: 0;
  102. color: gray;
  103. }
  104. .form-search .module .guide {
  105. line-height: 20px;
  106. }
  107. .match > a, .nav > .match > a:hover {
  108. background-color: #dbeaf4;
  109. }
  110. /* =============================== */
  111. /* Content */
  112. /* =============================== */
  113. .edit-example {
  114. margin-top: 9px;
  115. }
  116. .improve-docs, .view-source, .edit-example {
  117. float: right;
  118. margin-left: 35px;
  119. position: relative;
  120. }
  121. .improve-docs i, .view-source i, .edit-example i {
  122. position: absolute;
  123. left: -20px;
  124. top: 50%;
  125. margin-top: -.5em;
  126. text-decoration: none !important;
  127. }
  128. .methods .view-source {
  129. margin: -0.5em 0 0 0;
  130. text-decoration: none !important;
  131. }
  132. .hint {
  133. font-size: .6em;
  134. color: #c0c0c0;
  135. display: block;
  136. }
  137. .content code {
  138. background-color: inherit;
  139. color: inherit;
  140. border: none;
  141. padding: 0;
  142. font-size: inherit;
  143. font-family: monospace;
  144. }
  145. .content h2,
  146. .content h3,
  147. .content h4,
  148. .content h5 {
  149. margin: 1em 0 5px;
  150. }
  151. .content h1 {
  152. font-size: 30px;
  153. line-height: 36px;
  154. }
  155. .content h2 {
  156. font-size: 24px;
  157. line-height: 36px;
  158. }
  159. .content h3 {
  160. line-height: 27px;
  161. font-size: 18px;
  162. }
  163. .content h4 {
  164. font-size: 15px;
  165. }
  166. ul.parameters > li > p,
  167. .returns > p {
  168. display: inline;
  169. }
  170. ul.methods > li,
  171. ul.properties > li,
  172. ul.events > li {
  173. list-style: none;
  174. min-height: 20px;
  175. padding: 19px;
  176. margin-bottom: 20px;
  177. background-color: #f5f5f5;
  178. border: 1px solid #eee;
  179. border: 1px solid rgba(0, 0, 0, 0.05);
  180. -webkit-border-radius: 4px;
  181. -moz-border-radius: 4px;
  182. border-radius: 4px;
  183. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  184. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  185. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  186. }
  187. .member.method > h2,
  188. .member.property > h2,
  189. .member.event > h2 {
  190. margin-bottom: .5em;
  191. }
  192. ul.methods > li > h3,
  193. ul.properties > li > h3,
  194. ul.events > li > h3 {
  195. margin: -19px -19px 1em -19px;
  196. padding: .25em 39px .25em 19px;
  197. background-color: #d3d3d3;
  198. font-family: monospace;
  199. }
  200. .center {
  201. display: block;
  202. margin: 2em auto;
  203. }
  204. .diagram {
  205. display: block;
  206. margin: 2em auto;
  207. padding: 1em;
  208. border: 1px solid black;
  209. -moz-box-shadow: 4px 4px 6px #48577D;
  210. -webkit-box-shadow: 4px 4px 6px #48577D;
  211. box-shadow: 4px 4px 6px #48577D;
  212. -moz-border-radius: 15px;
  213. -webkit-border-radius: 15px;
  214. border-radius: 15px;
  215. }
  216. .tutorial-nav {
  217. margin-left: 175px;
  218. color: black;
  219. margin-top: 2em;
  220. margin-bottom: 2em;
  221. }
  222. .tutorial-nav a {
  223. color: white;
  224. }
  225. .tutorial-nav a:hover {
  226. color: white;
  227. text-decoration: none;
  228. }
  229. .clear {
  230. clear: both;
  231. }
  232. .variables-matrix td {
  233. vertical-align:top;
  234. padding:5px;
  235. }
  236. .type-hint {
  237. display:inline-block;
  238. }
  239. .variables-matrix .type-hint {
  240. text-align:center;
  241. display:block;
  242. min-width:60px;
  243. }
  244. .type-hint + .type-hint {
  245. margin-top:5px;
  246. }
  247. .type-hint-string {
  248. background:#3a87ad;
  249. }
  250. .type-hint-object {
  251. background:#999;
  252. }
  253. .type-hint-array {
  254. background:#F90;;
  255. }
  256. .type-hint-boolean {
  257. background:rgb(18, 131, 39);
  258. }
  259. .type-hint-number {
  260. background:rgb(189, 63, 66);
  261. }