/*通用CSS重置代码*/ body, td, th, input, textarea, select, button, h1, h2, h3, h4, h5, p { font: 14px \5fae\8f6f\96c5\9ed1, Verdana, \5b8b\4f53; color: #000; } body, form, ul, ul li, dl, dt, dd, h1, h2, h3, h4, h5, hr, p { margin: 0px; padding: 0px; } article, aside, dialog, footer, header, section, nav, figure, menu { display: block; } body, textarea { background-color: #FFF; } template, .template, [data-template] { display: none; } th, h1, h2, h3, h4, h5, legend { font-weight: bold; } ul, ul li { list-style: none; } ol { margin: 0px; padding: 0px 0px 0px 20px; } p { text-indent: 2em; margin-bottom: 10px; word-wrap: break-word; overflow-wrap: break-word; } a, a:hover { text-decoration: none; } a img { border-style: none; } /*本站*/ body { margin: 5px; } a { color: #000; text-decoration: underline; } a:hover { color: #333; } input.error { border: 1px solid #F00; } label.error { background: url(../images/unchecked.gif) no-repeat; margin-left: 5px; padding-left: 16px; color: #F00; } a.button { border: 1px solid #9DBAF7; background-color: #C7D8FA; text-decoration: none; color: #000; display: inline-block; padding: 1px 6px; } a.button:hover { color: #000; text-decoration: none; } input[type="button"], input[type="submit"], input[type="reset"], button { border: 1px solid #9DBAF7; background-color: #C0D5FA; cursor: pointer; } input[type="text"],input[type="date"],input[type="number"],textarea { border: 1px solid #7F9DB9; background-color: #fff; } input[type="date"] { width: 130px; } input[type="number"] { width: 50px; } input.date { background: url(../images/icon_calendar.png) no-repeat 80px center; cursor: pointer; padding-right: 18px; width:80px;padding-left:2px;border: 1px solid #7F9DB9; } fieldset { margin-bottom: 20px; } fieldset legend { font-weight: bold; } .title { font-weight: bold; background: url(images/navdot.gif) no-repeat; padding-left: 20px; border-bottom: 2px solid #CCCCCC; line-height: 22px; margin-bottom: 10px; overflow:hidden; } /*放大镜图标*/ img.view { width: 21px; height: 16px; margin-right: 2px; vertical-align: middle; cursor: pointer; } /*列表表格(HTML中table只设置class,不设置其他任何属性)*/ .tb_list { border-bottom: 2px solid #69f; width: 100%; border-collapse: collapse; margin-bottom: 20px; } .tb_list th, .tb_list td { border: 1px solid #FFF; padding: 5px 3px; } .tb_list th { color: #fff; background-color: #6cc; border-bottom: 1px solid #2F8E8E; text-align:center; } .tb_list th[colspan] { border-bottom: 1px solid #FFF; } .tb_list th a { color: #fff; text-decoration: underline; } .tb_list th a:hover { text-decoration: none; } .tb_list td a img { vertical-align: middle; } /*表格内小图标*/ .tb_list tr { background: #F8F8F8; } /*初始颜色*/ .tb_list tr:not(:last-child):nth-child(2n+1) { background: #EDF2FC; } /*间隔颜色*/ .tb_list tr:not(:last-child):not(.selected):hover { background: #C5E0FA; } /*悬浮颜色*/ .tb_list .selected td { background: #B4D0E9; } /*选中颜色*/ .tb_list tr:last-child td[colspan] { border-top: 2px solid #69f; background: #fff; } /*最后一行*/ /*标题和查询表格(HTML中table只设置class,不设置其他任何属性)*/ .tb_title { margin-bottom: 5px; border-collapse: collapse; width: 100%; } .tb_title th, .tb_title td { padding: 3px; border: 1px solid #CCC; } .tb_title .label { text-align: right; background: #F1F1F1; } .tb_title .act { text-align: center; } /*统计表格(HTML中table只设置class,不设置其他任何属性)*/ .tb_stat { border-top: 2px solid #666; border-bottom: 2px solid #666; border-collapse: collapse; width: 100%; } .tb_stat th, .tb_stat td { border: 1px solid #666; padding: 3px; text-align: center; } .tb_stat th { border-bottom: 2px solid #666; } .tb_stat th:first-child, .tb_stat td:first-child { border-left: none; } .tb_stat th:last-child, .tb_stat td:last-child { border-right: none; } .tb_stat .textleft { text-align: left; } .tb_stat .textright { text-align: right; } /*表单表格*/ .tb_form { background: #CCC; } .tb_form th { font-weight: bold; text-align: center; background: #FFF; } .tb_form tr { background: #FFF; } .tb_form .label { background: #F1F1F1; text-align: right; } .tb_form .act { text-align: center; } .tab { margin-bottom: 10px; border-bottom: 1px solid #000; padding-left: 100px; height: 25px; line-height: 25px; } .tab a { text-decoration: none; color: #36C; } .tab a:hover { color: #F60; text-decoration: none; } .tab li { float: left; padding: 0 15px; } .tab .current { border-top: 1px solid #000; border-right: 1px solid #000; border-left: 1px solid #000; background: #FFF; } .tab .current a { font-weight: bold; color: #000; text-decoration: none; }