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 {
2845 stevensc 24
  background-color: #fff;
25
  border-radius: 0;
1 www 26
}
27
 
28
.suggestionList {
29
  margin-top: 1rem;
30
  max-height: 30vh;
31
  overflow: auto;
32
}
33
 
34
.peopleYouMayKnow {
35
  display: none;
36
}
2217 stevensc 37
 
1 www 38
.userProfile {
39
  background-color: white;
40
  margin-bottom: 1rem;
41
  padding: 0.5rem;
42
  position: relative;
2215 stevensc 43
  border-radius: 10px;
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;
2677 stevensc 52
    z-index: 0;
1 www 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;
2677 stevensc 71
    z-index: 0;
1 www 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 {
2224 stevensc 86
        font-size: 0.9rem;
1 www 87
      }
88
      &__info {
2224 stevensc 89
        font-size: 0.9rem;
90
        padding: 0 0.3rem;
1 www 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%);
2215 stevensc 105
  border-radius: 10px;
1 www 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%;
2845 stevensc 138
    gap: 1.5rem;
1 www 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 {
2845 stevensc 197
    grid-template-columns: 23% 50% 23% !important;
1455 steven 198
    padding: 0% 5% !important;
1366 steven 199
    // grid-template-columns: auto 16% minmax(520px, 30%) 16% auto;
2265 stevensc 200
    //grid-template-areas:
201
    //". header feed peopleknow ."
202
    //". news feed . ."
203
    // ". . feed . .";
1 www 204
  }
205
}