add new comment icon class

This commit is contained in:
ByronEricPerez 2022-06-30 16:54:56 -03:00
parent 72be88d30d
commit 8a163e0f02
2 changed files with 47 additions and 2 deletions

View file

@ -261,7 +261,7 @@ export class FormField extends React.PureComponent<Props> {
{!noEmojis && openEmoteMenu && ( {!noEmojis && openEmoteMenu && (
<Button <Button
type="alt" type="alt"
className="button--file-action" className="button--file-action button--comment-icons"
title="Emotes" title="Emotes"
onClick={openEmoteMenu} onClick={openEmoteMenu}
icon={ICONS.EMOJI} icon={ICONS.EMOJI}

View file

@ -350,6 +350,51 @@ a.button--alt {
background-color: transparent; background-color: transparent;
margin-right: var(--spacing-m); margin-right: var(--spacing-m);
padding: 0 var(--spacing-xxs); padding: 0 var(--spacing-xxs);
&.button--comment-icons {
height: initial;
padding: 5px;
}
&.button--file-action-active {
.icon {
fill: var(--color-primary-alt);
stroke: var(--color-primary) !important; //fixme
color: var(--color-primary);
}
}
@media (max-width: $breakpoint-small) {
padding: 0 0;
}
.icon {
&:not(.color-override) {
stroke: var(--color-text);
}
}
.button__label {
min-width: 10px;
}
&:last-child {
margin-right: 0;
}
&:hover {
.button__label {
color: var(--color-link);
}
}
}
.button--comment-icons {
/* @extend .button--alt;
color: var(--color-text);
background-color: transparent;
margin-right: var(--spacing-m);
padding: 0 var(--spacing-xxs);
height: initial; height: initial;
padding: 5px; padding: 5px;
@ -383,7 +428,7 @@ a.button--alt {
.button__label { .button__label {
color: var(--color-link); color: var(--color-link);
} }
} } */
} }
[aria-expanded='true'].button--file-action { [aria-expanded='true'].button--file-action {