forked from OrgGo/Tasks
login page looks more modern now
This commit is contained in:
parent
53f720ba34
commit
a6d9a109c0
|
@ -18,6 +18,21 @@ Layout
|
|||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.loginbutton {
|
||||
height: 38px;
|
||||
padding: 8px 12px;
|
||||
font-size: 14px;
|
||||
line-height: 1.428571429;
|
||||
color: #555;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
||||
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
|
||||
}
|
||||
|
||||
.comment {
|
||||
padding-left: 25px;
|
||||
padding-right: 25px;
|
||||
|
@ -50,8 +65,8 @@ ul{
|
|||
height: 30px;
|
||||
width: auto;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
@ -93,6 +108,7 @@ textarea {
|
|||
float: right;
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------
|
||||
Navbar
|
||||
-------------------------------------- */
|
||||
|
@ -100,7 +116,6 @@ Navbar
|
|||
.mainHeader {
|
||||
background-color: #3f51b5;
|
||||
border-radius: 0px;
|
||||
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
|
@ -143,9 +158,11 @@ nav .glyphicon:hover{
|
|||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------
|
||||
NotesFeed
|
||||
-------------------------------------- */
|
||||
|
||||
.overdue {
|
||||
color: red;
|
||||
margin-top: 1px;
|
||||
|
@ -162,10 +179,10 @@ NotesFeed
|
|||
margin-bottom: 0px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
}
|
||||
|
||||
.noteHeading a {
|
||||
|
@ -195,7 +212,9 @@ hr{
|
|||
height: 20px;
|
||||
}
|
||||
|
||||
|
||||
/* These are the classes that are going to be applied: */
|
||||
|
||||
.column {
|
||||
float: left;
|
||||
}
|
||||
|
@ -209,15 +228,16 @@ hr{
|
|||
box-shadow: 1px 1px 2px 1px #7D7470;
|
||||
border-radius: 4px 4px 4px 4px;
|
||||
height: auto;
|
||||
|
||||
}
|
||||
|
||||
.note:hover {
|
||||
border-bottom: 2px solid black;
|
||||
}
|
||||
|
||||
.menu a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.menu li {
|
||||
margin-top: -10px;
|
||||
list-style: none;
|
||||
|
@ -226,6 +246,7 @@ hr{
|
|||
height: 15px;
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------
|
||||
Navigation drawer
|
||||
-------------------------------------- */
|
||||
|
@ -243,11 +264,10 @@ Navigation drawer
|
|||
color: black;
|
||||
}
|
||||
|
||||
|
||||
.col-sm-2 a.list-group-item:hover,a.list-group-item:focus{
|
||||
.col-sm-2 a.list-group-item:hover,
|
||||
a.list-group-item:focus {
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
|
||||
}
|
||||
|
||||
body {
|
||||
|
@ -271,9 +291,11 @@ body{
|
|||
float: right;
|
||||
}
|
||||
|
||||
|
||||
/* --------------------------------------
|
||||
Global Styles
|
||||
-------------------------------------- */
|
||||
|
||||
body {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -285,21 +307,23 @@ body{
|
|||
.highlight {
|
||||
background-color: #72CBFF;
|
||||
}
|
||||
|
||||
|
||||
/* --------------------------------------
|
||||
Media Queries
|
||||
-------------------------------------- */
|
||||
|
||||
|
||||
/* Portrait & landscape phone */
|
||||
|
||||
@media (max-width: 480px) {
|
||||
body {
|
||||
margin-top: 105px;
|
||||
}
|
||||
|
||||
.timeline {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#icons {
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
|
@ -308,17 +332,13 @@ Media Queries
|
|||
float: right;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.mainHeader h3 {
|
||||
padding: 0px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
.note-sm {
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
.floating-action-icon {
|
||||
position: fixed;
|
||||
bottom: 35px;
|
||||
|
@ -331,7 +351,6 @@ Media Queries
|
|||
border-radius: 25px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.modal-dialog {
|
||||
width: 240px;
|
||||
}
|
||||
|
@ -339,6 +358,7 @@ Media Queries
|
|||
|
||||
|
||||
/* Landscape phone to portrait tablet */
|
||||
|
||||
@media (max-width: 768px) and (min-width:481px) {
|
||||
#icons {
|
||||
text-align: center;
|
||||
|
@ -348,8 +368,6 @@ Media Queries
|
|||
float: right;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
margin-top: 105px;
|
||||
}
|
||||
|
@ -357,13 +375,10 @@ Media Queries
|
|||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.mainHeader h3 {
|
||||
padding: 0px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.note-lg {
|
||||
height: 360px;
|
||||
/*change later*/
|
||||
|
@ -371,30 +386,34 @@ Media Queries
|
|||
.modal-dialog {
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* Large desktop */
|
||||
|
||||
@media (max-width: 1400px) and (min-width:769px) {
|
||||
.timeline {
|
||||
overflow: hidden;
|
||||
width: 55%;
|
||||
margin-left: 20%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------
|
||||
Sidebar
|
||||
-------------------------------------- */
|
||||
|
||||
.sidebar-toggle {
|
||||
left: 10px !important;
|
||||
}
|
||||
.sidebar-wrapper.sidebar-default.sidebar-open, .sidebar-wrapper.sidebar-default.sidebar-dragging{
|
||||
|
||||
.sidebar-wrapper.sidebar-default.sidebar-open,
|
||||
.sidebar-wrapper.sidebar-default.sidebar-dragging {
|
||||
width: 260px;
|
||||
}
|
||||
|
||||
|
||||
/*Modal dialog*/
|
||||
|
||||
.modal-footer {
|
||||
|
|
|
@ -1,36 +1,75 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title> Welcome to Tasks, login or sign up
|
||||
</title>
|
||||
|
||||
<!-- Mobile viewport optimized -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/static/css/bootstrap-glyphicons.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
<link href="/static/css/styles.css" rel="stylesheet">
|
||||
<link href="/static/css/sidebar.css" rel="stylesheet">
|
||||
<link href="/static/css/sidebar-bootstrap.css" rel="stylesheet">
|
||||
<link href="/static/css/font-awesome.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Include Modernizr in the head, before any other Javascript -->
|
||||
<!--<script src="/static/js/modernizr-2.6.2.min.js"></script>-->
|
||||
<!-- All Javascript at the bottom of the page for faster page loading -->
|
||||
<script src="/static/js/jquery.min.js"></script>
|
||||
<!-- If no online access, fallback to our hardcoded version of jQuery
|
||||
<script>window.jQuery || document.write('<script src="/static/js/jquery-1.8.2.min.js"><\/script>')</script>
|
||||
-->
|
||||
<!-- Bootstrap JS -->
|
||||
<script src="/static/js/bootstrap.min.js"></script>
|
||||
|
||||
<!-- Custom JS -->
|
||||
<script src="/static/js/script.js"></script>
|
||||
<script src="/static/js/hammer.min.js"></script>
|
||||
<script src="/static/js/sidebar.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top mainHeader">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<p class="navbar-brand" href="/">Tasks</p>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="timeline">
|
||||
<div class="note">
|
||||
Login
|
||||
<form action="/login/" method="POST">
|
||||
<p class="noteHeading ">Login </p>
|
||||
<div class="form-group">
|
||||
<input type="text" name="username" class="form-control" placeholder="Username" />
|
||||
<input type="password" name="password" class="form-control" placeholder="Password" />
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<input type="submit" value="Submit" class="btn btn-primary" id="addNoteBtn" />
|
||||
</div>
|
||||
<form action="/login/" method="POST">
|
||||
<input type="text" name="username" class="loginbutton" placeholder="Username" />
|
||||
<input type="password" name="password" class="loginbutton" placeholder="Password" />
|
||||
<input type="submit" value="Submit" class="btn btn-primary" />
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="note">
|
||||
Sign up
|
||||
<form action="/signup/" method="POST">
|
||||
<p class="noteHeading ">Sign up </p>
|
||||
<div class="form-group">
|
||||
<input type="text" name="username" class="form-control" placeholder="Username" />
|
||||
<input type="password" name="password" class="form-control" placeholder="Password" />
|
||||
<input type="email" name="email" class="form-control" placeholder="demo@demo.com" />
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<input type="submit" value="Submit" class="btn btn-primary" id="addNoteBtn" />
|
||||
</div>
|
||||
<form action="/signup/" method="POST">
|
||||
<input type="text" name="username" class="loginbutton" placeholder="Username" />
|
||||
<input type="password" name="password" class="loginbutton" placeholder="Password" />
|
||||
<input type="email" name="email" class="loginbutton" placeholder="demo@demo.com" />
|
||||
<input type="submit" value="Submit" class="btn btn-primary" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{{template "footer.html"}}
|
||||
</div>
|
||||
|
||||
{{template "_footer.html"}}
|
||||
|
||||
</body>
|
||||
|
||||
|
|
Loading…
Reference in New Issue