mirror of https://github.com/lxndrblz/anatole.git

alexanderdavide
20.22.2022 0145c1661d65ccd1a542092f75c2d84f544ea8cb
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
.nav {
  $py-desktop: 24px;
 
  display: none;
 
  @include desktop_and_print {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
  }
 
  &__list {
    margin: 0;
    list-style: none;
    padding: 0;
    width: 100%;
 
    @include themed() {
      background-color: t('primary-lighter');
    }
 
    @include desktop_and_print {
      display: flex;
      padding: $py-desktop 30px;
 
      @include themed() {
        background-color: t('accent');
      }
 
      &--end {
        flex-shrink: 1;
        justify-content: flex-end;
      }
    }
 
    &-item {
      padding: 16px 0;
      text-transform: uppercase;
      text-align: center;
 
      @include desktop {
        padding-top: 0;
        padding-bottom: 0;
 
        &:not(:last-child) {
          @include ltr {
            padding-right: 20px;
          }
          @include rtl {
            padding-left: 20px;
          }
        }
      }
    }
  }
 
  &__link {
    &--active {
      padding-bottom: $py-desktop;
 
      @include desktop {
        @include themed() {
          border-bottom: 1px solid t('primary');
        }
      }
    }
  }
 
  &--active {
    display: block;
  }
}