BetterDiscordApp-v2/client/src/styles/partials/emotes.scss

78 lines
1.4 KiB
SCSS
Raw Normal View History

2018-08-15 04:03:56 +02:00
.bd-emoteOuter {
2018-03-31 04:22:44 +02:00
display: inline-block;
height: 32px;
user-select: none;
2018-08-15 04:03:56 +02:00
.bd-isEmote {
2018-03-31 04:22:44 +02:00
font-size: 0;
}
}
.bd-emotewrapper {
2018-05-14 17:55:18 +02:00
display: inline-flex;
2018-03-31 04:22:44 +02:00
max-height: 32px;
img {
height: 32px;
2018-08-15 11:42:43 +02:00
margin: 0 .05em 0 .1em !important; // sass-lint:disable-line no-important
2018-03-31 04:22:44 +02:00
min-height: 22px;
min-width: 22px;
object-fit: contain;
vertical-align: -.4em;
max-height: 32px;
}
2018-04-04 21:51:25 +02:00
}
2018-03-31 04:22:44 +02:00
2018-04-04 21:51:25 +02:00
.bd-emotewrapper,
2018-08-15 04:03:56 +02:00
.bd-autocompleteSelector {
.bd-emoteFavouriteButton {
2018-03-31 04:22:44 +02:00
display: none;
width: 16px;
height: 16px;
margin-left: -17px;
margin-right: 1px;
cursor: pointer;
opacity: .7;
transition: opacity .1s ease;
&:hover {
opacity: 1;
}
svg {
fill: $coldimwhite;
transition: fill .1s ease;
}
2018-08-15 11:42:43 +02:00
&.bd-active {
svg {
fill: #fff;
}
2018-03-31 04:22:44 +02:00
}
}
2018-08-15 11:42:43 +02:00
&.bd-selected {
.bd-emoteFavouriteButton {
display: block;
}
}
&:hover {
.bd-emoteFavouriteButton {
display: block;
}
2018-03-31 04:22:44 +02:00
}
}
2018-04-04 21:51:25 +02:00
2018-08-15 04:03:56 +02:00
.bd-autocompleteSelector {
.bd-emoteFavouriteButton {
2018-04-04 21:51:25 +02:00
margin-left: 8px;
margin-right: 0;
opacity: .5;
&.bd-active {
display: block;
}
}
}