Files
BlackFruit-UI/clientarea/hgcloud/css/login.css
yiqiu 3b41cffbc9
All checks were successful
continuous-integration/drone/push Build is passing
feat: 会员中心 hgcloud 主题初始化 + drone 部署步骤
- 解压官方默认主题 default_yfMBA.tar.gz 到 clientarea/hgcloud/
- .gitignore 排除压缩包和临时解压目录
- drone 新增步骤: 同步 hgcloud 到 /clientarea/template/pc/
2026-03-19 17:56:44 +08:00

392 lines
6.8 KiB
CSS

[v-cloak] {
display: none;
}
.lang-option {
display: flex;
align-items: center;
column-gap: 5px;
}
.lang-option .lang-img {
width: 30px;
height: 20px;
display: inline-block;
vertical-align: middle;
}
.read-text {
flex: 1;
font-size: 14px;
line-height: 19px;
padding: 0 10px;
color: #606266;
font-weight: 500;
}
#login {
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}
.login-container {
width: 15.7rem;
height: 8.2rem;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.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;
}
.container-back .back-text {
font-size: 0.27rem;
z-index: 10;
color: #ffffff;
margin-top: 1.39rem;
margin-left: 0.65rem;
font-weight: 400;
}
.container-back .text-welcome {
font-size: 0.74rem;
font-family: Bahnschrift;
line-height: 0.74rem;
}
.container-back .text-title {
margin-top: 5px;
}
.container-back .text-level {
font-size: 0.12rem;
margin-top: 0.81rem;
}
.back-line1,
.back-line2,
.back-line3 {
width: 0.6rem;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 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: 0;
left: 5rem;
}
.back-line3 {
height: 5rem;
transform: rotate(45deg);
top: 2.3rem;
left: 1.5rem;
clip-path: polygon(0px 0.3rem, 0.64rem 0px, 100% 100%, 0 100%);
}
.container-before {
width: 7.5rem;
height: 8rem;
background: #ffffff;
box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1);
position: absolute;
right: 0.9rem;
border: 4px;
z-index: 10;
}
.login {
padding-top: 0.8rem;
padding-left: 1.24rem;
padding-right: 1.05rem;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 14px;
position: relative;
}
.login .lang-box {
position: absolute;
right: 0.1rem;
top: 0.1rem;
}
.login .qr-code {
position: absolute;
right: 1.05rem;
top: 0.8rem;
cursor: pointer;
width: 0.48rem;
height: 0.48rem;
}
.login .qr-code .login-icon {
fill: var(--color-primary);
width: 100%;
height: 100%;
}
.login .qr-box {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.login .qr-box .qr-box-img {
width: 200px;
height: 200px;
position: relative;
}
.login .qr-box .qr-box-img img {
cursor: pointer;
width: 100%;
height: 100%;
}
.login .qr-box .qr-box-img .qr-expire-time {
position: absolute;
top: 0;
left: 0;
z-index: 2;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 8px;
background: rgba(0, 0, 0, 0.5);
color: #ffffff;
font-size: 14px;
font-weight: 500;
line-height: 14px;
cursor: pointer;
}
.login .qr-box .qr-box-img .qr-expire-time .el-icon-refresh-right {
font-size: 30px;
}
.login .qr-box .qr-box-tips {
margin-top: 10px;
font-size: 14px;
color: #666;
}
.login .qr-box-select-account {
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.2rem;
width: 100%;
height: 100%;
padding: 0.2rem;
border-radius: 10px;
border: 1px solid #e5e5e5;
}
.login .qr-box-select-account .qr-box-back {
width: 100%;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 5px;
font-size: 16px;
color: var(--color-primary);
cursor: pointer;
}
.login .qr-box-select-account .qr-box-select-account-title {
font-size: 14px;
color: #666;
}
.login-text {
display: flex;
flex-direction: column;
}
.login-text-title {
font-size: 0.32rem;
color: #1e2736;
line-height: 0.32rem;
}
.login-text-regist {
font-weight: Regular;
margin-top: 0.08rem;
color: #1e2736;
}
.login-text-regist a {
color: var(--color-primary);
cursor: pointer;
}
.login-form {
margin-top: 0.68rem;
}
.login-top {
display: flex;
flex-direction: row;
}
.login-email,
.login-phone {
height: 0.34rem;
color: #666b80;
cursor: pointer;
}
.active {
color: var(--color-primary);
border-bottom: 2px solid var(--color-primary);
}
.login-email {
margin-right: 0.4rem;
}
.form-main {
margin-top: 0.3rem;
}
.form-item {
margin-top: 0.3rem;
}
.input-with-select .el-input-group__prepend {
background: #ffffff;
width: 60px;
}
.code-item {
display: flex;
flex-direction: row;
}
.code-btn {
margin-left: 0.1rem;
color: #ffffff;
}
.rember-item {
margin-top: 0.2rem;
display: flex;
align-items: center;
justify-content: space-between;
line-height: 1.5;
}
.rember-item a {
color: var(--color-primary);
cursor: pointer;
}
.login-btn {
width: 100%;
height: 46px;
}
.pass-btn {
width: 100%;
height: 46px;
margin-left: 0 !important;
margin-top: 0.15rem;
}
.read-item {
margin-top: 0.2rem;
}
.read-item a {
color: var(--color-primary);
cursor: pointer;
}
.line-item {
margin-top: 0.4rem;
}
.line-item text {
font-size: 16px;
color: #1e2736;
}
.type-btn {
width: 100%;
height: 46px;
font-size: 0.16rem;
}
.login-type {
display: flex;
align-items: center;
column-gap: 0.15rem;
flex-wrap: wrap;
}
.a-text {
color: var(--color-primary);
cursor: pointer;
margin-right: 5px;
}
.oauth-item {
display: flex;
align-items: center;
padding: 10px;
cursor: pointer;
}
.oauth-item:hover .oauth-img {
filter: brightness(0.8);
}
.oauth-img {
width: 40px;
height: 40px;
}
@media screen and (max-width: 750px) {
.login-container {
height: calc(100vh - 1.2rem);
width: 100vw;
background: #f2f2fe;
padding: 0.6rem 0;
}
.container-back {
display: none;
}
.container-before {
width: 100%;
height: 100%;
margin: 0rem 0.3rem;
position: unset;
z-index: 0;
}
.login {
padding-top: 1.17rem;
padding-left: 0.3rem;
padding-right: 0.3rem;
font-size: 0.26rem;
line-height: 0.3rem;
}
.login .qr-code {
right: 0.3rem;
top: 1.17rem;
cursor: pointer;
}
.login-text-title {
font-size: 0.4rem;
}
.login-text-regist {
margin-top: 0.16rem;
font-size: 0.28rem;
}
.login-form {
margin-top: 1.21rem;
}
.form-main {
margin-top: 0.6rem;
}
.login-email,
.login-phone {
height: 0.34rem;
width: 100%;
text-align: center;
color: #666b80;
cursor: pointer;
padding-bottom: 0.13rem;
}
.el-checkbox__label {
font-size: 0.22rem;
}
.read-item {
line-height: 0.3rem;
}
.login-btn {
font-size: 0.34rem;
height: 0.8rem;
}
.type-btn {
border: none;
color: var(--color-primary);
font-size: 0.34rem;
}
}