aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/components/menu.scss
blob: 77c49bbcfe7d6136ca5dcc682f5899078f875640 (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
59
.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;
    font-weight: 200;

    @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;
  }
}