Skip to content

Commit

Permalink
Corrected styles for emoji menu
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Nov 8, 2015
1 parent 7a61c6c commit 6b35cee
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 57 deletions.
94 changes: 39 additions & 55 deletions scss/modules/emojis/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
background-color: $base-link-color-active;
}

.emoji_li a:hover {
background: $base-link-color-active;
}

#emoji_div_default_rxns {
border-bottom: 1px solid $color-shade-dark;
}
Expand All @@ -33,56 +29,58 @@
border-top: 1px solid $color-shade-dark;
}

&.all_emoji {
#emoji_menu_header {
background: $color-shade-darkest;
#emoji_menu_header {
background: $color-shade-darkest;
}

.emoji_li {
a:hover {
background: $base-link-color-active;
}

.emoji_li {
a.green:hover,
&.key_selection a.green {
background: $color-highlight;
}

a.yellow:hover,
&.key_selection a.yellow {
background: $color-highlight;
}

a.blue:hover,
&.key_selection a.blue {
background: $color-highlight;
}

a.pink:hover,
&.key_selection a.pink {
background: $color-highlight;
}
a.green:hover,
&.key_selection a.green {
background: $color-highlight;
}

a.emoji_grouping_tab {
color: $base-link-color;
a.yellow:hover,
&.key_selection a.yellow {
background: $color-highlight;
}

&:hover {
background: $color-shade-dark;
color: $base-link-color-active;
}
a.blue:hover,
&.key_selection a.blue {
background: $color-highlight;
}

&.active {
background: $color-shade-light;
border-bottom: 3px solid $color-shade-mid;
color: $base-font-color;
}
a.pink:hover,
&.key_selection a.pink {
background: $color-highlight;
}
}

a.emoji_grouping_tab {
color: $base-link-color;

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

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

#monkey_scroll_wrapper_for_emoji_menu_items_scroller {
background: $color-base;
}
}

#emoji_menu_header {
background: $color-shade-darkest;
#emoji_input:focus {
border-color: $color-shade-light;
}
}

.emoji_li a {
Expand All @@ -104,17 +102,3 @@ div {
color: $color-highlight;
}
}

#emoji_input:focus {
border-color: $color-highlight;
}

#emoji_menu:not(.all_emoji) a.emoji_grouping_tab {
&:hover {
background: $color-shade-dark;
}

&.active {
background: $color-shade-light;
}
}
4 changes: 2 additions & 2 deletions scss/modules/inputs/_messaging.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}

.emo_menu {
color: rgba($base-font-color, 0.15);
color: rgba($base-font-color, 0.3);

&.active .ts_icon_happy_smile,
&:hover .ts_icon_happy_smile {
Expand All @@ -39,7 +39,7 @@

&.focus {
.emo_menu {
color: rgba($base-font-color, 0.2);
color: rgba($base-font-color, 0.6);
}

#primary_file_button:not(:hover) {
Expand Down

0 comments on commit 6b35cee

Please sign in to comment.