template.css 9.1 KB

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