PLT-3458- Improving css for custom emoji (#3492)

Этот коммит содержится в:
Asaad Mahmood
2016-07-06 00:30:38 +05:00
коммит произвёл Joram Wilander
родитель b0514fb559
Коммит 71bd413b25

Просмотреть файл

@@ -55,32 +55,62 @@
list-style: none; list-style: none;
padding: 0; padding: 0;
} }
> ul {
@include clearfix;
@include border-radius(2px);
border-left: 1px solid $light-gray;
border-right: 1px solid $light-gray;
}
} }
.backstage-sidebar__category { .backstage-sidebar__category {
border: 1px solid $light-gray;
+ .backstage-sidebar__category {
.category-title {
border-top: none;
}
}
.category-title { .category-title {
border-bottom: 1px solid $light-gray;
border-top: 1px solid $light-gray;
color: $black; color: $black;
display: block; display: block;
line-height: 36px; line-height: 35px;
padding: 0 10px; padding: 0 10px;
position: relative; position: relative;
.fa {
@include opacity(.5);
position: relative;
text-align: center;
top: 1px;
width: 20px;
}
.fa-smile-o {
font-size: 17px;
}
} }
.category-title--active { .category-title--active {
background-color: $primary-color; background-color: $primary-color;
color: $white; color: $white;
.fa {
@include opacity(1);
}
} }
.category-title__text { .category-title__text {
left: 2em; left: 2.5em;
position: absolute; position: absolute;
} }
.sections { .sections {
background: $white; background: $white;
border-top: 1px solid $light-gray; border-bottom: 1px solid $light-gray;
} }
.section-title, .section-title,
@@ -104,13 +134,9 @@
} }
} }
.backstage-sidebar__category + .backstage-sidebar__category {
margin-top: 1em;
}
.backstage-header__divider { .backstage-header__divider {
margin: 0 10px;
color: $gray; color: $gray;
margin: 0 10px;
} }
.backstage-header { .backstage-header {