From 69aba945903716e81281478e66a925db78543158 Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Mon, 18 Feb 2019 11:22:55 -0500 Subject: [PATCH] commento.scss: move highlighted to commento-card.scss --- frontend/js/commento.js | 2 +- frontend/sass/commento-card.scss | 4 ++++ frontend/sass/commento.scss | 4 ---- frontend/sass/dashboard-main.scss | 9 ++++++++- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/frontend/js/commento.js b/frontend/js/commento.js index 888c73d..59b7359 100644 --- a/frontend/js/commento.js +++ b/frontend/js/commento.js @@ -1578,7 +1578,7 @@ return; } - classAdd(el, "highlighted"); + classAdd(el, "highlighted-card"); el.scrollIntoView(true); } } diff --git a/frontend/sass/commento-card.scss b/frontend/sass/commento-card.scss index 6c87570..c47601c 100644 --- a/frontend/sass/commento-card.scss +++ b/frontend/sass/commento-card.scss @@ -95,6 +95,10 @@ } .commento-dark-card { + background: $red-0; +} + +.commento-highlighted-card { background: $yellow-0; } diff --git a/frontend/sass/commento.scss b/frontend/sass/commento.scss index 86bf54a..3457f76 100644 --- a/frontend/sass/commento.scss +++ b/frontend/sass/commento.scss @@ -55,8 +55,4 @@ font-weight: 700; margin-top: 16px; } - - .commento-highlighted { - background: $yellow-0; - } } diff --git a/frontend/sass/dashboard-main.scss b/frontend/sass/dashboard-main.scss index c1e1901..11588a7 100644 --- a/frontend/sass/dashboard-main.scss +++ b/frontend/sass/dashboard-main.scss @@ -326,9 +326,10 @@ body { } .normal-text { - font-size: 14px; + font-size: 15px; color: $gray-7; line-height: 22px; + margin-bottom: 8px; a { color: $blue-6; @@ -375,6 +376,12 @@ body { } } +.question { + font-size: 15px; + color: $gray-7; + margin-bottom: 10px; +} + .float-right { position: absolute; right: 10px;