Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4162 | Rev 4166 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
3495 stevensc 1
@use "../../settings/breakpoints.scss";
2
 
3
.navLinksContainer {
3958 stevensc 4
  flex: 1;
3979 stevensc 5
  order: 3;
3977 stevensc 6
  min-width: 50%;
3979 stevensc 7
  display: flex;
3495 stevensc 8
  &__ul {
3977 stevensc 9
    display: flex;
3495 stevensc 10
    height: 100%;
11
    align-items: center;
3660 stevensc 12
    gap: 1rem;
3972 stevensc 13
    justify-content: space-around;
3979 stevensc 14
    width: 100%;
3495 stevensc 15
    &__li {
16
      position: relative;
17
      display: flex;
18
      flex-direction: column;
19
      align-items: center;
20
      justify-content: center;
21
      color: $font-color;
22
      padding-top: 12px;
23
      padding-bottom: 12px;
24
      gap: 0.5rem;
25
      font-size: 1.5rem;
3654 stevensc 26
      & > a {
27
        display: flex;
28
        p {
29
          display: none;
3655 stevensc 30
          font-size: 1.1rem;
3654 stevensc 31
        }
3495 stevensc 32
      }
33
      a,
34
      p {
35
        color: $font-color;
36
        flex-direction: column;
37
        align-items: center;
38
        gap: 0.5rem;
4055 stevensc 39
        svg,
40
        i {
3652 stevensc 41
          font-size: 1.5rem;
3495 stevensc 42
        }
43
      }
44
      &:hover {
45
        font-weight: bold;
46
        border-bottom: 2px solid $font-color;
47
        .navLinkDropdown {
48
          display: block;
49
        }
50
      }
51
    }
52
  }
53
}
54
 
55
.navLinkLevelThree {
56
  display: none;
3665 stevensc 57
  position: absolute;
58
  top: -10%;
4161 stevensc 59
  left: 160px;
3665 stevensc 60
  width: 200px;
61
  z-index: 1000;
4164 stevensc 62
}
63
 
64
.aditional_links {
65
  display: none;
66
  position: absolute;
67
  top: calc(100% + 2px);
68
  left: 50%;
69
  transform: translateX(-35%);
70
  width: fit-content;
71
  z-index: 1000;
72
  background-color: $bg-color;
73
  border-radius: 10px;
74
  ul {
75
    display: flex;
76
    flex-direction: column;
77
    padding: 1rem;
78
    gap: 1rem;
79
    background-color: $bg-color;
80
    border-radius: 10px;
81
    box-shadow: 0px 4px 14px -2px rgb(0 0 0 / 12%), 0px -5px 14px -2px rgb(0 0 0 / 12%);
82
    li {
83
      position: relative;
84
      display: flex;
85
      justify-content: space-between;
86
      padding: 0 2rem;
87
      a {
88
        font-size: 1.1rem;
89
      }
90
    }
4161 stevensc 91
  }
3495 stevensc 92
}
93
 
3665 stevensc 94
.navLinkDropdown {
95
  display: none;
96
  position: absolute;
97
  top: calc(100% + 2px);
98
  left: 50%;
99
  transform: translateX(-35%);
100
  width: 200px;
101
  z-index: 1000;
102
  background-color: $bg-color;
103
  border-radius: 10px;
104
  ul {
105
    display: flex;
106
    flex-direction: column;
107
    padding: 1rem;
108
    gap: 1rem;
109
    text-align: left;
110
    background-color: $bg-color;
111
    border-radius: 10px;
112
    box-shadow: 0px 4px 14px -2px rgb(0 0 0 / 12%), 0px -5px 14px -2px rgb(0 0 0 / 12%);
113
    li {
114
      position: relative;
115
      display: flex;
116
      justify-content: space-between;
117
      a {
118
        font-weight: normal;
119
        padding: 0 !important;
120
        font-size: 1.1rem;
121
      }
122
      &:hover {
123
        .navLinkLevelThree {
124
          display: block;
125
        }
126
        & > a,
127
        .navLinkLevelThree ul li:hover a {
128
          font-weight: bold;
129
        }
130
      }
131
    }
132
  }
133
}
134
 
3911 stevensc 135
@include breakpoints.maxwidth("medium") {
3979 stevensc 136
  .navLinksContainer__ul__li {
4055 stevensc 137
    padding-bottom: 0;
138
    & > a p {
139
      display: inline-flex;
140
    }
141
    &:hover {
142
      font-weight: bold;
143
      border-bottom: 2px solid $font-color;
144
      .navLinkDropdown {
145
        transform: translateX(-50%);
3973 stevensc 146
      }
3495 stevensc 147
    }
4055 stevensc 148
  }
3495 stevensc 149
}
3980 stevensc 150
@include breakpoints.maxwidth("desktop") {
3911 stevensc 151
  .navLinksContainer {
4088 stevensc 152
    margin-left: 4rem;
3975 stevensc 153
    min-width: auto;
3911 stevensc 154
    order: 2;
155
  }
3956 stevensc 156
}