2017-09-14 23:23:45 +08:00
|
|
|
img.emoji {
|
2017-07-22 01:42:46 +08:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2018-12-06 19:43:52 +08:00
|
|
|
small img.emoji,
|
|
|
|
sub img.emoji,
|
|
|
|
sup img.emoji {
|
|
|
|
height: 1.1em;
|
|
|
|
width: 1.1em;
|
|
|
|
}
|
|
|
|
|
2017-07-11 23:51:53 +08:00
|
|
|
.emoji-picker {
|
|
|
|
background-clip: padding-box;
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("modal", "content");
|
2014-12-05 14:19:17 +08:00
|
|
|
position: fixed;
|
2017-07-20 04:05:57 +08:00
|
|
|
display: none;
|
2017-07-11 23:51:53 +08:00
|
|
|
flex-direction: row;
|
|
|
|
height: 300px;
|
2019-01-24 10:37:39 +08:00
|
|
|
color: $primary;
|
2017-07-20 04:32:29 +08:00
|
|
|
background-color: $secondary;
|
2019-01-03 06:54:22 +08:00
|
|
|
border: 1px solid $primary-low;
|
2014-12-05 14:19:17 +08:00
|
|
|
}
|
|
|
|
|
2017-07-11 23:51:53 +08:00
|
|
|
.emoji-picker .categories-column {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2017-07-11 23:51:53 +08:00
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2019-01-03 06:54:22 +08:00
|
|
|
border-right: 1px solid $primary-low;
|
2017-07-11 23:51:53 +08:00
|
|
|
min-width: 36px;
|
2014-12-05 14:19:17 +08:00
|
|
|
}
|
|
|
|
|
2017-07-11 23:51:53 +08:00
|
|
|
.emoji-picker .category-icon {
|
2014-12-05 14:19:17 +08:00
|
|
|
display: block;
|
2017-07-11 23:51:53 +08:00
|
|
|
margin: 4px auto;
|
|
|
|
-webkit-filter: grayscale(100%);
|
|
|
|
filter: grayscale(100%);
|
2017-07-22 01:42:46 +08:00
|
|
|
|
|
|
|
button.emoji {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2014-12-05 14:19:17 +08:00
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.emoji-picker .category-icon.current,
|
|
|
|
.emoji-picker .category-icon:hover {
|
2017-07-11 23:51:53 +08:00
|
|
|
-webkit-filter: grayscale(0%);
|
|
|
|
filter: grayscale(0%);
|
2014-12-05 14:19:17 +08:00
|
|
|
}
|
|
|
|
|
2017-07-11 23:51:53 +08:00
|
|
|
.emoji-picker .main-column {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 20;
|
2014-12-05 14:19:17 +08:00
|
|
|
}
|
2014-12-08 13:45:24 +08:00
|
|
|
|
2017-07-11 23:51:53 +08:00
|
|
|
.emoji-picker .list {
|
|
|
|
overflow-y: scroll;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2018-01-25 22:53:36 +08:00
|
|
|
padding: 0;
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2017-07-11 23:51:53 +08:00
|
|
|
flex-direction: column;
|
2014-12-08 13:45:24 +08:00
|
|
|
}
|
|
|
|
|
2017-07-11 23:51:53 +08:00
|
|
|
.emoji-picker .section-header {
|
2014-12-08 13:45:24 +08:00
|
|
|
padding: 8px;
|
2018-05-01 12:44:15 +08:00
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
padding-bottom: 0px;
|
2017-07-11 23:51:53 +08:00
|
|
|
justify-content: space-between;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-05-01 12:44:15 +08:00
|
|
|
font-weight: bold;
|
2014-12-08 13:45:24 +08:00
|
|
|
}
|
|
|
|
|
2017-07-11 23:51:53 +08:00
|
|
|
.emoji-picker .section-header .title {
|
2017-07-20 04:32:29 +08:00
|
|
|
color: $primary;
|
2017-06-28 21:07:05 +08:00
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.emoji-picker .section-header .clear-recent .fa {
|
2017-07-11 23:51:53 +08:00
|
|
|
margin: 0;
|
2017-07-21 20:19:04 +08:00
|
|
|
padding: 0;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($header_primary-medium, $header_primary);
|
2017-07-21 20:19:04 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary;
|
|
|
|
}
|
2014-12-09 14:22:54 +08:00
|
|
|
}
|
|
|
|
|
2017-07-20 02:29:39 +08:00
|
|
|
.emoji-picker .section-group {
|
2017-07-11 23:51:53 +08:00
|
|
|
flex-wrap: wrap;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
padding: 4px;
|
2014-12-09 14:22:54 +08:00
|
|
|
}
|
2016-03-23 03:10:15 +08:00
|
|
|
|
2017-07-11 23:51:53 +08:00
|
|
|
.emoji-picker .footer {
|
2017-06-28 21:07:05 +08:00
|
|
|
align-items: center;
|
2017-07-11 23:51:53 +08:00
|
|
|
display: flex;
|
2017-06-28 21:07:05 +08:00
|
|
|
justify-content: space-between;
|
2019-01-03 06:54:22 +08:00
|
|
|
border-top: 1px solid $primary-low;
|
2017-06-28 21:07:05 +08:00
|
|
|
}
|
|
|
|
|
2017-07-11 23:51:53 +08:00
|
|
|
.emoji-picker .info {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
padding-left: 8px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
font-weight: 700;
|
|
|
|
max-width: 125px;
|
2017-06-28 21:07:05 +08:00
|
|
|
}
|
|
|
|
|
2017-07-11 23:51:53 +08:00
|
|
|
.emoji-picker .diversity-picker {
|
2017-06-28 21:07:05 +08:00
|
|
|
display: flex;
|
2017-07-11 23:51:53 +08:00
|
|
|
justify-content: flex-end;
|
|
|
|
padding: 8px;
|
2017-06-28 21:07:05 +08:00
|
|
|
}
|
|
|
|
|
2017-07-11 23:51:53 +08:00
|
|
|
.emoji-picker .diversity-picker .diversity-scale {
|
2017-06-28 21:07:05 +08:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin-left: 5px;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 3px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2017-06-29 06:27:16 +08:00
|
|
|
cursor: pointer;
|
2017-06-28 21:07:05 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
.emoji-picker .diversity-picker .diversity-scale.default {
|
|
|
|
background: #ffcc4d;
|
|
|
|
}
|
|
|
|
.emoji-picker .diversity-picker .diversity-scale.light {
|
|
|
|
background: #f7dece;
|
|
|
|
}
|
|
|
|
.emoji-picker .diversity-picker .diversity-scale.medium-light {
|
|
|
|
background: #f3d2a2;
|
|
|
|
}
|
|
|
|
.emoji-picker .diversity-picker .diversity-scale.medium {
|
|
|
|
background: #d5ab88;
|
|
|
|
}
|
|
|
|
.emoji-picker .diversity-picker .diversity-scale.medium-dark {
|
|
|
|
background: #af7e57;
|
|
|
|
}
|
|
|
|
.emoji-picker .diversity-picker .diversity-scale.dark {
|
|
|
|
background: #7c533e;
|
|
|
|
}
|
2017-07-11 23:51:53 +08:00
|
|
|
|
2018-11-27 05:49:57 +08:00
|
|
|
.emoji-picker .diversity-picker .diversity-scale.selected .d-icon {
|
2017-07-11 23:51:53 +08:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2018-11-27 05:49:57 +08:00
|
|
|
.emoji-picker .diversity-picker .d-icon {
|
2017-07-11 23:51:53 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2017-06-28 21:07:05 +08:00
|
|
|
|
2017-07-28 03:03:41 +08:00
|
|
|
.emoji-picker .diversity-picker .d-icon {
|
2017-06-28 21:07:05 +08:00
|
|
|
color: #fff;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
2018-11-27 05:49:57 +08:00
|
|
|
filter: drop-shadow(0.5px 1.5px 0 rgba(0, 0, 0, 0.3));
|
2017-06-28 21:07:05 +08:00
|
|
|
}
|
2017-07-11 23:51:53 +08:00
|
|
|
|
2017-07-22 01:42:46 +08:00
|
|
|
.emoji-picker button.emoji {
|
|
|
|
background: transparent;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
border-radius: 0;
|
|
|
|
background-size: 20px 20px;
|
|
|
|
-moz-box-sizing: content-box;
|
|
|
|
box-sizing: content-box;
|
2017-07-11 23:51:53 +08:00
|
|
|
height: 20px;
|
2017-07-22 01:42:46 +08:00
|
|
|
border: 0;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 20px;
|
|
|
|
outline: none;
|
|
|
|
padding: 3px;
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.emoji-picker .section-group button.emoji:hover,
|
|
|
|
.emoji-picker .results button.emoji:hover {
|
2017-07-22 01:42:46 +08:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2018-05-01 10:12:11 +08:00
|
|
|
border-radius: 2px;
|
2017-07-22 01:42:46 +08:00
|
|
|
background-color: lighten($tertiary, 40%);
|
2017-07-11 23:51:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-picker-modal.fadeIn {
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("modal", "overlay");
|
2017-07-11 23:51:53 +08:00
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2018-06-08 17:49:31 +08:00
|
|
|
opacity: 0.8;
|
2017-07-11 23:51:53 +08:00
|
|
|
background-color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-picker .filter {
|
2017-07-20 02:20:52 +08:00
|
|
|
background-color: none;
|
2019-01-03 06:54:22 +08:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2017-07-11 23:51:53 +08:00
|
|
|
padding: 5px;
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
2017-07-20 02:20:52 +08:00
|
|
|
align-items: center;
|
2017-12-18 17:48:33 +08:00
|
|
|
|
|
|
|
input[type="text"] {
|
2018-06-08 17:49:31 +08:00
|
|
|
width: auto !important;
|
2017-12-18 17:48:33 +08:00
|
|
|
}
|
2017-07-20 02:20:52 +08:00
|
|
|
}
|
|
|
|
|
2017-11-24 00:14:51 +08:00
|
|
|
.emoji-picker .filter .d-icon-search {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($header_primary-medium, $header_primary);
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-1;
|
2017-07-20 02:20:52 +08:00
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
2017-07-11 23:51:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-picker .filter input {
|
|
|
|
height: 24px;
|
|
|
|
margin: 0;
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2017-07-20 02:20:52 +08:00
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
2017-07-11 23:51:53 +08:00
|
|
|
padding-right: 24px;
|
2017-07-20 02:20:52 +08:00
|
|
|
outline: none;
|
2017-07-20 04:32:29 +08:00
|
|
|
color: $primary;
|
|
|
|
background: $secondary;
|
2017-07-20 02:20:52 +08:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2017-07-11 23:51:53 +08:00
|
|
|
}
|
|
|
|
|
2017-07-19 20:28:08 +08:00
|
|
|
.emoji-picker .filter input::-ms-clear {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-07-11 23:51:53 +08:00
|
|
|
.emoji-picker .results {
|
|
|
|
display: none;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
padding: 4px;
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2017-07-11 23:51:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-picker .filter .clear-filter {
|
|
|
|
position: absolute;
|
2017-07-20 02:20:52 +08:00
|
|
|
right: 5px;
|
2017-07-11 23:51:53 +08:00
|
|
|
top: 12px;
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($header_primary-medium, $header_primary);
|
2017-07-11 23:51:53 +08:00
|
|
|
outline: none;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&:hover {
|
2017-07-22 01:42:46 +08:00
|
|
|
color: $primary;
|
2017-07-11 23:51:53 +08:00
|
|
|
}
|
|
|
|
}
|