mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
refactor: login page (#259)
This commit is contained in:
@@ -47,141 +47,6 @@
|
||||
font: bold 200% Consolas, Monaco, monospace;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 7% 93%;
|
||||
margin: 25px 0;
|
||||
padding: 5px 0;
|
||||
border-bottom: 2px solid #d9d9d9;
|
||||
}
|
||||
|
||||
.input-group:nth-child(1) {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.input-group::before,
|
||||
.input-group::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: -2px;
|
||||
width: 0;
|
||||
height: 2px;
|
||||
background-color: #c5d3f7;
|
||||
transition: 0.5s;
|
||||
}
|
||||
|
||||
.input-group::after {
|
||||
right: 50%;
|
||||
}
|
||||
|
||||
.input-group::before {
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
.icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.icon svg {
|
||||
color: #d9d9d9;
|
||||
transition: 0.5s;
|
||||
}
|
||||
|
||||
.input-group > div {
|
||||
position: relative;
|
||||
height: 45px;
|
||||
}
|
||||
|
||||
.input-group > div > h5 {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: #d9d9d9;
|
||||
font-size: 18px;
|
||||
transition: 0.3s;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.input-group.focus .icon svg {
|
||||
color: #5392f0;
|
||||
}
|
||||
|
||||
.input-group.focus div h5 {
|
||||
top: -5px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.input-group.focus::after,
|
||||
.input-group.focus::before {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.input {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
border: none;
|
||||
outline: none;
|
||||
background: none;
|
||||
padding: 0.5rem 0.7rem;
|
||||
font-size: 1.2rem;
|
||||
color: #555;
|
||||
font-family: "Roboto", sans-serif;
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
text-align: right;
|
||||
text-decoration: none;
|
||||
color: #999;
|
||||
font-size: 0.9rem;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #5392f0;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
border-radius: 25px;
|
||||
margin: 1rem 0;
|
||||
font-size: 1.2rem;
|
||||
outline: none;
|
||||
border: none;
|
||||
background-image: linear-gradient(to right, #567dbe, #5392f0, #567dbe);
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
font-family: "Roboto", sans-serif;
|
||||
background-size: 200%;
|
||||
transition: 0.5s;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background-position: right;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
bottom: 2px;
|
||||
color: #5392f0;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
font-family: "Roboto", sans-serif;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1080px) {
|
||||
.login-container {
|
||||
grid-gap: 9rem;
|
||||
|
||||
Reference in New Issue
Block a user