123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339 |
- /*-----------去除默认样式-------------------------------------*/
- body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /* structural elements 结构元素 */
- dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
- pre, /* text formatting elements 文本格式元素 */
- fieldset, button, input, textarea, lengend /* form elements 表单元素 */
- th, td { /* table elements 表格元素 */
- margin: 0;
- padding: 0;
- border: none;
- color: #333;
- }
- body,
- button, input, select, textarea {
- /* for ie */
- /*font: 12px/1 Tahoma, Helvetica, Arial, "宋体", sans-serif;*/
- font: 12px/1 Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;
- /* 用 ascii 字符表示,使得在任何编码下都无问题 */
- }
- button, input, select, textarea {
- font-size: 100%; /* 使得表单元素在 ie 下能继承字体大小 */
- }
- /*chrome表单自动填充去掉input黄色背景解决方案
- 可以对input:-webkit-autofill使用足够大的纯色内阴影来覆盖input输入框的黄色背景;如:*/
- input:-webkit-autofill {
- -webkit-box-shadow: 0 0 0px 1000px white inset;
- border: 1px solid #fff !important;
- }
- /*只要在样式里面加一句去掉css去掉iPhone、iPad的默认按钮样式就可以了!~*/
- input[type="button"], input[type="submit"], input[type="reset"] {
- -webkit-appearance: none;
- }
- /* 定义placeholder文字颜色 */
- ::-webkit-input-placeholder { /* WebKit browsers */
- color: #b9b9b9;
- }
- :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
- color: #b9b9b9;
- }
- ::-moz-placeholder { /* Mozilla Firefox 19+ */
- color: #b9b9b9;
- }
- :-ms-input-placeholder { /* Internet Explorer 10+ */
- color: #b9b9b9;
- }
- select {
- border: solid 1px #000; /*Chrome和Firefox里面的边框是不一样的,所以复写了一下*/
- /*很关键:将默认的select选择框样式清除*/
- appearance: none;
- -moz-appearance: none;
- -webkit-appearance: none;
- /*在选择框的最右侧中间显示小箭头图片*/
- background: url("http://ourjs.github.io/static/2015/arrow.png") no-repeat scroll right center transparent;
- /*为下拉小箭头留出一点位置,避免被文字覆盖*/
- padding-right: 14px;
- }
- /*清除ie的默认选择框样式清除,隐藏下拉箭头*/
- select::-ms-expand {
- display: none;
- }
- textarea {
- -webkit-appearance: none;
- }
- /* 重置表格元素 */
- table {
- border-collapse: collapse;
- border-spacing: 0;
- width: 100%;
- /*text-align: center;*/
- }
- table td {
- word-break: break-all;
- word-wrap: break-word;
- }
- img {
- border: none;
- display: block;
- }
- /* for ie6 */
- fieldset, img {
- border: none;
- }
- /* 重置文本格式元素 */
- a {
- text-decoration: none;
- }
- a:hover {
- text-decoration: underline;
- }
- /* 重置列表元素 */
- ul, ol {
- list-style: none;
- }
- /* 重置 hr */
- hr {
- border: none;
- height: 1px;
- }
- address, cite, dfn, em, var {
- font-style: normal;
- }
- /* 将斜体扶正 */
- code, kbd, pre, samp, tt {
- font-family: "Courier New", Courier, monospace;
- }
- /* 统一等宽字体 *//* 小于 12px 的中文很难阅读,让 small 正常化 */
- small {
- font-size: 12px;
- }
- abbr[title], acronym[title] { /* 注:1.ie6 不支持 abbr; 2.这里用了属性选择符,ie6 下无效果 */
- border-bottom: 1px dotted;
- cursor: help;
- }
- q:before, q:after {
- content: '';
- }
- /* 重置表单元素 */
- legend {
- color: #000;
- }
- /*
- 移动端项目:font-family:Tahoma,Arial,Roboto,”Droid Sans”,”Helvetica Neue”,”Droid Sans Fallback”,”Heiti SC”,sans-self;
- pc端(含Mac)项目:font-family:Tahoma,Arial,”Helvetica Neue“,”Hiragino Sans GB”,Simsun,sans-self;
- 移动和pc端项目:font-family:Tahoma,Arial,Roboto,”Droid Sans”,”Helvetica Neue”,”Droid Sans Fallback”,”Heiti SC”,”Hiragino Sans GB”,Simsun,sans-self;*/
- /*渐变:
- background:-webkit-linear-gradient(top,#d82c3e,#ff6450);
- background:-moz-linear-gradient(top,#d82c3e,#ff6450);
- background:-ms-linear-gradient(top,#d82c3e,#ff6450);
- background:-o-linear-gradient(top,#d82c3e,#ff6450);
- */
- /*************************************************************************************************/
- frameset{
- overflow-x: hidden;
- }
- .content-bg{
- padding-left: 25px;
- padding-right: 25px;
- padding-top: 60px;
- }
- /*分类标题样式*/
- #content{
- width:100%;background: #FFFFFF;height: 100%;
- }
- .content-bg .title{
- position: absolute;
- height: 60px;
- line-height: 60px;
- top: 0;
- left: 25px;
- overflow: hidden;
- }
- .content-bg .title > div {
- float: left;
- width: 4px;
- height: 20px;
- background: #868f95;
- margin-top: 20px;
- }
- .content-bg .title > p:first-of-type {
- padding-left: 10px;
- }
- .content-bg .title > p {
- float: left;
- padding-left: 5px;
- font-size: 16px;
- }
- /*分类标题样式结束*/
- @media screen and (max-width:1066px){
-
- .content-bg{
- width: 1066px!important;
- }
- #content{
- width: 1066px!important;
- }
- }
- /*登陆页样式*/
- .login-bg {
- background: url(../img/login-bg.png) center center no-repeat;
- width: 100%;
- height: 900px \9;
- height: 100vh;
- display: block;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover;
- }
- .login-main {
- width: 400px;
- height: 500px;
- position: fixed;
- top: 50%;
- left: 50%;
- margin-top: -260px;
- margin-left: -200px;
- z-index: 5;
- }
- .login-main > img {
- width: 200px;
- margin-bottom: 110px;
- margin-left: 110px;
- }
- .login-main > div {
- width: 400px;
- background: rgba(255, 255, 255, 0.1);
- position: relative;
- }
- .head {
- position: absolute;
- top: -50px;
- left: 150px;
- width: 100px;
- height: 100px;
- border-radius: 50px;
- overflow: hidden;
- }
- .login-copyright {
- position: fixed;
- bottom: 30px;
- width: 100%;
- text-align: center;
- color: #fff;
- opacity: 0.5;
- font-size: 16px;
- z-index: -1;
- }
- .user {
- background: url("../img/user.png") no-repeat;
- background-position-x: 0%;
- background-position-y: 0%;
- background-position: 0 8px;
- margin-top: 70px;
- }
- .password {
- background: url("../img/password.png") no-repeat;
- background-position-x: 0%;
- background-position-y: 0%;
- background-position: 0 8px;
- margin-top: 30px;
- }
- .user, .password {
- width: 265px;
- margin-left: 50px;
- margin-right: 50px;
- border-bottom: solid 1px #fff;
- height: 34px;
- padding-left: 35px;
- line-height: 34px;
- }
- .login-btn {
- background: #4ccfff;
- width: 300px;
- height: 34px;
- margin: 50px 50px 30px;
- border-radius: 5px;
- color: #fff;
- }
- /*分页*/
- .page {
- padding: 20px 20px 0 20px;
- overflow: hidden;
- }
- .page>div {
- float: left;
- line-height: 34px;
- }
- .page>ul {
- float: right;
- overflow: hidden;
- }
- .page>ul>li {
- float: left;
- margin-left: 10px;
- padding: 0 10px;
- height: 32px;
- line-height: 32px;
- border-radius: 5px;
- border: solid 1px #ccc;
- }
- .page-s {
- color: #fff;
- background: #5589dc;
- border: none !important;
- }
- .font02 {
- border: none !important;
- padding: 0 !important;
- }
- .input02 {
- width: 50px;
- overflow: hidden;
- margin-left:5px !important;
- /*margin-right:10px !important;*/
- }
- .input02>input {
- width: 100%;
- height: 100%;
- text-align: center;
- line-height: 32px;
- }
|