aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/app-header/index.scss
blob: 325844af54ffb963cd8fd550fe844a37d5d862aa (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
.app-header {
  align-items: center;
  background: $gallery;
  position: relative;
  z-index: $header-z-index;
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  flex: 0 0 auto;

  @media screen and (max-width: 575px) {
    padding: 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
    z-index: $mobile-header-z-index;
  }

  @media screen and (min-width: 576px) {
    height: 75px;
    justify-content: center;

    &--back-drop {
      &::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 32px;
        background: $gallery;
        bottom: -32px;
      }
    }
  }

  &__metafox-logo {
    cursor: pointer;

    &--icon {
      @media screen and (min-width: $break-large) {
        display: none;
      }
    }

    &--horizontal {
      @media screen and (max-width: $break-small) {
        display: none;
      }
    }
  }

  &__contents {
    display: flex;
    justify-content: space-between;
    flex-flow: row nowrap;
    width: 100%;

    @media screen and (max-width: 575px) {
      height: 100%;
    }

    @media screen and (min-width: 576px) {
      width: 85vw;
    }

    @media screen and (min-width: 769px) {
      width: 80vw;
    }

    @media screen and (min-width: 1281px) {
      width: 62vw;
    }
  }

  &__logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
  }

  &__account-menu-container {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
  }

  &__network-component-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}