From 8a8e0b53fccac69198e06774f52bcc16508edce6 Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Wed, 13 Feb 2019 01:30:58 -0500 Subject: [PATCH] commento.scss: move avatar and dark-card to commento-card.scss --- frontend/sass/commento-card.scss | 33 ++++++++++++++++++++++++++++++++ frontend/sass/commento.scss | 29 ---------------------------- 2 files changed, 33 insertions(+), 29 deletions(-) diff --git a/frontend/sass/commento-card.scss b/frontend/sass/commento-card.scss index e884100..6c87570 100644 --- a/frontend/sass/commento-card.scss +++ b/frontend/sass/commento-card.scss @@ -1,3 +1,5 @@ +@import "colors-main.scss"; + .commento-card { @import "commento-options.scss"; // SVG buttons to the right of each comment @@ -91,3 +93,34 @@ height: 48px; } } + +.commento-dark-card { + background: $yellow-0; +} + +// do not place this inside .commento-card as this is used by logged-container +// as well +.commento-avatar { + width: 38px; + height: 38px; + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + color: white; + font-size: 22px; + float: left; + margin-right: 10px; + border: 0px transparent; +} + +.commento-avatar-img { + width: 38px; + height: 38px; + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + float: left; + margin-right: 10px; +} diff --git a/frontend/sass/commento.scss b/frontend/sass/commento.scss index 1f88f4a..3afb744 100644 --- a/frontend/sass/commento.scss +++ b/frontend/sass/commento.scss @@ -56,33 +56,4 @@ font-weight: 700; margin-top: 16px; } - - .commento-dark-card { - background: $yellow-0; - } - - .commento-avatar { - width: 38px; - height: 38px; - border-radius: 50%; - display: flex; - justify-content: center; - align-items: center; - color: white; - font-size: 22px; - float: left; - margin-right: 10px; - border: 0px transparent; - } - - .commento-avatar-img { - width: 38px; - height: 38px; - border-radius: 50%; - display: flex; - justify-content: center; - align-items: center; - float: left; - margin-right: 10px; - } }