You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
1.6 KiB

  1. .emojione {
  2. font-size: inherit;
  3. vertical-align: middle;
  4. object-fit: contain;
  5. margin: -.2ex .15em .2ex;
  6. width: 16px;
  7. height: 16px;
  8. img {
  9. width: auto;
  10. }
  11. }
  12. .emoji-picker-dropdown__menu {
  13. background: $simple-background-color;
  14. position: absolute;
  15. box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
  16. border-radius: 4px;
  17. margin-top: 5px;
  18. .emoji-mart-scroll {
  19. transition: opacity 200ms ease;
  20. }
  21. &.selecting .emoji-mart-scroll {
  22. opacity: 0.5;
  23. }
  24. }
  25. .emoji-picker-dropdown__modifiers {
  26. position: absolute;
  27. top: 60px;
  28. right: 11px;
  29. cursor: pointer;
  30. }
  31. .emoji-picker-dropdown__modifiers__menu {
  32. position: absolute;
  33. z-index: 4;
  34. top: -4px;
  35. left: -8px;
  36. background: $simple-background-color;
  37. border-radius: 4px;
  38. box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
  39. overflow: hidden;
  40. button {
  41. display: block;
  42. cursor: pointer;
  43. border: 0;
  44. padding: 4px 8px;
  45. background: transparent;
  46. &:hover,
  47. &:focus,
  48. &:active {
  49. background: rgba($ui-secondary-color, 0.4);
  50. }
  51. }
  52. .emoji-mart-emoji {
  53. height: 22px;
  54. }
  55. }
  56. .emoji-mart-emoji {
  57. span {
  58. background-repeat: no-repeat;
  59. }
  60. }
  61. .emoji-button {
  62. display: block;
  63. font-size: 24px;
  64. line-height: 24px;
  65. margin-left: 2px;
  66. width: 24px;
  67. outline: 0;
  68. cursor: pointer;
  69. &:active,
  70. &:focus {
  71. outline: 0 !important;
  72. }
  73. img {
  74. filter: grayscale(100%);
  75. opacity: 0.8;
  76. display: block;
  77. margin: 0;
  78. width: 22px;
  79. height: 22px;
  80. margin-top: 2px;
  81. }
  82. &:hover,
  83. &:active,
  84. &:focus {
  85. img {
  86. opacity: 1;
  87. filter: none;
  88. }
  89. }
  90. }