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