template.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. @import url(bootstrap.min.css);
  2. @import url(bootstrap-responsive.css);
  3. @import url(prettify.css);
  4. @import url(jquery.iviewer.css);
  5. @import url(https://fonts.googleapis.com/css?family=Forum);
  6. body
  7. {
  8. padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
  9. background: #f9f9f9;
  10. color: #444;
  11. }
  12. a
  13. {
  14. color: #55A72F;
  15. }
  16. td p:last-of-type {
  17. margin: 0;
  18. }
  19. li.l0, li.l1, li.l2, li.l3, li.l5, li.l6, li.l7, li.l8
  20. {
  21. list-style-type: decimal;
  22. }
  23. a.brand, h2, .hero-unit h1
  24. {
  25. font-family: 'Forum', "Helvetica Neue", Helvetica, Arial, sans-serif;
  26. }
  27. .element .span4
  28. {
  29. width: 275px;
  30. }
  31. .namespace-contents hr, .package-contents hr
  32. {
  33. border-top: 3px dotted silver;
  34. }
  35. .namespace-indent, .package-indent
  36. {
  37. padding-left: 10px; border-left: 1px dashed #f0f0f0;
  38. }
  39. .element h3 i, .namespace-contents h3 i, .package-contents h3 i
  40. {
  41. margin-top: 2px;
  42. margin-right: 5px;
  43. }
  44. .element h3, .namespace-contents h3, .package-contents h3
  45. {
  46. margin-top: 25px;
  47. margin-bottom: 20px;
  48. border-bottom: 1px solid silver;
  49. }
  50. .element h3:first-of-type, .namespace-contents h3:first-of-type,
  51. .package-contents h3:first-of-type
  52. {
  53. margin-top: 30px;
  54. }
  55. .element h2
  56. {
  57. font-family: inherit;
  58. font-size: 1.2em;
  59. color: black;
  60. }
  61. .element .type
  62. {
  63. font-weight: bold;
  64. }
  65. #search-query
  66. {
  67. height: auto;
  68. }
  69. .hero-unit, div.element, .well
  70. {
  71. border: 1px solid #e0e0e0;
  72. background: white;
  73. }
  74. .dropdown-menu a{
  75. overflow: hidden;
  76. text-overflow: ellipsis;
  77. }
  78. h2
  79. {
  80. border-bottom: 1px dashed #55A72F;
  81. margin-bottom: 10px;
  82. padding-bottom: 0;
  83. padding-left: 5px;
  84. color: #e9e9e9;
  85. font-weight: normal;
  86. margin-top: 40px;
  87. }
  88. h2:first-of-type
  89. {
  90. margin-top: 0;
  91. }
  92. .hero-unit
  93. {
  94. background: #75a70d; /* Old browsers */
  95. background: -moz-radial-gradient(center, ellipse cover, #bfd255 0%, #8eb92a 72%, #72aa00 96%, #9ecb2d 100%); /* FF3.6+ */
  96. background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#bfd255), color-stop(72%,#8eb92a), color-stop(96%,#72aa00), color-stop(100%,#9ecb2d)); /* Chrome,Safari4+ */
  97. background: -webkit-radial-gradient(center, ellipse cover, #bfd255 0%,#8eb92a 72%,#72aa00 96%,#9ecb2d 100%); /* Chrome10+,Safari5.1+ */
  98. background: -o-radial-gradient(center, ellipse cover, #bfd255 0%,#8eb92a 72%,#72aa00 96%,#9ecb2d 100%); /* Opera 12+ */
  99. background: -ms-radial-gradient(center, ellipse cover, #bfd255 0%,#8eb92a 72%,#72aa00 96%,#9ecb2d 100%); /* IE10+ */
  100. background: radial-gradient(center, ellipse cover, #bfd255 0%,#8eb92a 72%,#72aa00 96%,#9ecb2d 100%); /* W3C */
  101. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfd255', endColorstr='#9ecb2d',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  102. padding: 40px 0 15px 0;
  103. box-shadow: inset 0 0 10px gray;
  104. }
  105. .hero-unit h1
  106. {
  107. font-weight: normal;
  108. text-align: center;
  109. color: white;
  110. text-shadow: black 0 0 15px;
  111. }
  112. .hero-unit h2
  113. {
  114. border: none;
  115. color: white;
  116. background: rgba(48, 48, 48, 0.5);
  117. padding: 0;
  118. margin: 0;
  119. margin-top: 15px;
  120. text-align: center;
  121. }
  122. .namespace-contents h2, .package-contents h2
  123. {
  124. padding-left: 44px;
  125. background: transparent url('../img/icons/icon-th-big.png') no-repeat 3px center;
  126. }
  127. .package-contents h2
  128. {
  129. background-image: url('../img/icons/icon-folder-open-big.png');
  130. }
  131. .namespace-contents .element h2, .package-contents .element h2
  132. {
  133. padding-left: 0;
  134. background: none;
  135. }
  136. div.element
  137. {
  138. border-left: 10px solid #55A72F;
  139. border-radius: 5px;
  140. padding: 7px 7px 2px 7px;
  141. margin-bottom: 15px;
  142. margin-left: 0;
  143. }
  144. div.element.protected
  145. {
  146. border-left-color: orange;
  147. }
  148. div.element.private
  149. {
  150. border-left-color: red;
  151. }
  152. div.element.class, div.element.interface, div.element.trait
  153. {
  154. border-left-color: #e0e0e0;
  155. }
  156. div.element.class.abstract h1, div.element.interface.abstract h1
  157. {
  158. font-style: italic;
  159. }
  160. div.element h1
  161. {
  162. font-size: 1.2em;
  163. line-height: 1.5em;
  164. margin-bottom: 10px;
  165. padding-left: 22px;
  166. background: transparent no-repeat left 2px;
  167. word-wrap: break-word;
  168. }
  169. div.element h1 a
  170. {
  171. color: transparent;
  172. margin-left: 10px;
  173. }
  174. div.element h1:hover a
  175. {
  176. color: silver;
  177. }
  178. div.element h1 a:hover
  179. {
  180. color: navy;
  181. }
  182. div.element a.more:hover
  183. {
  184. background: #f0f0f0;
  185. color: #444;
  186. text-decoration: none;
  187. }
  188. div.element a.more
  189. {
  190. font-weight: bold;
  191. text-align: center;
  192. color: gray;
  193. border-top: 1px dashed silver;
  194. display: block;
  195. margin-top: 5px;
  196. padding: 5px 0;
  197. border-bottom-left-radius: 5px;
  198. border-bottom-right-radius: 5px;
  199. }
  200. div.element p
  201. {
  202. font-size: 0.9em;
  203. }
  204. div.element .table
  205. {
  206. font-size: 0.9em;
  207. }
  208. div.element .table th
  209. {
  210. text-transform: capitalize;
  211. }
  212. div.detail-description
  213. {
  214. padding-left: 30px;
  215. }
  216. div.detail-description table th {
  217. vertical-align: top;
  218. }
  219. body.invert
  220. {
  221. background: white;
  222. }
  223. body.invert div.element
  224. {
  225. background: #f9f9f9;
  226. }
  227. ul.side-nav
  228. {
  229. clear: both;
  230. }
  231. ul.side-nav li
  232. {
  233. word-wrap: break-word;
  234. padding-left: 10px;
  235. text-indent: -10px;
  236. }
  237. ul.side-nav li a
  238. {
  239. background: transparent no-repeat 5px 3px;
  240. padding-bottom: 10px;
  241. font-style: italic;
  242. }
  243. ul.side-nav li pre
  244. {
  245. font-size: 0.8em;
  246. margin: 5px 15px 0 15px;
  247. padding: 2px 5px;
  248. background-color: #f8f8f8;
  249. color: gray;
  250. font-style: normal;
  251. word-wrap: break-word;
  252. text-indent: 0;
  253. }
  254. ul.side-nav li.view-simple span.description
  255. {
  256. display: none;
  257. }
  258. ul.side-nav li.view-simple pre
  259. {
  260. font-size: inherit;
  261. margin: inherit;
  262. padding: inherit;
  263. background-color: inherit;
  264. border: none;
  265. color: inherit;
  266. font-family: inherit;
  267. font-style: inherit;
  268. padding-bottom: 0;
  269. padding-left: 5px;
  270. }
  271. ul.side-nav li.view-simple a
  272. {
  273. padding-bottom: 0;
  274. }
  275. i.icon-custom
  276. {
  277. width: 16px;
  278. height: 16px;
  279. background-position: 0;
  280. }
  281. .table.markers
  282. {
  283. background: white;
  284. }
  285. /* JS only functionality; disable by default */
  286. .btn-group.visibility, .btn-group.view, .btn-group.type-filter
  287. {
  288. display: none;
  289. }
  290. .visibility button
  291. {
  292. height: 24px;
  293. }
  294. div.element.constant h1,
  295. i.icon-constant { background-image: url('../img/icons/constant.png'); }
  296. div.element.function h1,
  297. i.icon-function { background-image: url('../img/icons/function.png'); }
  298. div.element.method h1,
  299. i.icon-method { background-image: url('../img/icons/method.png'); }
  300. div.element.class h1,
  301. i.icon-class { background-image: url('../img/icons/class.png'); }
  302. div.element.interface h1,
  303. i.icon-interface { background-image: url('../img/icons/interface.png'); }
  304. div.element.trait h1,
  305. i.icon-trait { background-image: url('../img/icons/trait.png'); }
  306. div.element.property h1,
  307. i.icon-property { background-image: url('../img/icons/property.png'); }
  308. span.empty-namespace
  309. {
  310. color: silver;
  311. }
  312. footer
  313. {
  314. text-align: right;
  315. font-size: 0.8em;
  316. opacity: 0.5;
  317. }
  318. #mapHolder
  319. {
  320. border: 4px solid #555;
  321. padding: 0 !important;
  322. overflow: hidden
  323. }
  324. div.element div.subelement
  325. {
  326. margin-left: 10px;
  327. padding-bottom: 5px;
  328. clear: both;
  329. }
  330. pre code
  331. {
  332. border: none;
  333. }
  334. div.element div.subelement > code
  335. {
  336. font-size: 0.8em;
  337. float: left;
  338. margin-right: 10px;
  339. padding: 0 5px;
  340. line-height: 16px;
  341. }
  342. div.element div.subelement > p
  343. {
  344. margin-left: 20px;
  345. margin-right: 50px;
  346. }
  347. div.element div.subelement h4
  348. {
  349. color: #666;
  350. margin-bottom: 5px;
  351. }
  352. div.element div.subelement.response
  353. {
  354. padding-bottom: 15px;
  355. margin-right: 50px;
  356. }
  357. div.labels
  358. {
  359. text-align: right;
  360. }
  361. .nav-list .nav-header
  362. {
  363. font-size: 13px;
  364. }
  365. .nav-list .nav-header .side-nav-header
  366. {
  367. font-weight: bold;
  368. line-height: 18px;
  369. color: #999999;
  370. text-transform: uppercase;
  371. }
  372. .detail-description code {
  373. white-space: pre;
  374. display: inline-block;
  375. padding: 10px;
  376. }
  377. .go_to_top
  378. {
  379. float: right;
  380. margin-right: 20px;
  381. background: #2C2C2C;
  382. color: #999;
  383. padding: 3px 10px;
  384. border-bottom-right-radius: 5px;
  385. border-bottom-left-radius: 5px;
  386. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  387. line-height: 19px;
  388. }
  389. .visibility .btn {
  390. text-transform: uppercase;
  391. font-size: 0.7em;
  392. font-weight: bold;
  393. }
  394. .iviewer_common
  395. {
  396. z-index: 100;
  397. }
  398. @media (min-width: 980px)
  399. {
  400. a[name]
  401. {
  402. margin-top: -50px;
  403. position: absolute;
  404. }
  405. }
  406. @media (min-width: 1200px)
  407. {
  408. .method .span4
  409. {
  410. width: 345px;
  411. }
  412. }
  413. /* redefined because twitter bootstrap assumes that bootstrap-responsive.css */
  414. @media (max-width: 980px)
  415. {
  416. body
  417. {
  418. padding-top: 0;
  419. }
  420. .go_to_top
  421. {
  422. display: none;
  423. }
  424. .btn-group.visibility
  425. {
  426. font-size: 0.80em;
  427. margin-bottom: 7px;
  428. display: inline-block;
  429. float: right;
  430. }
  431. }
  432. @media (max-width: 768px)
  433. {
  434. .hero-unit h1 {
  435. font-size: 30px;
  436. }
  437. .hero-unit h2 {
  438. font-size: 19px;
  439. }
  440. }
  441. @media (min-width: 768px) and (max-width: 980px)
  442. {
  443. .method .span4
  444. {
  445. width: 203px;
  446. }
  447. }