Cosas del login, ademas de crear admin panel
This commit is contained in:
61
public/css/admin.css
vendored
Normal file
61
public/css/admin.css
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
body {
|
||||
margin: 0;
|
||||
color: #212121;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 20ch;
|
||||
border-right: 1px solid #f2f2f2;
|
||||
}
|
||||
|
||||
.sidebar .items {
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
-webkit-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-justify-content: flex-start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.sidebar .item {
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
.sidebar .end {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.sidebar .end a {
|
||||
padding: 2em 0;
|
||||
}
|
||||
|
||||
.sidebar a,
|
||||
.sidebar span {
|
||||
display: block;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
letter-spacing: 0.2rem;
|
||||
text-decoration: none;
|
||||
color: #212121;
|
||||
}
|
||||
|
||||
.sidebar a:hover {
|
||||
color: #0fa0ce;
|
||||
}
|
||||
|
||||
.sidebar span {
|
||||
font-size: 1.2rem;
|
||||
margin: 2em 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-left: 20ch;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
33
public/css/app.css
vendored
33
public/css/app.css
vendored
@@ -19,6 +19,38 @@ a {
|
||||
color: #212121;
|
||||
}
|
||||
|
||||
form label {
|
||||
display: block;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
form input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 2em;
|
||||
border: 1px solid #212121;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 1em;
|
||||
padding: 0.4em;
|
||||
}
|
||||
|
||||
button {
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
color: #212121;
|
||||
border: 1px solid #212121;
|
||||
border-radius: 4px;
|
||||
background-color: #fff;
|
||||
font-weight: bold;
|
||||
height: 3em;
|
||||
padding: 0 3em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
@@ -29,6 +61,7 @@ a {
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.navbar-item a {
|
||||
|
||||
Reference in New Issue
Block a user