parent
28a8f1f5c2
commit
0c09742cb9
After Width: | Height: | Size: 11 KiB |
@ -0,0 +1,82 @@
|
|||||||
|
/***
|
||||||
|
The new CSS reset - version 1.7.2 (last updated 23.6.2022)
|
||||||
|
GitHub page: https://github.com/elad2412/the-new-css-reset
|
||||||
|
***/
|
||||||
|
|
||||||
|
/*
|
||||||
|
Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
|
||||||
|
- The "symbol *" part is to solve Firefox SVG sprite bug
|
||||||
|
*/
|
||||||
|
*:where(:not(html, iframe, canvas, img, svg, video):not(svg *, symbol *)) {
|
||||||
|
display: revert;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Preferred box-sizing value */
|
||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Reapply the pointer cursor for anchor tags */
|
||||||
|
a, button {
|
||||||
|
cursor: revert;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove list styles (bullets/numbers) */
|
||||||
|
ol, ul, menu {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* For images to not be able to exceed their container */
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* removes spacing between cells in tables */
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
|
||||||
|
input, textarea {
|
||||||
|
-webkit-user-select: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* revert the 'white-space' property for textarea elements on Safari */
|
||||||
|
textarea {
|
||||||
|
white-space: revert;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* minimum style to allow to style meter element */
|
||||||
|
meter {
|
||||||
|
-webkit-appearance: revert;
|
||||||
|
appearance: revert;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* reset default text opacity of input placeholder */
|
||||||
|
::placeholder {
|
||||||
|
color: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* fix the feature of 'hidden' attribute.
|
||||||
|
display:revert; revert to element instead of attribute */
|
||||||
|
:where([hidden]) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* revert for bug in Chromium browsers
|
||||||
|
- fix for the content editable attribute will work properly.
|
||||||
|
- webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
|
||||||
|
:where([contenteditable]:not([contenteditable="false"])) {
|
||||||
|
-moz-user-modify: read-write;
|
||||||
|
-webkit-user-modify: read-write;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
-webkit-line-break: after-white-space;
|
||||||
|
-webkit-user-select: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* apply back the draggable feature - exist only in Chromium and Safari */
|
||||||
|
:where([draggable="true"]) {
|
||||||
|
-webkit-user-drag: element;
|
||||||
|
}
|
@ -0,0 +1,192 @@
|
|||||||
|
@import url("reset.css");
|
||||||
|
|
||||||
|
@import url('https://fonts.googleapis.com/css2?family-Poppins:wght@400;600&display-swap');
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: 'Poppinq', sans-serif;
|
||||||
|
min-height: 100vh;
|
||||||
|
background: linear-gradient(to right, #ffffff,#38B6FF);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.model {
|
||||||
|
width: 450px;
|
||||||
|
background: rgba(255,255,255, .5);
|
||||||
|
padding: 4rem;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-radius: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.model::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
background: rgba(255,255,255, .15);
|
||||||
|
inset: 0;
|
||||||
|
transform: rotate(-5deg);
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-logo {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-logo img {
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-logo, .login-card-header,.login-card-footer {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-card-form .checkbox{
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
.model button {
|
||||||
|
background: #38b6ff;
|
||||||
|
color: white;
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 100px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
transition: background .5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-card-form button:hover {
|
||||||
|
background-color: rgba(84,192,255,.85);
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive */
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
body {
|
||||||
|
padding: 2rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-card {
|
||||||
|
width: 300px;
|
||||||
|
padding: 2rem;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,73 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Login Page</title>
|
||||||
|
<link rel="stylesheet" href="Vue/css/style.css">
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,300,0,0" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="main">
|
||||||
|
<div class="model">
|
||||||
|
<div class="main-logo">
|
||||||
|
<img src="Vue/Images/Logo.png" alt="logo">
|
||||||
|
</div>
|
||||||
|
<div class="login-card-header">
|
||||||
|
<h1>Sign In</h1>
|
||||||
|
<div>Please login to use platform</div>
|
||||||
|
</div>
|
||||||
|
<form class="login-card-form">
|
||||||
|
<div class="form-item">
|
||||||
|
<span class="form-item-icon material-symbols-rounded">mail</span>
|
||||||
|
<input type="text" placeholder="Enter Mail" required autofocus>
|
||||||
|
</div>
|
||||||
|
<div class="form item">
|
||||||
|
<span class="form-item-icon material-symbols-rounded">lock</span>
|
||||||
|
<input type="password" placeholder="Enter Password" required >
|
||||||
|
</div>
|
||||||
|
<div class="form-item-other">
|
||||||
|
<div class="checkbox">
|
||||||
|
<input type="checkbox" id="rememberMeCheckbox">
|
||||||
|
<label for="rememberMeCheckBox">Se souvenir de moi</label>
|
||||||
|
</div>
|
||||||
|
<a href="#">Oublie de mot de passe</a>
|
||||||
|
</div>
|
||||||
|
<button type="submit">Sign In</button>
|
||||||
|
</form>
|
||||||
|
<div class="login-card-footer">
|
||||||
|
Pas de compte? <a href="Vue/html/inscription.html">Creer un compte</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="social">
|
||||||
|
<div>Autre plateforme</div>
|
||||||
|
<div class="lesLogo">
|
||||||
|
<a href="#">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-instagram" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||||
|
<rect x="4" y="4" width="16" height="16" rx="4"></rect>
|
||||||
|
<circle cx="12" cy="12" r="3"></circle>
|
||||||
|
<line x1="16.5" y1="7.5" x2="16.5" y2="7.501"></line>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
<a href="#">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-google" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||||
|
<path d="M17.788 5.108a9 9 0 1 0 3.212 6.892h-8"></path>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
<a href="#">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-twitter" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||||
|
<path d="M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c-.002 -.249 1.51 -2.772 1.818 -4.013z"></path>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in new issue