Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4308 | Rev 4313 | 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 {
43
    padding-top: 10px;
44
    padding-bottom: 10px;
45
    border: 1px solid lightgray;
46
    border-top: 0;
47
}
48
 
49
.sidebar__stat {
4305 stevensc 50
    padding: 10px;
4299 stevensc 51
    display: flex;
52
    justify-content: space-between;
53
    cursor: pointer;
54
    &:hover {
55
        background-color: rgba(0, 0, 0, 0.08);
56
    }
57
    & > p {
58
        font-size: 0.8rem;
59
        font-weight: 600;
60
        color: gray;
61
    }
62
}
63
 
64
.sidebar__stat-number {
65
    font-weight: bold !important;
66
    color: #0a66c2 !important;
67
}
68
 
69
.sidebar__recent-item__container {
70
    display: flex;
71
    flex-direction: column;
72
    width: 100%;
73
}
74
 
75
.sidebar__recent-item {
76
    cursor: pointer;
77
    display: flex;
78
    align-items: center;
79
    justify-content: space-between;
80
    width: 100%;
81
}
82
 
83
.sidebar__recent-item > p {
84
    font-size: 0.8rem;
85
    font-weight: 600;
86
    color: gray;
87
}
88
 
89
.sidebar__recent-actions {
90
    align-items: center;
91
    display: flex;
92
    gap: 10px;
93
}
94
 
95
.sidebar__recent-icon {
96
    background-color: #0000;
97
    border: none;
98
    border-radius: 50%;
99
    height: 2rem;
100
    width: 2rem;
101
    display: grid;
102
    place-items: center;
103
    padding: 0;
104
    cursor: pointer;
105
    opacity: 0;
106
    transition: all 0.2s;
107
}
108
 
109
.sidebar__recent-item:hover .sidebar__recent-icon {
110
    background-color: rgba(0, 0, 0, 0.08);
111
    opacity: initial;
112
}
113
 
114
.sidebar__options {
115
    display: none;
116
}
117
 
118
.sidebar__options.show {
119
    display: block;
120
}
121
 
122
.sideabar__footer {
123
    display: grid;
124
    place-items: center;
125
}
126
 
127
.sideabar__footer > button {
128
    border: none;
129
    background-color: #0000;
130
    width: 100%;
131
    margin-top: 10px;
132
    color: gray;
133
}
134
 
135
.sideabar__footer > button:hover {
136
    background-color: rgba(0, 0, 0, 0.08);
137
}
138
 
139
@media (min-width: 576px) {
140
    .sidebar__top {
141
        border-radius: 10px;
142
        border-bottom-right-radius: 0;
143
        border-bottom-left-radius: 0;
144
    }
145
 
146
    .sidebar__bottom {
147
        border-radius: 10px;
148
    }
149
 
4305 stevensc 150
    .sidebar__stats:nth-last-child(1) {
4299 stevensc 151
        border-radius: 10px;
152
        border-top-right-radius: 0;
153
        border-top-left-radius: 0;
154
    }
155
}
156
 
157
@media (min-width: 768px) {
158
    .sideabar__footer {
159
        display: none;
160
    }
161
 
162
    .sidebar__options {
163
        display: block;
164
    }
165
}