You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
324 lines
5.6 KiB
324 lines
5.6 KiB
@import url("./Vue/css/reset.css");
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family-Poppins:wght@400;600&display-swap');
|
|
|
|
body {
|
|
font-family: 'Poppins', sans-serif;
|
|
min-height: 100vh;
|
|
background: linear-gradient(to right, #B7FBFB,#38B6FF);
|
|
display: flex;
|
|
font-family: sans-serif;
|
|
background-color: #81d4fa;
|
|
font-weight: bold;
|
|
align-items: center;
|
|
justify-content: center;
|
|
-webkit-user-select: none; /* Safari */
|
|
-ms-user-select: none; /* IE 10 and IE 11 */
|
|
user-select: none;
|
|
}
|
|
|
|
body::before {
|
|
content: '';
|
|
position: absolute;
|
|
background: rgba(255,255,255, .15);
|
|
inset: 0;
|
|
transform: rotate(-5deg);
|
|
z-index: -1;
|
|
}
|
|
|
|
/* Model */
|
|
|
|
.model {
|
|
width: 450px;
|
|
background: rgba(255,255,255, .5);
|
|
padding: 4rem;
|
|
border-radius: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.model::before {
|
|
content: '';
|
|
position: absolute;
|
|
background: rgba(255,255,255, .20);
|
|
inset: 0;
|
|
transform: rotate(-5deg);
|
|
z-index: -1;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.main-logo {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.main-logo img {
|
|
width: 200px;
|
|
}
|
|
|
|
.main-logo, .login-card-header,.login-card-footer {
|
|
text-align: center;
|
|
}
|
|
|
|
.BoutonVisiteur {
|
|
display: flex;
|
|
align-items: center;
|
|
color: rgba(0, 0, 0, .4);
|
|
width: 150px;
|
|
height: 50px;
|
|
background: rgba(255,255,255,.3);
|
|
padding: 1rem 1.5rem;
|
|
border-radius: 30px;
|
|
}
|
|
|
|
.BoutonVisiteur:hover {
|
|
background: white;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.model a{
|
|
text-decoration: none;
|
|
color: #35339a;
|
|
}
|
|
|
|
.model a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.login-card-header {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.login-card-header h1 {
|
|
font-size: 2rm;
|
|
font-weight: 600;
|
|
margin-bottom: .5rem;
|
|
}
|
|
|
|
.login-card-header h1 + div {
|
|
font-size: calc(1rem * .8);
|
|
opacity: .8;
|
|
}
|
|
|
|
.login-card-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.login-card-form .form-item {
|
|
position: relative;
|
|
}
|
|
|
|
.login-card-form .form-item .form-item-icon {
|
|
position: absolute;
|
|
top:.82rem;
|
|
left: 1.4rem;
|
|
font-size: 1.3rem;
|
|
opacity: .4;
|
|
}
|
|
|
|
/*CheckBox*/
|
|
|
|
.check {
|
|
cursor: pointer;
|
|
position: relative;
|
|
margin: auto;
|
|
width: 18px;
|
|
height: 18px;
|
|
-webkit-tap-highlight-color: transparent;
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
.check:before {
|
|
content: "";
|
|
position: absolute;
|
|
top: -20px;
|
|
left: -15px;
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
background: rgba(34,50,84,0.03);
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
.check svg {
|
|
position: relative;
|
|
z-index: 1;
|
|
fill: none;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
stroke: #c8ccd4;
|
|
stroke-width: 1.5;
|
|
transform: translate3d(0, 0, 0);
|
|
transition: all 0.2s ease;
|
|
}
|
|
.check svg path {
|
|
stroke-dasharray: 60;
|
|
stroke-dashoffset: 0;
|
|
}
|
|
.check svg polyline {
|
|
stroke-dasharray: 22;
|
|
stroke-dashoffset: 66;
|
|
}
|
|
.check:hover:before {
|
|
opacity: 1;
|
|
}
|
|
.check:hover svg {
|
|
stroke: #4285f4;
|
|
}
|
|
#cbx:checked + .check svg {
|
|
stroke: #4285f4;
|
|
}
|
|
#cbx:checked + .check svg path {
|
|
stroke-dashoffset: 60;
|
|
transition: all 0.3s linear;
|
|
}
|
|
#cbx:checked + .check svg polyline {
|
|
stroke-dashoffset: 42;
|
|
transition: all 0.2s linear;
|
|
transition-delay: 0.15s;
|
|
}
|
|
|
|
.login-card-form .form-item-other {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: calc(1rem*.8);
|
|
margin-bottom: .5rem;
|
|
}
|
|
|
|
.login-card-footer {
|
|
margin-top: 1.5rem;
|
|
font-size: calc(1rem*.8);
|
|
}
|
|
|
|
.model input[type="text"],
|
|
.model input[type="password"],
|
|
.model input[type="email"] {
|
|
border: none;
|
|
outline: none;
|
|
background: rgba(255,255,255,.3);
|
|
padding: 1rem 1.5rem;
|
|
padding-left: calc(1rem * 3.5);
|
|
border-radius: 100px;
|
|
width: 100%;
|
|
transition: background .5s;
|
|
}
|
|
|
|
.model input:focus {
|
|
background: white;
|
|
}
|
|
|
|
.model input[type="checkbox"] {
|
|
width: 16px;
|
|
height: 16px;
|
|
accent-color: black;
|
|
}
|
|
|
|
.login-card-form button:hover {
|
|
background-color: rgba(84,192,255,.85);
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Les réseaux social **/
|
|
|
|
.social {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
text-align: center;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.social > div {
|
|
opacity: .8;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
font-size: calc(1rem * .8);
|
|
}
|
|
|
|
.lesLogo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.lesLogo a {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: black;
|
|
width: 50px;
|
|
height: 50px;
|
|
background: rgba(255, 255, 255, .6);
|
|
border-radius: 100px;
|
|
transition: all .5s;
|
|
}
|
|
|
|
.lesLogo a:hover {
|
|
background: white;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
/* Button */
|
|
|
|
|
|
.mon-button{
|
|
font-family: 'Poppins', sans-serif;
|
|
font-weight: bold;
|
|
border-color: transparent;
|
|
background-color: transparent;
|
|
color: #35339a;
|
|
}
|
|
|
|
.mon-button:hover{
|
|
text-decoration: underline 1px;
|
|
}
|
|
|
|
.button-body{
|
|
background: #38b6ff;
|
|
color: white;
|
|
padding: 1rem;
|
|
border-radius: 100px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
transition: background .5s;
|
|
}
|
|
|
|
.ErreurText{
|
|
color: red;
|
|
font-size: 0.7rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.button{
|
|
border-color: #38b6ff;
|
|
height: 2rem;
|
|
width: 5rem;
|
|
margin-left: 1rem;
|
|
margin-bottom: 1rem;
|
|
font-size: 90%;
|
|
align-items: center;
|
|
border-radius: 12px;
|
|
background-color: #38b6ff;
|
|
color: white;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.button:hover {
|
|
background-color: #6fc7fa;
|
|
}
|
|
|
|
|
|
/* Responsive */
|
|
|
|
@media (max-width: 768px) {
|
|
body {
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
.login-card {
|
|
width: 300px;
|
|
padding: 2rem;
|
|
}
|
|
} |