Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
@use "../../../css/shared/variables.scss";
2
@import "../../../css/shared/breakpoints.scss";
3
 
4
.mainSection {
5
  display: grid;
6
  grid-template-columns: 1fr;
7
  padding: 0 5%;
8
}
9
 
10
.feedSection {
11
  display: flex;
12
  flex-direction: column;
2814 stevensc 13
  gap: 10px;
2815 stevensc 14
  overflow-x: hidden;
2828 stevensc 15
  padding-top: 10px;
1 www 16
}
17
 
18
.sectionHeader {
19
  display: flex;
20
  flex-direction: column;
21
}
22
 
23
.suggestions {
2932 stevensc 24
  background: white;
25
  margin-bottom: 1rem;
1 www 26
}
27
 
2932 stevensc 28
.postsList {
29
  display: flex;
30
  align-items: center;
31
  padding: 1rem;
32
  gap: 0.5rem;
33
  flex-direction: column;
34
  border-top: 1px solid #cdd2e1;
35
}
36
 
1 www 37
.suggestionList {
38
  margin-top: 1rem;
39
  max-height: 30vh;
40
  overflow: auto;
41
}
42
 
43
.peopleYouMayKnow {
44
  display: none;
45
}
2217 stevensc 46
 
1 www 47
.userProfile {
48
  background-color: white;
49
  margin-bottom: 1rem;
50
  padding: 0.5rem;
51
  position: relative;
2215 stevensc 52
  border-radius: 10px;
128 steven 53
  border: solid 1px rgb(0 0 0 / 25%);
1 www 54
  &__header {
55
    display: none;
56
    flex-direction: column;
57
    justify-content: center;
58
    align-items: center;
59
    margin-bottom: 1rem;
60
    position: relative;
2677 stevensc 61
    z-index: 0;
1 www 62
    &__imgContainer {
63
      margin-bottom: 0.5rem;
64
      width: 100px;
65
      max-height: 100px;
66
      img {
67
        border-radius: 50%;
68
      }
69
    }
70
  }
71
 
72
  &__headerBackground {
73
    display: none;
74
    background-color: transparent;
75
    position: absolute;
76
    height: 60px;
77
    width: 100%;
78
    top: 0;
79
    left: 0;
2677 stevensc 80
    z-index: 0;
1 www 81
    border-radius: 5px 5px 0 0;
82
  }
83
 
84
  &__connectionInfo {
85
    display: flex;
86
    justify-content: space-around;
87
    align-items: center;
88
    &__infoContainer {
89
      display: flex;
90
      flex-direction: column;
91
      justify-content: center;
92
      align-items: center;
93
      flex: 50%;
94
      &__title {
2224 stevensc 95
        font-size: 0.9rem;
1 www 96
      }
97
      &__info {
2224 stevensc 98
        font-size: 0.9rem;
99
        padding: 0 0.3rem;
1 www 100
        color: variables.$primary-green;
101
      }
102
    }
103
  }
104
}
105
 
106
.widget {
107
  display: flex;
108
  align-items: center;
109
  justify-content: space-around;
110
  background-color: white;
111
  padding: 0.5rem;
112
  margin-bottom: 1rem;
129 steven 113
  border: solid 1px rgb(0 0 0 / 25%);
2215 stevensc 114
  border-radius: 10px;
1 www 115
  &__app {
116
    display: flex;
117
    flex-direction: column;
118
    align-items: center;
119
    justify-content: center;
120
    flex: 100%;
121
    text-align: center;
122
    &__img {
123
      width: 50px;
124
      height: 50px;
125
    }
126
    &__title {
127
      color: black;
128
      font-size: 0.9rem;
129
    }
130
  }
131
}
132
 
133
@include maxwidth("medium") {
134
  .mobile_widget {
135
    display: none;
136
  }
137
 
138
  .widget {
139
    flex-direction: column;
140
    &__app:not(:first-child) {
141
      margin-top: 0.5rem;
142
    }
143
  }
144
 
145
  .mainSection {
146
    grid-template-columns: 30% 70%;
2845 stevensc 147
    gap: 1.5rem;
1 www 148
    grid-template-areas:
149
      "header feed"
150
      "peopleknow feed"
151
      ". feed"
152
      "news news";
153
    padding: 0 10%;
154
  }
155
  .sectionHeader {
156
    display: flex;
157
    flex-direction: column;
158
    grid-area: header;
159
  }
160
 
161
  .userProfile {
162
    display: block;
163
    &__header {
164
      display: flex;
165
    }
166
 
167
    &__headerBackground {
168
      display: block;
169
    }
170
    &__connectionInfo {
171
      flex-direction: column;
172
      &__infoContainer:not(:last-child) {
173
        margin-bottom: 0.5rem;
174
      }
175
    }
176
  }
177
 
178
  .peopleYouMayKnow {
179
    display: block;
180
    grid-area: peopleknow;
181
  }
182
 
183
  .feedSection {
184
    grid-area: feed;
185
  }
186
 
187
  .suggestions {
188
    display: block;
189
    // grid-area: news;
190
  }
191
}
192
 
193
@include maxwidth("large") {
194
  .mainSection {
195
    grid-template-columns: 25% 50% 25%;
196
    grid-template-rows: auto auto auto;
197
    grid-template-areas:
198
      "header feed peopleknow"
199
      "news feed ."
200
      ". feed .";
201
  }
202
}
203
 
204
@include maxwidth("desktop") {
205
  .mainSection {
2845 stevensc 206
    grid-template-columns: 23% 50% 23% !important;
1455 steven 207
    padding: 0% 5% !important;
1366 steven 208
    // grid-template-columns: auto 16% minmax(520px, 30%) 16% auto;
2265 stevensc 209
    //grid-template-areas:
210
    //". header feed peopleknow ."
211
    //". news feed . ."
212
    // ". . feed . .";
1 www 213
  }
214
}