discourse/app/assets/stylesheets/common/base/emoji.scss

147 lines
2.7 KiB
SCSS
Raw Normal View History

body img.emoji {
width: 20px;
height: 20px;
vertical-align: middle;
}
2015-07-14 10:53:54 -04:00
.wmd-emoji-button:before {
content: "\f118";
}
.emoji-modal {
z-index: 10000;
position: fixed;
left: 50%;
top: 50%;
width: 445px;
min-height: 264px;
margin-top: -132px;
margin-left: -222px;
2015-08-21 14:35:19 -04:00
background-color: dark-light-choose(#dadada, blend-primary-secondary(5%));
display: flex;
flex-direction: column;
}
table.emoji-page td {
border: 1px solid transparent;
2015-08-21 14:35:19 -04:00
background-color: dark-light-choose(white, $secondary);
padding: 0 !important;
}
.emoji-page a {
padding: 8px;
display: block;
border-radius: 20px;
}
.emoji-page a:hover {
2015-08-21 14:35:19 -04:00
background-color: dark-light-choose(rgb(210, 236, 252), rgb(45, 19, 3));
}
.emoji-table-wrapper {
min-width: 442px;
min-height: 185px;
2015-08-21 14:35:19 -04:00
background-color: $secondary;
}
.emoji-modal-wrapper {
z-index: 9999;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
2015-08-21 14:35:19 -04:00
opacity: dark-light-choose(0.8, 0.5);
background-color: black;
}
.emoji-modal .toolbar {
margin: 8px 0 5px;
}
.emoji-modal .toolbar li {
display: inline;
2015-02-02 18:41:49 -05:00
padding-right: 1px;
}
.emoji-modal .toolbar li a {
padding: 8px;
2015-08-21 14:35:19 -04:00
background-color: dark-light-choose(#dadada, blend-primary-secondary(5%));
}
.emoji-modal .toolbar li a.selected {
2015-08-21 14:35:19 -04:00
background-color: $secondary;
}
.emoji-modal .nav span {
2015-08-21 14:35:19 -04:00
color: dark-light-choose(#aaa, #555);
}
.emoji-modal .nav span.next {
margin-left: 10px;
}
.emoji-modal .nav a {
2015-08-21 14:35:19 -04:00
color: dark-light-choose(#333, #ccc);
}
.emoji-shortname {
display: inline-block;
max-width: 200px;
text-overflow: ellipsis;
overflow: hidden;
vertical-align: middle;
}
.emoji-modal .footer {
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
flex-grow: 2;
padding: 8px;
}
.emoji-modal .info {
flex: 10;
}
.emoji-modal .info span {
margin-left: 5px;
font-weight: bold;
color: $primary;
}
.emoji-modal .nav {
margin-left: 10px;
}
.emoji-modal .tones {
display: flex;
align-items: center;
justify-content: space-between;
}
.emoji-modal .tones-button {
width: 20px;
height: 20px;
margin-left: 5px;
border: 0;
border-radius: 3px;
display: flex;
align-items: center;
justify-content: center;
2017-06-28 18:27:16 -04:00
cursor: pointer;
}
.emoji-modal .tones-button.default { background: #ffcc4d; }
.emoji-modal .tones-button.light { background: #f7dece; }
.emoji-modal .tones-button.medium-light { background: #f3d2a2; }
.emoji-modal .tones-button.medium { background: #d5ab88; }
.emoji-modal .tones-button.medium-dark { background: #af7e57; }
.emoji-modal .tones-button.dark { background: #7c533e; }
.emoji-modal .tones-button i.fa {
color: #fff;
text-shadow: 0.5px 1.5px 0 rgba(0,0,0,0.3);
}