css_diy.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /* 判断:当打开 DIY 面板时加载 */
  2. body { padding-top: 170px; }
  3. #controlpanel { color: #000;position: fixed; top: 0; left: 0; z-index: 200; width: 100%; border-bottom: 1px solid #999; background: #F5F5F5 url({STATICURL}image/diy/cp-bg.png) repeat-x 0 0; }
  4. * html #controlpanel { position: absolute; top: expression(offsetParent.scrollTop); }
  5. #controlheader { margin: 0 10px; background: url({STATICURL}image/diy/cp-nav.png) repeat-x 0 0; line-height: 46px; }
  6. #controlheader p { width: 460px; height: 46px; background: url({STATICURL}image/diy/cp-nav-corner-tr.png) no-repeat 100% 100%; }
  7. #controlheader p a { float: right; margin-top: 8px; height: 27px; line-height: 27px; }
  8. #navsave a { margin-right: 2px; width: 54px; background: url({STATICURL}image/diy/cp-save.png) no-repeat 0 0; text-indent: -9999px; overflow: hidden; }
  9. #navcancel a { width: 27px; background: url({STATICURL}image/diy/cp-close.png) no-repeat 0 0; text-indent: -9999px; overflow: hidden; }
  10. #button_redo a, #button_undo a { background: url({STATICURL}image/diy/cp-step.png) no-repeat 0 0; text-indent: -9999px; overflow: hidden; }
  11. #button_redo a { margin-right: 5px; width: 27px; background-position: 0 -54px; }
  12. #button_redo.unusable a { background-position: 0 -81px; cursor: default; }
  13. #button_undo a { margin-left: 10px; width: 28px; }
  14. #button_undo.unusable a { background-position: 0 -27px; cursor: default; }
  15. #button_more { margin-right: 20px; width: 17px; height: 27px; background: url({STATICURL}image/diy/cp-more.png) no-repeat 0 0; text-indent: -9999px; overflow: hidden; }
  16. #preview a { margin-right: 2px; width: 43px; background: url({STATICURL}image/diy/cp-preview.png) no-repeat 0 -27px; text-indent: -9999px; overflow: hidden; }
  17. #preview.unusable a { background-position: 0 0; }
  18. #savecache a { margin-right: 2px; width: 43px; background: url({STATICURL}image/diy/cp-savecache.png) no-repeat 0 -27px; text-indent: -9999px; overflow: hidden; }
  19. #savecache.unusable a { background-position: 0 0; }
  20. #savecachemsg { float: right; padding-right: 5px; text-align: right; }
  21. #controlnav { padding-left: 50px; height: 46px; background: transparent url({STATICURL}image/diy/t-diy.png) no-repeat 0 100%; line-height: 35px; }
  22. #controlnav li { float: left; margin-top: 7px; margin-right: 5px; font-size: 14px; font-weight: 700; }
  23. #controlnav li a { float: left; padding: 0 15px; color: #333 !important; }
  24. #controlnav li.current { background: url({STATICURL}image/diy/cp-nav-active.png) no-repeat 0 0; }
  25. #controlnav li.current a { background: url({STATICURL}image/diy/cp-nav-active.png) no-repeat 100% -50px; }
  26. #controlnav li.current span { margin-right: -8px; }
  27. #diy_backup_tip { top: 32px; right: 55px; width: auto; line-height: 1.5; }
  28. #diy_backup_tip a { text-decoration: underline; }
  29. #controlcontent { margin: 0 10px; padding: 10px; height: 110px; he\ight: 90px; border: solid #CCBDCC; border-width: 0 1px; background: #FFF; overflow: hidden; }
  30. #controlcontent li { float: left; margin-right: 4px; }
  31. #controlcontent li a, #controlcontent li label { float: left; width: 90px; height: 90px; text-align: center; cursor: pointer; }
  32. #controlcontent li a { color: #333 !important; }
  33. #controlcontent li a:hover, #controlcontent li label.hover { background: url({STATICURL}image/diy/cp-item-selected.png) no-repeat 0 0; text-decoration: none; }
  34. #controlcontent li img, #controlcontent li label span { display: block; margin: 7px auto 0; width: 80px; height: 60px; text-align: center; }
  35. #controlcontent li span { background: url({STATICURL}image/diy/cp-module-type.png) no-repeat 0 0; }
  36. #controlcontent li.module-html span { background-position: -80px -180px; }
  37. #controlcontent li.module-thread span { background-position: -80px 0; }
  38. #controlcontent li.module-forum span { background-position: 0 -180px; }
  39. #controlcontent li.module-member span { background-position: 0 -120px; }
  40. #controlcontent li.module-article span { background-position: -80px -120px; }
  41. #controlcontent li.module-attachment span { background-position: 0 -240px; }
  42. #controlcontent li.module-blog span { background-position: 0 -60px; }
  43. #controlcontent li.module-doing span { background-position: -80px -60px; }
  44. #contentblockclass ul li { float: none; margin: 0; }
  45. #contentblockclass ol { overflow: hidden; margin-bottom: 10px; padding-left: 45px; height: 60px; background: url({STATICURL}image/diy/module-html.png) no-repeat 5px 0; }
  46. #contentblockclass ol li { float: left; margin-right: 2px; }
  47. #contentblockclass li.module-html ol { border: none; background-image: url({STATICURL}image/diy/module-html.png); }
  48. #contentblockclass li.module-forum ol { background-image: url({STATICURL}image/diy/module-forum.png); }
  49. #contentblockclass li.module-space ol { background-image: url({STATICURL}image/diy/module-space.png); }
  50. #contentblockclass li.module-group ol { background-image: url({STATICURL}image/diy/module-group.png); }
  51. #contentblockclass li.module-portal ol { background-image: url({STATICURL}image/diy/module-article.png); }
  52. #contentblockclass li.module-member ol { background-image: url({STATICURL}image/diy/module-member.png); }
  53. #contentblockclass ol label { margin-top: 3px; width: 60px; height: 24px; border: 1px dotted #B6C7EC; line-height: 24px; overflow: hidden; }
  54. #contentblockclass ol label.hover { border-style: solid; background: none; }
  55. #cpfooter { padding: 0 10px 10px; border-bottom: 1px solid #FFF; }
  56. #cpfooter td { height: 6px; background: #FFF; line-height: 0; overflow: hidden; }
  57. #cpfooter td.l { width: 6px; background: url({STATICURL}image/diy/cp-nav-corner-bl.png) no-repeat 0 0; }
  58. #cpfooter td.c { height: 5px; border-bottom: 1px solid #CCBDCC; }
  59. #cpfooter td.r { width: 6px; background: url({STATICURL}image/diy/cp-nav-corner-br.png) no-repeat 0 0; }
  60. /* DIY 部分 */
  61. dl.diy dt { margin-top: -10px; margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px solid #CCC; line-height: 26px; }
  62. dl.diy dt a { color: #06C !important; text-decoration: underline; }
  63. dl.diy dt a.activity { color: #333 !important; font-weight: 700; text-decoration: none; }
  64. dl.diy dl { clear: both; padding: 0 10px; }
  65. dl.diy dl dt { float: left; margin: 0; padding: 0; width: 5em; border: none; }
  66. #positiontable td { width: 12px; height: 12px; border: 2px solid #FFF; background: #EEE; line-height: 0; overflow: hidden; cursor: pointer; }
  67. #positiontable td.red{ background-color:red;}
  68. .color_diy { width:310px; float:left; overflow:visible;}
  69. .color_diy .span { float:left; display:inline; line-height:24px;}
  70. #controlcontent .diy li a { width: 60px; height: 60px; }
  71. #controlcontent .diy li a:hover { background: none; }
  72. #controlcontent li.thumb img { margin: 0; width: 60px; height: 60px; }
  73. #diyimg_prev div *, #diyimg_next div * { display: none; }
  74. dl.diy .pg { float: left; }
  75. #diyimg_prev .prev, #diyimg_next .nxt { display: block; padding: 0 !important; width: 20px; height: 60px; border: 1px solid #EEE; text-indent: -9999px; }
  76. #diyimg_prev .prev { margin-right: 4px; }
  77. #diyimg_next .prev { background: url({IMGDIR}/arw_l.gif) no-repeat 50% 50%; }
  78. #diyimg_next .nxt { margin: 0; background: url({IMGDIR}/arw_r.gif) no-repeat 50% 50%; }
  79. /* 原CSS */
  80. #outerbox { width: 970px; margin: auto; }
  81. .float_left { margin: 0 0 0 34px;}
  82. .float_center { margin: auto; }
  83. #header,#wrap,#footer, .wrap { margin: 0 auto; }
  84. #wrap { min-height:320px;}
  85. #header {margin-top:34px; position:relative; height:150px; text-align:center; line-height:100px; z-index:10;}
  86. #footer { height:100px; line-height:100px; width: 970px; border:0;}
  87. #widgets { position:relative; z-index:20; overflow:visible;}
  88. .float_item { position:absolute; z-index:25;}
  89. #nav { border:1px solid #09f; min-height:30px; line-height:28px;}
  90. #nav ul li { float:left; margin:1px 2px;}
  91. .op {position:absolute; right:10px; bottom:10px;}
  92. .op a {display:inline; margin-left:2px; line-height:22px;}
  93. #space_page { width: 100%; overflow: hidden; }
  94. #left { float: left; margin: 0 15px 0 0; width: 190px; overflow: hidden; border: 0 solid #09F; }
  95. #center { float: left; margin: 0 15px 0 0; width: 560px; border: 0 solid #CCC; }
  96. #right { float: left; width: 180px; border: 0 solid #F9F; }
  97. .move-span {margin: 1px; }
  98. .area { margin-bottom: 5px; padding: 3px; background: #DDF0DF; }
  99. body#space .area { padding: 10px 0; border: none; background: transparent; }
  100. .frame,.frame-tab { margin: 5px 0; padding-top: 5px; border: 1px dashed #09F; background: #FFF; }
  101. #space .frame{background-color: transparent; }
  102. .frame-tab { border-color: #FF8500; }
  103. .frame-tab .title .titletext { float: left; margin: 0 2px;}
  104. body#space .frame, body#space .frame-tab { padding: 0; }
  105. .frame-tab .title ul li {cursor:pointer;}
  106. .frame-tab .tabcontent { width:98%; border:1px solid #09f; margin:3px; float:left;}
  107. .tabactivity { background: #FFF; }
  108. /*.column,.titletext { float:left;}*/
  109. .title .tmpbox { float: left; }
  110. .frame-1-1, .frame-1-1-1, .frame-1-2, .frame-2-1, .frame-1-3, .frame-3-1 { background-image: url({STATICURL}image/diy/vline.png); background-repeat: repeat-y; }
  111. .frame-1-1, .frame-1-1-1 { background-position: 50% 0; }
  112. .frame-1-1-1 { background-image: url({STATICURL}image/diy/vline2.png); }
  113. .frame-1-2 { background-position: 33.3% 0; }
  114. .frame-2-1 { background-position: 66.6% 0; }
  115. .frame-1-3 { background-position: 24.9% 0; }
  116. .frame-3-1 { background-position: 74.9% 0; }
  117. .block { margin: 0 0 5px; padding: 5px; border: 0 solid #CCC; background: #FFF; }
  118. #space .block{background-color: transparent; }
  119. .block .blocktitle { height: 26px; line-height: 26px; }
  120. .block .blockname { font-weight: 700; margin-left: 5px; float: left; }
  121. .block .blockedit { margin-right: 5px; float: right; text-decoration: underline; cursor: pointer; }
  122. .block .dxb_bc { overflow: hidden; }
  123. body#space .block { margin: 0 2px 5px; border: 1px dashed #09F; }
  124. .title { background: #CBFAFD; }
  125. .tab-title { background: #FFFAD2 !important; }
  126. .frame-tab .title .move-span .blocktitle { background: #FFFAD2; }
  127. .moving {background:#4ef; position:absolute;}
  128. .tmpbox { margin:4px 0; border:2px dashed #aaa; background:#FFF;}
  129. .temp {height:0;border:0;}
  130. .hide {display:none}
  131. .left {float:left;}
  132. .right {float:right;}
  133. .pointer { cursor:pointer;}
  134. .m_left_40 {margin-left:40px;}
  135. .current { background: #FFF; }
  136. .activity { background: #FFF; }
  137. #currentlayout { color: #F04; }
  138. .td_right { float: left; display: block; line-height:22px; }
  139. .rb { border: 2px solid red; }
  140. #contentframe li a, #contentblockclass li label { cursor: move; }
  141. /***原CSS***/
  142. #diy-tg { display: none !important; }
  143. /**space**/
  144. #controlcontent .selector li a { margin: 5px 10px 0 0; padding-left: 30px; width: 60px; height: 30px; line-height: 30px; background: url({STATICURL}image/diy/cp-item-mini.png) no-repeat 0 0; text-align: left; cursor: pointer; }
  145. #controlcontent .selector li a:hover { background: url({STATICURL}image/diy/cp-item-mini.png) no-repeat 0 -30px; }
  146. #controlcontent .selector li.activity a, #controlcontent .selector li.activity a:hover { background: url({STATICURL}image/diy/cp-item-mini.png) no-repeat 0 100%; }
  147. #borderul label { margin-right: 3px; }
  148. .borderul .bordera, .borderul label { display: none; }
  149. .borderul label.y { display: inline; }
  150. /* 弹窗 by Pony */
  151. .diywin .px { vertical-align: middle; }
  152. .diywin td { padding: 2px 0; }
  153. .diywin .tfm caption, .diywin .tfm th, .diywin .tfm td { padding: 5px 2px; }
  154. /* 个人导航小样式 */
  155. .mininv { width: 450px; height: 30px; border: 1px dotted #09F; }
  156. /* 个人空间和网站DIY共用的部分样式 */
  157. .hide { display: none; }
  158. .frame,.tab,.block { position: relative; zoom:1; min-height: 20px; }
  159. .edit { position: absolute; top: 0; right: 0; z-index: 199; padding: 0 5px; background: red; line-height: 26px; color: #FFF; cursor: pointer; }
  160. .block .edit { background: #369; }
  161. .edit-menu { position: absolute; z-index: 300; border-style: solid; border-width: 0 1px 1px; border-color: #DDD #999 #999 #CCC; background: #FFF; }
  162. .mitem { padding: 4px 4px 4px 14px; width: 36px; border-top: 1px solid #DDD; cursor: pointer; }
  163. .mitem:hover { background: #F2F2F2; color: #06C; }