Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6467 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
5436 stevensc 1
@use "../../settings/mixins.scss";
2
 
3
.suggests_widget {
4
    @include mixins.widget;
5
    display: block;
6
 
7
    &-header {
8
        align-items: center;
9
        display: flex;
10
        justify-content: space-between;
11
        padding: 1rem;
12
        position: relative;
13
 
14
        h3 {
15
            color: $title-color;
16
            font-weight: 600;
17
            font-size: 1.1rem;
18
        }
19
 
20
        span {
21
            color: $subtitle-color;
22
            font-weight: 600;
23
            font-size: 1rem;
24
            cursor: pointer;
25
        }
26
    }
27
 
28
    &>.suggest-list {
29
        max-height: 265px;
30
        overflow: auto;
31
        width: 100%;
32
        display: flex;
33
        flex-direction: row;
34
 
35
        @include mixins.for-size(tablet-landscape) {
36
            flex-direction: column;
37
 
38
            &::-webkit-scrollbar-thumb {
39
                visibility: visible;
40
            }
41
        }
42
    }
43
}
44
 
45
.user {
46
    align-items: center;
47
    display: flex;
48
    padding: 1rem;
49
    gap: 0.5rem;
50
    width: -webkit-fill-available;
51
 
52
    img {
53
        border-radius: 50%;
54
        max-width: 3.3rem;
55
        background: #fff;
56
    }
57
 
5447 stevensc 58
    div.d-inline-flex {
5436 stevensc 59
        gap: 0.5rem;
60
    }
61
 
62
    a.btn,
63
    button.btn {
64
        padding: 0.2rem 0.6rem;
65
        white-space: nowrap;
66
    }
67
 
68
    h4 {
69
        color: $font-color;
5447 stevensc 70
        font-weight: 600;
5436 stevensc 71
        line-height: 1.4;
72
    }
73
 
74
    @include mixins.for-size(phone) {
75
        border-right: 1px solid $border-primary;
76
 
77
        &:last-child {
78
            border-right: none;
79
        }
80
    }
81
 
82
    @include mixins.for-size(tablet-portrait) {
83
        border-top: 1px solid $border-primary;
84
    }
85
}
86
 
87
.app-widget {
88
    @include mixins.widget;
89
    align-items: center;
90
    display: flex;
91
    flex-direction: column;
92
    gap: .5rem;
5437 stevensc 93
    padding: 1rem;
5436 stevensc 94
    position: relative;
95
 
5441 stevensc 96
    span {
5436 stevensc 97
        font-weight: 600;
98
        color: $subtitle-color;
99
        width: fit-content;
100
    }
101
 
102
    img {
103
        width: 50px;
104
        height: 50px;
6467 stevensc 105
 
6468 stevensc 106
        &:first {
6467 stevensc 107
            border-radius: 100px;
108
        }
5436 stevensc 109
    }
5438 stevensc 110
}
111
 
112
.posts-widget {
113
    @include mixins.widget;
114
    padding: 1rem;
115
    display: flex;
116
    flex-direction: column;
117
    gap: 1rem;
118
 
119
    h3 {
120
        color: $title-color;
121
        font-size: 1.1rem;
122
        font-weight: 600;
123
    }
124
 
125
    .posts-list {
126
        display: flex;
127
        flex-direction: column;
5949 stevensc 128
        gap: .5rem;
5944 stevensc 129
        max-height: 380px;
5438 stevensc 130
        overflow: auto;
131
    }
132
 
133
    .post-item {
134
        display: flex;
135
        gap: .5rem;
136
 
137
        img {
5949 stevensc 138
            height: calc(76px - 1rem);
5964 stevensc 139
            width: 100px;
5438 stevensc 140
            object-fit: cover;
141
        }
142
 
143
        h4 {
144
            font-weight: 600;
145
            font-size: 1.2rem;
146
            color: $subtitle-color;
147
        }
148
 
149
        span {
150
            color: $font-color;
5949 stevensc 151
            font-size: .8rem;
5438 stevensc 152
        }
153
 
5949 stevensc 154
        .post-info {
155
            display: flex;
156
            flex-direction: column;
157
        }
158
 
5438 stevensc 159
        .btn {
160
            width: fit-content;
161
        }
162
    }
5446 stevensc 163
}
164
 
165
.daily_pulse-widget {
166
    @include mixins.widget;
167
    flex-direction: column;
168
    display: flex;
169
    height: fit-content;
170
    padding: 1rem 0.5rem;
171
    gap: .5rem;
172
 
173
    h3 {
174
        color: $title-color;
175
        font-weight: 700;
176
        font-size: 1.1rem;
177
    }
178
 
179
    span {
180
        color: $subtitle-color;
181
        font-weight: 600;
182
    }
183
 
184
    .daily_pulse-quest {
185
        align-items: center;
186
        display: flex;
187
        flex-direction: column;
188
        gap: .5rem;
189
 
190
        h4 {
191
            font-weight: 600;
192
            color: $title-color;
193
        }
194
 
195
        ul {
196
            display: flex;
197
            gap: .5rem;
198
 
199
            li {
200
                transition: all 300ms;
201
 
202
                &:hover {
203
                    transform: translateY(-10px);
204
                }
205
            }
206
 
207
            img {
208
                width: 32px;
209
                height: 32px;
210
                border-radius: 50%;
211
            }
212
        }
213
    }
5462 stevensc 214
}
215
 
216
.user-info {
217
    @include mixins.widget;
218
    align-items: center;
219
    display: flex;
220
    flex-direction: column;
221
    gap: .5rem;
222
    padding: 1rem;
223
    text-align: center;
224
 
225
    img {
226
        border-radius: 50%;
227
        border: 2px solid $font-color;
228
        height: 150px;
229
        width: 150px;
230
    }
231
 
232
    p {
233
        color: $subtitle-color
234
    }
235
 
236
    a,
237
    svg {
238
        color: $font-color;
239
    }
240
 
241
    ul {
242
        align-items: start;
243
        display: flex;
244
        flex-direction: column;
245
        gap: .5rem;
246
        width: 100%;
247
    }
248
 
249
    .user-status {
250
        display: flex;
251
        align-items: center;
252
        gap: .5rem;
253
        justify-content: space-around;
254
    }
5436 stevensc 255
}