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