From 9e4181dbe5814db8d0fdd52d15dedd88e3e403ca Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Wed, 26 Feb 2014 17:15:57 -0500 Subject: [PATCH] small design tweaks --- app/assets/stylesheets/common/foundation/variables.scss | 4 ++-- app/assets/stylesheets/desktop/onebox.scss | 2 ++ app/assets/stylesheets/desktop/topic-post.scss | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/common/foundation/variables.scss b/app/assets/stylesheets/common/foundation/variables.scss index 113717c26..b50ddbc2d 100644 --- a/app/assets/stylesheets/common/foundation/variables.scss +++ b/app/assets/stylesheets/common/foundation/variables.scss @@ -164,7 +164,7 @@ $warning_border_color: lighten($red, 20%); $success_border_color: $green; $primary_text_color: $black; -$secondary_text_color: lighten($black, 50%); +$secondary_text_color: lighten($black, 40%); $tertiary_text_color: $white; $warning_text_color: $red; $success_text_color: $green; @@ -196,7 +196,7 @@ $moderator_background_color: lighten($yellow, 30%) !default; $emphasis_background_color: lighten($blue, 45%); $success_background_color: lighten($green, 50%); $warning_background_color: lighten($red, 30%); -$highlight_background_color: lighten($yellow, 25%); +$highlight_background_color: lighten($yellow, 23%); $like_background_color: lighten($pink, 25%); $heatmap-high: lighten($red, 10%); diff --git a/app/assets/stylesheets/desktop/onebox.scss b/app/assets/stylesheets/desktop/onebox.scss index 45b3605c3..4a56f9787 100644 --- a/app/assets/stylesheets/desktop/onebox.scss +++ b/app/assets/stylesheets/desktop/onebox.scss @@ -39,6 +39,8 @@ a.loading-onebox { } } } + + .onebox-result-body { padding-top: 5px; img { diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 15b0e3a8f..c433c1ae3 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -492,7 +492,7 @@ iframe { font-weight: normal; font-size: 12px; margin-top: 2px; - a {color: $primary_text_color;} + a {color: $secondary_text_color;} } } @@ -613,7 +613,6 @@ iframe { } .staff a { - padding: 2px; margin: -2px 0 0 0; background-color: $highlight_background_color; } @@ -649,7 +648,7 @@ blockquote { /* solo quotes */ margin: 14px 0; padding: 12px; - a.mention {background: $secondary_text_color;} + a.mention {background: lighten($secondary_background_color, 60%);} p:first-of-type {margin-top: 0;} p:last-of-type {margin-bottom: 0;} } @@ -772,6 +771,7 @@ blockquote { /* solo quotes */ .embedded-posts { h1, h2, h3 {margin: 10px 0;} + a.mention {background: lighten($secondary_background_color, 60%);} &.bottom { &.hidden {display: block; opacity: 0; }