Commit 83c8fb84 by Kyle Fiedler

Styled log in popover

parent dab31a37
...@@ -2,17 +2,29 @@ ...@@ -2,17 +2,29 @@
${ error } ${ error }
<div id="login_div"> <div id="login_div">
<h1>Log in to MITx</h1>
<form name="login" action="/login" method="get"> <form name="login" action="/login" method="get">
<div id="login_error"></div> <div id="login_error"></div>
E-mail <ol>
<input name="email" id="li_email" type="email" required> <li>
Password <label>E-mail*</label>
<input name="password" id="li_password" type="password" required> </td></tr> <input name="email" id="li_email" type="email" required>
<input name="remember" id="remember" type="checkbox">Remember me </li>
<li>
<label>Password*</label>
<input name="password" id="li_password" type="password" required>
</li>
<li class="remember">
<label><input name="remember" id="remember" type="checkbox">Remember me</label>
</li>
</ol>
<input name="submit" id="login_button" type="button" value="Log in"> <input name="submit" id="login_button" type="button" value="Log in">
</form> </form>
<div> <div class="lost-password">
<div id="lost_password"><a class="modal" href="#pwd_reset">Lost password?</a></div> <div id="lost_password"><a class="modal" href="#pwd_reset">Lost password?</a></div>
</div> </div>
</div> </div>
...@@ -3,6 +3,7 @@ div#fancybox-overlay { ...@@ -3,6 +3,7 @@ div#fancybox-overlay {
} }
div#fancybox-wrap { div#fancybox-wrap {
width: auto !important;
div#fancybox-outer { div#fancybox-outer {
background: none; background: none;
max-width: 600px; max-width: 600px;
...@@ -20,6 +21,7 @@ div#fancybox-wrap { ...@@ -20,6 +21,7 @@ div#fancybox-wrap {
border: none; border: none;
padding: lh(2); padding: lh(2);
max-width: 600px; max-width: 600px;
width: auto !important;
h1 { h1 {
font-size: 24px; font-size: 24px;
...@@ -51,7 +53,7 @@ div#fancybox-wrap { ...@@ -51,7 +53,7 @@ div#fancybox-wrap {
margin-right: $gw-gutter; margin-right: $gw-gutter;
} }
&.terms { &.terms, &.remember {
float: none; float: none;
width: auto; width: auto;
clear: both; clear: both;
...@@ -86,6 +88,29 @@ div#fancybox-wrap { ...@@ -86,6 +88,29 @@ div#fancybox-wrap {
padding: lh(.5); padding: lh(.5);
} }
} }
div#login {
min-width: 300px;
ol {
li {
width: auto;
float: none;
}
}
}
div.lost-password {
text-align: left;
margin-top: lh();
a {
color: #999;
&:hover {
color: #444;
}
}
}
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment