@doreamonjs/gate
Version:
gate for doreamonjs
182 lines (155 loc) • 3.77 kB
text/less
@gate-global-lockscreen: doreamonjs-design-gate-global-lockscreen;
.@{gate-global-lockscreen}.container {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
z-index: 100000;
display: flex;
justify-content: center;
align-items: center;
background-size: cover;
background-color: #2E2F30;
// background-image: url(http://pig.pigx.top/static/img/login.e334716.png);
.content {
margin-top: -260px;
text-align: center;
.logoWrapper {
position: relative;
width: 100%;
height: 64px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 80px;
&>span {
display: flex;
align-items: center;
img {
width: 32px;
height: 32px;
margin-right: 12px;
margin-left: -6px;
}
:global {
.name {
color: #fff;
font-size: 32px;
}
}
}
}
.avatarWrapper {
display: flex;
justify-content: center;
align-items: center;
// margin-top: -100px;
padding-bottom: 40px;
.avatar {
width: 100px;
height: 100px;
}
}
.manual {
position: relative;
font-size: 14px;
display: inline-table;
border-collapse: separate;
.input {
-webkit-appearance: none;
background-color: #fff;
background-image: none;
border-radius: 4px;
border: 1px solid #dcdfe6;
box-sizing: border-box;
color: #606266;
display: inline-block;
font-size: inherit;
height: 40px;
line-height: 40px;
outline: 0;
padding: 0 15px;
transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
width: 100%;
vertical-align: middle;
display: table-cell;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.actions {
background-color: #f5f7fa;
color: #909399;
vertical-align: middle;
display: table-cell;
position: relative;
border: 1px solid #dcdfe6;
border-radius: 4px;
padding: 0 20px;
width: 1px;
white-space: nowrap;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-left: 0;
.action {
line-height: 1;
white-space: nowrap;
cursor: pointer;
background: #fff;
border: 1px solid #dcdfe6;
-webkit-appearance: none;
text-align: center;
box-sizing: border-box;
outline: 0;
transition: .1s;
padding: 12px 20px;
border-radius: 4px;
display: inline-block;
margin: -10px -20px;
color: #606266;
font-weight: 500;
font-size: 14px;
border-color: transparent;
background-color: transparent;
color: inherit;
border-top: 0;
border-bottom: 0;
}
}
}
}
.times {
color: #fff;
position: absolute;
right: 50px;
bottom: 50px;
.date {
font-size: 20px;
letter-spacing: .3;
text-align: right
}
.time {
text-align: right;
&>li {
font-family: Roboto;
font-size: 60px;
font-weight: 900;
display: inline-block;
text-align: right;
&:not(.point) {
width: 69px;
}
&.point {
padding: 0 4px;
position: relative;
top: -5px;
left: 5px;
:global {
animation: flash 1s ease 0s infinite normal none;
}
}
}
}
}
}