Skip to content

Commit

Permalink
Update styles for emoji picker
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Jun 17, 2017
1 parent 2f1223a commit a0eb22e
Showing 1 changed file with 53 additions and 64 deletions.
117 changes: 53 additions & 64 deletions scss/modules/emojis/_base.scss
Original file line number Diff line number Diff line change
@@ -1,45 +1,18 @@
#emoji_menu {
.p-emoji_picker {
background: $color-shade-darkest;
box-shadow: 0 2px 10px $color-shadow-dark;
color: $base-font-color;

#emoji_menu_items_scroller {
background: $color-base !important;
}

h3 {
background: rgba($color-base, 0.95);
}

#emoji_preview_text {
background: $color-shade-darkest;
color: $base-font-color;
}

#emoji_preview_deluxe {
color: $base-font-color;
}

#emoji_menu_footer {
background: $color-shade-darkest;
border-top: 1px solid $color-shade-dark;
}

#emoji_menu_content:hover #emoji_skin_button_container {
background: $color-shade-light;
border: 1px solid $color-shade-dark;
}

#emoji_menu_header {
background: $color-shade-darkest;
&[data-using-keyboard="true"] .p-emoji_picker__list_item {
@for $i from 0 through 5 {
&[data-color-index="#{$i}"].key_selection {
background: transparentize(map-get($emoji-hover-colors, $i), 0.5);
}
}
}

#emoji_input_container {
background: $color-base;
}
&__list_item {
text-shadow: 0 1px $color-shadow-light;

.emoji_li,
&[data-using-keyboard=true] .emoji_li {
@for $i from 0 through 5 {
&[data-color-index="#{$i}"]:hover,
&[data-color-index="#{$i}"].key_selection {
Expand All @@ -48,61 +21,77 @@
}
}

a.emoji_grouping_tab {
&__heading,
&__list_container,
&__input_container {
background: $color-base;
}

&__group_tabs {
border-bottom-color: $color-shade-mid;
}

&__group_tab {
color: $base-link-color;

&:hover {
background: $color-shade-dark;
color: $base-link-color-active;
}

&.active {
&--active {
background: $color-shade-light;
border-bottom: 3px solid $color-shade-mid;
border-bottom-color: $color-shade-mid;
color: $base-font-color;
}
}

#monkey_scroll_wrapper_for_emoji_menu_items_scroller {
background: $color-base;
&__icon_search {
color: $color-highlight;
}

#emoji_input:focus {
border-color: $color-shade-light;
&__content:hover .p-emoji_picker__skintone_btn_container {
background: $color-base;
border-color: $color-base;
}

#emoji_skin_button,
#emoji_skin_picker,
#emoji_skin_tip {
color: $color-highlight;
&__skintone_options {
background: $color-base;
}

#emoji_skin_picker {
background: $color-shade-darkest;

> span[data-preferred=true] {
background: $color-shade-dark;
&__tip,
&__no_results {
i {
color: $color-highlight;
}
}

#emoji_zero_results {
color: $color-highlight;
&__tip {
color: $base-font-color;
}

i {
color: $color-highlight;
}
&__no_results {
color: $color-highlight;
}

.emoji_tip {
&__preview_text {
background: $color-shade-darkest;
color: $base-font-color;
}
}

.emoji_menu_ng #emoji_input_container {
background: $color-base;
&__footer {
background: $color-shade-darkest;
border-top-color: $color-shade-dark;

.p-emoji_picker__heading {
background: $color-shade-darkest;
}
}
}

.emoji_li a {
color: $base-link-color !important;
text-shadow: 0 1px $color-shadow-light;
input.p-emoji_picker__input {
&:focus {
border-color: $color-shade-light;
box-shadow: none;
}
}

0 comments on commit a0eb22e

Please sign in to comment.