From 71bd413b257afd376e1e6fb4c229f70bdb9381c1 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Wed, 6 Jul 2016 00:30:38 +0500 Subject: PLT-3458- Improving css for custom emoji (#3492) --- webapp/sass/routes/_backstage.scss | 44 ++++++++++++++++++++++++++++++-------- 1 file changed, 35 insertions(+), 9 deletions(-) (limited to 'webapp/sass/routes/_backstage.scss') diff --git a/webapp/sass/routes/_backstage.scss b/webapp/sass/routes/_backstage.scss index 5d7942184..c74671231 100644 --- a/webapp/sass/routes/_backstage.scss +++ b/webapp/sass/routes/_backstage.scss @@ -55,32 +55,62 @@ list-style: none; padding: 0; } + + > ul { + @include clearfix; + @include border-radius(2px); + border-left: 1px solid $light-gray; + border-right: 1px solid $light-gray; + } } .backstage-sidebar__category { - border: 1px solid $light-gray; + + + .backstage-sidebar__category { + .category-title { + border-top: none; + } + } .category-title { + border-bottom: 1px solid $light-gray; + border-top: 1px solid $light-gray; color: $black; display: block; - line-height: 36px; + line-height: 35px; padding: 0 10px; position: relative; + + .fa { + @include opacity(.5); + position: relative; + text-align: center; + top: 1px; + width: 20px; + } + + .fa-smile-o { + font-size: 17px; + } } .category-title--active { background-color: $primary-color; color: $white; + + .fa { + @include opacity(1); + } } .category-title__text { - left: 2em; + left: 2.5em; position: absolute; } .sections { background: $white; - border-top: 1px solid $light-gray; + border-bottom: 1px solid $light-gray; } .section-title, @@ -104,13 +134,9 @@ } } -.backstage-sidebar__category + .backstage-sidebar__category { - margin-top: 1em; -} - .backstage-header__divider { - margin: 0 10px; color: $gray; + margin: 0 10px; } .backstage-header { -- cgit v1.2.3-1-g7c22