aboutsummaryrefslogtreecommitdiff
path: root/src/components/emoji_picker/emoji_picker.scss
blob: 72889441e3bd23309bbd639c27b966ca8a3bd78a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
@import '../../_variables.scss';

.emoji-picker {
  position: absolute;
  z-index: 1;
  right: 0;
  width: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
  margin: 0 !important;

  .emoji {
    &-tabs {
      &-item {
        padding: 0 5px;

        &.active {
          border-bottom: 4px solid;

          i {
            color: $fallback--lightText;
            color: var(--lightText, $fallback--lightText);
          }
        }
      }
    }

    &-content {
      display: flex;
      flex-direction: column;
    }

    &-search {
      padding: 5px;
      flex: 0 0 1px;

      input {
        width: 100%;
      }
    }

    &-groups {
      flex: 1 1 1px;
      position: relative;
      overflow: auto;
    }

    &-group {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      padding: 5px;
      justify-content: space-between;

      &-title {
        font-size: 12px;
        width: 100%;
        margin: 0;
      }
    }

    &-item {
      width: 32px;
      height: 32px;
      box-sizing: border-box;
      display: flex;
      font-size: 32px;
      align-items: center;
      justify-content: center;
      margin: 2px;

      cursor: pointer;

      img {
        max-width: 100%;
        max-height: 100%;
      }
    }

  }

}