From 76e26daf87afa6d8ad3d886423caf626ee8009a3 Mon Sep 17 00:00:00 2001 From: Erick Guan Date: Sun, 18 May 2014 00:24:51 +0800 Subject: [PATCH] So sad, reply-new icon is not circle. I can't tolerate this <3 --- app/assets/stylesheets/desktop/topic.scss | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/desktop/topic.scss b/app/assets/stylesheets/desktop/topic.scss index f4ba71fcae9..d234f7e0f8e 100644 --- a/app/assets/stylesheets/desktop/topic.scss +++ b/app/assets/stylesheets/desktop/topic.scss @@ -72,28 +72,26 @@ outline: 1px solid transparent; } -.reply-new { +a.reply-new { + position: absolute; + margin-top: -2px; + color: scale-color($primary, $lightness: 50%); i { - font-size: 12px; margin-right: 5px; background: $secondary; border: 1px solid scale-color($primary, $lightness: 90%); - padding: 2px 4px; + padding: 1.5px 3px; border-radius: 20px; transition: linear 0.15s; -webkit-transition: linear 0.15s; } } -a.reply-new { - position: absolute; - color: scale-color($primary, $lightness: 50%); - margin-top: -2px;} a:hover.reply-new { color: $tertiary; - i {background: scale-color($tertiary, $lightness: 75%); + i { + background: scale-color($tertiary, $lightness: 75%); border: 1px solid $tertiary; - padding: 2px 4px; } }