Commit 5644ed25 by Galen Frechette

Merge branch 'prototype' into dormsbee/multicourse

parents f8ae7dc0 915810d4
$(document).ready(function () {
$('a.login').click(function() {
$('.modal-wrapper').addClass("visible");
$('a#login').click(function() {
$('.modal.login-modal').addClass("visible");
$('.modal-overlay').addClass("visible");
});
$('div.close-modal').click(function() {
$('.modal-wrapper').removeClass("visible");
$('.modal.login-modal').removeClass("visible");
$('.modal-overlay').removeClass("visible");
});
$('a#signup').click(function() {
$('.modal.signup-modal').addClass("visible");
$('.modal-overlay').addClass("visible");
});
$('div.close-modal').click(function() {
$('.modal.signup-modal').removeClass("visible");
$('.modal-overlay').removeClass("visible");
});
});
.faded-hr-divider {
@include background-image(linear-gradient(180deg, rgba(255,255,255, 0) 0%, rgba(200,200,200, 0.8) 15%, rgb(200,200,200) 50%, rgba(200,200,200, 0.8) 85%, rgba(255,255,255, 0)));
@include background-image(linear-gradient(180deg, rgba(200,200,200, 0) 0%,
rgba(200,200,200, 1) 50%,
rgba(200,200,200, 0)));
height: 1px;
width: 100%;
}
.faded-hr-divider-light {
@include background-image(linear-gradient(180deg, rgba(255,255,255, 0) 0%,
rgba(255,255,255, 0.8) 50%,
rgba(255,255,255, 0)));
height: 1px;
width: 100%;
}
.faded-vertical-divider {
@include background-image(linear-gradient(90deg, rgba(255,255,255, 0) 0%, rgba(200,200,200, 0.6) 25%, rgb(200,200,200) 50%, rgba(200,200,200, 0.6) 75%, rgba(255,255,255, 0)));
@include background-image(linear-gradient(90deg, rgba(200,200,200, 0) 0%,
rgba(200,200,200, 1) 50%,
rgba(200,200,200, 0)));
height: 100%;
width: 1px;
}
.faded-vertical-divider-light {
@include background-image(linear-gradient(90deg, rgba(255,255,255, 0) 0%,
rgba(255,255,255, 0.6) 50%,
rgba(255,255,255, 0)));
height: 100%;
width: 1px;
}
.vertical-divider {
@extend .faded-vertical-divider;
position: relative;
&::after {
@extend .faded-vertical-divider-light;
content: "";
display: block;
position: absolute;
left: 1px;
}
}
.horizontal-divider {
@extend .faded-hr-divider;
position: relative;
&::after {
@extend .faded-hr-divider-light;
content: "";
display: block;
position: absolute;
top: 1px;
}
}
@mixin vertically-and-horizontally-centered ( $height, $width ) {
left: 50%;
margin-left: -$width / 2;
margin-top: -$height / 2;
//margin-top: -$height / 2;
min-height: $height;
min-width: $width;
position: fixed;
top: 35%;
position: absolute;
top: 150px;
}
......@@ -87,7 +87,7 @@
}
a {
@include button(shiny, $pink);
@include button(shiny, $blue);
@include box-sizing(border-box);
@include border-radius(3px);
@include inline-block;
......@@ -95,20 +95,7 @@
padding: 15px 0px;
text-transform: uppercase;
text-align: center;
width: flex-grid(6);
&:first-child {
margin-right: flex-gutter();
}
&.find-courses {
@include button(shiny, $blue);
@include box-sizing(border-box);
@include border-radius(3px);
@include inline-block;
font: normal italic 1.2rem/1.6rem $serif;
padding: 15px 0px;
}
width: flex-grid(12);
}
form {
......
......@@ -34,7 +34,7 @@ form {
}
input[type="submit"] {
@include button(shiny, $pink);
@include button(shiny, $blue);
@include border-radius(3px);
font: normal italic 1.2rem/1.6rem $serif;
height: 35px;
......
......@@ -18,125 +18,120 @@ header.app {
display: block;
float: left;
height: 100%;
margin: 16px 30px 0px 0px;
margin: 16px 15px 0px 0px;
position: relative;
&::after {
@extend .faded-vertical-divider;
img {
position: relative;
z-index: 2;
}
&:hover {
&::before {
@include background-image(radial-gradient(50% 50%, circle closest-side, rgba(255,255,255, 0.8) 0%, rgba(255,255,255, 0) 100%));
content: "";
display: block;
height: 50px;
height: 90px;
left: -20px;
position: absolute;
right: -15px;
top: -12px;
top: -32px;
width: 90px;
z-index: 1;
}
}
}
a.discover-courses {
@include background-image(linear-gradient(-90deg, rgb(245,245,245) 0%, rgb(243,243,243) 50%, rgb(237,237,237) 50%, rgb(235,235,235) 100%));
border: 1px solid rgb(200,200,200);
@include border-radius(3px);
@include box-shadow(0 1px 0 0 rgba(255,255,255, 0.6));
color: $base-font-color;
display: block;
float: left;
font: normal 1rem/1.2rem $sans-serif;
height: 15px;
margin-top: 12px;
padding: 8px 10px;
text-decoration: none;
text-transform: uppercase;
text-shadow: 0 1px rgba(255,255,255, 0.6);
&:hover {
.divider {
@extend .vertical-divider;
@include inline-block;
height: 40px;
vertical-align: middle;
}
nav {
height: 40px;
margin-top: 8px;
&.find-courses {
float: left;
}
nav.guest {
&.guest {
float: right;
}
ol {
font-size: 0em;
li {
@include inline-block;
margin-top: 12px;
padding: 0px 5px;
position: relative;
vertical-align: bottom;
&:last-child {
padding-right: 0px;
vertical-align: top;
}
li.secondary {
margin: 0px 15px;
a {
@include border-radius(3px);
border: 1px solid transparent;
color: $base-font-color;
@include box-sizing(border-box);
color: $lighter-base-font-color;
display: block;
font: normal italic 1.2rem/1.2rem $serif;
height: 15px;
padding: 8px;
font: normal italic 1.2rem/1.4rem $serif;
height: 30px;
@include inline-block;
margin: 5px 15px 5px 0px;
padding: 7px 2px;
text-decoration: none;
text-transform: lowercase;
text-shadow: 0 1px rgba(255,255,255, 0.6);
vertical-align: middle;
&:last-child {
margin-right: 0px;
}
&:hover {
background: rgb(220,220,220);
@include background-image(linear-gradient(-90deg, rgb(245,245,245) 0%, rgb(243,243,243) 50%, rgb(237,237,237) 50%, rgb(235,235,235) 100%));
border-color: rgb(200,200,200);
@include box-shadow(0 1px 0 0 rgba(255,255,255, 0.6));
color: $base-font-color;
}
}
}
}
}
nav.user {
float: right;
ol {
font-size: 0em;
li {
border-right: 1px solid rgb(200,200,200);
@include inline-block;
margin-top: 10px;
padding: 0px 5px;
li.primary {
position: relative;
vertical-align: bottom;
a {
border: 1px solid transparent;
@include border-radius(3px);
color: $lighter-base-font-color;
@include box-sizing(border-box);
color: $base-font-color;
display: block;
font: normal italic 1.2rem/1.2rem $serif;
height: 15px;
padding: 10px;
font: normal 1.2rem/1.4rem $sans-serif;
height: 38px;
@include inline-block;
margin: 1px 5px;
padding: 10px 8px;
text-decoration: none;
text-transform: lowercase;
text-shadow: 0 1px rgba(255,255,255, 0.4);
text-transform: uppercase;
text-shadow: 0 1px rgba(255,255,255, 0.6);
vertical-align: middle;
&:hover {
background: rgb(220,220,220);
color: $base-font-color;
&:hover, &.active {
@include background-image(linear-gradient(-90deg, rgb(245,245,245) 0%, rgb(243,243,243) 50%, rgb(237,237,237) 50%, rgb(235,235,235) 100%));
border-color: rgb(200,200,200);
@include box-shadow(0 1px 0 0 rgba(255,255,255, 0.6));
}
}
&.active {
background: rgb(220,220,220);
color: $base-font-color;
}
&.options {
font: normal 1.2rem/1.2rem $sans-serif;
padding-right: 10px;
text-transform: none;
}
&.user-link {
font: normal 1.2rem/1.2rem $sans-serif;
padding: 10px 10px 10px 45px;
&.user {
float: right;
a.user-link {
padding: 9px 8px 11px 40px;
position: relative;
text-transform: none;
@media screen and (max-width: 768px) {
......@@ -152,10 +147,10 @@ header.app {
@include box-shadow(0 1px 0 0 rgba(255,255,255, 0.6));
height: 22px;
@include inline-block;
left: 15px;
left: 8px;
overflow: hidden;
position: absolute;
top: 5px;
top: 6px;
width: 22px;
&::after {
......@@ -178,19 +173,19 @@ header.app {
}
}
}
}
ol.user-options {
@include border-radius(4px);
@include box-shadow(0 1px 6px 0 rgba(0,0,0, 0.3));
border: 1px solid rgb(200,200,200);
background: rgb(220,220,220);
border: 1px solid rgb(0,0,0);
@include background-image(linear-gradient(-90deg, rgba(0,0,0, 0.9) 0%,
rgba(0,0,0, 0.7) 100%));
display: none;
right: 4px;
right: 0px;
padding: 5px 10px;
position: absolute;
top: 50px;
width: 170px;
top: 52px;
width: 150px;
z-index: 3;
&.expanded {
......@@ -200,54 +195,56 @@ header.app {
&::before {
background: transparent;
border: {
top: 8px solid rgb(220,220,220);
right: 8px solid rgb(220,220,220);
bottom: 8px solid transparent;
left: 8px solid transparent;
top: 6px solid rgba(0,0,0, 1);
right: 6px solid rgba(0,0,0, 1);
bottom: 6px solid transparent;
left: 6px solid transparent;
}
@include box-shadow(1px 0 0 0 rgb(200,200,200), 0 -1px 0 0 rgb(200,200,200));
@include box-shadow(1px 0 0 0 rgb(0,0,0), 0 -1px 0 0 rgb(0,0,0));
content: "";
display: block;
height: 0px;
position: absolute;
@include transform(rotate(-45deg));
right: 10px;
top: -7px;
right: 12px;
top: -6px;
width: 0px;
}
li {
border: {
top: 1px solid rgb(200,200,200);
right: none;
bottom: none;
left: none;
}
margin: 0px;
padding: 0px;
width: 100%;
display: block;
border-top: 1px solid rgba(0,0,0, 0.4);
@include box-shadow(inset 0 1px 0 0 rgba(255,255,255, 0.05));
&:first-child {
border: none;
@include box-shadow(none);
}
a {
> a {
@include box-sizing(border-box);
color: rgba(255,255,255, 0.9);
display: block;
font: normal 1rem/1.2rem $sans-serif;
font: normal italic 1.2rem/1.4rem $serif;
height: auto;
margin: 5px 0px;
overflow: hidden;
padding: 5px;
padding: 3px 5px 4px;
text-shadow: none;
text-overflow: ellipsis;
text-transform: none;
@include transition(padding, 0.1s, linear);
white-space: nowrap;
width: 100%;
&:hover {
background: rgb(255,255,255);
padding: 5px 8px;
}
background: $blue;
@include background-image(linear-gradient(-90deg, lighten($blue, 15%) 0%,
rgba($blue, 1) 100%));
border-color: rgba(0,0,0, 1);
@include box-shadow(none);
padding-left: 8px;
text-shadow: 0 -1px rgba(0,0,0, 0.2);
}
}
}
......
.modal-wrapper {
@include background-image(radial-gradient(50% 50%, circle cover, rgba(0,0,0, 0.3), rgba(0,0,0, 0.7)));
.modal-overlay {
//background: rgba(255,255,255, 0.7);
@include background-image(radial-gradient(50% 30%, circle cover, rgba(0,0,0, 0.3), rgba(0,0,0, 0.8)));
bottom: 0;
content: "";
display: none;
......@@ -12,43 +13,60 @@
&.visible {
display: block;
}
}
.login-modal {
.modal {
background: rgba(0,0,0, 0.6);
border: 1px solid rgba(0, 0, 0, 0.9);
@include border-radius(4px);
@include box-shadow(0 10px 60px 10px rgba(0,0,0, 0.5));
@include border-radius(0px);
@include box-shadow(0 15px 80px 15px rgba(0,0,0, 0.5));
color: #fff;
padding: 10px;
width: grid-width(7);
@include vertically-and-horizontally-centered(400px, grid-width(7));
display: none;
left: 50%;
margin-left: -(grid-width(6)) / 2;
padding: 8px;
position: absolute;
top: 170px;
width: grid-width(6);
z-index: 10;
&.visible {
display: block;
}
.inner-wrapper {
@include background-image(linear-gradient(-90deg, rgb(245,245,245), rgb(225,225,225)));
@include border-radius(4px);
background: rgb(240,240,240);
@include border-radius(0px);
border: 1px solid rgba(0, 0, 0, 0.9);
@include box-shadow(inset 0 1px 0 0 rgba(255, 255, 255, 0.7));
height: 380px;
overflow: hidden;
padding: 30px;
padding-bottom: 30px;
position: relative;
header {
margin-bottom: 30px;
overflow: hidden;
padding: 28px 20px 0px;
position: relative;
z-index: 2;
&::before {
@include background-image(radial-gradient(50% 50%, circle closest-side, rgba(255,255,255, 1) 0%, rgba(255,255,255, 0) 100%));
@include background-image(radial-gradient(50% 50%, circle closest-side, rgba(255,255,255, 0.8) 0%, rgba(255,255,255, 0) 100%));
content: "";
display: block;
height: 400px;
left: 0px;
margin: 0 auto;
position: absolute;
bottom: -140px;
top: -140px;
width: 100%;
z-index: 1;
}
header {
margin-bottom: 30px;
padding-top: 5px;
hr {
@extend .faded-hr-divider-light;
border: none;
margin: 0px;
position: relative;
z-index: 2;
......@@ -58,6 +76,8 @@
content: "";
display: block;
position: absolute;
top: -1px;
}
}
h3 {
......@@ -68,12 +88,15 @@
text-shadow: 0 1px rgba(255,255,255, 0.4);
text-transform: uppercase;
vertical-align: middle;
position: relative;
z-index: 2;
}
}
form {
@include clearfix;
margin-bottom: 12px;
padding: 0px 40px;
position: relative;
z-index: 2;
......@@ -81,49 +104,104 @@
display: none;
}
label.remember-me {
background: rgb(230,230,230);
input[type="checkbox"] {
margin-right: 5px;
}
input[type="email"],
input[type="text"],
input[type="password"] {
background: rgb(255,255,255);
display: block;
height: 45px;
margin-bottom: 20px;
width: 100%;
}
label.remember-me,
label.terms-of-service,
label.honor-code {
background: rgb(233,233,233);
border: 1px solid rgb(200,200,200);
@include border-radius(3px);
@include box-shadow(0 1px 0 0 rgba(255,255,255, 0.6));
display: block;
margin-bottom: 60px;
margin-bottom: 20px;
padding: 8px 10px;
&:hover {
background: rgb(230,230,230);
}
a {
font: normal 1.2rem/1.6rem $serif;
text-decoration: underline;
&:hover {
}
}
}
.honor-code-summary {
margin-bottom: 20px;
padding: 0px;
position: relative;
&::before {
p {
color: $lighter-base-font-color;
font: 300 1.2rem/1.6rem $sans-serif;
}
hr {
@extend .faded-hr-divider-light;
border: none;
margin-top: 30px;
position: relative;
z-index: 2;
&::after {
@extend .faded-hr-divider;
bottom: -30px;
bottom: 0px;
content: "";
display: block;
position: absolute;
top: -1px;
}
}
input[type="checkbox"] {
margin-right: 5px;
}
input[type="email"],
input[type="password"] {
display: block;
height: 45px;
margin-bottom: 20px;
ul {
@include box-sizing(border-box);
margin: 0;
padding: 0 0 0 20px;
width: 100%;
li {
color: $lighter-base-font-color;
font: 300 1.2rem/1.6rem $sans-serif;
margin-bottom: 10px;
&:last-child {
margin-bottom: 0px;
}
}
}
}
.submit {
padding-top: 10px;
input[type="submit"] {
display: block;
height: 45px;
margin: 0 auto;
width: 70%;
width: 100%;
}
}
}
.login-extra {
padding: 15px 0px;
position: relative;
z-index: 2;
p {
color: $lighter-base-font-color;
......@@ -134,6 +212,10 @@
color: $lighter-base-font-color;
font: normal italic 1.2rem/1.6rem $serif;
text-decoration: underline;
&:hover {
color: $base-font-color;
}
}
span + a {
......@@ -143,17 +225,14 @@
}
.close-modal {
//background: rgb(240,240,240);
//border: 1px solid rgba(180,180,180, 0.7);
@include border-radius(2px);
//@include box-shadow(0 1px 0 0 rgba(255,255,255, 0.4), inset 0 0 2px 0 rgba(0,0,0, 0.1));
cursor: pointer;
@include inline-block;
padding: 5px 10px;
padding: 10px;
position: absolute;
right: 5px;
top: 5px;
@include transition(all, 0.15s, ease-out);
right: 2px;
top: 0px;
z-index: 3;
.inner {
p {
......@@ -166,14 +245,10 @@
}
&:hover {
//background: rgb(235,235,235);
//@include box-shadow(0 1px 0 0 rgba(255,255,255, 0.4), inset 0 0 2px 0 rgba(0,0,0, 0.125));
p {
color: $base-font-color;
}
}
}
}
}
}
......@@ -340,24 +340,58 @@ a:link, a:visited {
.container:after {
clear: both; }
.faded-hr-divider, .modal-wrapper .login-modal .inner-wrapper header::after, .modal-wrapper .login-modal .inner-wrapper form label.remember-me::before, .home .university-partners:before, .home .university-partners:after {
background-image: -webkit-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.8) 15%, #c8c8c8 50%, rgba(200, 200, 200, 0.8) 85%, rgba(255, 255, 255, 0));
background-image: -moz-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.8) 15%, #c8c8c8 50%, rgba(200, 200, 200, 0.8) 85%, rgba(255, 255, 255, 0));
background-image: -ms-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.8) 15%, #c8c8c8 50%, rgba(200, 200, 200, 0.8) 85%, rgba(255, 255, 255, 0));
background-image: -o-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.8) 15%, #c8c8c8 50%, rgba(200, 200, 200, 0.8) 85%, rgba(255, 255, 255, 0));
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.8) 15%, #c8c8c8 50%, rgba(200, 200, 200, 0.8) 85%, rgba(255, 255, 255, 0));
.faded-hr-divider, .horizontal-divider, .modal .inner-wrapper header hr::after, .modal .inner-wrapper form .honor-code-summary hr::after, .home .university-partners:before, .home .university-partners:after {
background-image: -webkit-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
background-image: -moz-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
background-image: -ms-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
background-image: -o-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
background-image: linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
height: 1px;
width: 100%; }
.faded-vertical-divider, header.app a.logo::after {
background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 25%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 75%, rgba(255, 255, 255, 0));
background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 25%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 75%, rgba(255, 255, 255, 0));
background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 25%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 75%, rgba(255, 255, 255, 0));
background-image: -o-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 25%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 75%, rgba(255, 255, 255, 0));
background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 25%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 75%, rgba(255, 255, 255, 0));
.faded-hr-divider-light, .horizontal-divider::after, .modal .inner-wrapper header hr, .modal .inner-wrapper form .honor-code-summary hr {
background-image: -webkit-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0));
background-image: -moz-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0));
background-image: -ms-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0));
background-image: -o-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0));
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0));
height: 1px;
width: 100%; }
.faded-vertical-divider, .vertical-divider, header.app .divider {
background-image: -webkit-linear-gradient(90deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
background-image: -moz-linear-gradient(90deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
background-image: -ms-linear-gradient(90deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
background-image: -o-linear-gradient(90deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
background-image: linear-gradient(90deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
height: 100%;
width: 1px; }
.faded-vertical-divider-light, .vertical-divider::after, header.app .divider::after {
background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0));
background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0));
background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0));
background-image: -o-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0));
background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0));
height: 100%;
width: 1px; }
.vertical-divider, header.app .divider {
position: relative; }
.vertical-divider::after, header.app .divider::after {
content: "";
display: block;
position: absolute;
left: 1px; }
.horizontal-divider {
position: relative; }
.horizontal-divider::after {
content: "";
display: block;
position: absolute;
top: 1px; }
.animation-title-appear {
-webkit-animation: title-appear 4.65s ease-out;
-moz-animation: title-appear 4.65s ease-out;
......@@ -843,29 +877,29 @@ form {
box-shadow: 0 0 6px 0 rgba(29, 157, 217, 0.4), inset 0 0 4px 0 rgba(0, 0, 0, 0.15);
outline: none; }
form input[type="submit"] {
border: 1px solid #410017;
border-bottom: 1px solid #380000;
border: 1px solid #002e88;
border-bottom: 1px solid #001e5f;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: inset 0 1px 0 0 #db4274;
-moz-box-shadow: inset 0 1px 0 0 #db4274;
box-shadow: inset 0 1px 0 0 #db4274;
-webkit-box-shadow: inset 0 1px 0 0 #42bae5;
-moz-box-shadow: inset 0 1px 0 0 #42bae5;
box-shadow: inset 0 1px 0 0 #42bae5;
color: white;
display: inline-block;
font-size: 14px;
font-weight: bold;
background-color: #b62568;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b62568), color-stop(50%, #7e0047), color-stop(50%, #600038), color-stop(100%, #67003a));
background-image: -webkit-linear-gradient(top, #b62568 0%, #7e0047 50%, #600038 50%, #67003a 100%);
background-image: -moz-linear-gradient(top, #b62568 0%, #7e0047 50%, #600038 50%, #67003a 100%);
background-image: -ms-linear-gradient(top, #b62568 0%, #7e0047 50%, #600038 50%, #67003a 100%);
background-image: -o-linear-gradient(top, #b62568 0%, #7e0047 50%, #600038 50%, #67003a 100%);
background-image: linear-gradient(top, #b62568 0%, #7e0047 50%, #600038 50%, #67003a 100%);
background-color: #1d9dd9;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1d9dd9), color-stop(50%, #006bb8), color-stop(50%, #0052a9), color-stop(100%, #0057ab));
background-image: -webkit-linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
background-image: -moz-linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
background-image: -ms-linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
background-image: -o-linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
background-image: linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
padding: 8px 20px;
text-align: center;
text-decoration: none;
text-shadow: 0 -1px 1px #2a0000;
text-shadow: 0 -1px 1px #001067;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
......@@ -880,17 +914,17 @@ form {
vertical-align: top; }
form input[type="submit"]:hover:not(:disabled) {
cursor: pointer;
background-color: #a91656;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a91656), color-stop(50%, #740035), color-stop(50%, #590026), color-stop(100%, #600029));
background-image: -webkit-linear-gradient(top, #a91656 0%, #740035 50%, #590026 50%, #600029 100%);
background-image: -moz-linear-gradient(top, #a91656 0%, #740035 50%, #590026 50%, #600029 100%);
background-image: -ms-linear-gradient(top, #a91656 0%, #740035 50%, #590026 50%, #600029 100%);
background-image: -o-linear-gradient(top, #a91656 0%, #740035 50%, #590026 50%, #600029 100%);
background-image: linear-gradient(top, #a91656 0%, #740035 50%, #590026 50%, #600029 100%); }
background-color: #108ec7;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #108ec7), color-stop(50%, #005fa6), color-stop(50%, #004897), color-stop(100%, #004d9a));
background-image: -webkit-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: -moz-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: -ms-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: -o-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%); }
form input[type="submit"]:active:not(:disabled) {
-webkit-box-shadow: inset 0 0 20px 0 #470000, 0 1px 0 white;
-moz-box-shadow: inset 0 0 20px 0 #470000, 0 1px 0 white;
box-shadow: inset 0 0 20px 0 #470000, 0 1px 0 white; }
-webkit-box-shadow: inset 0 0 20px 0 #00295f, 0 1px 0 white;
-moz-box-shadow: inset 0 0 20px 0 #00295f, 0 1px 0 white;
box-shadow: inset 0 0 20px 0 #00295f, 0 1px 0 white; }
form input[type="submit"]:disabled {
opacity: 0.5;
cursor: not-allowed; }
......@@ -996,69 +1030,104 @@ header.app {
display: block;
float: left;
height: 100%;
margin: 16px 30px 0px 0px;
margin: 16px 15px 0px 0px;
position: relative; }
header.app a.logo::after {
header.app a.logo img {
position: relative;
z-index: 2; }
header.app a.logo:hover::before {
background-image: -webkit-radial-gradient(50% 50%, circle closest-side, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
background-image: -moz-radial-gradient(50% 50%, circle closest-side, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
background-image: -ms-radial-gradient(50% 50%, circle closest-side, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
background-image: -o-radial-gradient(50% 50%, circle closest-side, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
background-image: radial-gradient(50% 50%, circle closest-side, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
content: "";
display: block;
height: 50px;
height: 90px;
left: -20px;
position: absolute;
right: -15px;
top: -12px; }
header.app a.discover-courses {
background-image: -webkit-linear-gradient(-90deg, #f5f5f5 0%, #f3f3f3 50%, #ededed 50%, #ebebeb 100%);
background-image: -moz-linear-gradient(-90deg, #f5f5f5 0%, #f3f3f3 50%, #ededed 50%, #ebebeb 100%);
background-image: -ms-linear-gradient(-90deg, #f5f5f5 0%, #f3f3f3 50%, #ededed 50%, #ebebeb 100%);
background-image: -o-linear-gradient(-90deg, #f5f5f5 0%, #f3f3f3 50%, #ededed 50%, #ebebeb 100%);
background-image: linear-gradient(-90deg, #f5f5f5 0%, #f3f3f3 50%, #ededed 50%, #ebebeb 100%);
border: 1px solid #c8c8c8;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6);
-moz-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6);
box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6);
color: #3c3c3c;
display: block;
float: left;
font: normal 1rem/1.2rem "Open Sans", Verdana, Geneva, sans-serif;
height: 15px;
margin-top: 12px;
padding: 8px 10px;
text-decoration: none;
text-transform: uppercase;
text-shadow: 0 1px rgba(255, 255, 255, 0.6); }
top: -32px;
width: 90px;
z-index: 1; }
header.app .divider {
display: inline-block;
vertical-align: baseline;
zoom: 1;
*display: inline;
*vertical-align: auto;
height: 40px;
vertical-align: middle; }
header.app nav {
height: 40px;
margin-top: 8px; }
header.app nav.find-courses {
float: left; }
header.app nav.guest {
float: right; }
header.app nav.guest ol {
header.app nav ol {
font-size: 0em; }
header.app nav.guest ol li {
header.app nav ol li {
display: inline-block;
vertical-align: baseline;
zoom: 1;
*display: inline;
*vertical-align: auto;
margin-top: 12px;
padding: 0px 5px;
position: relative;
vertical-align: bottom; }
header.app nav.guest ol li:last-child {
padding-right: 0px; }
header.app nav.guest ol li a {
vertical-align: top; }
header.app nav ol li.secondary {
margin: 0px 15px; }
header.app nav ol li.secondary a {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
border: 1px solid transparent;
color: #3c3c3c;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
color: #a0a0a0;
display: block;
font: normal italic 1.2rem/1.2rem Georgia, Cambria, "Times New Roman", Times, serif;
height: 15px;
padding: 8px;
font: normal italic 1.2rem/1.4rem Georgia, Cambria, "Times New Roman", Times, serif;
height: 30px;
display: inline-block;
vertical-align: baseline;
zoom: 1;
*display: inline;
*vertical-align: auto;
margin: 5px 15px 5px 0px;
padding: 7px 2px;
text-decoration: none;
text-transform: lowercase;
text-shadow: 0 1px rgba(255, 255, 255, 0.6); }
header.app nav.guest ol li a:hover {
background: #dcdcdc;
text-shadow: 0 1px rgba(255, 255, 255, 0.6);
vertical-align: middle; }
header.app nav ol li.secondary a:last-child {
margin-right: 0px; }
header.app nav ol li.secondary a:hover {
color: #3c3c3c; }
header.app nav ol li.primary {
position: relative; }
header.app nav ol li.primary a {
border: 1px solid transparent;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
color: #3c3c3c;
display: block;
font: normal 1.2rem/1.4rem "Open Sans", Verdana, Geneva, sans-serif;
height: 38px;
display: inline-block;
vertical-align: baseline;
zoom: 1;
*display: inline;
*vertical-align: auto;
margin: 1px 5px;
padding: 10px 8px;
text-decoration: none;
text-transform: uppercase;
text-shadow: 0 1px rgba(255, 255, 255, 0.6);
vertical-align: middle; }
header.app nav ol li.primary a:hover, header.app nav ol li.primary a.active {
background-image: -webkit-linear-gradient(-90deg, #f5f5f5 0%, #f3f3f3 50%, #ededed 50%, #ebebeb 100%);
background-image: -moz-linear-gradient(-90deg, #f5f5f5 0%, #f3f3f3 50%, #ededed 50%, #ebebeb 100%);
background-image: -ms-linear-gradient(-90deg, #f5f5f5 0%, #f3f3f3 50%, #ededed 50%, #ebebeb 100%);
......@@ -1067,55 +1136,19 @@ header.app {
border-color: #c8c8c8;
-webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6);
-moz-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6);
box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6);
color: #3c3c3c; }
box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6); }
header.app nav.user {
float: right; }
header.app nav.user ol {
font-size: 0em; }
header.app nav.user ol li {
border-right: 1px solid #c8c8c8;
display: inline-block;
vertical-align: baseline;
zoom: 1;
*display: inline;
*vertical-align: auto;
margin-top: 10px;
padding: 0px 5px;
header.app nav.user a.user-link {
padding: 9px 8px 11px 40px;
position: relative;
vertical-align: bottom; }
header.app nav.user ol li a {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
color: #a0a0a0;
display: block;
font: normal italic 1.2rem/1.2rem Georgia, Cambria, "Times New Roman", Times, serif;
height: 15px;
padding: 10px;
text-decoration: none;
text-transform: lowercase;
text-shadow: 0 1px rgba(255, 255, 255, 0.4); }
header.app nav.user ol li a:hover {
background: #dcdcdc;
color: #3c3c3c; }
header.app nav.user ol li a.active {
background: #dcdcdc;
color: #3c3c3c; }
header.app nav.user ol li a.options {
font: normal 1.2rem/1.2rem "Open Sans", Verdana, Geneva, sans-serif;
padding-right: 10px;
text-transform: none; }
header.app nav.user ol li a.user-link {
font: normal 1.2rem/1.2rem "Open Sans", Verdana, Geneva, sans-serif;
padding: 10px 10px 10px 45px;
text-transform: none; }
@media screen and (max-width: 768px) {
header.app nav.user ol li a.user-link {
header.app nav.user a.user-link {
font-size: 0em;
padding: 10px 0px;
width: 38px; } }
header.app nav.user ol li a.user-link .avatar {
header.app nav.user a.user-link .avatar {
background: #dcdcdc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
......@@ -1130,12 +1163,12 @@ header.app {
zoom: 1;
*display: inline;
*vertical-align: auto;
left: 15px;
left: 8px;
overflow: hidden;
position: absolute;
top: 5px;
top: 6px;
width: 22px; }
header.app nav.user ol li a.user-link .avatar::after {
header.app nav.user a.user-link .avatar::after {
background-image: -webkit-linear-gradient(-60deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.3) 100%);
background-image: -moz-linear-gradient(-60deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.3) 100%);
background-image: -ms-linear-gradient(-60deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.3) 100%);
......@@ -1148,7 +1181,7 @@ header.app {
right: 0px;
top: 0px;
width: 100%; }
header.app nav.user ol li a.user-link .avatar img {
header.app nav.user a.user-link .avatar img {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
......@@ -1156,33 +1189,37 @@ header.app {
min-height: 100%;
min-width: 100%;
height: 100%; }
header.app nav.user ol li ol.user-options {
header.app nav.user ol.user-options {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.3);
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.3);
border: 1px solid #c8c8c8;
background: #dcdcdc;
border: 1px solid black;
background-image: -webkit-linear-gradient(-90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
background-image: -moz-linear-gradient(-90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
background-image: -ms-linear-gradient(-90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
background-image: -o-linear-gradient(-90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
background-image: linear-gradient(-90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
display: none;
right: 4px;
right: 0px;
padding: 5px 10px;
position: absolute;
top: 50px;
width: 170px;
top: 52px;
width: 150px;
z-index: 3; }
header.app nav.user ol li ol.user-options.expanded {
header.app nav.user ol.user-options.expanded {
display: block; }
header.app nav.user ol li ol.user-options::before {
header.app nav.user ol.user-options::before {
background: transparent;
border-top: 8px solid #dcdcdc;
border-right: 8px solid #dcdcdc;
border-bottom: 8px solid transparent;
border-left: 8px solid transparent;
-webkit-box-shadow: 1px 0 0 0 #c8c8c8, 0 -1px 0 0 #c8c8c8;
-moz-box-shadow: 1px 0 0 0 #c8c8c8, 0 -1px 0 0 #c8c8c8;
box-shadow: 1px 0 0 0 #c8c8c8, 0 -1px 0 0 #c8c8c8;
border-top: 6px solid black;
border-right: 6px solid black;
border-bottom: 6px solid transparent;
border-left: 6px solid transparent;
-webkit-box-shadow: 1px 0 0 0 black, 0 -1px 0 0 black;
-moz-box-shadow: 1px 0 0 0 black, 0 -1px 0 0 black;
box-shadow: 1px 0 0 0 black, 0 -1px 0 0 black;
content: "";
display: block;
height: 0px;
......@@ -1192,30 +1229,34 @@ header.app {
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
right: 10px;
top: -7px;
right: 12px;
top: -6px;
width: 0px; }
header.app nav.user ol li ol.user-options li {
border-top: 1px solid #c8c8c8;
border-right: none;
border-bottom: none;
border-left: none;
margin: 0px;
padding: 0px;
width: 100%; }
header.app nav.user ol li ol.user-options li:first-child {
border: none; }
header.app nav.user ol li ol.user-options li a {
header.app nav.user ol.user-options li {
display: block;
border-top: 1px solid rgba(0, 0, 0, 0.4);
-webkit-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
-moz-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05); }
header.app nav.user ol.user-options li:first-child {
border: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none; }
header.app nav.user ol.user-options li > a {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
color: rgba(255, 255, 255, 0.9);
display: block;
font: normal 1rem/1.2rem "Open Sans", Verdana, Geneva, sans-serif;
font: normal italic 1.2rem/1.4rem Georgia, Cambria, "Times New Roman", Times, serif;
height: auto;
margin: 5px 0px;
overflow: hidden;
padding: 5px;
padding: 3px 5px 4px;
text-shadow: none;
text-overflow: ellipsis;
text-transform: none;
-webkit-transition: padding, 0.1s, linear;
-moz-transition: padding, 0.1s, linear;
-ms-transition: padding, 0.1s, linear;
......@@ -1223,9 +1264,19 @@ header.app {
transition: padding, 0.1s, linear;
white-space: nowrap;
width: 100%; }
header.app nav.user ol li ol.user-options li a:hover {
background: white;
padding: 5px 8px; }
header.app nav.user ol.user-options li > a:hover {
background: #1d9dd9;
background-image: -webkit-linear-gradient(-90deg, #5abbe9 0%, #1d9dd9 100%);
background-image: -moz-linear-gradient(-90deg, #5abbe9 0%, #1d9dd9 100%);
background-image: -ms-linear-gradient(-90deg, #5abbe9 0%, #1d9dd9 100%);
background-image: -o-linear-gradient(-90deg, #5abbe9 0%, #1d9dd9 100%);
background-image: linear-gradient(-90deg, #5abbe9 0%, #1d9dd9 100%);
border-color: black;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
padding-left: 8px;
text-shadow: 0 -1px rgba(0, 0, 0, 0.2); }
.courses {
-webkit-box-sizing: border-box;
......@@ -1629,12 +1680,12 @@ header.app {
border-radius: 0px 3px 3px 0px;
height: 36px; }
.modal-wrapper {
background-image: -webkit-radial-gradient(50% 50%, circle cover, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
background-image: -moz-radial-gradient(50% 50%, circle cover, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
background-image: -ms-radial-gradient(50% 50%, circle cover, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
background-image: -o-radial-gradient(50% 50%, circle cover, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
background-image: radial-gradient(50% 50%, circle cover, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
.modal-overlay {
background-image: -webkit-radial-gradient(50% 30%, circle cover, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
background-image: -moz-radial-gradient(50% 30%, circle cover, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
background-image: -ms-radial-gradient(50% 30%, circle cover, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
background-image: -o-radial-gradient(50% 30%, circle cover, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
background-image: radial-gradient(50% 30%, circle cover, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
bottom: 0;
content: "";
display: none;
......@@ -1643,90 +1694,104 @@ header.app {
right: 0;
top: 0;
z-index: 5; }
.modal-wrapper.visible {
.modal-overlay.visible {
display: block; }
.modal-wrapper .login-modal {
.modal {
background: rgba(0, 0, 0, 0.6);
border: 1px solid rgba(0, 0, 0, 0.9);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 0 10px 60px 10px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 10px 60px 10px rgba(0, 0, 0, 0.5);
box-shadow: 0 10px 60px 10px rgba(0, 0, 0, 0.5);
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
-webkit-box-shadow: 0 15px 80px 15px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 15px 80px 15px rgba(0, 0, 0, 0.5);
box-shadow: 0 15px 80px 15px rgba(0, 0, 0, 0.5);
color: #fff;
padding: 10px;
width: 570px;
display: none;
left: 50%;
margin-left: -285px;
margin-top: -200px;
min-height: 400px;
min-width: 570px;
position: fixed;
top: 35%;
margin-left: -242.5px;
padding: 8px;
position: absolute;
top: 170px;
width: 485px;
z-index: 10; }
.modal-wrapper .login-modal .inner-wrapper {
background-image: -webkit-linear-gradient(-90deg, #f5f5f5, #e1e1e1);
background-image: -moz-linear-gradient(-90deg, #f5f5f5, #e1e1e1);
background-image: -ms-linear-gradient(-90deg, #f5f5f5, #e1e1e1);
background-image: -o-linear-gradient(-90deg, #f5f5f5, #e1e1e1);
background-image: linear-gradient(-90deg, #f5f5f5, #e1e1e1);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
.modal.visible {
display: block; }
.modal .inner-wrapper {
background: #f0f0f0;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
border: 1px solid rgba(0, 0, 0, 0.9);
-webkit-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.7);
-moz-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.7);
box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.7);
height: 380px;
overflow: hidden;
padding: 30px;
padding-bottom: 30px;
position: relative; }
.modal-wrapper .login-modal .inner-wrapper::before {
background-image: -webkit-radial-gradient(50% 50%, circle closest-side, white 0%, rgba(255, 255, 255, 0) 100%);
background-image: -moz-radial-gradient(50% 50%, circle closest-side, white 0%, rgba(255, 255, 255, 0) 100%);
background-image: -ms-radial-gradient(50% 50%, circle closest-side, white 0%, rgba(255, 255, 255, 0) 100%);
background-image: -o-radial-gradient(50% 50%, circle closest-side, white 0%, rgba(255, 255, 255, 0) 100%);
background-image: radial-gradient(50% 50%, circle closest-side, white 0%, rgba(255, 255, 255, 0) 100%);
.modal .inner-wrapper header {
margin-bottom: 30px;
overflow: hidden;
padding: 28px 20px 0px;
position: relative;
z-index: 2; }
.modal .inner-wrapper header::before {
background-image: -webkit-radial-gradient(50% 50%, circle closest-side, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
background-image: -moz-radial-gradient(50% 50%, circle closest-side, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
background-image: -ms-radial-gradient(50% 50%, circle closest-side, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
background-image: -o-radial-gradient(50% 50%, circle closest-side, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
background-image: radial-gradient(50% 50%, circle closest-side, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
content: "";
display: block;
height: 400px;
left: 0px;
margin: 0 auto;
position: absolute;
bottom: -140px;
width: 100%; }
.modal-wrapper .login-modal .inner-wrapper header {
margin-bottom: 30px;
padding-top: 5px;
top: -140px;
width: 100%;
z-index: 1; }
.modal .inner-wrapper header hr {
border: none;
margin: 0px;
position: relative;
z-index: 2; }
.modal-wrapper .login-modal .inner-wrapper header::after {
.modal .inner-wrapper header hr::after {
bottom: 0px;
content: "";
display: block;
position: absolute; }
.modal-wrapper .login-modal .inner-wrapper header h3 {
position: absolute;
top: -1px; }
.modal .inner-wrapper header h3 {
color: #a0a0a0;
font: normal 1.4rem/1.8rem Georgia, Cambria, "Times New Roman", Times, serif;
padding-bottom: 20px;
text-align: center;
text-shadow: 0 1px rgba(255, 255, 255, 0.4);
text-transform: uppercase;
vertical-align: middle; }
.modal-wrapper .login-modal .inner-wrapper form {
zoom: 1;
vertical-align: middle;
position: relative;
z-index: 2; }
.modal-wrapper .login-modal .inner-wrapper form:before, .modal-wrapper .login-modal .inner-wrapper form:after {
content: "";
display: table; }
.modal-wrapper .login-modal .inner-wrapper form:after {
clear: both; }
.modal-wrapper .login-modal .inner-wrapper form label {
.modal .inner-wrapper form {
margin-bottom: 12px;
padding: 0px 40px;
position: relative;
z-index: 2; }
.modal .inner-wrapper form label {
display: none; }
.modal-wrapper .login-modal .inner-wrapper form label.remember-me {
background: #e6e6e6;
.modal .inner-wrapper form input[type="checkbox"] {
margin-right: 5px; }
.modal .inner-wrapper form input[type="email"],
.modal .inner-wrapper form input[type="text"],
.modal .inner-wrapper form input[type="password"] {
background: white;
display: block;
height: 45px;
margin-bottom: 20px;
width: 100%; }
.modal .inner-wrapper form label.remember-me,
.modal .inner-wrapper form label.terms-of-service,
.modal .inner-wrapper form label.honor-code {
background: #e9e9e9;
border: 1px solid #c8c8c8;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
......@@ -1735,41 +1800,71 @@ header.app {
-moz-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6);
box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6);
display: block;
margin-bottom: 60px;
padding: 8px 10px;
margin-bottom: 20px;
padding: 8px 10px; }
.modal .inner-wrapper form label.remember-me:hover,
.modal .inner-wrapper form label.terms-of-service:hover,
.modal .inner-wrapper form label.honor-code:hover {
background: #e6e6e6; }
.modal .inner-wrapper form label.remember-me a,
.modal .inner-wrapper form label.terms-of-service a,
.modal .inner-wrapper form label.honor-code a {
font: normal 1.2rem/1.6rem Georgia, Cambria, "Times New Roman", Times, serif;
text-decoration: underline; }
.modal .inner-wrapper form .honor-code-summary {
margin-bottom: 20px;
padding: 0px;
position: relative; }
.modal-wrapper .login-modal .inner-wrapper form label.remember-me::before {
bottom: -30px;
.modal .inner-wrapper form .honor-code-summary p {
color: #a0a0a0;
font: 300 1.2rem/1.6rem "Open Sans", Verdana, Geneva, sans-serif; }
.modal .inner-wrapper form .honor-code-summary hr {
border: none;
margin-top: 30px;
position: relative;
z-index: 2; }
.modal .inner-wrapper form .honor-code-summary hr::after {
bottom: 0px;
content: "";
display: block;
position: absolute; }
.modal-wrapper .login-modal .inner-wrapper form input[type="checkbox"] {
margin-right: 5px; }
.modal-wrapper .login-modal .inner-wrapper form input[type="email"],
.modal-wrapper .login-modal .inner-wrapper form input[type="password"] {
display: block;
height: 45px;
margin-bottom: 20px;
position: absolute;
top: -1px; }
.modal .inner-wrapper form .honor-code-summary ul {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0 0 0 20px;
width: 100%; }
.modal-wrapper .login-modal .inner-wrapper form input[type="submit"] {
.modal .inner-wrapper form .honor-code-summary ul li {
color: #a0a0a0;
font: 300 1.2rem/1.6rem "Open Sans", Verdana, Geneva, sans-serif;
margin-bottom: 10px; }
.modal .inner-wrapper form .honor-code-summary ul li:last-child {
margin-bottom: 0px; }
.modal .inner-wrapper form .submit {
padding-top: 10px; }
.modal .inner-wrapper form .submit input[type="submit"] {
display: block;
height: 45px;
margin: 0 auto;
width: 70%; }
.modal-wrapper .login-modal .inner-wrapper .login-extra {
padding: 15px 0px;
position: relative; }
.modal-wrapper .login-modal .inner-wrapper .login-extra p {
width: 100%; }
.modal .inner-wrapper .login-extra {
position: relative;
z-index: 2; }
.modal .inner-wrapper .login-extra p {
color: #a0a0a0;
font: normal italic 1.2rem/1.6rem Georgia, Cambria, "Times New Roman", Times, serif;
text-align: center; }
.modal-wrapper .login-modal .inner-wrapper .login-extra p a {
.modal .inner-wrapper .login-extra p a {
color: #a0a0a0;
font: normal italic 1.2rem/1.6rem Georgia, Cambria, "Times New Roman", Times, serif;
text-decoration: underline; }
.modal-wrapper .login-modal .inner-wrapper .login-extra p span + a {
.modal .inner-wrapper .login-extra p a:hover {
color: #3c3c3c; }
.modal .inner-wrapper .login-extra p span + a {
margin-left: 15px; }
.modal-wrapper .login-modal .inner-wrapper .close-modal {
.modal .inner-wrapper .close-modal {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
......@@ -1779,16 +1874,12 @@ header.app {
zoom: 1;
*display: inline;
*vertical-align: auto;
padding: 5px 10px;
padding: 10px;
position: absolute;
right: 5px;
top: 5px;
-webkit-transition: all, 0.15s, ease-out;
-moz-transition: all, 0.15s, ease-out;
-ms-transition: all, 0.15s, ease-out;
-o-transition: all, 0.15s, ease-out;
transition: all, 0.15s, ease-out; }
.modal-wrapper .login-modal .inner-wrapper .close-modal .inner p {
right: 2px;
top: 0px;
z-index: 3; }
.modal .inner-wrapper .close-modal .inner p {
color: #a0a0a0;
font: normal 1.2rem/1.2rem "Open Sans", Verdana, Geneva, sans-serif;
text-align: center;
......@@ -1798,7 +1889,7 @@ header.app {
-ms-transition: all, 0.15s, ease-out;
-o-transition: all, 0.15s, ease-out;
transition: all, 0.15s, ease-out; }
.modal-wrapper .login-modal .inner-wrapper .close-modal:hover p {
.modal .inner-wrapper .close-modal:hover p {
color: #3c3c3c; }
.home {
......@@ -1900,64 +1991,6 @@ header.app {
-moz-box-shadow: 0 0 16px 0 rgba(29, 157, 217, 0.35);
box-shadow: 0 0 16px 0 rgba(29, 157, 217, 0.35); }
.home > header .welcome .signup-wrapper .sign-up a {
border: 1px solid #410017;
border-bottom: 1px solid #380000;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: inset 0 1px 0 0 #db4274;
-moz-box-shadow: inset 0 1px 0 0 #db4274;
box-shadow: inset 0 1px 0 0 #db4274;
color: white;
display: inline-block;
font-size: 14px;
font-weight: bold;
background-color: #b62568;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b62568), color-stop(50%, #7e0047), color-stop(50%, #600038), color-stop(100%, #67003a));
background-image: -webkit-linear-gradient(top, #b62568 0%, #7e0047 50%, #600038 50%, #67003a 100%);
background-image: -moz-linear-gradient(top, #b62568 0%, #7e0047 50%, #600038 50%, #67003a 100%);
background-image: -ms-linear-gradient(top, #b62568 0%, #7e0047 50%, #600038 50%, #67003a 100%);
background-image: -o-linear-gradient(top, #b62568 0%, #7e0047 50%, #600038 50%, #67003a 100%);
background-image: linear-gradient(top, #b62568 0%, #7e0047 50%, #600038 50%, #67003a 100%);
padding: 8px 20px;
text-align: center;
text-decoration: none;
text-shadow: 0 -1px 1px #2a0000;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
display: inline-block;
vertical-align: baseline;
zoom: 1;
*display: inline;
*vertical-align: auto;
font: normal italic 1.2rem/1.6rem Georgia, Cambria, "Times New Roman", Times, serif;
padding: 15px 0px;
text-transform: uppercase;
text-align: center;
width: 48.744%; }
.home > header .welcome .signup-wrapper .sign-up a:hover:not(:disabled) {
cursor: pointer;
background-color: #a91656;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a91656), color-stop(50%, #740035), color-stop(50%, #590026), color-stop(100%, #600029));
background-image: -webkit-linear-gradient(top, #a91656 0%, #740035 50%, #590026 50%, #600029 100%);
background-image: -moz-linear-gradient(top, #a91656 0%, #740035 50%, #590026 50%, #600029 100%);
background-image: -ms-linear-gradient(top, #a91656 0%, #740035 50%, #590026 50%, #600029 100%);
background-image: -o-linear-gradient(top, #a91656 0%, #740035 50%, #590026 50%, #600029 100%);
background-image: linear-gradient(top, #a91656 0%, #740035 50%, #590026 50%, #600029 100%); }
.home > header .welcome .signup-wrapper .sign-up a:active:not(:disabled) {
-webkit-box-shadow: inset 0 0 20px 0 #470000, 0 1px 0 white;
-moz-box-shadow: inset 0 0 20px 0 #470000, 0 1px 0 white;
box-shadow: inset 0 0 20px 0 #470000, 0 1px 0 white; }
.home > header .welcome .signup-wrapper .sign-up a:disabled {
opacity: 0.5;
cursor: not-allowed; }
.home > header .welcome .signup-wrapper .sign-up a:first-child {
margin-right: 2.513%; }
.home > header .welcome .signup-wrapper .sign-up a.find-courses {
border: 1px solid #002e88;
border-bottom: 1px solid #001e5f;
-webkit-border-radius: 5px;
......@@ -1993,8 +2026,11 @@ header.app {
*display: inline;
*vertical-align: auto;
font: normal italic 1.2rem/1.6rem Georgia, Cambria, "Times New Roman", Times, serif;
padding: 15px 0px; }
.home > header .welcome .signup-wrapper .sign-up a.find-courses:hover:not(:disabled) {
padding: 15px 0px;
text-transform: uppercase;
text-align: center;
width: 100%; }
.home > header .welcome .signup-wrapper .sign-up a:hover:not(:disabled) {
cursor: pointer;
background-color: #108ec7;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #108ec7), color-stop(50%, #005fa6), color-stop(50%, #004897), color-stop(100%, #004d9a));
......@@ -2003,11 +2039,11 @@ header.app {
background-image: -ms-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: -o-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%); }
.home > header .welcome .signup-wrapper .sign-up a.find-courses:active:not(:disabled) {
.home > header .welcome .signup-wrapper .sign-up a:active:not(:disabled) {
-webkit-box-shadow: inset 0 0 20px 0 #00295f, 0 1px 0 white;
-moz-box-shadow: inset 0 0 20px 0 #00295f, 0 1px 0 white;
box-shadow: inset 0 0 20px 0 #00295f, 0 1px 0 white; }
.home > header .welcome .signup-wrapper .sign-up a.find-courses:disabled {
.home > header .welcome .signup-wrapper .sign-up a:disabled {
opacity: 0.5;
cursor: not-allowed; }
.home > header .welcome .signup-wrapper .sign-up form input[type="text"],
......@@ -2555,7 +2591,7 @@ nav.course-material {
padding-bottom: 20px;
position: relative;
width: 31.658%; }
.course-info .sidebar .faded-vertical-divider, .course-info .sidebar header.app a.logo::after, header.app .course-info .sidebar a.logo::after {
.course-info .sidebar .faded-vertical-divider, .course-info .sidebar .vertical-divider, .course-info .sidebar header.app .divider, header.app .course-info .sidebar .divider {
background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 10%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 90%, rgba(255, 255, 255, 0));
background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 10%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 90%, rgba(255, 255, 255, 0));
background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 10%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 90%, rgba(255, 255, 255, 0));
......
......@@ -10,7 +10,7 @@
@import 'shared_header';
@import 'shared_list_of_courses';
@import 'shared_course_filter';
@import 'shared_login_modal';
@import 'shared_modal';
@import 'index';
@import 'dashboard';
......
<%inherit file="main.html" />
<h1>About Us</h1>
......@@ -22,7 +22,6 @@
<div class="signup-wrapper">
<section class="sign-up">
<a href="#" class="find-courses">Find Courses</a>
<a href="#" class="create-account">Sign Up</a>
</section>
</div>
</section>
......
<%inherit file="main.html" />
<h1>Jobs</h1>
<%namespace name='static' file='static_content.html'/>
<section class="modal-wrapper">
<section class="login-modal">
<section class="modal login-modal">
<div class="inner-wrapper">
<header>
<h3>Log In</h3>
<hr>
</header>
<form id="login_form" method="post">
<label>E-mail</label>
<input name="email" type="email" placeholder="e-mail">
<input name="email" type="email" placeholder="E-mail">
<label>Password</label>
<input name="password" type="password" placeholder="password">
<input name="password" type="password" placeholder="Password">
<label class="remember-me">
<input name="remember" type="checkbox">
Remember me
</label>
<div class="submit">
<input name="submit" type="submit" value="Submit">
</div>
</form>
<section class="login-extra">
......@@ -32,8 +34,8 @@
</div>
</div>
</div>
</section>
</section>
<script type="text/javascript">
function getCookie(name) {
var cookieValue = null;
......@@ -68,7 +70,7 @@ function postJSON(url, data, callback) {
submit_data,
function(json) {
if(json.success) {
location.href="/info";
location.href="/courses";
} else if($('#login_error').length == 0) {
$('#login_form').prepend('<div id="login_error">Email or password is incorrect.</div>');
} else {
......
......@@ -7,21 +7,35 @@
<a href="${ MITX_ROOT_URL }" class="logo">
<img src="${static.url('images/logo.png')}" />
</a>
<a href="/courses" class="discover-courses">Find Courses</a>
<nav class="find-courses">
<ol>
<li class="primary">
<div class="divider"></div>
<a href="/courses">Find Courses</a>
<div class="divider"></div>
</li>
<li class="secondary">
<a href="/about">About</a>
<a href="#">Blog</a>
<a href="/jobs">Jobs</a>
</li>
</ol>
</nav>
%if user.is_authenticated():
<h1>${ settings.COURSE_TITLE }</h1>
<nav class="user">
<ol>
<li>
<li class="primary">
<div class="divider"></div>
<a href="/dashboard" class="user-link">
<span class="avatar"><img src="${static.url('images/profile.jpg')}" /></span>
Neil deGrasse Tyson
</a>
</li>
<li>
<div class="divider"></div>
<a href="#" class="options">&#9662</a>
<div class="divider"></div>
<ol class="user-options">
<li><a href="#">Account Settings</a></li>
<li><a href="#">Help</a></li>
<li><a href="/logout">Log Out</a></li>
</ol>
......@@ -32,20 +46,12 @@
%else:
<nav class="guest">
<ol>
<li>
<a href="#">About</a>
</li>
<li>
<a href="#">Blog</a>
</li>
<li>
<a href="#">Jobs</a>
</li>
<li>
<a href="#" class="login">Log In</a>
</li>
<li>
<a href="#">Sign Up</a>
<li class="primary">
<div class="divider"></div>
<a href="#" id="login">Log In</a>
<div class="divider"></div>
<a href="#" id="signup">Sign Up</a>
<div class="divider"></div>
</li>
</ol>
</nav>
......@@ -55,4 +61,8 @@
%if not user.is_authenticated():
<%include file="login_modal.html" />
<%include file="signup_modal.html" />
<section class="modal-overlay">
</section>
%endif
<%namespace name='static' file='static_content.html'/>
<section class="modal signup-modal">
<div class="inner-wrapper">
<header>
<h3>Sign Up for edX</h3>
<hr>
</header>
<form id="login_form" method="post">
<label>E-mail</label>
<input name="email" type="email" placeholder="E-mail">
<label>Password</label>
<input name="password" type="password" placeholder="Password">
<label>Public Username</label>
<input name="username" type="text" placeholder="Public Username">
<label>Full Name</label>
<input name="fullname" type="text" placeholder="Full Name">
<label>Your Location</label>
<input name="location" type="text" placeholder="Your Location">
<label>Prefered Language</label>
<input name="language" type="text" placeholder="Prefered Language">
<label class="terms-of-service">
<input name="terms-of-service" type="checkbox">
I agree to the
<a href="#">Terms of Service</a>
</label>
<label class="honor-code">
<input name="honor-code" type="checkbox">
I agree to the
<a href="#">Honor Code</a>
, sumarized below as:
</label>
<div class="honor-code-summary">
<ul>
<li>
<p>Complete all mid-terms and final exams with only my own work.</p>
</li>
<li>
<p>Maintain only one account, and not share the username or password.</p>
</li>
<li>
<p>Not engage in any activity that would dishonestly improve my results, or improve or hurt those of others.</p>
</li>
<li>
<p>Not post answers to problems that are being used to assess student performance.</p>
</li>
</ul>
<hr>
</div>
<div class="submit">
<input name="submit" type="submit" value="Create My Account">
</div>
</form>
<section class="login-extra">
<p>
<span>Already have an account? <a href="#">Login.</a></span>
</p>
</section>
<div class="close-modal">
<div class="inner">
<p>&#10005;</p>
</div>
</div>
</div>
</section>
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