aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/components/menu.scss
blob: 6409ad545d35b48ea98526df943bae9abf2a03ce (plain) (blame)
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
.menu {
  border-radius: 4px;
  background: rgba($black, .8);
  box-shadow: rgba($black, .15) 0 2px 2px 2px;
  min-width: 150px;
  color: $white;

  &__item {
    padding: 18px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    position: relative;
    z-index: 201;

    @media screen and (max-width: 575px) {
      padding: 14px;
    }

    &--clickable {
      cursor: pointer;

      &:hover {
        background-color: rgba($white, .05);
      }

      &:active {
        background-color: rgba($white, .1);
      }
    }

    &__icon {
      height: 16px;
      width: 16px;
      margin-right: 14px;
    }

    &__text {
      font-size: 16px;
      line-height: 21px;
    }
  }

  &__divider {
    background-color: $scorpion;
    width: 100%;
    height: 1px;
  }

  &__close-area {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
  }
}