add new comment icon class
This commit is contained in:
parent
72be88d30d
commit
8a163e0f02
2 changed files with 47 additions and 2 deletions
|
@ -261,7 +261,7 @@ export class FormField extends React.PureComponent<Props> {
|
|||
{!noEmojis && openEmoteMenu && (
|
||||
<Button
|
||||
type="alt"
|
||||
className="button--file-action"
|
||||
className="button--file-action button--comment-icons"
|
||||
title="Emotes"
|
||||
onClick={openEmoteMenu}
|
||||
icon={ICONS.EMOJI}
|
||||
|
|
|
@ -350,6 +350,51 @@ a.button--alt {
|
|||
background-color: transparent;
|
||||
margin-right: var(--spacing-m);
|
||||
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;
|
||||
padding: 5px;
|
||||
|
||||
|
@ -383,7 +428,7 @@ a.button--alt {
|
|||
.button__label {
|
||||
color: var(--color-link);
|
||||
}
|
||||
}
|
||||
} */
|
||||
}
|
||||
|
||||
[aria-expanded='true'].button--file-action {
|
||||
|
|
Loading…
Reference in a new issue