emoji-mart-lazyload/css/emoji-mart.css

279 lines
5.4 KiB
CSS
Raw Normal View History

2016-07-27 15:35:12 +00:00
.emoji-mart,
.emoji-mart * {
2016-05-31 14:36:52 +00:00
box-sizing: border-box;
line-height: 1.15;
2016-05-31 14:36:52 +00:00
}
2016-07-27 15:35:12 +00:00
.emoji-mart {
2016-05-31 14:36:52 +00:00
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
font-size: 16px;
display: inline-block;
color: #222427;
2016-05-31 16:35:08 +00:00
border: 1px solid #d9d9d9;
2016-05-31 14:36:52 +00:00
border-radius: 5px;
2016-07-12 20:52:04 +00:00
background: #fff;
2016-05-31 14:36:52 +00:00
}
2016-07-27 15:35:12 +00:00
.emoji-mart .emoji-mart-emoji {
padding: 6px;
}
.emoji-mart-bar {
border: 0 solid #d9d9d9;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-bar:first-child {
border-bottom-width: 1px;
2016-05-31 14:36:52 +00:00
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-bar:last-child {
border-top-width: 1px;
2016-05-31 14:36:52 +00:00
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-anchors {
2016-06-02 15:26:48 +00:00
display: flex;
justify-content: space-between;
padding: 0 6px;
color: #858585;
line-height: 0;
2016-06-02 15:26:48 +00:00
}
2016-07-27 15:35:12 +00:00
.emoji-mart-anchor {
2016-06-02 15:26:48 +00:00
position: relative;
flex: 1;
text-align: center;
padding: 12px 4px;
overflow: hidden;
2016-06-02 18:58:19 +00:00
transition: color .1s ease-out;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-anchor:hover,
.emoji-mart-anchor-selected {
2016-06-02 18:58:19 +00:00
color: #464646;
2016-06-02 15:26:48 +00:00
}
2016-07-27 15:35:12 +00:00
.emoji-mart-anchor-selected .emoji-mart-anchor-bar {
2016-06-02 15:26:48 +00:00
bottom: 0;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-anchor-bar {
2016-06-02 15:26:48 +00:00
position: absolute;
bottom: -3px; left: 0;
width: 100%; height: 3px;
2016-07-21 19:33:18 +00:00
background-color: #464646;
2016-06-02 15:26:48 +00:00
}
2016-07-27 15:35:12 +00:00
.emoji-mart-anchors i {
2016-06-02 15:26:48 +00:00
display: inline-block;
width: 100%;
max-width: 22px;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-anchors svg {
2016-06-02 15:26:48 +00:00
fill: currentColor;
2017-05-08 08:23:44 +00:00
max-height: 18px;
2016-06-02 15:26:48 +00:00
}
2016-07-27 15:35:12 +00:00
.emoji-mart-scroll {
2016-10-26 13:46:59 +00:00
overflow-y: scroll;
2016-05-31 18:39:30 +00:00
height: 270px;
2016-05-31 16:35:08 +00:00
padding: 0 6px 6px 6px;
2016-05-31 14:36:52 +00:00
}
2016-07-27 15:35:12 +00:00
.emoji-mart-search {
margin-top: 6px;
padding: 0 6px;
}
.emoji-mart-search input {
2016-05-31 14:36:52 +00:00
font-size: 16px;
display: block;
width: 100%;
padding: .2em .6em;
border-radius: 25px;
2016-05-31 16:35:08 +00:00
border: 1px solid #d9d9d9;
2016-05-31 14:36:52 +00:00
outline: 0;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-category .emoji-mart-emoji span {
2016-07-22 14:19:22 +00:00
z-index: 1;
position: relative;
2017-02-17 15:36:50 +00:00
text-align: center;
cursor: default;
2016-07-22 14:19:22 +00:00
}
2016-07-27 15:35:12 +00:00
.emoji-mart-category .emoji-mart-emoji:hover:before {
z-index: 0;
content: "";
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
2016-06-02 15:37:53 +00:00
background-color: #f4f4f4;
border-radius: 100%;
2016-05-31 14:36:52 +00:00
}
2016-07-27 15:35:12 +00:00
.emoji-mart-category-label {
z-index: 2;
2016-05-31 16:35:08 +00:00
position: relative;
position: -webkit-sticky;
position: sticky;
2016-05-31 16:35:08 +00:00
top: 0;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-category-label span {
2016-05-31 16:35:08 +00:00
display: block;
width: 100%;
2016-06-01 15:15:03 +00:00
font-weight: 500;
2016-05-31 14:36:52 +00:00
padding: 5px 6px;
2016-05-31 16:35:08 +00:00
background-color: #fff;
2016-05-31 14:36:52 +00:00
background-color: rgba(255, 255, 255, .95);
}
2016-07-27 15:35:12 +00:00
.emoji-mart-emoji {
position: relative;
2016-05-31 14:36:52 +00:00
display: inline-block;
2016-07-12 20:55:50 +00:00
font-size: 0;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-no-results {
font-size: 14px;
text-align: center;
padding-top: 70px;
color: #858585;
}
2017-04-18 15:20:17 +00:00
.emoji-mart-no-results .emoji-mart-category-label {
display: none;
}
.emoji-mart-no-results .emoji-mart-no-results-label {
margin-top: .2em;
}
.emoji-mart-no-results .emoji-mart-emoji:hover:before {
content: none;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-preview {
2016-05-31 14:36:52 +00:00
position: relative;
height: 70px;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-preview-emoji,
.emoji-mart-preview-data,
.emoji-mart-preview-skins {
2016-05-31 14:36:52 +00:00
position: absolute;
2016-06-09 00:22:06 +00:00
top: 50%;
transform: translateY(-50%);
2016-05-31 14:36:52 +00:00
}
2016-07-27 15:35:12 +00:00
.emoji-mart-preview-emoji {
2016-05-31 14:36:52 +00:00
left: 12px;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-preview-data {
2016-05-31 14:36:52 +00:00
left: 68px; right: 12px;
2017-05-05 01:21:01 +00:00
word-break: break-all;
2016-05-31 14:36:52 +00:00
}
2016-07-27 15:35:12 +00:00
.emoji-mart-preview-skins {
2016-06-09 00:22:06 +00:00
right: 30px;
text-align: right;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-preview-name {
2016-05-31 14:36:52 +00:00
font-size: 14px;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-preview-shortname {
2016-05-31 14:36:52 +00:00
font-size: 12px;
color: #888;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-preview-shortname + .emoji-mart-preview-shortname,
.emoji-mart-preview-shortname + .emoji-mart-preview-emoticon,
.emoji-mart-preview-emoticon + .emoji-mart-preview-emoticon {
2016-05-31 14:36:52 +00:00
margin-left: .5em;
}
2016-06-01 13:53:45 +00:00
2016-07-27 15:35:12 +00:00
.emoji-mart-preview-emoticon {
font-size: 11px;
color: #bbb;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-title span {
2016-06-01 13:53:45 +00:00
display: inline-block;
vertical-align: middle;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-title .emoji-mart-emoji {
2016-06-01 13:53:45 +00:00
padding: 0;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-title-label {
color: #999A9C;
2016-06-01 13:53:45 +00:00
font-size: 26px;
2016-07-27 15:35:12 +00:00
font-weight: 300;
2016-06-01 13:53:45 +00:00
}
2016-06-09 00:22:06 +00:00
2016-07-27 15:35:12 +00:00
.emoji-mart-skin-swatches {
2016-07-12 20:55:50 +00:00
font-size: 0;
2016-06-09 00:22:06 +00:00
padding: 2px 0;
border: 1px solid #d9d9d9;
border-radius: 12px;
background-color: #fff;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch {
2016-06-09 00:22:06 +00:00
width: 16px;
padding: 0 2px;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch-selected:after {
2016-06-09 00:22:06 +00:00
opacity: .75;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-skin-swatch {
2016-06-09 00:22:06 +00:00
display: inline-block;
width: 0;
vertical-align: middle;
transition-property: width, padding;
transition-duration: .125s;
transition-timing-function: ease-out;
}
2017-05-05 01:21:01 +00:00
.emoji-mart-skin-swatch:nth-child(1) { transition-delay: 0s }
2016-07-27 15:35:12 +00:00
.emoji-mart-skin-swatch:nth-child(2) { transition-delay: .03s }
.emoji-mart-skin-swatch:nth-child(3) { transition-delay: .06s }
.emoji-mart-skin-swatch:nth-child(4) { transition-delay: .09s }
.emoji-mart-skin-swatch:nth-child(5) { transition-delay: .12s }
.emoji-mart-skin-swatch:nth-child(6) { transition-delay: .15s }
2016-06-09 00:22:06 +00:00
2016-07-27 15:35:12 +00:00
.emoji-mart-skin-swatch-selected {
2016-06-09 00:22:06 +00:00
position: relative;
width: 16px;
padding: 0 2px;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-skin-swatch-selected:after {
2016-06-09 00:22:06 +00:00
content: "";
position: absolute;
top: 50%; left: 50%;
width: 4px; height: 4px;
margin: -2px 0 0 -2px;
background-color: #fff;
border-radius: 100%;
pointer-events: none;
opacity: 0;
transition: opacity .2s ease-out;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-skin {
2016-06-09 00:22:06 +00:00
display: inline-block;
width: 100%; padding-top: 100%;
max-width: 12px;
border-radius: 100%;
}
2016-07-27 15:35:12 +00:00
.emoji-mart-skin-tone-1 { background-color: #ffc93a }
.emoji-mart-skin-tone-2 { background-color: #fadcbc }
.emoji-mart-skin-tone-3 { background-color: #e0bb95 }
.emoji-mart-skin-tone-4 { background-color: #bf8f68 }
.emoji-mart-skin-tone-5 { background-color: #9b643d }
.emoji-mart-skin-tone-6 { background-color: #594539 }