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