blob: 765be0ab02be84c74836181469049d35062707d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
/*
* SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
*
* SPDX-License-Identifier: LAL-1.3
*/
/* -----------------------------------------------------------------------------
User Info
----------------------------------------------------------------------------- */
#user_info {
position: absolute;
right: 0.8rem;
nav {
top: 0;
padding: 0.7rem;
ul {
display: none;
position: absolute;
right: 0;
background-color: var(--header-background);
box-shadow: 0 2px 4px -1px rgba(0,0,0,0.25);
margin: 0;
list-style: none;
padding-left: 0;
z-index: 1000;
li {
padding: 0.25em 1em;
width: 12rem;
}
}
&:focus, &:hover {
padding-left: 6rem;
ul {
display: block;
margin-top: 0.4em;
padding-top: 1em;
}
}
> a {
display: block;
height: 100%;
width: 2.2857em;
height: 2.2857em;
padding: 0.2143em;
text-decoration: none;
cursor: pointer;
border-top: 1px solid transparent;
border-left: 1px solid transparent;
border-right: 1px solid transparent;
transition: all linear 0.15s;
outline: none;
> img {
border-radius: 50%;
}
}
}
&.authenticated {
}
&.anonymous {
}
}
|