All checks were successful
continuous-integration/drone/push Build is passing
- 解压官方默认主题 default_yfMBA.tar.gz 到 clientarea/hgcloud/ - .gitignore 排除压缩包和临时解压目录 - drone 新增步骤: 同步 hgcloud 到 /clientarea/template/pc/
307 lines
5.4 KiB
Plaintext
307 lines
5.4 KiB
Plaintext
// Variables
|
|
@text-color: #1E2736;
|
|
@border-color: #E6E7EB;
|
|
@background-color: #FFFFFF;
|
|
@text-secondary: #666B80;
|
|
|
|
// Mixins
|
|
.flex-center() {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#forget {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
.flex-center();
|
|
}
|
|
|
|
.login-container {
|
|
width: 15.7rem;
|
|
height: 8.2rem;
|
|
.flex-center();
|
|
position: relative;
|
|
}
|
|
|
|
// Background panel
|
|
.container-back {
|
|
width: 15.7rem;
|
|
height: 6.8rem;
|
|
background: var(--color-primary);
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
font-family: Source Han Sans CN;
|
|
|
|
.back-text {
|
|
font-size: .27rem;
|
|
z-index: 10;
|
|
color: #FFFFFF;
|
|
margin-top: 1.39rem;
|
|
margin-left: .65rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.text-welcome {
|
|
font-size: .74rem;
|
|
font-family: Bahnschrift;
|
|
line-height: .74rem;
|
|
}
|
|
|
|
.text-title {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.text-level {
|
|
font-size: .12rem;
|
|
margin-top: .81rem;
|
|
}
|
|
|
|
.back-line1,
|
|
.back-line2,
|
|
.back-line3 {
|
|
width: 60px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.3000) 0%, rgba(255, 255, 255, 0) 100%);
|
|
z-index: 2;
|
|
position: absolute;
|
|
}
|
|
|
|
.back-line1 {
|
|
height: 5rem;
|
|
opacity: 1;
|
|
transform: rotate(45deg);
|
|
top: -1.2rem;
|
|
left: 4.15rem;
|
|
}
|
|
|
|
.back-line2 {
|
|
height: 7rem;
|
|
transform: rotate(110deg);
|
|
top: 0px;
|
|
left: 5rem;
|
|
}
|
|
|
|
.back-line3 {
|
|
height: 5rem;
|
|
transform: rotate(45deg);
|
|
top: 2.3rem;
|
|
left: 1.5rem;
|
|
}
|
|
}
|
|
|
|
// Login form
|
|
.container-before {
|
|
width: 7.5rem;
|
|
height: 8rem;
|
|
background: @background-color;
|
|
box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1000);
|
|
position: absolute;
|
|
right: .9rem;
|
|
border: 4px;
|
|
z-index: 10;
|
|
}
|
|
|
|
.login {
|
|
padding-top: .8rem;
|
|
padding-left: 1.24rem;
|
|
padding-right: 1.05rem;
|
|
font-size: 14px;
|
|
font-family: PingFang SC;
|
|
font-weight: 400;
|
|
line-height: 14px;
|
|
|
|
&-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
&-title {
|
|
font-size: .32rem;
|
|
color: @text-color;
|
|
line-height: .32rem;
|
|
}
|
|
|
|
&-regist {
|
|
font-weight: Regular;
|
|
margin-top: .08rem;
|
|
color: @text-color;
|
|
|
|
a {
|
|
color: var(--color-primary);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-form {
|
|
margin-top: .68rem;
|
|
}
|
|
|
|
&-top {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
&-email,
|
|
&-phone {
|
|
height: .34rem;
|
|
color: @text-secondary;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&-phone {
|
|
margin-left: .4rem;
|
|
}
|
|
}
|
|
|
|
.active {
|
|
color: var(--color-primary);
|
|
border-bottom: 2px solid var(--color-primary);
|
|
}
|
|
|
|
.form-main {
|
|
margin-top: .3rem;
|
|
}
|
|
|
|
.form-item {
|
|
margin-top: .3rem;
|
|
}
|
|
|
|
.input-with-select {
|
|
.el-input-group__prepend {
|
|
background: @background-color;
|
|
width: 60px;
|
|
}
|
|
}
|
|
|
|
.code-item {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.code-btn {
|
|
margin-left: .1rem;
|
|
background: var(--color-primary);
|
|
color: @background-color;
|
|
}
|
|
|
|
.rember-item {
|
|
margin-top: .2rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
a {
|
|
color: var(--color-primary);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.login-btn {
|
|
width: 100%;
|
|
height: 46px;
|
|
background: var(--color-primary);
|
|
}
|
|
|
|
.read-item {
|
|
margin-top: .2rem;
|
|
|
|
a {
|
|
color: var(--color-primary);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.line-item {
|
|
margin-top: .4rem;
|
|
|
|
text {
|
|
font-size: 16px;
|
|
color: @text-color;
|
|
}
|
|
}
|
|
|
|
.type-btn {
|
|
width: 100%;
|
|
height: 0.46rem;
|
|
font-size: .16rem;
|
|
}
|
|
|
|
// Media queries
|
|
@media screen and (max-width: 750px) {
|
|
.login-container {
|
|
height: calc(100vh - 1.2rem);
|
|
width: 100vw;
|
|
background: #F2F2FE;
|
|
padding: .6rem 0;
|
|
}
|
|
|
|
.container-back {
|
|
display: none;
|
|
}
|
|
|
|
.container-before {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0rem .3rem;
|
|
position: unset;
|
|
z-index: 0;
|
|
}
|
|
|
|
.login {
|
|
padding-top: 1.17rem;
|
|
padding-left: .3rem;
|
|
padding-right: .3rem;
|
|
font-size: .26rem;
|
|
line-height: .3rem;
|
|
|
|
&-text {
|
|
&-title {
|
|
font-size: .4rem;
|
|
}
|
|
|
|
&-regist {
|
|
margin-top: .1rem;
|
|
font-size: .28rem;
|
|
}
|
|
}
|
|
|
|
&-form {
|
|
margin-top: 1.21rem;
|
|
}
|
|
|
|
&-email,
|
|
&-phone {
|
|
height: .34rem;
|
|
width: 100%;
|
|
text-align: center;
|
|
color: @text-secondary;
|
|
cursor: pointer;
|
|
padding-bottom: .13rem;
|
|
}
|
|
}
|
|
|
|
.el-checkbox__label {
|
|
font-size: .26rem;
|
|
}
|
|
|
|
.read-item {
|
|
line-height: .3rem;
|
|
}
|
|
|
|
.login-btn {
|
|
font-size: .34rem;
|
|
height: 0.8rem;
|
|
}
|
|
|
|
.type-btn {
|
|
border: none;
|
|
color: var(--color-primary);
|
|
font-size: .34rem;
|
|
}
|
|
}
|