common.css 5.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. @charset "utf-8";
  2. /* CSS Document */
  3. /* ===============
  4. * 重新定义Html元素
  5. * =============== */
  6. html, body, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, fieldset, input { padding: 0; margin: 0;}
  7. h1, h2, h3, h4, h5, h6, pre, code, address, caption, cite, code, em, strong, table, th, td { font-size: 1em; font-style: normal; font-weight: normal;}
  8. strong { font-weight: bold;}
  9. ul, ol { list-style: none outside none;}
  10. fieldset, img { border: medium none; vertical-align: middle;}
  11. caption, th { text-align: left;}
  12. table { border-collapse: collapse; border-spacing: 0;}
  13. body { font: 12px/20px "microsoft yahei", Arial,Verdana,"宋体","Lucida Grande","Lucida Sans Unicode",Helvetica,sans-serif; color: #666; background: #FFF none repeat scroll 0 0; min-width: 1200px;}
  14. input, select, textarea { font: 12px/20px Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;}
  15. i, cite, em { font-style: normal;}
  16. input,button,select,textarea{ outline:none}
  17. checkbox { margin-right: 4px; vertical-align: middle;}
  18. html {min-height:101%; }
  19. a { text-decoration: none;}
  20. a:hover { text-decoration: underline;}
  21. /* ==========================
  22. * 为旧版本浏览器格式化Html5元素
  23. * ========================== */
  24. article, aside, dialog, footer, header, section, footer, nav, figure, menu { display:block; }
  25. /**/
  26. .wrapper { width: 1000px; margin: 0 auto;}
  27. .w100 { width: 100px !important;}
  28. .w150 { width: 150px !important;}
  29. .w200 { width: 200px !important;}
  30. .w400 { width: 400px !important;}
  31. .mt10 { margin-top: 10px;}
  32. .mt15 { margin-top: 15px;}
  33. .mt30 { margin-top: 30px;}
  34. .tc { text-align: center;}
  35. .dialog_wrapper { background-color: transparent !important; padding: 0 !important; box-shadow: none !important;}
  36. .dialog_body { background-color: #f5f5f5 !important; border: none!important; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.25) !important;}
  37. .dialog_head { border: none !important;}
  38. .dialog_title { background-color: transparent !important;}
  39. .dialog_content { padding: 0 10px 20px 10px !important;}
  40. .dialog_content dl { font-size: 0; *word-spacing:-1px/*IE6、7*/; line-height: 20px; display: block; clear: both; overflow:hidden;}
  41. .dialog_content dl dt {font: 14px/24px "microsoft yahei", Arial; color: #777; vertical-align: top; letter-spacing: normal; word-spacing: normal; text-align: right; display: inline-block; *display: inline/*IE6,7*/; width: 19%; padding: 10px 1% 10px 0; margin: 0; zoom: 1;}
  42. .dialog_content dl dd {font: 14px/24px "microsoft yahei", Arial; vertical-align: top; letter-spacing: normal; word-spacing: normal; display: inline-block; *display: inline/*IE6,7*/; width: 79%; padding: 10px 0 10px 0; zoom:1;}
  43. /* tip提示 */
  44. .tip-yellowsimple { color:#000; background-color:#fff9c9; text-align:left; min-width:50px; max-width:300px; border:1px solid #c7bf93; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; z-index:1000; padding:6px 8px;}
  45. .tip-yellowsimple .tip-inner { font:12px/16px arial,helvetica,sans-serif;}
  46. .tip-yellowsimple .tip-arrow-top { background:url(../images/tip-yellowsimple_arrows.gif) no-repeat; width:9px; height:6px; margin-top:-6px; margin-left:-5px; top:0; left:50%;}
  47. .tip-yellowsimple .tip-arrow-right { background:url(../images/tip-yellowsimple_arrows.gif) no-repeat -9px 0; width:6px; height:9px; margin-top:-4px; margin-left:0; top:50%; left:100%;}
  48. .tip-yellowsimple .tip-arrow-bottom { background:url(../images/tip-yellowsimple_arrows.gif) no-repeat -18px 0; width:9px; height:6px; margin-top:0; margin-left:-5px; top:100%; left:50%;}
  49. .tip-yellowsimple .tip-arrow-left { background:url(../images/tip-yellowsimple_arrows.gif) no-repeat -27px 0; width:6px; height:9px; margin-top:-4px; margin-left:-6px; top:50%; left:0;}
  50. /* 调试模式 */
  51. .trace { font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-size:14px; color: #000; line-height: 18px; background:#FFF299; padding:8px; margin:8px; border:1px dashed silver;}
  52. .trace fieldset { margin:8px;}
  53. .trace fieldset legend { font-size: 16px; color: #000; font-weight:bold;}
  54. .trace fieldset div { overflow:auto; max-height: 300px; _height: 300px; text-align:left;}
  55. #footer { line-height: 20px; color: #b4baaa; text-align: center; display: block; width: 1000px; clear: both; margin: 10px auto 0 auto; padding-bottom: 10px; overflow: hidden;}
  56. #footer p { color: #b4baaa; word-spacing: 5px; padding: 10px 0; }
  57. #footer a { color: #b4baaa; text-decoration: none; }
  58. #footer a:hover { text-decoration: underline; }
  59. #footer .vol { font-family: Verdana, Geneva, sans-serif; font-weight: 600; font-style: oblique; font-size: 12px;}
  60. #footer .vol .b { color: #00F;}
  61. #footer .vol .o { color: #F60;}
  62. #footer .vol em { font-family: Georgia, Arial; font-weight: 600; font-style: italic; color: #000; margin-left: 2px;}
  63. /* 翻页样式 */
  64. .pagination { display: inline-block; margin: 0 auto;}
  65. .pagination ul { font-size: 0; *word-spacing:-1px/*IE6、7*/; }
  66. .pagination ul li { vertical-align: top; letter-spacing: normal; word-spacing: normal; display: inline-block; margin: 0 0 0 -1px;}
  67. .pagination ul li { *display: inline/*IE6、7*/; *zoom:1;}
  68. .pagination li span { font: normal 14px/20px "microsoft yahei"; color: #AAA; background-color: #FAFAFA; text-align: center; display: block; min-width: 20px; padding: 8px; border: 1px solid #E6E6E6; position: relative; z-index: 1;}
  69. .pagination li a span ,
  70. .pagination li a:visited span { color: #005AA0; text-decoration: none; background-color: #FFF; position: relative; z-index: 1;}
  71. .pagination li a:hover span, .pagination li a:active span{ color: #FFF; text-decoration: none !important; background-color: #D93600; border-color: #CA3300; position: relative; z-index: 9; cursor:pointer;}
  72. .pagination li a:hover { text-decoration: none;}
  73. .pagination li span.currentpage { color: #AAA; font-weight: bold; background-color: #FAFAFA; border-color: #E6E6E6; position: relative; z-index: 2;}