initial pass at color simplification

This commit is contained in:
awesomerobot 2017-06-11 22:20:14 -04:00
parent 2ffddfb32c
commit c29b7aa65d
53 changed files with 296 additions and 266 deletions

View File

@ -36,8 +36,8 @@ $mobile-breakpoint: 700px;
tr {text-align: left;} tr {text-align: left;}
td, th {padding: 8px;} td, th {padding: 8px;}
td { td {
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
} }
th { th {
text-align: left; text-align: left;
@ -94,11 +94,11 @@ td.flaggers td {
.site-text { .site-text {
cursor: pointer; cursor: pointer;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
margin-bottom: 0.5em; margin-bottom: 0.5em;
&.overridden { &.overridden {
background-color: dark-light-diff($highlight, $secondary, 50%, -60%); background-color: $highlight-medium;
} }
h3 { h3 {
@ -112,7 +112,7 @@ td.flaggers td {
.site-text-value { .site-text-value {
margin: 0.5em 5em 0.5em 0; margin: 0.5em 5em 0.5em 0;
max-height: 100px; max-height: 100px;
color: dark-light-diff($primary, $secondary, 40%, -10%); color: $primary-medium;
} }
} }
@ -136,7 +136,7 @@ td.flaggers td {
font-size: 0.857em; font-size: 0.857em;
float: right; float: right;
margin-right: 10px; margin-right: 10px;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
padding: 2px 5px; padding: 2px 5px;
border-radius: 5px; border-radius: 5px;
color: $primary; color: $primary;
@ -222,16 +222,16 @@ td.flaggers td {
} }
.admin-controls { .admin-controls {
background-color: dark-light-diff($primary, $secondary, 90%, -65%); background-color: $primary-low;
padding: 10px 10px 3px 0; padding: 10px 10px 3px 0;
@include clearfix; @include clearfix;
.nav.nav-pills { .nav.nav-pills {
li.active { li.active {
a { a {
border-color: dark-light-diff($primary, $secondary, 90%, -90%); border-color: $primary-low;
background-color: dark-light-diff($primary, $secondary, 40%, -10%); background-color: $primary-medium;
&:hover { &:hover {
background-color: dark-light-diff($primary, $secondary, 40%, -10%); background-color: $primary-medium;
} }
} }
} }
@ -385,7 +385,7 @@ td.flaggers td {
// Todo: set this properly - it needs to be >= the menu height // Todo: set this properly - it needs to be >= the menu height
min-height: 875px; min-height: 875px;
margin-left: 0; margin-left: 0;
border-left: solid 1px dark-light-diff($primary, $secondary, 90%, -60%); border-left: solid 1px $primary-low;
padding: 30px 0 30px 30px; padding: 30px 0 30px 30px;
@media (max-width: $mobile-breakpoint) { @media (max-width: $mobile-breakpoint) {
padding: 30px 0; padding: 30px 0;
@ -464,7 +464,7 @@ td.flaggers td {
} }
padding: 1px; padding: 1px;
background-color: $secondary; background-color: $secondary;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
border-radius: 3px; border-radius: 3px;
box-shadow: inset 0 1px 1px rgba(51, 51, 51, 0.3); box-shadow: inset 0 1px 1px rgba(51, 51, 51, 0.3);
transition: border linear 0.2s, box-shadow linear 0.2s; transition: border linear 0.2s, box-shadow linear 0.2s;
@ -521,7 +521,7 @@ td.flaggers td {
.setting.overridden.string { .setting.overridden.string {
input[type=text] { input[type=text] {
background-color: dark-light-diff($highlight, $secondary, 50%, -60%); background-color: $highlight-medium;
} }
} }
} }
@ -532,7 +532,7 @@ section.details {
color: $primary; color: $primary;
padding: 5px 10px; padding: 5px 10px;
margin: 30px 0 5px 0; margin: 30px 0 5px 0;
border-bottom: 5px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 5px solid $primary-low;
} }
} }
@ -575,7 +575,7 @@ section.details {
&.highlight-danger { &.highlight-danger {
background-color: scale-color($danger, $lightness: 50%); background-color: scale-color($danger, $lightness: 50%);
} }
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
&:before, &:after { &:before, &:after {
display: table; display: table;
content: ""; content: "";
@ -695,14 +695,14 @@ section.details {
font-size: 1em; font-size: 1em;
line-height: 16px; line-height: 16px;
padding: 4px; padding: 4px;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
} }
.badge-query-plan { .badge-query-plan {
font-size: 0.857em; font-size: 0.857em;
line-height: 13px; line-height: 13px;
padding: 4px; padding: 4px;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
} }
.count-warning { .count-warning {
@ -765,8 +765,8 @@ section.details {
background-color: scale-color($danger, $lightness: 70%); background-color: scale-color($danger, $lightness: 70%);
} }
.message { background-color: dark-light-diff($highlight, $secondary, 50%, -70%); } .message { background-color: $highlight-medium; }
.message:hover { background-color: dark-light-diff($highlight, $secondary, 60%, -60%); } .message:hover { background-color: $highlight-low; }
.flagged-post-avatar { .flagged-post-avatar {
margin-right: 10px; margin-right: 10px;
@ -901,7 +901,7 @@ table.api-keys {
th { th {
font-weight: normal; font-weight: normal;
text-align: center; text-align: center;
background: dark-light-diff($primary, $secondary, 80%, -65%); background: $primary-low;
} }
th.title { th.title {
text-align: left; text-align: left;
@ -951,7 +951,7 @@ table.api-keys {
} }
&.detected-problems { &.detected-problems {
background: dark-light-diff($primary, $secondary, 90%, -75%); background: $primary-low;
margin-bottom: 20px; margin-bottom: 20px;
.look-here { .look-here {
@ -976,7 +976,7 @@ table.api-keys {
text-align: right; text-align: right;
} }
.btn { .btn {
background: dark-light-diff($primary, $secondary, 80%, -85%); background: $primary-low;
} }
ul { ul {
margin-left: 0; margin-left: 0;
@ -1026,7 +1026,7 @@ table.api-keys {
} }
.commits-widget { .commits-widget {
border: solid 1px dark-light-diff($primary, $secondary, 90%, -60%); border: solid 1px $primary-low;
height: 180px; height: 180px;
margin-bottom: 36px; margin-bottom: 36px;
@ -1049,7 +1049,7 @@ table.api-keys {
color: $primary; color: $primary;
font-weight: bold; font-weight: bold;
height: 30px; height: 30px;
background: dark-light-diff($primary, $secondary, 80%, -75%); background: $primary-low;
cursor: pointer; cursor: pointer;
h1 { h1 {
@ -1072,7 +1072,7 @@ table.api-keys {
@extend .clearfix; @extend .clearfix;
line-height: 1.0em; line-height: 1.0em;
padding: 6px 8px; padding: 6px 8px;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
.left { .left {
float: left; float: left;
} }
@ -1082,7 +1082,7 @@ table.api-keys {
img { img {
margin-top: 2px; margin-top: 2px;
border: solid 1px dark-light-diff($primary, $secondary, 90%, -60%); border: solid 1px $primary-low;
padding: 2px; padding: 2px;
background-color: $secondary; background-color: $secondary;
} }
@ -1113,11 +1113,11 @@ table.api-keys {
width: 6px; width: 6px;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background: dark-light-diff($primary, $secondary, 90%, -75%); background: $primary-low;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
} }
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
border-left: solid 1px dark-light-diff($primary, $secondary, 90%, -60%); border-left: solid 1px $primary-low;
} }
} }
@ -1292,7 +1292,7 @@ table.api-keys {
color: $primary; color: $primary;
&:hover { &:hover {
color: $primary; color: $primary;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
} }
@ -1322,7 +1322,7 @@ table.api-keys {
.heading-container { .heading-container {
width: 100%; width: 100%;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
} }
.col.heading { .col.heading {
font-weight: bold; font-weight: bold;
@ -1338,7 +1338,7 @@ table.api-keys {
.ember-list-item-view { .ember-list-item-view {
width: 100%; width: 100%;
border-top: solid 1px dark-light-diff($primary, $secondary, 90%, -60%); border-top: solid 1px $primary-low;
} }
} }
@ -1528,7 +1528,7 @@ tr.not-activated {
.user-field { .user-field {
padding: 10px; padding: 10px;
margin-bottom: 10px; margin-bottom: 10px;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
.form-display { .form-display {
width: 25%; width: 25%;
@ -1918,11 +1918,11 @@ table#user-badges {
.dbox20 { background: dark-light-diff($primary, $secondary, 20%, -20%); } .dbox20 { background: dark-light-diff($primary, $secondary, 20%, -20%); }
.dbox30 { background: dark-light-diff($primary, $secondary, 30%, -30%); } .dbox30 { background: dark-light-diff($primary, $secondary, 30%, -30%); }
.dbox40 { background: dark-light-diff($primary, $secondary, 40%, -40%); } .dbox40 { background: dark-light-diff($primary, $secondary, 40%, -40%); }
.dbox50 { background: dark-light-diff($primary, $secondary, 50%, -50%); } .dbox50 { background: blend-primary-secondary(50%); }
.dbox60 { background: dark-light-diff($primary, $secondary, 60%, -60%); } .dbox60 { background: dark-light-diff($primary, $secondary, 60%, -60%); }
.dbox70 { background: dark-light-diff($primary, $secondary, 70%, -70%); } .dbox70 { background: dark-light-diff($primary, $secondary, 70%, -70%); }
.dbox80 { background: dark-light-diff($primary, $secondary, 80%, -80%); } .dbox80 { background: dark-light-diff($primary, $secondary, 80%, -80%); }
.dbox90 { background: dark-light-diff($primary, $secondary, 90%, -90%); } .dbox90 { background: $primary-low; }
.dbox100 { background: dark-light-diff($primary, $secondary, 100%, -100%); } .dbox100 { background: dark-light-diff($primary, $secondary, 100%, -100%); }
.dbox5 { background: dark-light-diff($primary, $secondary, 5%, -5%); } .dbox5 { background: dark-light-diff($primary, $secondary, 5%, -5%); }
.dbox15 { background: dark-light-diff($primary, $secondary, 15%, -15%); } .dbox15 { background: dark-light-diff($primary, $secondary, 15%, -15%); }

View File

@ -10,7 +10,7 @@
.field-error { .field-error {
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
background-color: dark-light-diff($quaternary, $secondary, 70%, -70%); background-color: $quaternary-low;
padding: 5px; padding: 5px;
} }
@ -210,4 +210,3 @@
margin-top: 20px; margin-top: 20px;
} }
} }

View File

@ -16,8 +16,8 @@
} }
} }
html.anon .topic-list a.title:visited:not(.badge-notification) {color: dark-light-diff($primary, $secondary, 45%, -30%);} html.anon .topic-list a.title:visited:not(.badge-notification) {color: $primary-medium; }
.topic-list a.title.visited:not(.badge-notification) {color: dark-light-diff($primary, $secondary, 45%, -30%);} .topic-list a.title.visited:not(.badge-notification) {color: $primary-medium; }
.topic-list { .topic-list {
width: 100%; width: 100%;
@ -28,7 +28,7 @@ html.anon .topic-list a.title:visited:not(.badge-notification) {color: dark-ligh
vertical-align: top; vertical-align: top;
margin-top: 2px; margin-top: 2px;
} }
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -75%); border-bottom: 1px solid $primary-low;
&.last-visit { &.last-visit {
border-bottom: none; border-bottom: none;
@ -58,7 +58,7 @@ html.anon .topic-list a.title:visited:not(.badge-notification) {color: dark-ligh
} }
> tbody > tr:first-of-type { > tbody > tr:first-of-type {
border-top: 3px solid dark-light-diff($primary, $secondary, 90%, -75%); border-top: 3px solid $primary-low;
} }
th, th,
@ -238,7 +238,7 @@ ol.category-breadcrumb {
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
position: absolute; position: absolute;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
background-color: $secondary; background-color: $secondary;
z-index: 100; z-index: 100;
@ -300,7 +300,7 @@ ol.category-breadcrumb {
@include unselectable; @include unselectable;
font-size: 1.2em; font-size: 1.2em;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
padding: 5px; padding: 5px;
background: $secondary; background: $secondary;
position: absolute; position: absolute;
@ -326,7 +326,7 @@ ol.category-breadcrumb {
font-size: 0.8em; font-size: 0.8em;
} }
&:hover { &:hover {
background-color: dark-light-diff($highlight, $secondary, 50%, -70%); background-color: $highlight-medium;
} }
} }
} }

View File

@ -30,15 +30,15 @@
-webkit-appearance: none; -webkit-appearance: none;
} }
&.alert-success { &.alert-success {
background-color: dark-light-diff($success, $secondary, 50%, -60%); background-color: $success-low;
color: $primary; color: $primary;
} }
&.alert-error { &.alert-error {
background-color: rgba(dark-light-diff($danger, $secondary, 50%, -60%), .5); background-color: rgba($danger-low, .5);
color: $primary; color: $primary;
} }
&.alert-info { &.alert-info {
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
color: $primary; color: $primary;
&.clickable { &.clickable {
color: $tertiary; color: $tertiary;

View File

@ -18,7 +18,7 @@
max-width: 300px; max-width: 300px;
.colorpicker { .colorpicker {
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
margin-right: 2px; margin-right: 2px;
width: 16px; width: 16px;
height: 16px; height: 16px;

View File

@ -1,5 +1,5 @@
.select2-results .select2-highlighted { .select2-results .select2-highlighted {
background: dark-light-diff($highlight, $secondary, 50%, -80%); background: $highlight-medium;
color: $primary; color: $primary;
} }
@ -36,7 +36,7 @@
.select2-container { .select2-container {
border-radius: 3px; border-radius: 3px;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
min-width: 200px; min-width: 200px;
&.select2-dropdown-open { &.select2-dropdown-open {
@ -71,7 +71,7 @@
border-color: $tertiary; border-color: $tertiary;
} }
.select2-drop { .select2-drop {
color: dark-light-diff($primary, $secondary, -50%, 50%); color: $primary;
} }
.select2-drop-active { .select2-drop-active {
border: 1px solid $tertiary; border: 1px solid $tertiary;

View File

@ -3,7 +3,7 @@
position: absolute; position: absolute;
width: 240px; width: 240px;
background-color: $secondary; background-color: $secondary;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
ul { ul {
list-style: none; list-style: none;
padding: 0; padding: 0;
@ -15,7 +15,7 @@
padding: 0 2px; padding: 0 2px;
} }
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
a { a {
padding: 5px; padding: 5px;
@ -32,10 +32,10 @@
vertical-align: middle; vertical-align: middle;
} }
&.selected { &.selected {
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
} }
@include hover { @include hover {
background-color: dark-light-diff($highlight, $secondary, 90%, -80%); background-color: $highlight-low;
text-decoration: none; text-decoration: none;
} }
} }
@ -52,11 +52,13 @@
.d-editor-button-bar { .d-editor-button-bar {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
margin: 0px; margin: 0px;
padding: 5px; padding: 5px;
border-bottom: 2px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 2px solid $primary-low;
height: 33px; height: 33px;
.btn:hover {
color: $primary-low;
}
} }
textarea { textarea {
@ -88,7 +90,7 @@ div.ac-wrap div.item a.remove, .remove-link {
border-radius: 12px; border-radius: 12px;
width: 10px; width: 10px;
display: inline-block; display: inline-block;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
&:hover { &:hover {
background-color: scale-color($danger, $lightness: 75%); background-color: scale-color($danger, $lightness: 75%);
border: 1px solid scale-color($danger, $lightness: 30%); border: 1px solid scale-color($danger, $lightness: 30%);
@ -101,7 +103,7 @@ div.ac-wrap {
overflow: auto; overflow: auto;
max-height: 150px; max-height: 150px;
background-color: $secondary; background-color: $secondary;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
padding: 5px 4px 1px 4px; padding: 5px 4px 1px 4px;
div.item { div.item {
float: left; float: left;

View File

@ -12,7 +12,7 @@
float: right; float: right;
} }
.total-rows { .total-rows {
color: dark-light-diff($primary, $secondary, 50%, -50%); color: blend-primary-secondary(50%);
text-align: right; text-align: right;
} }
.spinner { .spinner {
@ -26,17 +26,17 @@
td, th { td, th {
padding: 0.5em; padding: 0.5em;
text-align: left; text-align: left;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
.number, .time-read { .number, .time-read {
font-size: 1.4em; font-size: 1.4em;
color: dark-light-diff($primary, $secondary, 50%, -20%); color: $primary-medium;
} }
} }
tr.me { tr.me {
td { td {
background-color: dark-light-diff($highlight, $secondary, 70%, -80%); background-color: $highlight-low;
.username a, .name, .title, .number, .time-read { .username a, .name, .title, .number, .time-read {
color: dark-light-choose(scale-color($highlight, $lightness: -50%), scale-color($highlight, $lightness: 50%)); color: dark-light-choose(scale-color($highlight, $lightness: -50%), scale-color($highlight, $lightness: 50%));
@ -58,7 +58,7 @@
} }
&:hover { &:hover {
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
} }
} }
} }

View File

@ -314,7 +314,7 @@ body {
animation: rotate-forever 1s infinite linear; animation: rotate-forever 1s infinite linear;
height: 30px; height: 30px;
width: 30px; width: 30px;
border: 4px solid dark-light-diff($primary, $secondary, 50%, -50%); border: 4px solid blend-primary-secondary(50%);
border-right-color: transparent; border-right-color: transparent;
border-radius: 50%; border-radius: 50%;
@ -329,7 +329,7 @@ body {
.content-list { .content-list {
h3 { h3 {
color: dark-light-diff($primary, $secondary, 50%, -20%); color: $primary-medium;
font-size: 1.071em; font-size: 1.071em;
padding-left: 5px; padding-left: 5px;
margin-bottom: 10px; margin-bottom: 10px;
@ -340,10 +340,10 @@ body {
margin: 0; margin: 0;
li:first-of-type { li:first-of-type {
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
} }
li { li {
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
} }
li a { li a {
@ -352,7 +352,7 @@ body {
color: $primary; color: $primary;
&:hover { &:hover {
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
color: $primary; color: $primary;
} }
@ -380,7 +380,7 @@ span.relative-date {
@keyframes background-fade-highlight { @keyframes background-fade-highlight {
0% { 0% {
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
} }
100% { 100% {
background-color: transparent; background-color: transparent;

View File

@ -51,7 +51,7 @@ table.group-logs {
width: 100%; width: 100%;
th, tr { th, tr {
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
} }
th { th {
@ -67,7 +67,7 @@ table.group-logs {
cursor: pointer; cursor: pointer;
i { i {
color: dark-light-diff($primary, $secondary, 50%, -50%); color: blend-primary-secondary(50%);
} }
} }
} }
@ -77,7 +77,7 @@ table.group-members {
table-layout: fixed; table-layout: fixed;
tr { tr {
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
} }
th:first-child { th:first-child {
@ -90,7 +90,7 @@ table.group-members {
} }
th { th {
border-bottom: 3px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 3px solid $primary-low;
text-align: center; text-align: center;
padding: 5px 0px 5px 5px; padding: 5px 0px 5px 5px;
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
@ -104,7 +104,7 @@ table.group-members {
&:hover { &:hover {
cursor: pointer; cursor: pointer;
background-color: dark-light-diff($primary, $secondary, 90%, -75%); background-color: $primary-low;
} }
} }
@ -119,7 +119,7 @@ table.group-members {
td { td {
text-align: center; text-align: center;
color: dark-light-diff($primary, $secondary, 50%, -50%); color: blend-primary-secondary(50%);
padding: 0.8em 0; padding: 0.8em 0;
} }
} }

View File

@ -8,16 +8,16 @@
width: 100%; width: 100%;
th { th {
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
padding: 5px 0px; padding: 5px 0px;
text-align: left; text-align: left;
} }
tr { tr {
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
td { td {
color: dark-light-diff($primary, $secondary, 50%, -50%); color: blend-primary-secondary(50%);
padding: 0.8em 0; padding: 0.8em 0;
} }

View File

@ -69,14 +69,14 @@
&:hover { &:hover {
color: $primary; color: $primary;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
border-top: 1px solid transparent; border-top: 1px solid transparent;
border-left: 1px solid transparent; border-left: 1px solid transparent;
border-right: 1px solid transparent; border-right: 1px solid transparent;
} }
&:active { &:active {
color: $primary; color: $primary;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
} }
} }
.drop-down-visible & { .drop-down-visible & {
@ -85,9 +85,9 @@
color: #7b7b7b; color: #7b7b7b;
background-color: $secondary; background-color: $secondary;
cursor: default; cursor: default;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
border-left: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-left: 1px solid $primary-low;
border-right: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-right: 1px solid $primary-low;
.badge-notification { .badge-notification {
top: -10px; top: -10px;
@ -147,7 +147,7 @@
.highlight-strong { .highlight-strong {
background-color: dark-light-diff($highlight, $secondary, 40%, -45%); background-color: $highlight-medium;
} }
.search-highlight { .search-highlight {

View File

@ -42,7 +42,7 @@
.informations { .informations {
margin: 6px; margin: 6px;
padding-right: 20px; padding-right: 20px;
color: dark-light-diff($primary, $secondary, 50%, -50%); color: blend-primary-secondary(50%);
font-size: 1em; font-size: 1em;
} }

View File

@ -18,7 +18,7 @@
} }
.menu-panel { .menu-panel {
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
box-shadow: 0 2px 2px rgba(0,0,0, .25); box-shadow: 0 2px 2px rgba(0,0,0, .25);
background-color: $secondary; background-color: $secondary;
z-index: 1100; z-index: 1100;
@ -60,7 +60,7 @@
padding: 0.25em 0.5em; padding: 0.25em 0.5em;
display: block; display: block;
&:hover { &:hover {
background-color: dark-light-diff($highlight, $secondary, 50%, -55%); background-color: $highlight-medium;
} }
} }
@ -191,7 +191,7 @@
} }
&:hover a:not(.badge-notification) { &:hover a:not(.badge-notification) {
background-color: dark-light-diff($highlight, $secondary, 50%, -55%); background-color: $highlight-medium;
} }
button {margin-left: 5px;} button {margin-left: 5px;}
@ -210,7 +210,7 @@
.fa { color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); } .fa { color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); }
.icon { color: dark-light-choose(scale-color($primary, $lightness: 30%), scale-color($secondary, $lightness: 70%)); } .icon { color: dark-light-choose(scale-color($primary, $lightness: 30%), scale-color($secondary, $lightness: 70%)); }
li { li {
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
padding: 0.25em 0.5em; padding: 0.25em 0.5em;
i { i {
float: left; float: left;
@ -218,7 +218,7 @@
padding-top: 2px; padding-top: 2px;
} }
span { color: $primary; } span { color: $primary; }
&:hover { background-color: dark-light-diff($highlight, $secondary, 50%, -55%); } &:hover { background-color: $highlight-medium; }
a { padding: 0; } a { padding: 0; }
p { p {
margin: 0; margin: 0;
@ -256,7 +256,7 @@
.notifications .logout { .notifications .logout {
padding: 0.25em; padding: 0.25em;
&:hover { &:hover {
background-color: dark-light-diff($highlight, $secondary, 50%, -55%); background-color: $highlight-medium;
} }
} }
@ -269,7 +269,7 @@ div.menu-links-header {
display: table-row; display: table-row;
} }
a:hover { a:hover {
background-color: dark-light-diff($highlight, $secondary, 50%, -55%); background-color: $highlight-medium;
} }
a { a {
padding: 0.5em; padding: 0.5em;

View File

@ -13,11 +13,11 @@
.input-hint-text { .input-hint-text {
margin-left: 0.5em; margin-left: 0.5em;
color: dark-light-diff($secondary, $primary, 30%, -35%); color: $secondary-medium;
} }
.modal-header { .modal-header {
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
} }
.modal-backdrop { .modal-backdrop {
@ -96,7 +96,7 @@
} }
.modal-footer { .modal-footer {
padding: 14px 15px 15px; padding: 14px 15px 15px;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
} }
.modal-footer:before, .modal-footer:before,
.modal-footer:after { .modal-footer:after {
@ -118,11 +118,11 @@
.modal { .modal {
.nav { .nav {
padding: 10px 30px 10px 15px; padding: 10px 30px 10px 15px;
background-color: dark-light-diff($secondary, $primary, 10%, -15%); background-color: $secondary;
li > a { li > a {
font-size: 1em; font-size: 1em;
} }
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
} }
@ -230,7 +230,7 @@
font-weight: normal; font-weight: normal;
} }
&.btn-reply-here { &.btn-reply-here {
background: dark-light-diff($primary, $secondary, 90%, -60%); background: $primary-low;
text-shadow: none; text-shadow: none;
color: $primary; color: $primary;
} }
@ -351,7 +351,7 @@
font-weight: bold; font-weight: bold;
} }
&:focus { &:focus {
outline: 2px solid dark-light-diff($primary, $secondary, 90%, -60%); outline: 2px solid $primary-low;
} }
} }
.incoming-email-tabs { .incoming-email-tabs {
@ -362,7 +362,7 @@
textarea, .incoming-email-html-part { textarea, .incoming-email-html-part {
height: 95%; height: 95%;
border: none; border: none;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
padding-top: 10px; padding-top: 10px;
} }
textarea { textarea {

View File

@ -89,7 +89,7 @@ a.loading-onebox {
} }
aside.onebox { aside.onebox {
border: 5px solid dark-light-diff($primary, $secondary, 90%, -85%); border: 5px solid $primary-low;
padding: 12px 25px 12px 12px; padding: 12px 25px 12px 12px;
font-size: 1em; font-size: 1em;

View File

@ -108,7 +108,7 @@
} }
.search-advanced-options { .search-advanced-options {
border: 1px solid dark-light-diff($primary, $secondary, 90%, -75%); border: 1px solid $primary-low;
padding: 10px; padding: 10px;
.control-group.pull-left { .control-group.pull-left {
@ -147,7 +147,7 @@
} }
margin: 10px 0 15px; margin: 10px 0 15px;
max-width: 780px; max-width: 780px;
border-bottom: 3px solid dark-light-diff($primary, $secondary, 90%, -75%); border-bottom: 3px solid $primary-low;
width: 100%; width: 100%;
.sort-by { .sort-by {
.desc { .desc {

View File

@ -12,7 +12,7 @@
background-color: $secondary; background-color: $secondary;
width: 205px; width: 205px;
padding: 10px; padding: 10px;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
z-index: 999; z-index: 999;
ul { ul {

View File

@ -1,6 +1,6 @@
.placeholder-avatar { .placeholder-avatar {
display: inline-block; display: inline-block;
background-color: dark-light-diff($primary, $secondary, 90%, -75%); background-color: $primary-low;
width: 45px; width: 45px;
height: 45px; height: 45px;
border-radius: 50%; border-radius: 50%;
@ -8,7 +8,7 @@
.placeholder-text { .placeholder-text {
display: inline-block; display: inline-block;
background-color: dark-light-diff($primary, $secondary, 90%, -75%); background-color: $primary-low;
width: 100%; width: 100%;
height: 1.5em; height: 1.5em;
margin-bottom: 0.6em; margin-bottom: 0.6em;
@ -92,7 +92,7 @@ aside.quote {
} }
.cooked .highlight { .cooked .highlight {
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
padding: 2px; padding: 2px;
margin: -2px; margin: -2px;
} }
@ -137,7 +137,7 @@ aside.quote {
.quote-button { .quote-button {
display: none; display: none;
position: absolute; position: absolute;
background-color: dark-light-diff($primary, $secondary, 50%, -50%); background-color: blend-primary-secondary(50%);
color: dark-light-choose($secondary, $primary); color: dark-light-choose($secondary, $primary);
padding: 10px; padding: 10px;
z-index: 401; z-index: 401;
@ -149,7 +149,7 @@ aside.quote {
} }
&:hover { &:hover {
background-color: dark-light-diff($primary, $secondary, 40%, -40%); background-color: $primary-medium;
cursor: pointer; cursor: pointer;
} }
} }
@ -273,7 +273,7 @@ pre {
kbd kbd
{ {
background-color: $secondary; background-color: $secondary;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
border-radius: 3px; border-radius: 3px;
box-shadow: 0 1px 0 rgba(0,0,0, .8); box-shadow: 0 1px 0 rgba(0,0,0, .8);
color: $primary; color: $primary;
@ -395,15 +395,15 @@ table.md-table {
.topic-body { .topic-body {
.cooked { .cooked {
font-style: italic; font-style: italic;
color: dark-light-diff($primary, $secondary, 55%, -40%); color: $primary-medium;
} }
} }
} }
a.mention, a.mention-group { a.mention, a.mention-group {
padding: 2px 4px; padding: 2px 4px;
color: dark-light-diff($primary, $secondary, 30%, -20%); color: $primary-medium;
background: dark-light-diff($primary, $secondary, 95%, -60%); background: $primary-low;
border-radius: 8px; border-radius: 8px;
font-weight: bold; font-weight: bold;
font-size: 0.93em; font-size: 0.93em;

View File

@ -66,7 +66,7 @@
.has-pending-posts { .has-pending-posts {
padding: 0.5em; padding: 0.5em;
background-color: dark-light-diff($highlight, $secondary, 50%, -70%); background-color: $highlight-medium;
a[href] { a[href] {
float: right; float: right;
} }
@ -118,7 +118,7 @@
.post-links { .post-links {
margin-top: 1em; margin-top: 1em;
padding-top: 1em; padding-top: 1em;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -65%); border-top: 1px solid $primary-low;
} }
.expand-links { .expand-links {
@ -160,7 +160,7 @@
&:hover { &:hover {
color: $tertiary; color: $tertiary;
i { i {
background: dark-light-diff($tertiary, $secondary, 85%, -65%); background: $tertiary-low;
} }
} }
} }

View File

@ -2,7 +2,7 @@
.user-badge { .user-badge {
padding: 3px 8px; padding: 3px 8px;
color: $primary; color: $primary;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -65%); border: 1px solid $primary-low;
line-height: 19px; line-height: 19px;
display: inline-block; display: inline-block;
background-color: $secondary; background-color: $secondary;
@ -126,7 +126,7 @@
.badge-card { .badge-card {
position: relative; position: relative;
display: inline-block; display: inline-block;
background-color: dark-light-diff($primary, $secondary, 95%, -65%); background-color: $primary-low;
margin-right: 5px; margin-right: 5px;
margin-bottom: 10px; margin-bottom: 10px;
box-shadow: 1px 1px 3px rgba(0.0, 0.0, 0.0, 0.2); box-shadow: 1px 1px 3px rgba(0.0, 0.0, 0.0, 0.2);
@ -142,7 +142,7 @@
right: 5px; right: 5px;
top: 5px; top: 5px;
font-weight: bold; font-weight: bold;
color: dark-light-diff($primary, $secondary, 50%, -15%); color: $primary-medium;
font-size: 1.2em; font-size: 1.2em;
} }
@ -156,7 +156,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background-color: dark-light-diff($primary, $secondary, 92%, -60%); background-color: $primary-low;
font-size: 3em; font-size: 3em;
img { img {

View File

@ -236,7 +236,7 @@
} }
.label { .label {
color: dark-light-diff($primary, $secondary, 50%, -50%); color: blend-primary-secondary(50%);
} }
} }
@ -248,7 +248,7 @@
} }
li { li {
border-left: dark-light-diff($primary, $secondary, 90%, -65%) solid 2px; border-left: $primary-low solid 2px;
padding: 5px 8px; padding: 5px 8px;
margin: 10px 0; margin: 10px 0;
} }
@ -288,7 +288,7 @@ and (max-width : 600px) {
} }
.user-preferences .tags .select2-container-multi { .user-preferences .tags .select2-container-multi {
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
width: 540px; width: 540px;
border-radius: 0; border-radius: 0;
.select2-choices { .select2-choices {

View File

@ -169,12 +169,12 @@
} }
li.bar>.badge-category { li.bar>.badge-category {
background: dark-light-diff($primary, $secondary, 90%, -65%) !important; background: $primary-low !important;
color: $primary !important; color: $primary !important;
} }
li.bullet>.badge-category { li.bullet>.badge-category {
background: dark-light-diff($primary, $secondary, 90%, -65%) !important; background: $primary-low !important;
color: $primary !important; color: $primary !important;
.badge-category-bg { .badge-category-bg {
@ -279,9 +279,9 @@
&.clicks { &.clicks {
font-weight: normal; font-weight: normal;
background-color: dark-light-diff($primary, $secondary, 88%, -60%); background-color: $primary-low;
top: -1px; top: -1px;
color: dark-light-diff($primary, $secondary, 40%, -20%); color: $primary-medium;
position: relative; position: relative;
margin-left: 2px; margin-left: 2px;
border: none; border: none;
@ -308,8 +308,8 @@
padding: 4px 5px 2px 5px; padding: 4px 5px 2px 5px;
color: $primary; color: $primary;
text-shadow: 0 1px 0 rgba($primary, 0.1); text-shadow: 0 1px 0 rgba($primary, 0.1);
background-color: dark-light-diff($primary, $secondary, 90%, -65%); background-color: $primary-low;
border-color: dark-light-diff($primary, $secondary, 90%, -65%); border-color: $primary-low;
font-size: 0.857em; font-size: 0.857em;
box-shadow: inset 0 1px 0 rgba(0,0,0, 0.22); box-shadow: inset 0 1px 0 rgba(0,0,0, 0.22);
} }

View File

@ -46,17 +46,17 @@
border: none; border: none;
color: $primary; color: $primary;
font-weight: normal; font-weight: normal;
background: dark-light-diff($primary, $secondary, 90%, -65%); background: $primary-low;
&[href] { &[href] {
color: $primary; color: $primary;
} }
&:hover { &:hover {
background: dark-light-diff($primary, $secondary, 65%, -75%); background: $primary-medium;
color: $secondary; color: $secondary;
} }
&[disabled], &.disabled { &[disabled], &.disabled {
background: dark-light-diff($primary, $secondary, 90%, -60%); background: $primary-low;
&:hover { color: dark-light-choose(scale-color($primary, $lightness: 70%), scale-color($secondary, $lightness: 30%)); } &:hover { color: dark-light-choose(scale-color($primary, $lightness: 70%), scale-color($secondary, $lightness: 30%)); }
cursor: not-allowed; cursor: not-allowed;
} }

View File

@ -32,7 +32,7 @@
transition: background .15s; transition: background .15s;
&:hover { &:hover {
color: $quaternary; color: $quaternary;
background-color: dark-light-diff($quaternary, $secondary, 70%, -70%); background-color: $quaternary-low;
} }
} }
&.active > a, > a.active { &.active > a, > a.active {
@ -49,9 +49,9 @@
@extend %nav; @extend %nav;
padding: 0; padding: 0;
overflow: hidden; overflow: hidden;
background: dark-light-diff($primary, $secondary, 90%, -75%); background: $primary-low;
li { li {
border-bottom: 1px solid dark-light-diff($primary, $secondary, 80%, -60%); border-bottom: 1px solid $primary-low;
position: relative; position: relative;
&:last-of-type { &:last-of-type {
border-bottom: 0; border-bottom: 0;

View File

@ -1,5 +1,5 @@
.d-editor { .d-editor {
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
} }
.d-editor-container { .d-editor-container {
@ -22,7 +22,7 @@
min-width: 400px; min-width: 400px;
position: absolute; position: absolute;
background-color: $secondary; background-color: $secondary;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
padding: 1em; padding: 1em;
top: 25px; top: 25px;
@ -71,7 +71,7 @@
height: 20px; height: 20px;
margin-right: 8px; margin-right: 8px;
margin-left: 5px; margin-left: 5px;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
display: inline-block; display: inline-block;
float: left; float: left;
} }
@ -82,13 +82,13 @@
height: 200px; height: 200px;
&:disabled { &:disabled {
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
} }
} }
.d-editor-preview { .d-editor-preview {
color: $primary; color: $primary;
border: 1px dashed dark-light-diff($primary, $secondary, 90%, -60%); border: 1px dashed $primary-low;
overflow: auto; overflow: auto;
cursor: default; cursor: default;
margin-top: 8px; margin-top: 8px;
@ -110,7 +110,7 @@
.composing-whisper { .composing-whisper {
.d-editor-preview { .d-editor-preview {
font-style: italic; font-style: italic;
color: dark-light-diff($primary, $secondary, 55%, -40%) !important; color: $primary-medium !important;
} }
} }

View File

@ -41,7 +41,7 @@ hr {
height: 1px; height: 1px;
margin: 1em 0; margin: 1em 0;
border: 0; border: 0;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
padding: 0; padding: 0;
} }

View File

@ -97,7 +97,7 @@
// Stuff we repeat // Stuff we repeat
@mixin post-aside { @mixin post-aside {
border-left: 5px solid dark-light-diff($primary, $secondary, 90%, -85%); border-left: 5px solid $primary-low;
background-color: blend-primary-secondary(5%); background-color: blend-primary-secondary(5%);
} }

View File

@ -78,3 +78,33 @@ $base-font-family: Helvetica, Arial, sans-serif !default;
@return $dark-theme-result; @return $dark-theme-result;
} }
} }
// standard color transformations, use these if possible, and add any new dark-light-diffs here
//primary
$primary-low: dark-light-diff($primary, $secondary, 90%, -65%);
$primary-medium: dark-light-diff($primary, $secondary, 50%, -20%);
//secondary
$secondary-low: dark-light-diff($secondary, $primary, 50%, -50%);
$secondary-medium: dark-light-diff($secondary, $primary, 30%, -35%);
//tertiary
$tertiary-low: dark-light-diff($tertiary, $secondary, 85%, -65%);
//quaternary
$quaternary-low: dark-light-diff($quaternary, $secondary, 70%, -70%);
//highlight
$highlight-low: dark-light-diff($highlight, $secondary, 70%, -80%);
$highlight-medium: dark-light-diff($highlight, $secondary, 50%, -55%);
//danger
$danger-low: dark-light-diff($danger, $secondary, 50%, -40%);
$danger-medium: dark-light-diff($danger, $secondary, 30%, -60%);
//success
$success-low: dark-light-diff($success, $secondary, 50%, -60%);
//love
$love-low: dark-light-diff($love, $secondary, 85%, -60%);

View File

@ -7,7 +7,7 @@
padding: 5px 10px; padding: 5px 10px;
z-index: 101; z-index: 101;
&.bad { &.bad {
background: dark-light-diff($danger, $secondary, 20%, -40%); background: $danger-medium;
color: white; color: white;
box-shadow: 1px 1px 5px rgba(0,0,0, .7); box-shadow: 1px 1px 5px rgba(0,0,0, .7);
} }

View File

@ -1,6 +1,6 @@
#topic-entrance { #topic-entrance {
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
padding: 5px; padding: 5px;
background: $secondary; background: $secondary;
box-shadow: 0 0px 2px rgba(0,0,0, .2); box-shadow: 0 0px 2px rgba(0,0,0, .2);

View File

@ -90,9 +90,9 @@
tbody { tbody {
tr { tr {
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -75%); border-bottom: 1px solid $primary-low;
&:first-of-type { &:first-of-type {
border-top: 3px solid dark-light-diff($primary, $secondary, 90%, -75%); border-top: 3px solid $primary-low;
} }
} }

View File

@ -36,14 +36,14 @@
padding: 10px; padding: 10px;
box-shadow: 3px 3px 3px rgba(0,0,0, 0.34); box-shadow: 3px 3px 3px rgba(0,0,0, 0.34);
background: dark-light-diff($highlight, $secondary, 50%, -80%); background: $highlight-medium;
&.urgent { &.urgent {
background: dark-light-diff($danger, $secondary, 50%, -40%); background: $danger-low;
} }
&.education-message { &.education-message {
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
} }
h3 { h3 {
@ -79,17 +79,17 @@
} }
.custom-body { .custom-body {
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
p { p {
max-width: 98%; max-width: 98%;
} }
} }
.similar-topics { .similar-topics {
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
a[href] { a[href] {
color: dark-light-diff($primary, $secondary, -10%, 10%); color: $primary-medium;
} }
.posts-count { .posts-count {
@ -140,7 +140,7 @@
width: 100%; width: 100%;
z-index: 999; z-index: 999;
height: 0; height: 0;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
bottom: 0; bottom: 0;
font-size: 1em; font-size: 1em;
position: fixed; position: fixed;
@ -184,7 +184,7 @@
&.draft { &.draft {
height: 40px !important; height: 40px !important;
cursor: pointer; cursor: pointer;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
.draft-text { .draft-text {
display: block; display: block;
@ -201,7 +201,7 @@
} }
&.saving { &.saving {
height: 40px !important; height: 40px !important;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
.saving-text { .saving-text {
display: block; display: block;
} }
@ -299,7 +299,7 @@
margin-right: 10px; margin-right: 10px;
float: left; float: left;
&:disabled { &:disabled {
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
} }
} }
#topic-featured-link { #topic-featured-link {
@ -308,14 +308,14 @@
width: 400px; width: 400px;
} }
.d-editor-input:disabled { .d-editor-input:disabled {
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
} }
.d-editor-input, .d-editor-preview { .d-editor-input, .d-editor-preview {
color: $primary; color: $primary;
} }
.d-editor-preview { .d-editor-preview {
border: 1px dashed dark-light-diff($primary, $secondary, 90%, -60%); border: 1px dashed $primary-low;
overflow: auto; overflow: auto;
visibility: visible; visibility: visible;
cursor: default; cursor: default;
@ -353,7 +353,7 @@
.show-admin-options { .show-admin-options {
vertical-align: top; vertical-align: top;
margin-top: 8px; margin-top: 8px;
background: dark-light-diff($primary, $secondary, 90%, -60%); background: $primary-low;
&:hover { &:hover {
color: $secondary; color: $secondary;
background: $primary; background: $primary;

View File

@ -31,7 +31,7 @@ body {
} }
#main { #main {
a.star { a.star {
color: dark-light-diff($secondary, $primary, 80%, -20%); color: $secondary-medium;
&:before { &:before {
font-family: "FontAwesome"; font-family: "FontAwesome";
content: "\f005"; content: "\f005";
@ -213,14 +213,14 @@ body {
width: 210px; width: 210px;
height: auto; height: auto;
background-color:$secondary; background-color:$secondary;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
border-radius: 3px; border-radius: 3px;
box-shadow: inset 0 1px 1px rgba(0,0,0, .3); box-shadow: inset 0 1px 1px rgba(0,0,0, .3);
} }
input { input {
&[type="text"], &[type="password"], &[type="datetime"], &[type="datetime-local"], &[type="date"], &[type="month"], &[type="time"], &[type="week"], &[type="number"], &[type="email"], &[type="url"], &[type="search"], &[type="tel"], &[type="color"] { &[type="text"], &[type="password"], &[type="datetime"], &[type="datetime-local"], &[type="date"], &[type="month"], &[type="time"], &[type="week"], &[type="number"], &[type="email"], &[type="url"], &[type="search"], &[type="tel"], &[type="color"] {
background-color: $secondary; background-color: $secondary;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
border-radius: 3px; border-radius: 3px;
box-shadow: inset 0 1px 1px rgba(0,0,0, .3); box-shadow: inset 0 1px 1px rgba(0,0,0, .3);
} }
@ -244,7 +244,7 @@ body {
select { select {
width: 220px; width: 220px;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
&[multiple], &[size] { &[multiple], &[size] {
height: auto; height: auto;
} }
@ -272,8 +272,8 @@ body {
} }
input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] { input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
cursor: not-allowed; cursor: not-allowed;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
border-color: dark-light-diff($primary, $secondary, 90%, -60%); border-color: $primary-low;
} }
input { input {
&[type="radio"][disabled], &[type="checkbox"][disabled], &[type="radio"][readonly], &[type="checkbox"][readonly] { &[type="radio"][disabled], &[type="checkbox"][disabled], &[type="radio"][readonly], &[type="checkbox"][readonly] {
@ -372,7 +372,7 @@ body {
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
background-color: $secondary; background-color: $secondary;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
} }
.input-prepend .add-on, .input-append .add-on, .input-prepend .btn, .input-append .btn { .input-prepend .add-on, .input-append .add-on, .input-prepend .btn, .input-append .btn {
margin-left: -1px; margin-left: -1px;

View File

@ -48,7 +48,7 @@
} }
.group-edit { .group-edit {
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
padding: 10px; padding: 10px;
.form-horizontal { .form-horizontal {

View File

@ -12,10 +12,10 @@
.btn[disabled] { .btn[disabled] {
cursor: not-allowed; cursor: not-allowed;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
} }
.btn-danger[disabled] { .btn-danger[disabled] {
background-color: dark-light-diff($danger, $secondary, 30%, -60%); background-color: $danger-medium;
} }
} }
#display-modes { #display-modes {
@ -25,7 +25,7 @@
.btn { .btn {
background-color:inherit; background-color:inherit;
color: dark-light-diff($primary, $secondary, 50%, -50%); color: blend-primary-secondary(50%);
} }
.btn-primary { .btn-primary {
color: $primary; color: $primary;
@ -35,7 +35,7 @@
#revision-details { #revision-details {
padding: 5px; padding: 5px;
margin-top: 10px; margin-top: 10px;
border-bottom: 3px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 3px solid $primary-low;
} }
#revisions { #revisions {
word-wrap: break-word; word-wrap: break-word;

View File

@ -16,7 +16,7 @@
height: auto; height: auto;
margin: -250px 0 0 -305px; margin: -250px 0 0 -305px;
background-color: $secondary; background-color: $secondary;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
box-shadow: 0 3px 7px rgba(0,0,0, .8); box-shadow: 0 3px 7px rgba(0,0,0, .8);
background-clip: padding-box; background-clip: padding-box;

View File

@ -31,7 +31,7 @@
} }
} }
.post-title { .post-title {
color: dark-light-diff($primary, $secondary, 20%, -60%); color: $primary-medium;
font-weight: bold; font-weight: bold;
.badge-wrapper { .badge-wrapper {
@ -41,4 +41,3 @@
} }
} }

View File

@ -63,7 +63,7 @@
padding: 0; padding: 0;
background: transparent; background: transparent;
&:hover { &:hover {
color: dark-light-diff($primary, $secondary, 90%, -60%); color: $primary-low;
} }
} }
@ -115,7 +115,7 @@
.sortable { .sortable {
cursor: pointer; cursor: pointer;
&:hover { &:hover {
background-color: dark-light-diff($primary, $secondary, 90%, -75%); background-color: $primary-low;
} }
@include unselectable; @include unselectable;
} }

View File

@ -94,7 +94,7 @@ nav.post-controls {
font-size: inherit; font-size: inherit;
span.badge-posts {color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%)); } span.badge-posts {color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%)); }
&:hover { &:hover {
background: dark-light-diff($primary, $secondary, 90%, -65%); background: $primary-low;
span.badge-posts {color: $primary;} span.badge-posts {color: $primary;}
} }
i { i {
@ -122,7 +122,7 @@ nav.post-controls {
margin-left: 3px; margin-left: 3px;
&.d-hover { &.d-hover {
background: dark-light-diff($primary, $secondary, 90%, -60%); background: $primary-low;
color: $primary; color: $primary;
} }
@ -144,7 +144,7 @@ nav.post-controls {
&.like.d-hover { &.like.d-hover {
color: $love; color: $love;
background: dark-light-diff($love, $secondary, 85%, -60%) background: $love-low;
} }
&.has-like {color: $love;} &.has-like {color: $love;}
@ -179,7 +179,7 @@ nav.post-controls {
background-color: $secondary; background-color: $secondary;
width: 205px; width: 205px;
padding: 10px; padding: 10px;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
position: absolute; position: absolute;
text-align: left; text-align: left;
bottom: -2px; bottom: -2px;
@ -288,11 +288,11 @@ a.star {
.topic-map { .topic-map {
margin: 20px 0 0 0; margin: 20px 0 0 0;
background: blend-primary-secondary(5%); background: blend-primary-secondary(5%);
border: 1px solid dark-light-diff($primary, $secondary, 90%, -65%); border: 1px solid $primary-low;
border-top: none; // would cause double top border border-top: none; // would cause double top border
section { section {
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -65%); border-top: 1px solid $primary-low;
} }
h3 { h3 {
@ -402,11 +402,11 @@ a.star {
padding: 0 23px; padding: 0 23px;
color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%)); color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%));
background: blend-primary-secondary(5%); background: blend-primary-secondary(5%);
border-left: 1px solid dark-light-diff($primary, $secondary, 90%, -65%); border-left: 1px solid $primary-low;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -65%); border-top: 1px solid $primary-low;
&:hover { &:hover {
color: $primary; color: $primary;
background: dark-light-diff($primary, $secondary, 90%, -80%); background: $primary-low;
} }
&.collapsed { &.collapsed {
@ -567,7 +567,7 @@ video {
.moderator { .moderator {
.topic-body { .topic-body {
background-color: dark-light-diff($highlight, $secondary, 70%, -80%); background-color: $highlight-low;
} }
} }
@ -617,7 +617,7 @@ blockquote {
aside { aside {
.quote, .title, blockquote, .onebox, .onebox-result { .quote, .title, blockquote, .onebox, .onebox-result {
background: blend-primary-secondary(5%); background: blend-primary-secondary(5%);
border-left: 5px solid dark-light-diff($primary, $secondary, 90%, -65%); border-left: 5px solid $primary-low;
} }
aside.quote>blockquote, aside.quote>.title { aside.quote>blockquote, aside.quote>.title {
@ -637,12 +637,12 @@ $topic-avatar-width: 45px;
float: left; float: left;
position: relative; position: relative;
z-index: 2; z-index: 2;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -75%); border-top: 1px solid $primary-low;
padding: 12px $topic-body-width-padding 15px $topic-body-width-padding; padding: 12px $topic-body-width-padding 15px $topic-body-width-padding;
} }
.topic-avatar { .topic-avatar {
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -75%); border-top: 1px solid $primary-low;
padding-top: 15px; padding-top: 15px;
width: $topic-avatar-width; width: $topic-avatar-width;
float: left; float: left;
@ -655,7 +655,7 @@ $topic-avatar-width: 45px;
.small-action { .small-action {
max-width: 755px; max-width: 755px;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -75%); border-top: 1px solid $primary-low;
} }
.small-action.deleted { .small-action.deleted {
@ -698,7 +698,7 @@ $topic-avatar-width: 45px;
margin: 1px 0 0; margin: 1px 0 0;
list-style: none; list-style: none;
background-color: $secondary; background-color: $secondary;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
box-shadow: 0 1px 5px rgba(0,0,0, .4); box-shadow: 0 1px 5px rgba(0,0,0, .4);
background-clip: padding-box; background-clip: padding-box;
span { span {
@ -730,7 +730,7 @@ $topic-avatar-width: 45px;
.dropdown-menu .active > a:hover { .dropdown-menu .active > a:hover {
color: $primary; color: $primary;
text-decoration: none; text-decoration: none;
background-color: dark-light-diff($highlight, $secondary, 50%, -70%); background-color: $highlight-medium;
} }
@ -738,7 +738,7 @@ $topic-avatar-width: 45px;
.dropdown-menu .disabled > a:hover { .dropdown-menu .disabled > a:hover {
text-decoration: none; text-decoration: none;
color: $primary; color: $primary;
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
cursor: default; cursor: default;
} }
@ -757,7 +757,7 @@ $topic-avatar-width: 45px;
width: 200px; width: 200px;
position: fixed; position: fixed;
z-index: 1000; z-index: 1000;
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
border: 1px solid $tertiary; border: 1px solid $tertiary;
padding: 5px; padding: 5px;
margin-bottom: 5px; margin-bottom: 5px;
@ -876,7 +876,7 @@ a.attachment:before {
display: block; display: block;
position: absolute; position: absolute;
left: 767px; left: 767px;
color: rgba(dark-light-diff($primary, $secondary, 90%, -65%) , .8); color: rgba($primary-low, .8);
font: 6.429em/1 FontAwesome; font: 6.429em/1 FontAwesome;
content: "\f014"; content: "\f014";
z-index: -5; z-index: -5;
@ -911,7 +911,7 @@ a.attachment:before {
} }
span.highlighted { span.highlighted {
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
} }
.username.new-user a { .username.new-user a {

View File

@ -80,7 +80,7 @@
} }
.topic-status-info { .topic-status-info {
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -75%); border-top: 1px solid $primary-low;
padding-top: 10px; padding-top: 10px;
height: 20px; height: 20px;
max-width: 757px; max-width: 757px;
@ -99,7 +99,7 @@
} }
#topic-progress-expanded { #topic-progress-expanded {
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
padding: 5px; padding: 5px;
background: $secondary; background: $secondary;
@ -149,7 +149,7 @@
} }
background-color: $secondary; background-color: $secondary;
color: $tertiary; color: $tertiary;
border: 1px solid dark-light-diff($tertiary, $secondary, 85%, -65%); border: 1px solid $tertiary-low;
border-bottom: none; border-bottom: none;
width: 145px; width: 145px;
height: 34px; height: 34px;
@ -183,8 +183,8 @@
top: 0; top: 0;
bottom: 0; bottom: 0;
width: 0; width: 0;
border-right: 1px solid dark-light-diff($tertiary, $secondary, 85%, -65%); border-right: 1px solid $tertiary-low;
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
transition: width .75s; transition: width .75s;
} }
} }

View File

@ -226,7 +226,7 @@ $user_card_background: $secondary;
.user-badge { .user-badge {
background: scale-color($user_card_background, $lightness: -5%); background: scale-color($user_card_background, $lightness: -5%);
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
color: $user_card_primary; color: $user_card_primary;
} }

View File

@ -160,7 +160,7 @@
th { th {
text-align: left; text-align: left;
border-bottom: 3px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 3px solid $primary-low;
padding: 0 0 10px 0; padding: 0 0 10px 0;
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
font-weight: normal; font-weight: normal;
@ -168,7 +168,7 @@
td { td {
padding: 10px 0 10px 0; padding: 10px 0 10px 0;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
} }
} }
@ -180,7 +180,7 @@
} }
.user-invite-controls { .user-invite-controls {
background-color: dark-light-diff($primary, $secondary, 90%, -75%); background-color: $primary-low;
padding: 5px 10px 0px 0; padding: 5px 10px 0px 0;
height: 35px; height: 35px;
} }
@ -212,8 +212,8 @@
.secondary { .secondary {
background: scale-color($secondary, $lightness: -5%); background: scale-color($secondary, $lightness: -5%);
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
font-size: 0.929em; font-size: 0.929em;
.btn { padding: 3px 12px; } .btn { padding: 3px 12px; }
@ -250,7 +250,7 @@
} }
dt { dt {
color: dark-light-diff($secondary, $primary, 50%, -40%); color: $secondary-medium;
margin: 0; margin: 0;
} }
} }
@ -262,8 +262,8 @@
transition: margin .15s linear; transition: margin .15s linear;
blockquote { blockquote {
background-color: dark-light-diff($secondary, $primary, 30%, -70%); background-color: $secondary-low;
border-left-color: dark-light-diff($secondary, $primary, 50%, -50%); border-left-color: $secondary-low;
} }
h1 { h1 {
@ -390,7 +390,7 @@
padding: 0 0 2px 0; padding: 0 0 2px 0;
margin-top: 0; margin-top: 0;
background: rgba($secondary, .85); background: rgba($secondary, .85);
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
.bio { display: none; } .bio { display: none; }
.primary { .primary {
@ -434,7 +434,7 @@
color: $primary; color: $primary;
} }
.item.moderator-action { .item.moderator-action {
background-color: dark-light-diff($highlight, $secondary, 50%, -10%); background-color: $highlight-medium;
} }
.item.deleted { .item.deleted {
opacity: 0.8; opacity: 0.8;
@ -447,7 +447,7 @@
.item { .item {
padding: 20px 8px 15px 8px; padding: 20px 8px 15px 8px;
background-color: $secondary; background-color: $secondary;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
} }
.type { .type {
color: $primary; color: $primary;
@ -491,7 +491,7 @@
} }
.notification { .notification {
&.unread { &.unread {
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
} }
li { display: inline-block; } li { display: inline-block; }

View File

@ -16,8 +16,8 @@ article.post {
} }
.quote .title { .quote .title {
border-left: 5px solid darken(dark-light-diff($primary, $secondary, 97%, -45%), 10%); border-left: 5px solid darken($primary-low, 10%);
background-color: dark-light-diff($primary, $secondary, 97%, -45%); background-color: $primary-low;
padding: 10px 10px 0 12px; padding: 10px 10px 0 12px;
.avatar { margin-right: 7px; } .avatar { margin-right: 7px; }
} }
@ -29,8 +29,8 @@ article.post {
blockquote { blockquote {
padding: 10px 8px 10px 13px; padding: 10px 8px 10px 13px;
margin: 0 0 10px 0; margin: 0 0 10px 0;
background-color: dark-light-diff($primary, $secondary, 97%, -45%); background-color: $primary-low;
border-left: 5px solid darken(dark-light-diff($primary, $secondary, 97%, -45%), 10%); border-left: 5px solid darken($primary-low, 97%, -45%), 10%);
p { p {
margin: 0 0 10px 0; margin: 0 0 10px 0;
} }

View File

@ -19,7 +19,7 @@ input {
padding: 4px; padding: 4px;
border-radius: 3px; border-radius: 3px;
box-shadow: inset 0 1px 1px rgba(0,0,0, .3); box-shadow: inset 0 1px 1px rgba(0,0,0, .3);
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
} }
input[type=radio], input[type=checkbox] { input[type=radio], input[type=checkbox] {
box-shadow: none; box-shadow: none;
@ -38,7 +38,7 @@ input[type=radio], input[type=checkbox] {
width: 100%; width: 100%;
z-index: 1039; z-index: 1039;
height: 0; height: 0;
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
bottom: 0; bottom: 0;
font-size: 1em; font-size: 1em;
position: fixed; position: fixed;
@ -97,7 +97,7 @@ input[type=radio], input[type=checkbox] {
&.draft { &.draft {
height: 35px !important; height: 35px !important;
cursor: pointer; cursor: pointer;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
.draft-text { .draft-text {
display: block; display: block;
position: absolute; position: absolute;
@ -120,7 +120,7 @@ input[type=radio], input[type=checkbox] {
} }
&.saving { &.saving {
height: 40px !important; height: 40px !important;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
.saving-text { .saving-text {
display: block; display: block;
} }

View File

@ -18,12 +18,12 @@
} }
.directory .user { .directory .user {
border-top: 1px solid dark-light-diff($primary, $secondary, 80%, -20%); border-top: 1px solid $primary-low;
padding: 1em; padding: 1em;
&.me { &.me {
background-color: dark-light-diff($highlight, $secondary, 70%, -80%); background-color: $highlight-low;
.username a, .name, .title, .number, .time-read, .user-stat .label { .username a, .name, .title, .number, .time-read, .user-stat .label {
color: scale-color($highlight, $lightness: -50%); color: scale-color($highlight, $lightness: -50%);
@ -38,7 +38,7 @@
} }
.label { .label {
margin-left: 0.2em; margin-left: 0.2em;
color: dark-light-diff($primary, $secondary, 50%, -50%); color: blend-primary-secondary(50%);
} }
i.fa-heart { i.fa-heart {
color: $love; color: $love;

View File

@ -73,7 +73,7 @@ blockquote {
display: inline-block; display: inline-block;
.topic-status { .topic-status {
i { i {
color: dark-light-diff($secondary, $primary, 40%, -20%); color: $secondary-medium;
} }
} }
} }
@ -123,7 +123,7 @@ h2#site-text-logo
} }
margin: 0; margin: 0;
padding: 0; padding: 0;
background: dark-light-diff($primary, $secondary, 90%, -65%); background: $primary-low;
list-style: none; list-style: none;
overflow: visible; overflow: visible;
position: relative; position: relative;

View File

@ -9,7 +9,7 @@
line-height: 2em; line-height: 2em;
} }
#revision-details { #revision-details {
background-color: dark-light-diff($primary, $secondary, 90%, -60%); background-color: $primary-low;
padding: 5px; padding: 5px;
margin-top: 10px; margin-top: 10px;
} }

View File

@ -26,7 +26,7 @@
position: relative; position: relative;
} }
.nav-pills .drop { .nav-pills .drop {
border: 1px solid dark-light-diff($primary, $secondary, 90%, -65%); border: 1px solid $primary-low;
position: absolute; position: absolute;
z-index: 1000; z-index: 1000;
background-color: $secondary; background-color: $secondary;
@ -47,7 +47,7 @@
} }
.nav-pills > li { .nav-pills > li {
background: dark-light-diff($primary, $secondary, 90%, -65%); background: $primary-low;
i.fa-caret-down { i.fa-caret-down {
margin-left: 8px; margin-left: 8px;
} }
@ -146,9 +146,9 @@
tbody { tbody {
tr { tr {
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -75%); border-bottom: 1px solid $primary-low;
&:first-of-type { &:first-of-type {
border-top: 3px solid dark-light-diff($primary, $secondary, 90%, -75%); border-top: 3px solid $primary-low;
} }
} }
.category { .category {

View File

@ -3,7 +3,7 @@
} }
.small-action { .small-action {
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
color: lighten($primary, 50%); color: lighten($primary, 50%);
padding-bottom: 3px; padding-bottom: 3px;
text-transform: uppercase; text-transform: uppercase;
@ -28,7 +28,7 @@
} }
.topic-post article { .topic-post article {
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid $primary-low;
padding: 8px 0; padding: 8px 0;
} }
@ -109,7 +109,7 @@ nav.post-controls {
background-color: $secondary; background-color: $secondary;
width: 205px; width: 205px;
padding: 10px; padding: 10px;
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
position: absolute; position: absolute;
text-align: left; text-align: left;
bottom: 0; bottom: 0;
@ -181,11 +181,11 @@ a.star {
margin: 10px 0; margin: 10px 0;
background: blend-primary-secondary(5%); background: blend-primary-secondary(5%);
border: 1px solid dark-light-diff($primary, $secondary, 90%, -65%); border: 1px solid $primary-low;
border-top: none; // would cause double top border border-top: none; // would cause double top border
section { section {
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -65%); border-top: 1px solid $primary-low;
} }
h3 { h3 {
@ -300,8 +300,8 @@ a.star {
padding: 0 15px; padding: 0 15px;
color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%)); color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%));
background: blend-primary-secondary(5%); background: blend-primary-secondary(5%);
border-left: 1px solid dark-light-diff($primary, $secondary, 90%, -65%); border-left: 1px solid $primary-low;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -65%); border-top: 1px solid $primary-low;
.fa { .fa {
margin: 0; margin: 0;
font-size: 1.286em; font-size: 1.286em;
@ -386,7 +386,7 @@ span.post-count {
} }
.moderator .topic-body { .moderator .topic-body {
background-color: dark-light-diff($highlight, $secondary, 70%, -80%); background-color: $highlight-low;
} }
.quote-button.visible { .quote-button.visible {

View File

@ -45,7 +45,7 @@
.topic-status-info { .topic-status-info {
padding-left: 10px; padding-left: 10px;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -75%); border-top: 1px solid $primary-low;
padding-top: 10px; padding-top: 10px;
h3 { h3 {
margin: 0; margin: 0;
@ -66,7 +66,7 @@
} }
#topic-progress-expanded { #topic-progress-expanded {
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border: 1px solid $primary-low;
padding: 5px; padding: 5px;
background: $secondary; background: $secondary;
@ -113,7 +113,7 @@
} }
background-color: $secondary; background-color: $secondary;
color: $tertiary; color: $tertiary;
border: 1px solid dark-light-diff($tertiary, $secondary, 85%, -65%); border: 1px solid $tertiary-low;
border-bottom: none; border-bottom: none;
width: 145px; width: 145px;
height: 34px; height: 34px;
@ -144,8 +144,8 @@
top: 0; top: 0;
bottom: 0; bottom: 0;
width: 0; width: 0;
border-right: 1px solid dark-light-diff($tertiary, $secondary, 85%, -65%); border-right: 1px solid $tertiary-low;
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%); background-color: $tertiary-low;
transition: width .75s; transition: width .75s;
} }
} }

View File

@ -159,11 +159,11 @@
th { th {
padding: 0.5em; padding: 0.5em;
text-align: right; text-align: right;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
} }
td { td {
padding: 0.5em; padding: 0.5em;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
img { img {
margin-right: 10px; margin-right: 10px;
} }
@ -196,13 +196,13 @@
th { th {
text-align: left; text-align: left;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
padding: 5px; padding: 5px;
} }
td { td {
padding: 5px; padding: 5px;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
} }
} }
} }
@ -215,7 +215,7 @@
color: $secondary; color: $secondary;
.secondary { .secondary {
background: dark-light-diff($primary, $secondary, 90%, -65%); background: $primary-low;
font-size: 0.929em; font-size: 0.929em;
.btn { padding: 3px 12px; } .btn { padding: 3px 12px; }
@ -241,7 +241,7 @@
} }
dt { dt {
color: dark-light-diff($secondary, $primary, 50%, -40%); color: $secondary-medium;
margin: 0; margin: 0;
} }
} }
@ -251,8 +251,8 @@
background: rgba($secondary, .85); background: rgba($secondary, .85);
blockquote { blockquote {
background-color: dark-light-diff($secondary, $primary, 30%, -70%); background-color: $secondary-low;
border-left-color: dark-light-diff($secondary, $primary, 50%, -50%); border-left-color: $secondary-low;
} }
h1 { h1 {
@ -399,7 +399,7 @@
color: $primary; color: $primary;
} }
.item.moderator-action { .item.moderator-action {
background-color: dark-light-diff($highlight, $secondary, 50%, -10%); background-color: $highlight-medium;
} }
.item.deleted { .item.deleted {
opacity: 0.8; opacity: 0.8;
@ -412,7 +412,7 @@
.item { .item {
padding: 20px 0 15px 0; padding: 20px 0 15px 0;
background-color: $secondary; background-color: $secondary;
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-bottom: 1px solid $primary-low;
} }
.type { .type {
color: $primary; color: $primary;

View File

@ -14,20 +14,20 @@ $pd-text-color: $primary !default;
$pd-title-color: $primary !default; $pd-title-color: $primary !default;
$pd-title-bg: $secondary !default; $pd-title-bg: $secondary !default;
$pd-picker-bg: $secondary !default; $pd-picker-bg: $secondary !default;
$pd-picker-border: dark-light-diff($secondary, $primary, -20%, 20%) !default; $pd-picker-border: $primary-low !default;
$pd-picker-border-bottom: dark-light-diff($secondary, $primary, -30%, 30%) !default; $pd-picker-border-bottom: $primary-low !default;
$pd-picker-shadow: rgba(0,0,0,.5) !default; $pd-picker-shadow: rgba(0,0,0,.5) !default;
$pd-th-color: dark-light-diff($primary, $secondary, -20%, 20%) !default; $pd-th-color: $primary !default;
$pd-day-color: dark-light-diff($primary, $secondary, -30%, 30%) !default; $pd-day-color: $primary !default;
$pd-day-bg: dark-light-diff($primary, $secondary, 90%, -90%) !default; $pd-day-bg: $secondary !default;
$pd-day-hover-color: $secondary !default; $pd-day-hover-color: $primary !default;
$pd-day-hover-bg: dark-light-diff($tertiary, $secondary, 30%, -30%) !default; $pd-day-hover-bg: $tertiary-low !default;
$pd-day-today-color: $tertiary !default; $pd-day-today-color: $tertiary !default;
$pd-day-selected-color: $secondary !default; $pd-day-selected-color: $secondary !default;
$pd-day-selected-bg: $tertiary !default; $pd-day-selected-bg: $tertiary !default;
$pd-day-selected-shadow: dark-light-diff($tertiary, $secondary, 50%, -50%) !default; $pd-day-selected-shadow: $tertiary-low !default;
$pd-day-disabled-color: dark-light-diff($primary, $secondary, -20%, 20%) !default; $pd-day-disabled-color: $primary !default;
$pd-week-color: dark-light-diff($primary, $secondary, -20%, 20%) !default; $pd-week-color: $primary !default;
// Font // Font
$pd-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default; $pd-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;