Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev Autor Línea Nro. Línea
6635 stevensc 1
@use "../../../../styles/breakpoints.scss";
2
 
6707 stevensc 3
.header {
6635 stevensc 4
  align-items: center;
5
  background-color: $bg-color;
6
  border-bottom: solid 1px $border-primary;
7
  box-shadow: $shadow;
8
  display: flex;
9
  flex-wrap: wrap;
10
  gap: 1rem;
11
  height: auto;
12
  justify-content: space-between;
13
  margin-bottom: 1rem;
14
  padding: 1rem 5% 0;
15
  position: relative;
16
  width: 100%;
17
}
18
 
19
.logo {
20
  height: 65px;
21
  order: 1;
22
 
23
  img {
24
    height: 100%;
25
  }
26
}
27
 
28
.hamburgerIcon {
29
  color: $font-color;
30
  font-size: 1.5rem;
31
  order: 3;
32
}
33
 
34
.badge {
35
  top: 0%;
36
  left: 50%;
37
  font-size: 0.7rem;
38
  transform: translateX(-80%);
39
  background-color: $danger;
40
  color: #fff;
41
  border-radius: 100px;
42
  position: absolute;
43
}
44
 
45
.searchInputContainer {
46
  font-size: 0.9rem;
47
  min-width: 65%;
48
  flex: 1;
49
  order: 1;
50
 
51
  form {
52
    display: flex;
53
    align-items: center;
54
    width: 100%;
55
    position: relative;
56
  }
57
 
58
  input {
59
    width: 100%;
60
    padding: 0.2rem 1rem 0.2rem 2rem;
61
    border-radius: 30px;
62
    background-color: $bg-color;
63
    color: $font-color;
64
    border: 1px solid $border-primary;
65
 
66
    &::placeholder {
67
      color: $font-color;
68
    }
69
  }
70
 
71
  button {
72
    font-size: 1rem;
73
    color: $font-color;
74
    border: none;
75
    position: absolute;
76
    left: 0.5rem;
77
    top: 50%;
78
    transform: translateY(-50%);
79
  }
80
}
81
 
82
@include breakpoints.maxwidth("medium") {
83
  .logo {
84
    max-width: 317px;
85
  }
86
 
87
  .searchInputContainer input {
88
    padding: 0.4rem 1rem 0.4rem 2rem;
89
  }
90
}
91
 
92
@include breakpoints.maxwidth("desktop") {
93
  .searchInputContainer {
94
    order: 3;
95
    min-width: auto;
96
    flex: inherit;
97
  }
98
 
6707 stevensc 99
  .header {
6635 stevensc 100
    padding: 0 5%;
101
    flex-wrap: nowrap;
102
  }
103
}