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
1 change: 1 addition & 0 deletions Maquetado/scss/application.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import 'equalizer';
@import 'book-details';
@import 'book-list';
@import 'login';
2 changes: 1 addition & 1 deletion Maquetado/scss/book-details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import 'mixins';

.back-buttom {
display: flex;
display: inline-flex;
align-items: center;
margin: 2% 8%;

Expand Down
57 changes: 57 additions & 0 deletions Maquetado/scss/login.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
@import 'colors';

.login-body {
background-color: $white;
display: flex;
justify-content: center;
}

.login {
background-color: $wild-sand;
border-top: 5px solid $cerulean;
display: flex;
flex-flow: column nowrap;
margin: 12.5%;
padding: 20px 30px;
width: 300px;

.logo-image {
margin: 8px;
}

.form-login {
display: flex;
flex-flow: column nowrap;
padding: 8% 0;
row-gap: 10px;

#email,
#password,
.login-buttom,
.sign-up-buttom {
padding: 5px;
border-radius: 5px;
}

.login-buttom,
.sign-up-buttom {
display: flex;
justify-content: center;
}

.login-buttom {
background-color: $earls-green;
margin-top: 15px;
}

.border-line {
border-top: 2px solid $gray;
margin: 10px 0;
}

.sign-up-buttom {
border: 2px solid $earls-green;
color: $earls-green;
}
}
}
2 changes: 1 addition & 1 deletion Maquetado/views/book-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
alt="logo-navbar"
/>
</li>
<li><a href="#">Logout</a></li>
<li><a href="./login.html">Logout</a></li>
</ul>
</nav>
</header>
Expand Down
29 changes: 29 additions & 0 deletions Maquetado/views/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<title>HTML & CSS Training</title>
<meta name="description" content="training" />
<meta name="author" content="Wolox" />
<link rel="stylesheet" type="text/css" href="../application.css" />
</head>
<body class="login-body">
<div class="login">
<img
src="../images/logo-wolox.png"
class="logo-image"
alt="logo-navbar"
/>
<form class="form-login">
<label for="email">Email</label>
<input type="text" id="email" name="email" />
<label for="password">Password</label>
<input type="password" id="password" name="password" />
<a href="./book-list.html" class="login-buttom">Login</a>
<div class="border-line"></div>
<a href="#" class="sign-up-buttom">Sign Up</a>
</form>
</div>
</body>
</html>