node-swallowjs
Version:
epp portal
365 lines (340 loc) • 7.01 kB
CSS
@charset "UTF-8";
/*css style reset*/
* {
margin:0;
padding:0;
-webkit-user-select:text;
-moz-user-select:text;
-ms-user-select:text;
user-select:text;
-ms-box-sizing:border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-o-box-sizing:border-box;
box-sizing:border-box;
color: #333;
}
ul,dl,li,dt,dd {
list-style: none;
}
a,input,textarea,select {
outline: none
}
a:hover,a:active {
font-weight: bold;
}
/*pageLogin*/
.repeat {
position: absolute;
width: 100%;
height: 100%;
background: url(../img/login-dot.png) repeat;
}
.box {
position: absolute;
top: 50%;
width: 100%;
margin-top: -193px;
border: 1px solid #bbb;
border-width: 1px 0;
}
.box-login {
background: url(../img/login-logo.jpg) no-repeat 0 56px;
width: 1000px;
margin: 0 auto;
height: 385px;
padding-top: 56px;
padding-bottom: 34px;
padding-left: 406px;
}
.box-login p {
padding-left: 120px;
height: 40px;
line-height: 40px;
font-size: 13px;
}
.box-login-form {
background: url(../img/login-bg.jpg) no-repeat left top;
padding-left: 102px;
width: 594px;
height: 254px;
}
.box-login-form > div {
width: 268px;
padding-top: 56px;
}
.box-login-form > div span {
width: 70px;
margin: 6px 0;
letter-spacing: 12px;
font-size: 14px;
display: inline-block;
vertical-align: middle;
text-align: right;
}
.box-login-form > div input {
width: 198px;
margin: 6px 0;
height: 31px;
vertical-align: middle;
line-height: 25px;
border: 1px solid #8c8c8b;
padding: 2px;
background: #e9d9a8;
}
.box-login-form .btn-login {
background: url(../img/btn-login.png) no-repeat;
cursor: pointer;
border: none;
margin-left: 70px;
margin-top: 42px;
display: block;
width: 108px;
height: 34px;
line-height: 30px;
color: #fff;
text-align: center;
}
/*end pageLogin*/
/*Start pageContent*/
/*layout*/
body {
position:fixed;
top:0;
left:0;
right:0;
bottom:0;
font: 14px/1.5 "Helvetica Neue",Helvetica,Arial,"Heiti SC","Microsoft Yahei",sans-serif;
}
a {cursor:pointer}
.container-row,
.container-row-reverse,
.container-column,
.container-column-reverse {
display:-webkit-box;
display:-webkit-flex;
display:-ms-flexbox;
display:flex;
-webkit-flex-wrap:nowrap;
-ms-flex-wrap:nowrap;
flex-wrap:nowrap;
-webkit-box-align:center;
-webkit-align-items:center;
-ms-flex-align:center;
align-items:center;
}
.container-row {
-webkit-box-orient:horizontal;
-webkit-box-direction:normal;
-webkit-flex-direction:row;
-ms-flex-direction:row;
flex-direction:row;
width:100%;
}
.container-row-reverse {
-webkit-box-orient:horizontal;
-webkit-box-direction:reverse;
-webkit-flex-direction:row-reverse;
-ms-flex-direction:row-reverse;
flex-direction:row-reverse;
width:100%;
}
.container-column {
-webkit-box-orient:vertical;
-webkit-box-direction:normal;
-webkit-flex-direction:column;
-ms-flex-direction:column;
flex-direction:column;
height:100%;
}
.container-column-reverse {
-webkit-box-orient:vertical;
-webkit-box-direction:reverse;
-webkit-flex-direction:column-reverse;
-ms-flex-direction:column-reverse;
flex-direction:column-reverse;
height:100%;
}
.flex-size {
-webkit-box-flex:1;
-webkit-flex:1;
-ms-flex:1;
flex:1;
}
.content-center {
-webkit-box-pack:center;
-webkit-justify-content:center;
-ms-flex-pack:center;
justify-content:center;
}
.content-right {
-webkit-box-pack:flex-end;
-webkit-justify-content:flex-end;
-ms-flex-pack:flex-end;
justify-content:flex-end;
}
.align-right {
-webkit-box-align:flex-end;
-webkit-align-items:flex-end;
-ms-flex-align:flex-end;
align-items:flex-end;
}
.content-sep {
-webkit-box-flex:0;
-webkit-flex:none;
-ms-flex:none;
flex:none;
width:10px;
height:10px;
}
section {
position:relative;
display:-webkit-box;
display:-webkit-flex;
display:-ms-flexbox;
display:flex;
-webkit-box-pack:center;
-webkit-justify-content:center;
-ms-flex-pack:center;
justify-content:center;
-webkit-box-align:center;
-webkit-align-items:center;
-ms-flex-align:center;
align-items:center;
}
.header {
width: 100%;
height: 120px;
border-bottom: 22px solid #bd1a11;
}
.logo {
margin-left: 18px;
}
.main {
height: -webkit-calc(100% - 120px - 52px);
height: calc(100% - 120px - 52px);
}
/*menu*/
.menu {
width: 240px;
min-width: 240px;
padding:20px;
overflow-x:hidden;
overflow-y: auto;
}
.menu h3 {
width: 100%;
height: 30px;
line-height: 30px;
font-size: 16px;
font-weight: bold;
position: relative;background: #eee url(../img/icon.png) no-repeat 5px top;
padding-left: 30px;
border: 1px solid #ccc;
cursor: pointer;
}
.menu h3.current {
background-color: #fff;
}
.menu h3 span {
position: absolute;
display: block;
width: 16px;
height: 16px;
right: 8px;
top: 8px;
background: url(../img/icon.png) no-repeat -1px -150px;
cursor: pointer;
}
.menu h3 span.open {
background-position: -1px -165px;
}
.menu ul,.menu li {
width: 100%;
}
.menu ul {
border-left:1px solid #ccc;
border-right: 1px solid #ccc;
background-color: #fff;
padding: 6px 0;
display: none;
}.menu ul:last-child {
border-bottom: 1px solid #ccc;
}
.menu li {
padding: 2px 30px;
line-height: 20px;
}
.menu li.current a {
font-weight: bold;
text-decoration: underline;
}
.menu a {
font-size: 14px;
}
.menu h3.current+ul {
display: block;
}
.menu h3.account {
background-position: 5px top;
}
.menu h3.domain {
background-position: 5px -30px;
}
.menu h3.host {
background-position: 5px -60px;
}
.menu h3.contact {
background-position: 5px -90px;
}
.menu h3.launch {
background-position: 5px -120px;
}
.menu .logout {
display: block;
width: 100%;
font-size: 16px;
height: 30px;
line-height: 30px;
margin-top: 6px;
background: url(../img/icon.png) no-repeat 10px -180px;
padding-left: 30px;
}
/*content*/
.content {
padding: 20px 20px 20px 0;
}
.content>div {
height: 100%;
border: 1px solid #ccc;
overflow-x:hidden;
overflow-y: auto;
}
#footer {
width: 100%;
height: 52px;
background-color: #ccc;
}
/* pages
*page1: statisticPage
*page2: changePwdPage
*/
#pages>div {
display: none;
height:100%;
width:100%;
padding:1.5em;
}
#pages strong {
line-height:3em;
}
#pages pre {
background-color:#fff;
border:1px solid #eee;
padding:1.5em;
margin:1.5em 0;
white-space: pre-wrap;
}
/*statisticPage*/
/*changePwdPage*/
/*end pageContent*/