Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev Autor Línea Nro. Línea
3488 stevensc 1
@use "../../settings/breakpoints.scss";
2
@import "../../settings/variables.scss";
3
 
4
.navbar {
5
  display: flex;
6
  background-color: $bg-color;
7
  width: 100%;
8
  border-bottom: solid 1px $border-primary;
9
  padding: 1rem 1rem 0;
10
  gap: 0.5rem;
3794 stevensc 11
  justify-content: space-evenly;
3488 stevensc 12
  flex-wrap: wrap;
13
  align-items: center;
14
  position: relative;
15
  height: auto;
16
  margin-bottom: 1rem;
17
  box-shadow: $shadow;
18
}
19
 
20
.rightNavContainer {
21
  display: none;
22
  align-items: center;
23
  height: 100%;
24
  @media (max-width: 361px) {
25
    gap: 5px;
26
    .btn {
27
      padding: 0 !important;
28
      .badge {
29
        font-size: 0.6rem;
30
      }
31
    }
32
  }
33
}
34
 
35
.logo {
3791 stevensc 36
  max-width: 30%;
3488 stevensc 37
  object-fit: contain;
38
  order: 1;
3804 stevensc 39
  min-width: 180px;
40
  height: 65px;
41
  img {
42
    max-width: none;
43
    position: absolute;
44
    height: 100%;
45
    left: 50%;
46
    top: 50%;
47
    transform: translate(-50%, -50%);
48
  }
3488 stevensc 49
}
50
 
51
.hamburgerIcon {
52
  color: white;
53
  font-size: 1.5rem;
54
  order: 3;
55
}
56
 
57
.searchIcon {
58
  color: $font-color;
59
  width: 25px;
60
  height: 25px;
61
  border-radius: 50%;
62
  font-size: 1.2rem;
63
  display: flex;
64
  justify-content: center;
65
  align-items: center;
66
  margin-left: 0.5rem;
67
}
68
 
69
.mailIcon {
70
  color: $font-color;
71
  width: 25px;
72
  height: 25px;
73
  font-size: 1.2rem;
74
  display: flex;
75
  justify-content: center;
76
  align-items: center;
77
  margin-right: 0.5rem;
78
  @media (max-width: 361px) {
79
    margin-right: 0rem;
80
  }
81
}
82
 
83
.bellIcon {
84
  color: $font-color;
85
  font-size: 1.2rem;
86
  display: flex;
87
  justify-content: center;
88
  align-items: center;
89
  font-weight: 600;
90
  clip-path: circle(50%);
91
  .badge {
92
    top: 25%;
93
  }
94
  @media (max-width: 361px) {
95
    font-size: 1rem;
96
    width: 21px;
97
    height: 21px;
98
  }
99
}
100
 
101
.triangleDown {
102
  border-left: 7px solid transparent;
103
  border-right: 7px solid transparent;
104
  border-top: 7px solid white;
105
  margin-left: 0.5rem;
106
}
107
 
108
.triangleUp {
109
  border-left: 7px solid transparent;
110
  border-right: 7px solid transparent;
111
  border-bottom: 7px solid white;
112
  margin-left: 0.5rem;
113
}
114
 
115
.backdrop {
116
  position: absolute;
117
  top: 0;
118
  left: 0;
119
  width: 100%;
120
  height: 100%;
121
  background-color: rgba(0, 0, 0, 0.205);
122
  z-index: 900;
123
}
124
 
125
.searchInputContainer {
126
  display: flex;
127
  font-size: 0.9rem;
3693 stevensc 128
  width: 65%;
3488 stevensc 129
  order: 2;
130
  form {
131
    display: flex;
132
    align-items: center;
3687 stevensc 133
    width: 100%;
3488 stevensc 134
    position: relative;
135
  }
136
  input {
137
    width: 100%;
3651 stevensc 138
    padding: 0.2rem 1rem 0.2rem 2rem;
3488 stevensc 139
    border-radius: 30px;
140
    background-color: $bg-color;
141
    color: $font-color;
3651 stevensc 142
    border: 1px solid $border-primary;
3488 stevensc 143
    &::placeholder {
144
      color: $font-color;
145
    }
146
  }
147
  button {
3651 stevensc 148
    font-size: 1rem;
3488 stevensc 149
    color: $font-color;
150
    border: none;
151
    position: absolute;
152
    left: 0.5rem;
153
    top: 50%;
154
    transform: translateY(-50%);
155
  }
156
}
157
 
158
.chatIcon {
159
  width: 30px;
160
  height: 30px;
161
  object-fit: contain;
162
  margin-right: 0.2rem;
163
  position: relative;
164
  &_active::before {
165
    content: "";
166
    width: 10px;
167
    height: 10px;
168
    border-radius: 50%;
169
    background-color: red;
170
    position: absolute;
171
    top: -1px;
172
    right: 1px;
173
  }
174
}
175
 
176
@media (min-width: 1000px) {
177
  .chatIcon {
178
    display: none;
179
  }
180
}
181
 
182
@include breakpoints.maxwidth("medium") {
183
  .logo {
3791 stevensc 184
    max-width: 180px;
3488 stevensc 185
  }
186
  .hamburgerIcon {
187
    display: none;
188
  }
3686 stevensc 189
  .searchInputContainer {
3689 stevensc 190
    width: 40%;
3686 stevensc 191
    order: 3;
192
  }
3488 stevensc 193
  .bellIcon {
194
    background-color: initial;
195
    color: $font-color;
196
  }
197
}
3692 stevensc 198
 
199
@include breakpoints.maxwidth("large") {
200
  .searchInputContainer {
3736 stevensc 201
    width: 15%;
3692 stevensc 202
  }
203
}
204
 
205
@include breakpoints.maxwidth("desktop") {
206
  .navbar {
207
    height: 104px;
208
    padding: 0px 2rem;
209
    gap: 0;
210
  }
3735 stevensc 211
}