Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4309 | Rev 4314 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
4299 stevensc 1
.sidebar {
4306 stevensc 2
    position: relative;
4299 stevensc 3
    display: flex;
4
    flex-direction: column;
5
    text-align: center;
6
    height: fit-content;
4306 stevensc 7
    grid-area: sidebar;
4299 stevensc 8
}
9
 
10
.sidebar__top {
11
    align-items: center;
12
    background-color: #fff;
13
    border: 1px solid lightgray;
14
    display: flex;
15
    flex-direction: column;
16
    overflow: hidden;
4308 stevensc 17
    * {
18
        margin-bottom: 0.5rem;
19
    }
4301 stevensc 20
    h1 {
21
        font-size: 0.9rem;
22
    }
4308 stevensc 23
    .sidebar__cover {
4299 stevensc 24
        width: 100%;
25
        height: 60px;
26
        object-fit: cover;
27
        margin-bottom: -20px;
28
    }
29
}
30
 
31
.sidebar__bottom {
32
    margin-top: 10px;
33
    padding: 10px;
34
    display: flex;
35
    flex-direction: column;
36
    align-items: center;
37
    border: 1px solid lightgray;
38
    background-color: #fff;
39
    overflow: hidden;
40
}
41
 
42
.sidebar__stats {
4313 stevensc 43
    background-color: #fff;
4299 stevensc 44
    padding-top: 10px;
45
    padding-bottom: 10px;
46
    border: 1px solid lightgray;
47
    border-top: 0;
48
}
49
 
50
.sidebar__stat {
4305 stevensc 51
    padding: 10px;
4299 stevensc 52
    display: flex;
53
    justify-content: space-between;
54
    cursor: pointer;
55
    &:hover {
56
        background-color: rgba(0, 0, 0, 0.08);
57
    }
58
    & > p {
59
        font-size: 0.8rem;
60
        font-weight: 600;
61
        color: gray;
62
    }
63
}
64
 
65
.sidebar__stat-number {
66
    font-weight: bold !important;
67
    color: #0a66c2 !important;
68
}
69
 
70
.sidebar__recent-item__container {
71
    display: flex;
72
    flex-direction: column;
73
    width: 100%;
74
}
75
 
76
.sidebar__recent-item {
77
    cursor: pointer;
78
    display: flex;
79
    align-items: center;
80
    justify-content: space-between;
81
    width: 100%;
82
}
83
 
84
.sidebar__recent-item > p {
85
    font-size: 0.8rem;
86
    font-weight: 600;
87
    color: gray;
88
}
89
 
90
.sidebar__recent-actions {
91
    align-items: center;
92
    display: flex;
93
    gap: 10px;
94
}
95
 
96
.sidebar__recent-icon {
97
    background-color: #0000;
98
    border: none;
99
    border-radius: 50%;
100
    height: 2rem;
101
    width: 2rem;
102
    display: grid;
103
    place-items: center;
104
    padding: 0;
105
    cursor: pointer;
106
    opacity: 0;
107
    transition: all 0.2s;
108
}
109
 
110
.sidebar__recent-item:hover .sidebar__recent-icon {
111
    background-color: rgba(0, 0, 0, 0.08);
112
    opacity: initial;
113
}
114
 
115
.sidebar__options {
116
    display: none;
117
}
118
 
119
.sidebar__options.show {
120
    display: block;
121
}
122
 
123
.sideabar__footer {
124
    display: grid;
125
    place-items: center;
126
}
127
 
128
.sideabar__footer > button {
129
    border: none;
130
    background-color: #0000;
131
    width: 100%;
132
    margin-top: 10px;
133
    color: gray;
134
}
135
 
136
.sideabar__footer > button:hover {
137
    background-color: rgba(0, 0, 0, 0.08);
138
}
139
 
140
@media (min-width: 576px) {
141
    .sidebar__top {
142
        border-radius: 10px;
143
        border-bottom-right-radius: 0;
144
        border-bottom-left-radius: 0;
145
    }
146
 
147
    .sidebar__bottom {
148
        border-radius: 10px;
149
    }
150
 
4305 stevensc 151
    .sidebar__stats:nth-last-child(1) {
4299 stevensc 152
        border-radius: 10px;
153
        border-top-right-radius: 0;
154
        border-top-left-radius: 0;
155
    }
156
}
157
 
158
@media (min-width: 768px) {
159
    .sideabar__footer {
160
        display: none;
161
    }
162
 
163
    .sidebar__options {
164
        display: block;
165
    }
166
}