session-desktop/stylesheets/_emoji.scss

105 lines
1.7 KiB
SCSS
Raw Normal View History

span.emoji {
2018-05-04 22:07:52 +02:00
display: -moz-inline-box;
-moz-box-orient: vertical;
display: inline-block;
vertical-align: baseline;
*vertical-align: auto;
*zoom: 1;
*display: inline;
width: 1em;
height: 1em;
background-size: 1em;
background-repeat: no-repeat;
text-indent: -9999px;
background-position: 50%, 50%;
background-size: contain;
}
span.emoji-sizer {
2018-05-04 22:07:52 +02:00
line-height: 0.81em;
font-size: 1em;
margin: -2px 0;
}
span.emoji-outer {
2018-05-04 22:07:52 +02:00
display: -moz-inline-box;
display: inline-block;
*display: inline;
height: 1em;
width: 1em;
}
span.emoji-inner {
2018-05-04 22:07:52 +02:00
display: -moz-inline-box;
display: inline-block;
text-indent: -9999px;
width: 100%;
height: 100%;
vertical-align: baseline;
*vertical-align: auto;
*zoom: 1;
}
img.emoji {
2018-05-04 22:07:52 +02:00
width: 1em;
height: 1em;
margin-bottom: -1px;
}
img.emoji.small {
2020-07-24 03:16:40 +02:00
width: 1.1em;
height: 1.1em;
}
img.emoji.medium {
2020-07-24 03:16:40 +02:00
width: 1.3em;
height: 1.3em;
}
img.emoji.large {
2020-07-22 06:57:45 +02:00
width: 1.7em;
height: 1.7em;
}
img.emoji.jumbo {
2020-07-22 06:57:45 +02:00
width: 2em;
height: 2em;
}
// we need these, or we'll make conversation items too big in the left-nav
.conversations img.emoji.small {
2018-05-04 22:07:52 +02:00
width: 1em;
height: 1em;
}
.conversations img.emoji.medium {
2018-05-04 22:07:52 +02:00
width: 1em;
height: 1em;
}
.conversations img.emoji.large {
2018-05-04 22:07:52 +02:00
width: 1em;
height: 1em;
}
.conversations img.emoji.jumbo {
2018-05-04 22:07:52 +02:00
width: 1em;
height: 1em;
}
button.emoji {
padding: 0;
opacity: 0.5;
border: none;
background: transparent;
2020-01-31 03:31:25 +01:00
margin: 0px 10px 0px 15px;
&:before {
content: '';
2020-08-25 07:57:37 +02:00
margin-top: 5px;
display: inline-block;
width: $button-height;
height: $button-height;
@include color-svg('../images/smile.svg', $grey);
}
2018-05-04 22:07:52 +02:00
&:focus,
&:hover {
opacity: 1;
}
}