aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/class-helpers/_menu.scss
blob: 9e69136c431df151262f558a31024b71b5e064e4 (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
@use '_variables' as *;
@use '_mixins' as *;

.sub-menu-entry {
  @include disable-default-a-behaviour;
  @include margin-right(55px);

  opacity: 0.7;
  color: pvar(--mainForegroundColor);
  display: inline-block;
  font-weight: $font-semibold;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-size: 1rem;

  &.active {
    border-bottom-color: pvar(--mainColor);
  }

  &:hover,
  &:active,
  &:focus {
    color: pvar(--mainForegroundColor);
  }

  &.active,
  &:hover,
  &:active,
  &:focus {
    opacity: 1;
    outline: 0 hidden !important;
  }

  @media screen and (max-width: $mobile-view) {
    @include margin-left(15px);
  }
}

.title-page-v2 {
  font-weight: normal;
  font-size: 15px;
  padding: 35px 25px;
}

.title-page {
  @include margin-right(55px);

  margin-top: 30px;
  margin-bottom: 25px;

  color: pvar(--mainForegroundColor);
  display: inline-block;
  font-weight: $font-semibold;
  font-size: 1.25rem;

  a {
    @include disable-default-a-behaviour;

    color: inherit;

    &:hover {
      color: inherit;
      opacity: 0.8;
    }
  }

  @media screen and (max-width: $mobile-view) {
    @include margin-left(15px);
  }
}

.admin-sub-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;

  @media screen and (max-width: $small-view) {
    flex-direction: column;
  }
}