common.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. /* Resets */
  2. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  3. margin: 0;padding: 0;border: 0;outline: 0;font-weight: inherit;font-style: inherit;font-size: 100%;font-family: inherit;vertical-align: baseline;}
  4. :focus {outline: 0;}
  5. body {color: #2f332a;font: 15px/21px Arial, Helvetica, simsun, sans-serif;background: #528036 url(img/background.jpg) no-repeat fixed 0 0;}
  6. p {padding-bottom: 20px;}
  7. ol, ul {list-style: none;}
  8. table {border-collapse: separate;border-spacing: 0;}
  9. caption, th, td {text-align: left;font-weight: normal;}
  10. strong {font-weight: bold;}
  11. em {font-style: italic;}
  12. hr {display: none;}
  13. .font1 {color: white;background-color: #528036;}
  14. .right {float: right;}
  15. .left {float: left;}
  16. .hide {display: none;}
  17. .round {-moz-border-radius: 15px;-webkit-border-radius: 15px;-khtml-border-radius: 15px;border-radius: 15px;}
  18. .clear {clear: both;}
  19. .clearfix {display: block;}
  20. .clearfix:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
  21. html[xmlns] .clearfix {display: block;}
  22. * html .clearfix {height: 1%;}
  23. /* Link Styles */
  24. a {color: #528036;}
  25. a:link, a:visited {text-decoration: none;}
  26. a:hover {color: #000;text-decoration: none;}
  27. a:active {text-decoration: none;}
  28. /* Headings */
  29. h1, h2, h3, h4, h5, h6 {color: #2f332a;font-weight: bold;font-family: Helvetica, Arial, simsun, sans-serif;padding-bottom: 5px;}
  30. h1 {font-size: 36px;line-height: 44px;}
  31. h2 {font-size: 20px;line-height: 20px;}
  32. h3 {font-size: 14px;line-height: 14px;}
  33. h4 {font-size: 14px;font-weight: normal;line-height: 25px;}
  34. /* Wraps */
  35. .header_wrap {position: relative;min-width: 940px;padding: 100px 30px 0 30px;}
  36. .content_wrap {position: relative;min-width: 940px;padding: 0 30px 50px 30px;}
  37. .footer_wrap {bottom: 0;height: 47px;width: 100%;background-color: #1b1b1b;border-top: 1px solid #749e58;}
  38. /* Header */
  39. .header {position: relative;width: 940px;margin: 0 auto;height: 160px;border: 1px solid white;background: transparent url(img/header-bg.png) repeat-x 0 -50px;}
  40. .header-text {padding: 40px 25px 15px 120px;font-size: 18px;line-height: 24px;color: #747d67;font-family: Helvetica, sans-serif;}
  41. .header-text img {padding-bottom: 5px;}
  42. .shortcuts {white-space: nowrap;text-align: right;position: absolute;top: -45px;right: 5px;}
  43. .shortcuts.language {top: -85px;right:0px;}
  44. .shortcuts li {display: inline;font-size: 18px;line-height: 28px;font-family: Helvetica, Arial, simsun, sans-serif;padding-bottom: 5px;margin-left: 30px;cursor: pointer;}
  45. .shortcuts li button {cursor: pointer;}
  46. .shortcuts li span {border-bottom: 1px dotted white;}
  47. .shortcuts li span.selected {padding: 2px;background-color: #528036;}
  48. .shortcuts li a {color: #fff;}
  49. .ieSuggest {display:none;font-size: 12px;color: silver;position: absolute;left: 10px;top: 2px;}
  50. .google_plus {position: absolute;right: 10px; top:10px;}
  51. .light-bulb {position: absolute;left: -20px;bottom: -35px;width:116px;height:180px;background-image:url(img/lightbulb.png);background-repeat: no-repeat;}
  52. /* Content */
  53. .content {position: relative;width: 940px;margin: 0 auto;}
  54. .nav_section {position: relative;height: 20px;font-family: "Myriad Pro", "Trebuchet MS", sans-serif;font-size: 15px;color: #253;padding: 20px 0;}
  55. .nav_section ul {position: absolute;right: 10px;}
  56. .nav_section ul li {display: inline;line-height: 20px;margin: 0 5px 0 20px;border-bottom: 1px dotted white;}
  57. .nav_section ul li.noline {border-bottom: 0;}
  58. .nav_section ul li a {color: #fff;}
  59. .nav_section ul li a.selected {padding: 2px;background-color: #528036;}
  60. .nav_section ul li.first {border: none;}
  61. .content .title {margin: 50px 30px 20px 70px;}
  62. .content li {margin-bottom: 5px;}
  63. .contentBox {position: relative;overflow: hidden;border: 1px solid white;min-height: 200px;line-height: 25px;background: transparent url(img/contact-bg.png) repeat-x 0 0;}
  64. .zTreeInfo {display:none;width: 940px;position: absolute;}
  65. .zTreeInfo p {padding-bottom: 50px;}
  66. .zTreeInfo-left {float: left;width: 280px;height:300px;padding: 0 50px 60px 75px;background:url(img/zTreeIntroduction.jpg) no-repeat 30px 30px;}
  67. .zTreeInfo-right {position: relative;float: right;width: 475px;padding: 0 50px 60px 0;}
  68. .zTreeInfo-right li {font-size: 12px;list-style-type: disc;}
  69. .license {display:none;width: 940px;position: absolute;}
  70. .donateInfo {display:block;width: 940px;position: absolute;}
  71. .links {display:none;width: 940px;position: absolute;}
  72. .links .content {float: left;width: 160px;height:200px;padding: 0 10px 10px 2px;text-align: center;}
  73. .links .content.first {margin-left: 30px;}
  74. .contact {display:none;width: 940px;position: absolute;}
  75. .contact .myhome { position: absolute; top:10px; left:620px; width:300px; height:266px; background: transparent url(img/myhome.gif) scroll no-repeat 0 0;}
  76. .siteTag {position: absolute;left: -16px;top: 109px;z-index: 10;width: 65px;height: 46px;padding:0;margin:0 10px 0 0;
  77. vertical-align:middle;border:0 none;background: transparent url(img/siteTag.png) scroll no-repeat 0 0;}
  78. .siteTag.tag_zTreeInfo {background-position: 0 0}
  79. .siteTag.tag_license {background-position: 0 -46px}
  80. .siteTag.tag_donate {background-position: 0 -92px}
  81. .siteTag.tag_contact {background-position: 0 -138px}
  82. .apiContent {width: 940px;}
  83. .apiContent .right {float: right;padding-right: 100px;}
  84. .apiContent .left {float: left;padding-right: 20px;border-right: 1px dotted silver;}
  85. .api_setting {position: relative;margin:20px 0 20px 20px;}
  86. .api_function {position: relative;margin:20px 0 20px 30px;padding-right: 10px;}
  87. .api_content_title {text-align: center;font-weight: bold;}
  88. .demoContent {width: 940px;}
  89. .demoContent .right {float: right;padding: 20px;width: 600px;}
  90. .demoContent .left {float: left;padding: 20px;}
  91. .demoContent iframe {width:600px;min-height: 530px;}
  92. .faqContent {width: 940px;}
  93. .faqContent .right {float: right;padding: 20px;width: 600px;}
  94. .faqContent .left {float: left;padding: 20px;}
  95. .faqContent iframe {width:600px;min-height: 300px;}
  96. .baby_overlay_tmp {position: absolute;top:0; left:-5000px;display:block;visibility: hidden;width:640px;font-size:11px;}
  97. .baby_overlay_tmp .details {padding: 20px;}
  98. .baby_overlay {display:none;position:absolute;z-index:99;left:0; top:0;width:640px;color:#fff;font-size:11px;}
  99. .baby_overlay .content {width:100%; height:100px;overflow: hidden;background: transparent url(img/overlay_bg.png) scroll repeat 0 0;}
  100. .baby_overlay .details {padding:0 20px 20px 20px;}
  101. .baby_overlay .close {background-image:url(img/close.png);position:absolute; right:5px; top:5px;cursor:pointer;height:36px;width:36px;}
  102. .baby_overlay_arrow {background-image:url(img/overlay_arrow.png);background-position:0 0;position:absolute;height:40px;width:40px;left: -40px;}
  103. .baby_overlay_arrow.reverse {background-position:0 -40px;}
  104. /* Footer */
  105. .footer {position: relative;min-width: 1000px;font: 14px/24px arial, helvetica, sans-serif;}
  106. .footer ul {position:absolute;left: 0px;border:1px solid #393939;background:#262626;padding:12px 0px;line-height: 18px;display: none;list-style: none;}
  107. .footer ul li a {display:block;padding: 2px 15px;color: #9c9c9c;text-indent: 0;}
  108. .footer ul li a:hover {text-decoration:none;color: #fff;}
  109. .footer-logo {position:absolute;margin: 10px 0 0 30px;width:122px; height:24px;top:0; left:0;background: transparent url(img/footer-logo.png) no-repeat 0 0;}
  110. .footer_mii {position: absolute;right: 558px;top: 8px;z-index: 10;padding: 4px 0;}
  111. .footer_mii a {font-size:10px;color:#649140}
  112. .footer_mii a:hover {color:#B6D76F}
  113. .footer_siteMap {position: absolute;right: 358px;top: 8px;width: 155px;z-index: 10;padding: 4px 0;}
  114. .footer_siteMap .footer_siteMap_header {width:155px;text-indent: -9999px;background: transparent url(img/footer_siteMap.gif) no-repeat 0 0;}
  115. .footer_siteMap ul {top:-202px;width:180px;}
  116. .footer_siteMap:hover ul {left: 0}
  117. .footer_contact {position: absolute;right: 193px;top: 8px;width: 155px;z-index: 10;padding: 4px 0;}
  118. .footer_contact .footer_contact_header {width:155px;text-indent: -9999px;background: transparent url(img/footer_contact.gif) no-repeat 0px 0px;}
  119. .footer_contact ul {top:-113px;width:153px;}
  120. .footer_contact:hover ul {left: 0}
  121. .footer_download {position: absolute;right: 60px;top: 8px;width: 123px;z-index: 10;padding: 4px 0;}
  122. .footer_download .footer_download_header {width:123px;text-indent: -9999px;background: transparent url(img/footer_download.png) no-repeat 0px 0px;}
  123. .footer_download ul {top:-113px;width:140px;}
  124. .footer_download:hover ul {left: 0}
  125. /* button icon */
  126. button {vertical-align:middle;border:0 none;background: transparent no-repeat 0 0 scroll;}
  127. .shortcuts button.ico {width:24px; height:24px;padding:0; margin:0 10px 0 0;background-image:url(img/menuIcon.png)}
  128. .shortcuts button.home {background-position: 0 0}
  129. .shortcuts button.demo {background-position: 0 -24px}
  130. .shortcuts button.api {background-position: 0 -48px}
  131. .shortcuts button.faq {background-position: 0 -72px}
  132. .shortcuts button.donate {background-position: 0 -144px}
  133. .shortcuts button.download {background-position: 0 -96px}
  134. .shortcuts button.face {background-position: 0 -120px}
  135. .shortcuts button.cn {width:48px; height:24px;padding:0; margin:0 10px 0 0;background-image:url(img/chinese.png)}
  136. .shortcuts button.en {width:48px; height:24px;padding:0; margin:0 10px 0 0;background-image:url(img/english.png)}
  137. .content button.ico {width:24px; height:24px;padding:0; margin:0 10px 0 0;}
  138. .content button.ico16 {width:16px; height:16px;padding:0; margin:0 5px 0 0;background-image:url("img/apiMenu.png");}
  139. button.z_core {margin-top: -4px;background-position:0 0;}
  140. button.z_check {margin-top: -4px;background-position:0 -16px;}
  141. button.z_edit {margin-top: -4px;background-position:0 -32px;}
  142. button.z_hide {margin-top: -4px;background-position:0 -64px;}
  143. button.z_search {margin-top: -4px;background-position:0 -48px;}
  144. button.searchPrev {margin-top: -4px;background-position:-16px 0;cursor:pointer}
  145. button.searchNext {margin-top: -4px;background-position:-16px -16px;cursor:pointer}
  146. button.searchPrev.disabled {margin-top: -4px;background-position:-16px -32px;cursor:auto}
  147. button.searchNext.disabled {margin-top: -4px;background-position:-16px -48px;cursor:auto}
  148. input.search {margin:0;padding:2px 0; border:0;}
  149. input.searchKey {width:150px;}
  150. input.searchResult {margin-left:-3px;width:65px;text-align:right;background-color:white;color:#707070}
  151. input.searchResult.noResult {background-color:#ff6666;color:black}
  152. .baby_overlay div.overlaySearch {text-align:right;padding-right:50px;padding-top:12px;}
  153. /* api overlay*/
  154. .apiDetail .topLine {border-top: 1px dashed #376B29;margin-top: 5px;padding-top: 5px;}
  155. .apiDetail .highlight_red {color:#A60000;}
  156. .apiDetail .highlight_green {color:#A7F43D;}
  157. .apiDetail h1, .apiDetail h2, .apiDetail h3, .apiDetail h4, .apiDetail h5, .apiDetail h6 {color: white;padding: 0;}
  158. .apiDetail h2 {color: #A7F43D;margin: 5px auto;padding: 5px;font-size: 20px;}
  159. .apiDetail h2 span {font-size: 14px;float: right;font-weight: normal;margin: 2px 20px 0 0;vertical-align: bottom;}
  160. .apiDetail h2 span.path {float: left;margin: 2px 0 0 0;vertical-align: bottom;}
  161. .apiDetail h3 {margin: 5px auto;padding: 5px;font-size: 14px;font-weight: normal;}
  162. .apiDetail h3 span.h3_info {margin-left: 20px;font-size: 12px;}
  163. .apiDetail h4 {margin: 0 auto;padding: 0 5px;font-size: 12px;font-weight: normal;line-height: 16px;}
  164. .apiDetail .desc h4 {color: black;}
  165. .apiDetail h4 b{width: 150px;display:inline-block;}
  166. .apiDetail h4 span{width: 230px;display:inline-block;}
  167. .apiDetail pre, .apiDetail .desc {background: #E8FCD6;color: black;margin: 10px;padding: 10px;display: block;}
  168. .apiDetail pre {word-wrap: break-word;}
  169. .apiDetail p{margin-left: 5px;padding: 0;}
  170. .apiDetail .longdesc {margin-top: 5px;}
  171. .apiDetail .longdesc p{font-size: 12px;line-height:1.5;margin:3px 0;}
  172. .apiDetail .longdesc b{font-size: 14px;}
  173. .apiDetail table {border-collapse:collapse;}
  174. .apiDetail table td {border:1px solid silver;text-align: center;vertical-align: middle;}
  175. .apiDetail table thead td {font-weight: bold}
  176. .apiDetail button {width:16px; height:16px; vertical-align:middle; border:0 none; cursor: pointer;
  177. background-color:transparent; background-repeat:no-repeat; background-attachment: scroll;
  178. background-image:url("zTreeStyle/img/zTreeStandard.png");}
  179. .apiDetail button.chk {width:13px; height:13px; margin:0 3px 2px 0; cursor: auto}
  180. .apiDetail button.chk.checkbox_false_full {background-position:0 0}
  181. .apiDetail button.chk.checkbox_false_full_focus {background-position:0 -14px}
  182. .apiDetail button.chk.checkbox_false_part {background-position:0 -28px}
  183. .apiDetail button.chk.checkbox_false_part_focus {background-position:0 -42px}
  184. .apiDetail button.chk.checkbox_true_full {background-position:-14px 0}
  185. .apiDetail button.chk.checkbox_true_full_focus {background-position:-14px -14px}
  186. .apiDetail button.chk.checkbox_true_part {background-position:-14px -28px}
  187. .apiDetail button.chk.checkbox_true_part_focus {background-position:-14px -42px}
  188. .apiDetail button.chk.radio_false_full {background-position:-28px 0}
  189. .apiDetail button.chk.radio_false_full_focus {background-position:-28px -14px}
  190. .apiDetail button.chk.radio_false_part {background-position:-28px -28px}
  191. .apiDetail button.chk.radio_false_part_focus {background-position:-28px -42px}
  192. .apiDetail button.chk.radio_true_full {background-position:-42px 0}
  193. .apiDetail button.chk.radio_true_full_focus {background-position:-42px -14px}
  194. .apiDetail button.chk.radio_true_part {background-position:-42px -28px}
  195. .apiDetail button.chk.radio_true_part_focus {background-position:-42px -42px}