debian-mirror-gitlab/app/assets/stylesheets/framework/emojis.scss

49 lines
936 B
SCSS
Raw Normal View History

2017-08-17 22:00:37 +05:30
gl-emoji {
2018-03-17 18:26:18 +05:30
font-style: normal;
2017-08-17 22:00:37 +05:30
display: inline-flex;
2021-04-29 21:17:54 +05:30
vertical-align: baseline;
2019-07-07 11:18:12 +05:30
font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
2021-04-29 21:17:54 +05:30
font-size: 1.2em;
line-height: 1;
2018-11-20 20:47:30 +05:30
}
.user-status-emoji {
margin-right: $gl-padding-4;
gl-emoji {
font-size: 1em;
line-height: 16px;
vertical-align: baseline;
}
2017-08-17 22:00:37 +05:30
}
2021-04-17 20:07:23 +05:30
.emoji-picker-category-header {
@include gl-sticky;
background-color: $white-transparent;
}
.emoji-picker-emoji {
height: 30px;
// Create a width that fits 9 emojis per row
width: 100 / 9 * 1%;
2021-04-29 21:17:54 +05:30
transition: transform 0.15s cubic-bezier(0.3, 0, 0.2, 2) !important;
will-change: transform;
&:hover,
&:focus {
transform: scale(1.3);
}
2021-04-17 20:07:23 +05:30
}
.emoji-picker .gl-new-dropdown .dropdown-menu {
width: 350px;
}
.emoji-picker-category-tab {
border-bottom-color: transparent;
}
.emoji-picker .gl-new-dropdown-inner > :last-child {
padding-bottom: 0;
}