Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
3503 stevensc 1
.mainSection {
3922 stevensc 2
  display: block;
3503 stevensc 3
}
4
 
3994 stevensc 5
.feed-section {
3503 stevensc 6
  display: flex;
7
  flex-direction: column;
8
  gap: 10px;
9
}
10
 
11
.sectionHeader {
12
  display: flex;
13
  flex-direction: column;
14
}
15
 
16
.suggestions {
17
  background: $bg-color;
18
  margin-bottom: 1rem;
19
}
20
 
21
.postsList {
22
  display: flex;
23
  align-items: flex-start;
24
  padding: 1rem;
25
  gap: 0.5rem;
26
  flex-direction: column;
3927 stevensc 27
  border-right: 1px solid $border-primary;
28
  min-width: 50vw;
3503 stevensc 29
  h4 {
30
    font-weight: bold;
31
    font-size: 1.1rem;
32
  }
33
  span {
34
    font-size: 0.9rem;
35
  }
36
  img {
37
    width: 100%;
3608 stevensc 38
    height: 150px;
3503 stevensc 39
    object-fit: cover;
3927 stevensc 40
  }
41
  @include maxwidth("medium") {
42
    border-right: none;
43
    border-top: 1px solid $border-primary;
3933 stevensc 44
    min-width: auto;
3927 stevensc 45
    img {
3608 stevensc 46
      height: 180px;
47
    }
3503 stevensc 48
  }
49
}
50
 
51
.suggestionList {
52
  max-height: 30vh;
53
  overflow: auto;
54
}
55
 
56
.userProfile {
57
  background-color: $bg-color;
3971 stevensc 58
  padding: 1rem;
3503 stevensc 59
  position: relative;
3968 stevensc 60
  border-radius: $border-radius;
61
  border: 1px solid $border-primary;
62
  display: flex;
63
  flex-direction: column;
64
  gap: 0.5rem;
3503 stevensc 65
  &__header {
66
    display: none;
67
    flex-direction: column;
68
    justify-content: center;
69
    align-items: center;
70
    position: relative;
71
    z-index: 0;
3968 stevensc 72
    display: flex;
73
    flex-direction: column;
74
    gap: 0.5rem;
3503 stevensc 75
    &__imgContainer {
76
      width: 100px;
77
      max-height: 100px;
78
      img {
79
        border-radius: 50%;
3577 stevensc 80
        background: #fff;
3503 stevensc 81
      }
82
    }
83
  }
84
 
85
  &__headerBackground {
86
    display: none;
87
    position: absolute;
88
    height: 60px;
89
    width: 100%;
90
    top: 0;
91
    left: 0;
92
    z-index: 0;
93
    border-radius: 5px 5px 0 0;
94
  }
95
 
96
  &__connectionInfo {
97
    display: flex;
98
    justify-content: space-around;
99
    align-items: center;
100
    &__infoContainer {
101
      display: flex;
102
      flex-direction: column;
103
      justify-content: center;
104
      align-items: center;
105
      flex: 50%;
106
      &__title {
107
        font-size: 0.9rem;
3579 stevensc 108
        color: $subtitle-color;
3503 stevensc 109
      }
110
      &__info {
111
        font-size: 0.9rem;
112
        padding: 0 0.3rem;
113
        color: $font-color;
114
      }
115
    }
116
  }
117
}
118
 
119
.widget {
120
  display: flex;
121
  align-items: center;
122
  justify-content: space-around;
123
  background-color: $bg-color;
124
  padding: 0.5rem;
3966 stevensc 125
  border-radius: $border-radius;
3503 stevensc 126
  &__app {
127
    display: flex;
128
    flex-direction: column;
129
    align-items: center;
130
    justify-content: center;
131
    flex: 100%;
132
    text-align: center;
133
    &__img {
134
      width: 50px;
135
      height: 50px;
3579 stevensc 136
      border-radius: 50%;
3503 stevensc 137
    }
138
    &__title {
3579 stevensc 139
      color: $font-color;
3503 stevensc 140
      font-size: 0.9rem;
141
    }
142
  }
143
}
144
 
145
@include maxwidth("medium") {
146
  .mobile_widget {
147
    display: none;
148
  }
149
 
150
  .widget {
151
    flex-direction: column;
152
    &__app:not(:first-child) {
153
      margin-top: 0.5rem;
154
    }
155
  }
156
 
157
  .sectionHeader {
158
    display: flex;
159
    flex-direction: column;
160
    grid-area: header;
161
  }
162
 
163
  .userProfile {
164
    display: block;
165
    &__header {
166
      display: flex;
167
    }
168
 
169
    &__headerBackground {
170
      display: block;
171
    }
172
    &__connectionInfo {
173
      flex-direction: column;
174
      &__infoContainer:not(:last-child) {
175
        margin-bottom: 0.5rem;
176
      }
177
    }
178
  }
179
 
180
  .suggestions {
181
    display: block;
182
  }
3993 stevensc 183
}