Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
222 changes: 222 additions & 0 deletions src/main/resources/static/css/01.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
body,
html {
font-family: Arial, Helvetica, sans-serif;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
display: inline-block;

}

.page {
display: flex;
flex-flow: row;
flex-wrap: nowrap;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
/* background: url(img/login.jpg); */
background:url(../img/login.jpg) ;
background-size: cover;
}

.login {
display: inline-block;
position: relative;
}

.login_visible {
position: relative;
overflow: hidden;
box-shadow: 0px 0px 15px white;
}

.login_title {
margin-top: .5em;
margin-bottom: 1.2em;
color: #0044BB;
text-align: center;
}

.login_content {
padding: 20px;
background-color: white;
z-index: 0;
position: relative;
}

.login_content-overlay {
position: absolute;
top: 0;
left: 100%;
height: 100%;
z-index: 10;
}

.login_content.animate {
animation: movePanel 1s forwards;
}

@keyframes movePanel {
0%,
30% {
transform: translateX(0%);
}
35%,
100% {
transform: translateX(-100%);
}
}

.login_content.animateOut {
animation: movePanelOut 3s forwards;
}

@keyframes movePanelOut {
0%,
30% {
transform: translateX(-100%);
}
35%,
100% {
transform: translateX(0%);
}
}

.panel_back {
position: absolute;
z-index: 20;
top: 50%;
left: 0;
width: 105%;
transform: translate(90%, -50%);
}

.panel_back.animate {
animation: move 2s forwards;
}

@keyframes move {
0% {
transform: translate(70%, -50%);
z-index: 20;
}
15% {
transform: translate(140%, -50%);
z-index: 10;
}
75% {
transform: translate(-120%, -50%);
z-index: 10;
}
100% {
transform: translate(-50%, -50%);
z-index: 0;
}
}

.panel_back.animateOut {
transform: translate(-50%, -50%);
animation: moveOut 1s forwards;
}

@keyframes moveOut {
0% {
transform: translate(-50%, -50%);
z-index: 0;
}
15% {
transform: translate(-120%, -50%);
z-index: 10;
}
100% {
transform: translate(90%, -50%);
z-index: 10;
}
}

.login_img {
width: 100%;
display: block;
background-color: white;
box-shadow: 0px 0px 15px white;
}
/* Form */

.form {
box-sizing: border-box;
}

.form_label {
display: block;
color: #3D3D3D;
font-weight: 700;
margin-bottom: 5px;
}

.form_input {
border-radius: 4px;
background-color: #f2f2f2;
box-shadow: 0px 2px 2px #d6d6d6;
border: none;
padding: 2%;
margin-bottom: 15px;
width: 380px;
box-sizing: border-box;
position: relative;
}

.form_input:focus {
box-shadow: none;
outline-color: #99BBFF;
background-color: antiquewhite;
}

.form_input::after {
content: "👁️";
position: absolute;
top: 0;
left: 0;
height: 50px;
width: 50px;
background-color: red;
}

.form_btn {
margin-top: 1.2em;
margin-bottom: 2em;
display: block;
width: 100%;
background-color: #99BBFF;
color: white;
border: none;
padding: .6em;
text-transform: uppercase;
font-weight: 500;
font-size: 1.5em;
border-radius: 3px;
cursor: pointer;
}

.form_toggle {
background-color: transparent;
border: none;
padding: 0;
margin: 0;
font-size: 1.2em;
box-sizing: border-box;
border-bottom: 1px solid transparent;
cursor: pointer;
color: rgb(179, 165, 241);
}

.form_toggle:hover {
border-bottom: 1px solid #e6de71;
}

.form_toggle:focus {
outline: none;
border-bottom: 1px solid #167cc0;
}
Loading