styles.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. body {
  2. font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
  3. font-size: 13px;
  4. }
  5. code {
  6. font-family: Courier, Consolas, monospace;
  7. font-size: 13px;
  8. color: #666;
  9. }
  10. pre {
  11. font-family: Courier, Consolas, monospace;
  12. font-size: 13px;
  13. line-height: 18px;
  14. tab-interval: 0.5em;
  15. border: 1px solid #C7CFD5;
  16. background-color: #F1F5F9;
  17. color: #666;
  18. padding: 0.3em 1em;
  19. }
  20. ul {
  21. list-style-type: square;
  22. }
  23. li {
  24. margin-bottom: 10px;
  25. }
  26. a, a code {
  27. text-decoration: none;
  28. color: #36C;
  29. }
  30. a:hover, a:hover code {
  31. text-decoration: underline;
  32. color: #36C;
  33. }
  34. h2 {
  35. border-bottom: 1px solid #8391A8;
  36. color: #3C4C6C;
  37. font-size: 187%;
  38. font-weight: normal;
  39. margin-top: 1.75em;
  40. padding-bottom: 2px;
  41. }
  42. table {
  43. margin-bottom: 4em;
  44. border-collapse:collapse;
  45. vertical-align: middle;
  46. }
  47. td {
  48. border: 1px solid #9BB3CD;
  49. padding: .667em;
  50. font-size: 100%;
  51. }
  52. th {
  53. border: 1px solid #9BB3CD;
  54. padding: .3em .667em .3em .667em;
  55. background: #93A5BB;
  56. font-size: 103%;
  57. font-weight: bold;
  58. color: white;
  59. text-align: left;
  60. }
  61. /* @group Common page elements */
  62. #top_header {
  63. height: 91px;
  64. left: 0;
  65. min-width: 598px;
  66. position: absolute;
  67. right: 0;
  68. top: 0;
  69. z-index: 900;
  70. }
  71. #footer {
  72. clear: both;
  73. padding-top: 20px;
  74. text-align: center;
  75. }
  76. #contents, #overview_contents {
  77. -webkit-overflow-scrolling: touch;
  78. border-top: 1px solid #2B334F;
  79. position: absolute;
  80. top: 91px;
  81. left: 0;
  82. right: 0;
  83. bottom: 0;
  84. overflow-x: hidden;
  85. overflow-y: auto;
  86. padding-left: 2em;
  87. padding-right: 2em;
  88. padding-top: 1em;
  89. min-width: 550px;
  90. }
  91. #contents.isShowingTOC {
  92. left: 230px;
  93. min-width: 320px;
  94. }
  95. .copyright {
  96. font-size: 12px;
  97. }
  98. .generator {
  99. font-size: 11px;
  100. }
  101. .main-navigation ul li {
  102. display: inline;
  103. margin-left: 15px;
  104. list-style: none;
  105. }
  106. .navigation-top {
  107. clear: both;
  108. float: right;
  109. }
  110. .navigation-bottom {
  111. clear: both;
  112. float: right;
  113. margin-top: 20px;
  114. margin-bottom: -10px;
  115. }
  116. .open > .disclosure {
  117. background-image: url("../img/disclosure_open.png");
  118. }
  119. .disclosure {
  120. background: url("../img/disclosure.png") no-repeat scroll 0 0;
  121. }
  122. .disclosure, .nodisclosure {
  123. display: inline-block;
  124. height: 8px;
  125. margin-right: 5px;
  126. position: relative;
  127. width: 9px;
  128. }
  129. /* @end */
  130. /* @group Header */
  131. #top_header #library {
  132. background: url("../img/library_background.png") repeat-x 0 0 #485E78;
  133. background-color: #ccc;
  134. height: 35px;
  135. font-size: 115%;
  136. }
  137. #top_header #library #libraryTitle {
  138. color: #FFFFFF;
  139. margin-left: 15px;
  140. text-shadow: 0 -1px 0 #485E78;
  141. top: 8px;
  142. position: absolute;
  143. }
  144. #libraryTitle {
  145. left: 0;
  146. }
  147. #top_header #library #developerHome {
  148. color: #92979E;
  149. right: 15px;
  150. top: 8px;
  151. position: absolute;
  152. }
  153. #top_header #library a:hover {
  154. text-decoration: none;
  155. }
  156. #top_header #title {
  157. background: url("../img/title_background.png") repeat-x 0 0 #8A98A9;
  158. border-bottom: 1px solid #B6B6B6;
  159. height: 25px;
  160. overflow: hidden;
  161. }
  162. #top_header h1 {
  163. font-size: 115%;
  164. font-weight: normal;
  165. margin: 0;
  166. padding: 3px 0 2px;
  167. text-align: center;
  168. text-shadow: 0 1px 0 #D5D5D5;
  169. white-space: nowrap;
  170. }
  171. #headerButtons {
  172. background-color: #D8D8D8;
  173. background-image: url("../img/button_bar_background.png");
  174. border-bottom: 1px solid #EDEDED;
  175. border-top: 1px solid #2B334F;
  176. font-size: 8pt;
  177. height: 28px;
  178. left: 0;
  179. list-style: none outside none;
  180. margin: 0;
  181. overflow: hidden;
  182. padding: 0;
  183. position: absolute;
  184. right: 0;
  185. top: 61px;
  186. }
  187. #headerButtons li {
  188. background-repeat: no-repeat;
  189. display: inline;
  190. margin-top: 0;
  191. margin-bottom: 0;
  192. padding: 0;
  193. }
  194. #toc_button button {
  195. border-color: #ACACAC;
  196. border-style: none solid none none;
  197. border-width: 0 1px 0 0;
  198. height: 28px;
  199. margin: 0;
  200. padding-left: 30px;
  201. text-align: left;
  202. width: 230px;
  203. }
  204. li#jumpto_button {
  205. left: 230px;
  206. margin-left: 0;
  207. position: absolute;
  208. }
  209. li#jumpto_button select {
  210. height: 22px;
  211. margin: 5px 2px 0 10px;
  212. max-width: 300px;
  213. }
  214. /* @end */
  215. /* @group Table of contents */
  216. #tocContainer.isShowingTOC {
  217. border-right: 1px solid #ACACAC;
  218. display: block;
  219. overflow-x: hidden;
  220. overflow-y: auto;
  221. padding: 0;
  222. }
  223. #tocContainer {
  224. background-color: #E4EBF7;
  225. border-top: 1px solid #2B334F;
  226. bottom: 0;
  227. display: none;
  228. left: 0;
  229. overflow: hidden;
  230. position: absolute;
  231. top: 91px;
  232. width: 229px;
  233. }
  234. #tocContainer > ul#toc {
  235. font-size: 11px;
  236. margin: 0;
  237. padding: 12px 0 18px;
  238. width: 209px;
  239. -moz-user-select: none;
  240. -webkit-user-select: none;
  241. user-select: none;
  242. }
  243. #tocContainer > ul#toc > li {
  244. margin: 0;
  245. padding: 0 0 7px 30px;
  246. text-indent: -15px;
  247. }
  248. #tocContainer > ul#toc > li > .sectionName a {
  249. color: #000000;
  250. font-weight: bold;
  251. }
  252. #tocContainer > ul#toc > li > .sectionName a:hover {
  253. text-decoration: none;
  254. }
  255. #tocContainer > ul#toc li.children > ul {
  256. display: none;
  257. height: 0;
  258. }
  259. #tocContainer > ul#toc > li > ul {
  260. margin: 0;
  261. padding: 0;
  262. }
  263. #tocContainer > ul#toc > li > ul, ul#toc > li > ul > li {
  264. margin-left: 0;
  265. margin-bottom: 0;
  266. padding-left: 15px;
  267. }
  268. #tocContainer > ul#toc > li ul {
  269. list-style: none;
  270. margin-right: 0;
  271. padding-right: 0;
  272. }
  273. #tocContainer > ul#toc li.children.open > ul {
  274. display: block;
  275. height: auto;
  276. margin-left: -15px;
  277. padding-left: 0;
  278. }
  279. #tocContainer > ul#toc > li > ul, ul#toc > li > ul > li {
  280. margin-left: 0;
  281. padding-left: 15px;
  282. }
  283. #tocContainer li ul li {
  284. margin-top: 0.583em;
  285. overflow: hidden;
  286. text-overflow: ellipsis;
  287. white-space: nowrap;
  288. }
  289. #tocContainer li ul li span.sectionName {
  290. white-space: normal;
  291. }
  292. #tocContainer > ul#toc > li > ul > li > .sectionName a {
  293. font-weight: bold;
  294. }
  295. #tocContainer > ul#toc > li > ul a {
  296. color: #4F4F4F;
  297. }
  298. /* @end */
  299. /* @group Index formatting */
  300. .index-title {
  301. font-size: 13px;
  302. font-weight: normal;
  303. }
  304. .index-column {
  305. float: left;
  306. width: 30%;
  307. min-width: 200px;
  308. font-size: 11px;
  309. }
  310. .index-column ul {
  311. margin: 8px 0 0 0;
  312. padding: 0;
  313. list-style: none;
  314. }
  315. .index-column ul li {
  316. margin: 0 0 3px 0;
  317. padding: 0;
  318. }
  319. .hierarchy-column {
  320. min-width: 400px;
  321. }
  322. .hierarchy-column ul {
  323. margin: 3px 0 0 15px;
  324. }
  325. .hierarchy-column ul li {
  326. list-style-type: square;
  327. }
  328. /* @end */
  329. /* @group Common formatting elements */
  330. .title {
  331. font-weight: normal;
  332. font-size: 215%;
  333. margin-top:0;
  334. }
  335. .subtitle {
  336. font-weight: normal;
  337. font-size: 180%;
  338. color: #3C4C6C;
  339. border-bottom: 1px solid #5088C5;
  340. }
  341. .subsubtitle {
  342. font-weight: normal;
  343. font-size: 145%;
  344. height: 0.7em;
  345. }
  346. .note {
  347. border: 1px solid #5088C5;
  348. background-color: white;
  349. margin: 1.667em 0 1.75em 0;
  350. padding: 0 .667em .083em .750em;
  351. }
  352. .warning {
  353. border: 1px solid #5088C5;
  354. background-color: #F0F3F7;
  355. margin-bottom: 0.5em;
  356. padding: 0.3em 0.8em;
  357. }
  358. .bug {
  359. border: 1px solid #000;
  360. background-color: #ffffcc;
  361. margin-bottom: 0.5em;
  362. padding: 0.3em 0.8em;
  363. }
  364. .deprecated {
  365. color: #F60425;
  366. }
  367. /* @end */
  368. /* @group Common layout */
  369. .section {
  370. margin-top: 3em;
  371. }
  372. /* @end */
  373. /* @group Object specification section */
  374. .section-specification {
  375. margin-left: 2.5em;
  376. margin-right: 2.5em;
  377. font-size: 12px;
  378. }
  379. .section-specification table {
  380. margin-bottom: 0em;
  381. border-top: 1px solid #d6e0e5;
  382. }
  383. .section-specification td {
  384. vertical-align: top;
  385. border-bottom: 1px solid #d6e0e5;
  386. border-left-width: 0px;
  387. border-right-width: 0px;
  388. border-top-width: 0px;
  389. padding: .6em;
  390. }
  391. .section-specification .specification-title {
  392. font-weight: bold;
  393. }
  394. /* @end */
  395. /* @group Tasks section */
  396. .task-list {
  397. list-style-type: none;
  398. padding-left: 0px;
  399. }
  400. .task-list li {
  401. margin-bottom: 3px;
  402. }
  403. .task-item-suffix {
  404. color: #996;
  405. font-size: 12px;
  406. font-style: italic;
  407. margin-left: 0.5em;
  408. }
  409. span.tooltip span.tooltip {
  410. font-size: 1.0em;
  411. display: none;
  412. padding: 0.3em;
  413. border: 1px solid #aaa;
  414. background-color: #fdfec8;
  415. color: #000;
  416. text-align: left;
  417. }
  418. span.tooltip:hover span.tooltip {
  419. display: block;
  420. position: absolute;
  421. margin-left: 2em;
  422. }
  423. /* @end */
  424. /* @group Method section */
  425. .section-method {
  426. margin-top: 2.3em;
  427. }
  428. .method-title {
  429. margin-bottom: 1.5em;
  430. }
  431. .method-subtitle {
  432. margin-top: 0.7em;
  433. margin-bottom: 0.2em;
  434. }
  435. .method-subsection p {
  436. margin-top: 0.4em;
  437. margin-bottom: 0.8em;
  438. }
  439. .method-declaration {
  440. margin-top:1.182em;
  441. margin-bottom:.909em;
  442. }
  443. .method-declaration code {
  444. font:14px Courier, Consolas, monospace;
  445. color:#000;
  446. }
  447. .declaration {
  448. color: #000;
  449. }
  450. .argument-def {
  451. margin-top: 0.3em;
  452. margin-bottom: 0.3em;
  453. }
  454. .argument-def dd {
  455. margin-left: 1.25em;
  456. }
  457. .see-also-section ul {
  458. list-style-type: none;
  459. padding-left: 0px;
  460. margin-top: 0;
  461. }
  462. .see-also-section li {
  463. margin-bottom: 3px;
  464. }
  465. .declared-in-ref {
  466. color: #666;
  467. }
  468. #tocContainer.hideInXcode {
  469. display: none;
  470. border: 0px solid black;
  471. }
  472. #top_header.hideInXcode {
  473. display: none;
  474. }
  475. #contents.hideInXcode {
  476. border: 0px solid black;
  477. top: 0px;
  478. left: 0px;
  479. }
  480. /* @end */