api.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /*
  2. API Documentation styles
  3. */
  4. div.content {
  5. font-size: 14px;
  6. }
  7. div.api {
  8. margin: 20px 0 10px 0;
  9. padding: 0;
  10. }
  11. table.apiIndex {
  12. width: 100%;
  13. background-color: #FAFAFA;
  14. border: 1px solid #ccc;
  15. border-collapse: collapse;
  16. }
  17. tr.apiDef {
  18. border-top: 1px solid #ccc;
  19. }
  20. .apiBrief {
  21. font-size: 90%;
  22. color: #666666;
  23. font-style: italic;
  24. }
  25. td.apiType {
  26. vertical-align: top;
  27. text-align: right;
  28. white-space: nowrap;
  29. }
  30. td.apiName {
  31. width: 15%;
  32. white-space: nowrap;
  33. padding: 10px !important;
  34. }
  35. tr.apiDef td {
  36. padding: 4px 4px 0px 4px;
  37. }
  38. tr.apiBrief td {
  39. padding: 4px 4px 4px 4px;
  40. }
  41. div.prototype {
  42. border: 1px solid #84b0c7;
  43. margin-right: 10px;
  44. padding: 8px 10px 8px 40px;
  45. text-indent: -30px;
  46. color: #202020;
  47. background-color: #DADADA;
  48. font-weight: bold;
  49. line-height: 140%;
  50. -webkit-border-top-left-radius: 10px;
  51. -webkit-border-top-right-radius: 10px;
  52. -moz-border-radius-topleft: 10px;
  53. -moz-border-radius-topright: 10px;
  54. }
  55. div.apiDetail {
  56. margin-bottom: 30px;
  57. margin-right: 10px;
  58. padding: 2px 5px 0 10px;
  59. border: 1px solid #84b0c7;
  60. background-color: #F6F6F6;
  61. border-top-width: 0;
  62. -webkit-border-bottom-left-radius: 10px;
  63. -webkit-border-bottom-right-radius: 10px;
  64. -moz-border-radius-bottomleft: 10px;
  65. -moz-border-radius-bottomright: 10px;
  66. }
  67. table.info {
  68. border: 1px solid #84b0c7;
  69. border-collapse: collapse;
  70. margin-top: 10px;
  71. }
  72. table.info tr td {
  73. padding: 4px;
  74. border: 1px solid #84b0c7;
  75. }
  76. table.parameters {
  77. margin: 0;
  78. border: 0;
  79. -webkit-box-shadow: 0px 0px 0px #000;
  80. width: 100%;
  81. }
  82. table.parameters td {
  83. border: 0;
  84. padding-right: 10px;
  85. padding-bottom: 5px;
  86. vertical-align: top;
  87. }
  88. td.param {
  89. font-style: italic;
  90. text-align: right;
  91. white-space: nowrap;
  92. width: 5%;
  93. }
  94. /* Details headings "Parameters", "Returns", "See Also" ... */
  95. dt {
  96. font-weight: bold;
  97. color: #000040;
  98. }
  99. a.nameRef {
  100. x-font-size: 110%;
  101. font-weight: bold;
  102. }
  103. a.nameRef, a.ref {
  104. text-decoration: none;
  105. }
  106. a.nameRef:hover, a.ref:hover {
  107. text-decoration: underline;
  108. }
  109. div.footnote {
  110. padding-top: 10px;
  111. font-size: x-small;
  112. text-align: right;
  113. font-style: italic;
  114. }