summaryrefslogtreecommitdiff
path: root/WebInterface/NodeJSServer/src/style/partials/backdrop/_menu.scss
blob: 26833d5c4632e7833c9c9a6efa3c7e2c4f173100 (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
@import '../colors';

.backdrop {
  .menu-actions {
    box-sizing: border-box;
    transition: max-height 200ms ease, color 200ms ease, background-color 100ms ease;;
    position: relative;
    max-height: 16rem;
    margin: 0 1rem;

    .menu-option {
      color: $primary-text;
      text-decoration: none;
      box-sizing: border-box;
      display: inline-block;
      font-size: 1.5rem;
      width: 100%;
      text-align: center;
      padding: 1rem;
      border: none;
      border-radius: 8px;
      cursor: pointer;

      &:hover {
        background-color: $secondary-half-dark;
      }

      &.active {
        background-color: $secondary-dark;
      }
    }

    &.hidden {
      max-height: 0;
      color: rgba(0,0,0,0);

      .menu-option {
        color: rgba(0,0,0,0);
        background-color: rgba(0,0,0,0) !important;
      }
    }
  }
}