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