mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Merge pull request #2374 from awesomerobot/master
darkening the too-light-grey and the primary black a bit
This commit is contained in:
commit
3445661898
3 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
$primary: #333333 !default;
|
||||
$primary: #222222 !default;
|
||||
$secondary: #ffffff !default;
|
||||
$tertiary: #0088cc !default;
|
||||
$quaternary: #e45735 !default;
|
||||
|
|
|
@ -33,7 +33,7 @@ $base-font-family: Helvetica, Arial, sans-serif !default;
|
|||
|
||||
@function scale-color-diff() {
|
||||
@if lightness($primary) < lightness($secondary) {
|
||||
@return scale-color($primary, $lightness: 95%)
|
||||
@return scale-color($primary, $lightness: 90%)
|
||||
}
|
||||
@else {
|
||||
@return scale-color($primary, $lightness: -60%)
|
||||
|
|
|
@ -269,13 +269,13 @@ nav.post-controls {
|
|||
.topic-avatar {padding-left: 15px;}
|
||||
.post-date {color: scale-color($primary, $lightness: 50%);}
|
||||
.fa-arrow-up {margin-left: 5px;}
|
||||
.row {border-top: 1px solid scale-color-diff(); padding-top: 7px;}
|
||||
.row {border-top: 1px solid darken(scale-color-diff(), 10%); padding-top: 7px;}
|
||||
.reply:first-of-type .row {border-top: none;}
|
||||
|
||||
background: scale-color-diff();
|
||||
.quote .title, blockquote, .onebox, .onebox-result {
|
||||
background: scale-color-diff();
|
||||
border-left: 5px solid darken(scale-color-diff(), 10%);
|
||||
background: darken(scale-color-diff(), 5%);
|
||||
border-left: 5px solid darken(scale-color-diff(), 12%);
|
||||
}
|
||||
|
||||
&.bottom { margin-top: -11px;}
|
||||
|
|
Loading…
Reference in a new issue