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

.backdrop {
  background-color: $secondary;
  color: $secondary-text;
  font-size: 1rem;

  .header-bar {
    display: flex;
    align-items: center;

    @media (max-height: 550px) {
      margin-top: 0.125rem;
    }

    .menu-icon {
      background-image: url("../ressources/menu.png");
      background-position: center;
      background-repeat: no-repeat;
      width: 36px;
      height: 36px;
      padding: 4px;
      margin: 1rem;
      display: inline-block;
      border: none;
      border-radius: 32px;
      transition: background-color 100ms ease;

      @media (max-height: 550px) {
        padding: 0;
        margin: 0.125rem;
      }

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

      &.open {
        background-image: url("../ressources/menu_close.png");
      }
    }

    .header {
      margin: 0;
      padding: 16px;
      text-align: center;
      flex-grow: 1;

      @media (min-width: 450px) {
        margin-right: 56px;
      }

      @media (max-height: 550px) {
        padding: 0;
      }
    }
  }
}