Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4433 | Ir a la última revisión | | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
4432 stevensc 1
.user__options-dropdown,
2
.nav__options-dropdown {
3
    position: absolute;
4
    right: 0;
5
    min-width: 220px;
6
    top: calc(100% + 10px);
7
    background-color: #fff;
8
    border-radius: 5px;
9
    border-top-right-radius: 0;
10
    box-shadow: 0 0 0 1px rgb(0 0 0 / 5%), 0 3px 3px rgb(0 0 0 / 30%);
11
    transition: all 0.2s ease-in-out;
12
    transform-origin: top;
13
    &.fadeOut {
14
        transform: scaleY(0);
15
        opacity: 0;
16
    }
17
    &.fadeIn {
18
        transform: scaleY(1);
19
        opacity: 1;
20
    }
21
    ul {
22
        display: flex;
23
        flex-direction: column;
24
        gap: 0.5rem;
25
        a {
26
            white-space: nowrap;
27
        }
28
    }
29
}
30
 
31
.user__options-item {
32
    padding: 1rem 10px;
33
    border-top: 1px solid rgba(0, 0, 0, 0.08);
34
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
35
    display: flex;
36
    flex-direction: column;
37
    gap: 0.5rem;
38
    h3 {
39
        font-weight: 600;
40
    }
41
    ul {
42
        display: flex;
43
        flex-direction: column;
44
        gap: 0.5rem;
45
        a {
46
            color: gray !important;
47
            &:hover {
48
                text-decoration: underline !important;
49
            }
50
        }
51
    }
52
}
53
 
54
.nav__options-dropdown {
55
    transform: scaleY(0);
56
    opacity: 0;
57
    padding: 1rem;
58
    min-width: auto;
59
    top: 99%;
60
    ul {
61
        display: flex;
62
        flex-direction: column;
63
        gap: 0.5rem;
64
        a {
65
            color: gray !important;
66
            &:hover {
67
                text-decoration: underline !important;
68
            }
69
        }
70
    }
71
}
72
 
73
li:hover .header__option ~ .nav__options-dropdown {
74
    transform: scaleY(1);
75
    opacity: 1;
76
}
77
 
78
.user__options-description {
79
    display: flex;
80
    flex-direction: column;
81
    align-items: center;
82
    gap: 0.5rem;
83
    padding: 10px;
84
    left: 0;
85
    right: initial;
86
    .btn__profile {
87
        padding: 2px;
88
        border: 1px solid #7405f9;
89
        width: 100%;
90
        border-radius: 30px;
91
        color: #7405f9;
92
        font-size: 0.9rem;
93
        text-align: center;
94
        transition: all 0.1s ease-in;
95
        &:hover {
96
            border: 2px solid #7405f9;
97
        }
98
    }
99
}
100
 
101
.user__options-info {
102
    display: flex;
103
    align-items: center;
104
    gap: 0.5rem;
105
    width: 100%;
106
    h3 {
107
        font-weight: 600;
108
        font-size: 1.1rem;
109
    }
110
}
111
 
112
.user__option-icon {
113
    height: 16px;
114
    width: 16px;
115
}
116
 
117
@media (min-width: 768px) {
118
    .nav__options-dropdown {
119
        left: initial;
120
        right: 0;
121
    }
122
}