Night Mode + CSS Additions (#7929)

* Night Mode and More Hotkeys

* Nightmode CSS adjustments

* Removed Redundant Line

* Wrapped JSON.parse statements in a try catch block
This commit is contained in:
Justin Richardsson
2016-04-08 18:13:41 -04:00
committed by Berkeley Martinez
parent d0c12be85e
commit 5fdc961587
6 changed files with 189 additions and 5 deletions

View File

@@ -54,6 +54,10 @@ html {
border-color: @brand-primary;
}
body {
display: none;
}
body.full-screen-body-background {
background-color: @body-bg;
}
@@ -678,7 +682,7 @@ thead {
/**
* Bonfire styling
* Challenge styling
*/
form.code span {
@@ -986,7 +990,7 @@ hr {
}
code {
padding: 0;
padding: 1px 5px;
}
@media only screen and (min-width: 993px) {
@@ -1133,6 +1137,49 @@ code {
}
}
.night {
background-color: #333;
color: #999;
.btn-group,
.text-success,
.challenge-list-header,
.fcc-footer {
background-color: #333;
}
.navbar-default .navbar-nav > li > a {
color: #CCC;
&:hover {
background-color: #666;
}
}
a, .input-group-addon {
color: #CCC;
}
.black-text {
color:#111;
}
code {
background-color: #2A2A2A;
color: #006400;
}
.fcc-footer {
a {
&hover {
background-color: #333;
}
}
}
.btn-primary {
background-color: #006400;
color:#CCC;
transition: color 0.2s, background-color 0.2s;
&:hover {
background-color: #ABABAB!important;
color: #333!important;
}
}
}
@import "chat.less";
@import "jobs.less";
@import "challenge.less";