2017-01-07 08:54:17 +01:00
|
|
|
.message_reactions {
|
2017-01-09 21:33:16 +01:00
|
|
|
overflow: hidden;
|
2017-08-22 06:58:31 +02:00
|
|
|
|
|
|
|
user-select: none;
|
2017-01-07 08:54:17 +01:00
|
|
|
|
2019-05-18 09:43:28 +02:00
|
|
|
.message_reaction {
|
2022-06-29 20:57:40 +02:00
|
|
|
display: flex;
|
2019-05-18 09:43:28 +02:00
|
|
|
float: left;
|
|
|
|
margin: 0.15em;
|
|
|
|
padding: 0 2px 0 0;
|
|
|
|
cursor: pointer;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
|
|
|
border: 1px solid hsl(194deg 37% 84%);
|
2019-05-18 09:43:28 +02:00
|
|
|
border-radius: 4px;
|
2022-06-29 20:57:40 +02:00
|
|
|
align-items: center;
|
2019-05-18 09:43:28 +02:00
|
|
|
|
2019-05-20 15:58:00 +02:00
|
|
|
&.reacted {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(195deg 50% 95%);
|
2019-05-20 15:58:00 +02:00
|
|
|
}
|
2019-05-18 09:43:28 +02:00
|
|
|
|
2019-05-20 15:58:00 +02:00
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(200deg 100% 40%);
|
2019-05-20 15:58:00 +02:00
|
|
|
}
|
2019-05-18 15:51:11 +02:00
|
|
|
|
2019-05-20 15:58:00 +02:00
|
|
|
+ .reaction_button {
|
|
|
|
visibility: hidden;
|
|
|
|
pointer-events: none;
|
2021-11-05 03:33:16 +01:00
|
|
|
margin: 2px 0.1em 3px;
|
2019-05-20 15:58:00 +02:00
|
|
|
padding: 3px;
|
2022-06-29 20:57:40 +02:00
|
|
|
height: 13px;
|
2019-05-20 15:58:00 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
padding-left: 0.3em;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 73%);
|
2019-05-20 15:58:00 +02:00
|
|
|
padding-right: 0.3em;
|
|
|
|
float: left;
|
|
|
|
}
|
2019-06-03 17:49:06 +02:00
|
|
|
|
|
|
|
.emoji {
|
|
|
|
display: inline-block;
|
2022-06-29 20:57:40 +02:00
|
|
|
flex-shrink: 0;
|
2019-06-03 17:49:06 +02:00
|
|
|
vertical-align: top;
|
2020-08-06 02:42:07 +02:00
|
|
|
top: 0;
|
2019-06-03 17:49:06 +02:00
|
|
|
margin: 1px 3px;
|
|
|
|
height: 17px;
|
|
|
|
width: 17px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2019-05-18 15:51:11 +02:00
|
|
|
}
|
|
|
|
|
2019-05-18 09:43:28 +02:00
|
|
|
.message_reaction_count {
|
|
|
|
position: relative;
|
2022-06-29 20:57:40 +02:00
|
|
|
top: 1px;
|
2022-02-11 00:35:07 +01:00
|
|
|
font-size: 90%;
|
2022-06-29 20:57:40 +02:00
|
|
|
display: flex;
|
|
|
|
margin: 0 3px;
|
|
|
|
padding: 2px 0;
|
2019-05-18 09:43:28 +02:00
|
|
|
line-height: 1em;
|
|
|
|
}
|
|
|
|
|
2022-06-01 21:24:25 +02:00
|
|
|
.message_reaction:hover .message_reaction_count {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(200deg 100% 40%);
|
2022-06-01 21:24:25 +02:00
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2019-05-18 09:43:28 +02:00
|
|
|
font-size: 1.3em;
|
|
|
|
float: left;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 33%);
|
2019-05-18 09:43:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .message_reaction + .reaction_button {
|
|
|
|
visibility: visible;
|
|
|
|
pointer-events: all;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 98%);
|
2019-05-18 09:43:28 +02:00
|
|
|
}
|
|
|
|
|
2019-05-20 16:02:46 +02:00
|
|
|
.reaction_button {
|
2022-06-29 20:57:40 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2019-05-20 16:02:46 +02:00
|
|
|
font-size: 1em;
|
|
|
|
}
|
2019-05-18 09:43:28 +02:00
|
|
|
|
2019-05-20 16:02:46 +02:00
|
|
|
&:hover i {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(200deg 100% 40%);
|
2019-05-20 16:02:46 +02:00
|
|
|
}
|
2019-05-18 09:43:28 +02:00
|
|
|
|
2021-04-16 21:20:54 +02:00
|
|
|
/* Configure the reaction button to appear if and only if there's an
|
|
|
|
existing reaction to the message. We reference first-child
|
|
|
|
rather than only-child because tooltips may be appended to
|
|
|
|
the DOM after this element, whereas actual reactions are
|
|
|
|
appended before it. */
|
2021-04-15 15:29:08 +02:00
|
|
|
&:first-child {
|
2019-05-20 16:02:46 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2019-05-18 09:43:28 +02:00
|
|
|
|
2019-05-20 16:02:46 +02:00
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(200deg 100% 40%);
|
|
|
|
background-color: hsl(195deg 50% 95%);
|
2019-05-20 16:02:46 +02:00
|
|
|
cursor: pointer;
|
2020-08-04 23:58:56 +02:00
|
|
|
opacity: 1;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(200deg 100% 40%);
|
2019-05-20 16:02:46 +02:00
|
|
|
}
|
2019-05-18 09:43:28 +02:00
|
|
|
|
2019-05-20 16:02:46 +02:00
|
|
|
.message_reaction_count {
|
|
|
|
font-size: 1.1em;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 33%);
|
2022-06-29 20:57:40 +02:00
|
|
|
margin-right: 0;
|
2019-05-20 16:02:46 +02:00
|
|
|
}
|
2019-05-20 15:59:58 +02:00
|
|
|
|
2019-05-20 16:02:46 +02:00
|
|
|
&:hover .message_reaction_count {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(200deg 100% 40%);
|
2019-05-20 16:02:46 +02:00
|
|
|
}
|
2019-05-18 09:43:28 +02:00
|
|
|
}
|
2017-01-07 08:54:17 +01:00
|
|
|
}
|
|
|
|
|
2019-05-18 09:33:04 +02:00
|
|
|
.private-message .message_reactions .message_reaction {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(192deg 20% 95%);
|
2019-05-18 09:33:04 +02:00
|
|
|
|
2019-05-18 11:11:11 +02:00
|
|
|
&.reacted {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(196deg 51% 93%);
|
|
|
|
border-color: hsl(193deg 38% 70%);
|
2019-05-18 11:11:11 +02:00
|
|
|
}
|
2019-05-18 09:33:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.reaction_button_visible {
|
|
|
|
visibility: visible !important;
|
|
|
|
pointer-events: all !important;
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
|
2017-07-19 00:28:56 +02:00
|
|
|
.emoji-info-popover {
|
|
|
|
padding: 0;
|
2017-08-27 22:15:02 +02:00
|
|
|
height: 370px;
|
2020-07-06 22:55:45 +02:00
|
|
|
user-select: none;
|
2017-07-19 00:28:56 +02:00
|
|
|
|
2019-05-18 08:30:46 +02:00
|
|
|
.popover-content {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2017-07-19 00:28:56 +02:00
|
|
|
|
2019-05-18 08:30:46 +02:00
|
|
|
&.bottom .arrow {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-bottom-color: hsl(0deg 0% 93%);
|
2019-05-18 08:30:46 +02:00
|
|
|
}
|
2017-07-19 00:28:56 +02:00
|
|
|
|
2019-05-18 08:30:46 +02:00
|
|
|
&.top .arrow {
|
2023-03-20 22:08:47 +01:00
|
|
|
border-top-color: hsl(0deg 0% 93%);
|
2019-05-18 08:30:46 +02:00
|
|
|
}
|
2017-07-19 00:28:56 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.emoji-popover {
|
|
|
|
display: block;
|
|
|
|
width: 250px;
|
2016-12-02 13:23:23 +01:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.reacted {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(195deg 50% 95%);
|
|
|
|
border-color: hsl(195deg 52% 79%);
|
2019-06-03 18:30:58 +02:00
|
|
|
}
|
2019-05-18 08:28:35 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.emoji-popover-top {
|
|
|
|
position: relative;
|
2017-07-19 00:28:56 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
padding: 8px 10px;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-bottom: 0;
|
2017-07-19 00:28:56 +02:00
|
|
|
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 93%);
|
2017-07-19 00:28:56 +02:00
|
|
|
|
2020-08-06 02:42:07 +02:00
|
|
|
border-radius: 5px 5px 0 0;
|
2016-12-02 13:23:23 +01:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.fa-search {
|
|
|
|
position: absolute;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 73%);
|
2019-06-03 18:30:58 +02:00
|
|
|
top: 15px;
|
|
|
|
left: 17px;
|
|
|
|
z-index: 3;
|
|
|
|
}
|
2016-12-02 13:23:23 +01:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.emoji-popover-filter {
|
|
|
|
margin: auto;
|
|
|
|
padding-left: 22px;
|
|
|
|
width: calc(100% - 22px - 8px);
|
2020-09-23 06:50:25 +02:00
|
|
|
font-size: 90%;
|
2019-06-03 18:30:58 +02:00
|
|
|
}
|
2019-06-03 18:25:42 +02:00
|
|
|
}
|
2019-06-03 18:23:05 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.emoji-popover-category-tabs {
|
2019-06-03 18:25:42 +02:00
|
|
|
/* Flex needed here to work around #7511 (90% zoom issues in firefox) */
|
2019-06-03 18:30:58 +02:00
|
|
|
display: flex;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 93%);
|
2019-06-03 18:30:58 +02:00
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.emoji-popover-tab-item {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 8px;
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 16px;
|
|
|
|
cursor: pointer;
|
|
|
|
/* Flex needed here to work around #7511 (90% zoom issues in firefox) */
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
&.active {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100% / 20%);
|
2019-06-03 18:30:58 +02:00
|
|
|
}
|
2019-06-03 18:25:42 +02:00
|
|
|
}
|
2019-06-03 18:23:05 +02:00
|
|
|
}
|
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.emoji-popover-emoji-map,
|
|
|
|
.emoji-search-results-container {
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0;
|
2019-06-03 18:30:58 +02:00
|
|
|
position: relative;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
display: block;
|
|
|
|
width: 247px;
|
|
|
|
padding-left: 3px;
|
|
|
|
}
|
2017-07-19 00:28:56 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.emoji-search-results-container {
|
|
|
|
height: 283px;
|
2017-07-19 00:28:56 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.emoji-popover-results-heading {
|
|
|
|
font-weight: 600;
|
|
|
|
padding: 5px 3px 3px 5px;
|
|
|
|
font-size: 17px;
|
|
|
|
}
|
2019-06-03 18:25:42 +02:00
|
|
|
}
|
2017-07-19 00:28:56 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.emoji-popover-emoji-map {
|
|
|
|
height: 250px;
|
2019-06-03 18:10:28 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.emoji-popover-subheading {
|
|
|
|
font-weight: 600;
|
|
|
|
padding: 5px 3px;
|
|
|
|
}
|
2019-06-03 18:25:42 +02:00
|
|
|
}
|
2016-12-02 13:23:23 +01:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.emoji-popover-emoji {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 6px;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 0.5em;
|
|
|
|
height: 25px;
|
|
|
|
width: 25px;
|
2019-05-18 09:14:46 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
&.reacted.reaction:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(195deg 55% 88%);
|
2019-06-03 18:30:58 +02:00
|
|
|
outline: none;
|
|
|
|
}
|
2017-10-03 18:20:43 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
&:not(.reacted):focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 93%);
|
2019-06-03 18:30:58 +02:00
|
|
|
outline: none;
|
|
|
|
}
|
2017-05-17 18:22:38 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
&.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-06-03 18:25:42 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.emoji {
|
|
|
|
top: 6px;
|
|
|
|
}
|
2019-06-03 18:25:42 +02:00
|
|
|
}
|
2019-05-18 09:17:27 +02:00
|
|
|
}
|
2017-08-27 22:15:02 +02:00
|
|
|
|
2019-06-03 18:30:58 +02:00
|
|
|
.emoji-showcase-container {
|
2019-06-03 18:00:29 +02:00
|
|
|
position: relative;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 93%);
|
2019-06-03 18:30:58 +02:00
|
|
|
min-height: 44px;
|
|
|
|
width: 250px;
|
|
|
|
|
|
|
|
.emoji-preview {
|
|
|
|
position: absolute;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
left: 5px;
|
|
|
|
top: 6px;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-top: 0;
|
2019-06-03 18:30:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-canonical-name {
|
|
|
|
position: relative;
|
|
|
|
top: 12px;
|
|
|
|
margin-left: 50px;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 600;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2019-06-03 18:00:29 +02:00
|
|
|
}
|
2017-08-27 22:15:02 +02:00
|
|
|
}
|
2019-06-03 18:30:08 +02:00
|
|
|
|
|
|
|
.emoji_alt_code {
|
|
|
|
position: relative;
|
|
|
|
top: 4px;
|
|
|
|
font-size: 0.8em;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0 1px 0 0;
|
2019-06-03 18:30:08 +02:00
|
|
|
line-height: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.typeahead .emoji {
|
|
|
|
top: 2px;
|
|
|
|
}
|