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