Merge pull request #3551 from awesomerobot/master

replacing the remnants of the old color variable code
This commit is contained in:
Jeff Atwood 2015-06-14 22:11:29 -07:00
commit b4c568b301
35 changed files with 109 additions and 121 deletions

View File

@ -484,6 +484,3 @@ DEPENDENCIES
uglifier
unf
unicorn
BUNDLED WITH
1.10.3

View File

@ -7,8 +7,8 @@
width: 100%;
tr {text-align: left;}
td, th {padding: 8px;}
th {border-top: 1px solid scale-color-diff();}
td {border-bottom: 1px solid scale-color-diff(); border-top: 1px solid scale-color-diff();}
th {border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);}
td {border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);}
tr:hover { background-color: darken($secondary, 2.5%); }
tr.selected { background-color: lighten($primary, 80%); }
.filters input { margin-bottom: 0; }
@ -23,7 +23,7 @@ td.flaggers td {
font-size: 0.857em;
float: right;
margin-right: 10px;
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
padding: 2px 5px;
border-radius: 5px;
color: $primary;
@ -107,7 +107,7 @@ td.flaggers td {
.nav.nav-pills {
li.active {
a {
border-color: scale-color-diff();
border-color: dark-light-diff($primary, $secondary, 90%, -60%);
background-color: lighten($primary, 40%);
&:hover {
background-color: lighten($primary, 40%);
@ -198,7 +198,7 @@ td.flaggers td {
width: 76.5765%;
min-height: 800px;
margin-left: 0;
border-left: solid 1px scale-color-diff();
border-left: solid 1px dark-light-diff($primary, $secondary, 90%, -60%);
padding: 30px 0 30px 30px;
}
@ -233,7 +233,7 @@ td.flaggers td {
width: 408px;
padding: 1px;
background-color: $secondary;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-radius: 3px;
box-shadow: inset 0 1px 1px rgba(51, 51, 51, 0.3);
transition: border linear 0.2s, box-shadow linear 0.2s;
@ -301,7 +301,7 @@ section.details {
color: $primary;
padding: 5px 10px;
margin: 30px 0 5px 0;
border-bottom: 5px solid scale-color-diff();
border-bottom: 5px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
}
@ -333,7 +333,7 @@ section.details {
&.highlight-danger {
background-color: scale-color($danger, $lightness: 50%);
}
border-top: 1px solid scale-color-diff();
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
&:before, &:after {
display: table;
content: "";
@ -436,14 +436,14 @@ section.details {
font-size: 1em;
line-height: 16px;
padding: 4px;
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
}
.badge-query-plan {
font-size: 0.857em;
line-height: 13px;
padding: 4px;
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
}
.count-warning {
@ -892,7 +892,7 @@ table.api-keys {
.commits-widget {
border: solid 1px scale-color-diff();
border: solid 1px dark-light-diff($primary, $secondary, 90%, -60%);
height: 180px;
margin-bottom: 36px;
@ -938,7 +938,7 @@ table.api-keys {
@extend .clearfix;
line-height: 1.0em;
padding: 6px 8px;
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
.left {
float: left;
}
@ -948,7 +948,7 @@ table.api-keys {
img {
margin-top: 2px;
border: solid 1px scale-color-diff();
border: solid 1px dark-light-diff($primary, $secondary, 90%, -60%);
padding: 2px;
background-color: $secondary;
}
@ -983,7 +983,7 @@ table.api-keys {
-webkit-border-radius: 3px;
}
::-webkit-scrollbar-track {
border-left: solid 1px scale-color-diff();
border-left: solid 1px dark-light-diff($primary, $secondary, 90%, -60%);
}
}
@ -1001,10 +1001,10 @@ table.api-keys {
margin: 0;
li:first-of-type {
border-top: 1px solid scale-color-diff();
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
li {
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
li a {
@ -1013,7 +1013,7 @@ table.api-keys {
color: $primary;
&:hover {
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
color: $primary;
}
@ -1174,7 +1174,7 @@ table.api-keys {
color: $primary;
&:hover {
color: $primary;
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
}
@ -1208,7 +1208,7 @@ table.api-keys {
.heading-container {
width: 100%;
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
}
.col.heading {
font-weight: bold;
@ -1224,7 +1224,7 @@ table.api-keys {
.ember-list-item-view {
width: 100%;
border-top: solid 1px scale-color-diff();
border-top: solid 1px dark-light-diff($primary, $secondary, 90%, -60%);
}
}
@ -1414,7 +1414,7 @@ tr.not-activated {
.user-field {
padding: 10px;
margin-bottom: 10px;
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
.form-display {
width: 25%;

View File

@ -195,7 +195,7 @@ ol.category-breadcrumb {
overflow-x: hidden;
overflow-y: auto;
position: absolute;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
background-color: $secondary;
z-index: 100;
@ -244,7 +244,7 @@ ol.category-breadcrumb {
@include unselectable;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
padding: 5px;
background: $secondary;
position: absolute;

View File

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

View File

@ -28,7 +28,7 @@
.select2-container {
border-radius: 3px;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
&.select2-dropdown-open {
border: 0;
}

View File

@ -3,13 +3,13 @@
position: absolute;
width: 240px;
background-color: $secondary;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
ul {
list-style: none;
padding: 0;
margin: 0;
li {
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
a[href] {
padding: 5px;
display: block;
@ -50,7 +50,7 @@ div.ac-wrap.disabled {
div.ac-wrap {
background-color: $secondary;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
padding: 5px 4px 1px 4px;
div.item {
float: left;
@ -69,7 +69,7 @@ div.ac-wrap {
border-radius: 12px;
width: 10px;
display: inline-block;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
&:hover {
background-color: scale-color($danger, $lightness: 75%);
border: 1px solid scale-color($danger, $lightness: 30%);

View File

@ -22,7 +22,7 @@
td, th {
padding: 0.5em;
text-align: left;
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
.number, .time-read {
font-size: 1.4em;
@ -54,7 +54,7 @@
}
&:hover {
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
}
}
}

View File

@ -149,10 +149,10 @@ body {
width: 540px;
background-color: $secondary;
padding: 0 10px 13px 10px;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
.preview {
margin-top: 8px;
border: 1px dashed scale-color-diff();
border: 1px dashed dark-light-diff($primary, $secondary, 90%, -60%);
padding: 8px 8px 0 8px;
p {
margin: 0 0 10px 0;

View File

@ -72,14 +72,14 @@
&:hover {
color: $primary;
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
border-top: 1px solid transparent;
border-left: 1px solid transparent;
border-right: 1px solid transparent;
}
&:active {
color: $primary;
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
}
}
.active .icon {
@ -87,9 +87,9 @@
color: #7b7b7b;
background-color: $secondary;
cursor: default;
border-top: 1px solid scale-color-diff();
border-left: 1px solid scale-color-diff();
border-right: 1px solid scale-color-diff();
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-left: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-right: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
&:after {
display: block;
position: absolute;
@ -143,7 +143,7 @@
right: 0;
z-index: 1100;
overflow: auto;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
padding: 5px;
box-shadow: 0 2px 2px rgba(0,0,0, .4);

View File

@ -64,8 +64,8 @@
max-width: 710px;
margin: 0 auto;
background-color: $secondary;
border: 1px solid scale-color-diff();
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
box-shadow: 0 3px 7px rgba(0,0,0, .8);
background-clip: padding-box;
@ -91,7 +91,7 @@
}
.modal-footer {
padding: 14px 15px 15px;
border-top: 1px solid scale-color-diff();
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
.modal-footer:before,
.modal-footer:after {
@ -109,7 +109,7 @@
li > a {
font-size: 1em;
}
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
@ -168,7 +168,7 @@
font-weight: normal;
}
&.btn-reply-here {
background: scale-color-diff();
background: dark-light-diff($primary, $secondary, 90%, -60%);
text-shadow: none;
color: $primary;
}

View File

@ -27,7 +27,7 @@
height: 20px;
margin-right: 8px;
margin-left: 5px;
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
display: inline-block;
float: left;
}
@ -63,7 +63,7 @@
}
.wmd-button:hover {
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
}
@ -130,8 +130,8 @@
}
.wmd-prompt-dialog {
border: 1px solid scale-color-diff();
background-color: scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
}
.wmd-prompt-dialog > div {
@ -140,12 +140,12 @@
}
.wmd-prompt-dialog > form > input[type="text"] {
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
color: $primary;
}
.wmd-prompt-dialog > form > input[type="button"] {
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
font-family: trebuchet MS, helvetica, sans-serif;
font-size: 0.8em;
font-weight: bold;

View File

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

View File

@ -172,7 +172,7 @@ pre {
kbd
{
background-color: $secondary;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-radius: 3px;
box-shadow: 0 1px 0 rgba(0,0,0, .8);
color: $primary;

View File

@ -67,7 +67,7 @@
/* Badge listing in /badges. */
table.badges-listing {
margin: 20px 0;
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
width: 90%;
.user-badge {
@ -112,7 +112,7 @@ table.badges-listing {
}
tr {
border-top: 1px solid scale-color-diff();
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
}

View File

@ -55,7 +55,7 @@
color: #fff;
}
&[disabled] {
background: scale-color-diff();
background: dark-light-diff($primary, $secondary, 90%, -60%);
&:hover { color: scale-color($primary, $lightness: 70%); }
cursor: not-allowed;
}

View File

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

View File

@ -42,12 +42,3 @@ $base-font-family: Helvetica, Arial, sans-serif !default;
@return scale-color($adjusted-color, $lightness: $darkness);
}
}
// phasing out scale-color-diff for dark-light-diff
@function scale-color-diff() {
@if lightness($primary) < lightness($secondary) {
@return scale-color($primary, $lightness: 90%);
} @else {
@return scale-color($primary, $lightness: -60%);
}
}

View File

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

View File

@ -103,7 +103,7 @@
width: 100%;
z-index: 1039;
height: 0;
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
bottom: 0;
font-size: 1em;
position: fixed;
@ -147,7 +147,7 @@
&.draft {
height: 40px !important;
cursor: pointer;
border-top: 1px solid scale-color-diff();
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
.draft-text {
display: block;
}
@ -160,7 +160,7 @@
}
&.saving {
height: 40px !important;
border-top: 1px solid scale-color-diff();
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
.saving-text {
display: block;
}
@ -255,18 +255,18 @@
margin-right: 10px;
float: left;
&:disabled {
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
}
}
#wmd-input:disabled {
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
}
#wmd-input, #wmd-preview {
color: $primary;
}
#wmd-preview {
border: 1px dashed scale-color-diff();
border: 1px dashed dark-light-diff($primary, $secondary, 90%, -60%);
overflow: auto;
visibility: visible;
cursor: default;
@ -303,7 +303,7 @@
.show-admin-options {
vertical-align: top;
margin-top: 8px;
background: scale-color-diff();
background: dark-light-diff($primary, $secondary, 90%, -60%);
&:hover {
color: $secondary;
background: $primary;
@ -405,7 +405,7 @@
#wmd-button-bar {
top: 0;
position: absolute;
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
background-color: $secondary;
z-index: 100;
}

View File

@ -77,14 +77,14 @@ body {
.grippie {
width: 100%;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-width: 1px 0;
cursor: row-resize;
height: 11px;
overflow: hidden;
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
display:block;
background: image-url("grippie.png") scale-color-diff() no-repeat center 3px;
background: image-url("grippie.png") dark-light-diff($primary, $secondary, 90%, -60%) no-repeat center 3px;
}
}
@ -194,7 +194,7 @@ body {
width: 210px;
height: auto;
background-color:$secondary;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-radius: 3px;
box-shadow: inset 0 1px 1px rgba(0,0,0, .3);
transition: border linear 0.2s, box-shadow linear 0.2s;
@ -202,7 +202,7 @@ body {
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"] {
background-color: $secondary;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-radius: 3px;
box-shadow: inset 0 1px 1px rgba(0,0,0, .3);
transition: border linear 0.2s, box-shadow linear 0.2s;
@ -238,7 +238,7 @@ body {
select {
width: 220px;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
&[multiple], &[size] {
height: auto;
}
@ -288,8 +288,8 @@ body {
}
input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
cursor: not-allowed;
background-color: scale-color-diff();
border-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
border-color: dark-light-diff($primary, $secondary, 90%, -60%);
}
input {
&[type="radio"][disabled], &[type="checkbox"][disabled], &[type="radio"][readonly], &[type="checkbox"][readonly] {
@ -388,7 +388,7 @@ body {
text-align: center;
vertical-align: middle;
background-color: $secondary;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
.input-prepend .add-on, .input-append .add-on, .input-prepend .btn, .input-append .btn {
margin-left: -1px;

View File

@ -35,7 +35,7 @@ and (max-width : 570px) {
// Common
.heading {
border-top: 1px solid scale-color-diff();
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
// Categories

View File

@ -21,7 +21,7 @@
#revision-details {
padding: 5px;
margin-top: 10px;
border-bottom: 3px solid scale-color-diff();
border-bottom: 3px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
#revisions {
word-wrap: break-word;

View File

@ -16,8 +16,8 @@
height: auto;
margin: -250px 0 0 -305px;
background-color: $secondary;
border: 1px solid scale-color-diff();
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
box-shadow: 0 3px 7px rgba(0,0,0, .8);
background-clip: padding-box;
@ -54,7 +54,7 @@
}
.modal-header {
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
h3 {
font-size: 1.429em;
padding: 10px 15px 7px;

View File

@ -31,7 +31,7 @@
}
}
.post-title {
color: darken(scale-color-diff(), 50%);
color: darken(dark-light-diff($primary, $secondary, 90%, -60%), 50%);
font-weight: bold;
.badge-wrapper {

View File

@ -63,7 +63,7 @@
padding: 0;
background: transparent;
&:hover {
color: scale-color-diff();
color: dark-light-diff($primary, $secondary, 90%, -60%);
}
}

View File

@ -140,7 +140,7 @@ nav.post-controls {
transition: all linear 0.15s;
&:hover {
background: scale-color-diff();
background: dark-light-diff($primary, $secondary, 90%, -60%);
color: $primary;
}
@ -194,7 +194,7 @@ nav.post-controls {
background-color: $secondary;
width: 205px;
padding: 10px;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
position: absolute;
text-align: left;
bottom: -2px;
@ -562,7 +562,7 @@ video {
a.mention {
padding: 2px 4px;
color: $primary;
background: scale-color-diff();
background: dark-light-diff($primary, $secondary, 90%, -60%);
}
@ -709,7 +709,7 @@ $topic-avatar-width: 45px;
}
.gap {
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
padding: 5px 0;
color: lighten($primary, 30%);
cursor: pointer;
@ -747,7 +747,7 @@ $topic-avatar-width: 45px;
margin: 1px 0 0;
list-style: none;
background-color: $secondary;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
box-shadow: 0 1px 5px rgba(0,0,0, .4);
background-clip: padding-box;
span {font-size: 0.857em;}

View File

@ -120,7 +120,7 @@ a:hover.reply-new {
}
#topic-progress-expanded {
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
padding: 5px;
background: $secondary;
@include box-shadow(0 0px 2px rgba(0,0,0, .2));

View File

@ -145,7 +145,7 @@
.user-content {
padding: 10px 8px;
background-color: $secondary;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
margin-bottom: 10px;
box-sizing: border-box;
@ -163,13 +163,13 @@
th {
text-align: left;
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
padding: 5px;
}
td {
padding: 5px;
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
}
@ -422,7 +422,7 @@
.item {
padding: 20px 8px 15px 8px;
background-color: $secondary;
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
.type {
color: $primary;

View File

@ -13,8 +13,8 @@ article.post {
}
.quote .title {
border-left: 5px solid darken(scale-color-diff(), 10%);
background-color: scale-color-diff();
border-left: 5px solid darken(dark-light-diff($primary, $secondary, 90%, -60%), 10%);
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
padding: 10px 10px 0 12px;
.avatar { margin-right: 7px; }
}
@ -26,8 +26,8 @@ article.post {
blockquote {
padding: 10px 8px 10px 13px;
margin: 0 0 10px 0;
background-color: scale-color-diff();
border-left: 5px solid darken(scale-color-diff(), 10%);
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
border-left: 5px solid darken(dark-light-diff($primary, $secondary, 90%, -60%), 10%);
overflow: hidden;
p {
margin: 0 0 10px 0;

View File

@ -39,7 +39,7 @@ display: none !important; // can be removed if inline JS CSS is removed from com
width: 100%;
z-index: 1039;
height: 0;
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
bottom: 0;
font-size: 1em;
position: fixed;
@ -88,7 +88,7 @@ display: none !important; // can be removed if inline JS CSS is removed from com
&.draft {
height: 35px !important;
cursor: pointer;
border-top: 1px solid scale-color-diff();
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
.draft-text {
display: block;
position: absolute;
@ -103,7 +103,7 @@ display: none !important; // can be removed if inline JS CSS is removed from com
}
&.saving {
height: 40px !important;
border-top: 1px solid scale-color-diff();
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
.saving-text {
display: block;
}

View File

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

View File

@ -237,7 +237,7 @@ tr.category-topic-link {
margin: 1px 0 0;
list-style: none;
background-color: $secondary;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 5px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);

View File

@ -1,5 +1,5 @@
.gap {
background-color: scale-color-diff();
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
padding: 5px 15px;
color: $primary;
text-align: center;
@ -7,7 +7,7 @@
}
.topic-post {
border-top: 1px solid scale-color-diff();
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
padding: 6px 0 3px 0;
}
@ -74,7 +74,7 @@ button {
background-color: $secondary;
width: 205px;
padding: 10px;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
position: absolute;
text-align: left;
bottom: 0;
@ -286,7 +286,7 @@ a.star {
}
#topic-footer-buttons {
border-top: 1px solid scale-color-diff();
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
padding: 20px 10px 0 10px;
.fa-bookmark.bookmarked { color: $tertiary; }
}

View File

@ -61,7 +61,7 @@
}
#topic-progress-expanded {
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
padding: 5px;
background: $secondary;
box-shadow: 0 0px 2px rgba(0,0,0, .2);

View File

@ -186,7 +186,7 @@
.user-content {
padding: 10px 8px;
background-color: $secondary;
border: 1px solid scale-color-diff();
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
margin-bottom: 10px;
box-sizing: border-box;
margin-top: 20px;
@ -205,13 +205,13 @@
th {
text-align: left;
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
padding: 5px;
}
td {
padding: 5px;
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
}
}
@ -420,7 +420,7 @@
.item {
padding: 20px 0 15px 0;
background-color: $secondary;
border-bottom: 1px solid scale-color-diff();
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
.type {
color: $primary;