-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathProfileMenu.css
More file actions
113 lines (100 loc) · 2.05 KB
/
ProfileMenu.css
File metadata and controls
113 lines (100 loc) · 2.05 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
.sso__profile {
position: relative;
}
.sso__profileMenu {
background-color: White;
border: solid 1px #EEE;
border-radius: 4px;
box-shadow: 0 0 5px rgba(0, 0, 0, .08);
color: #333;
cursor: pointer;
list-style-type: none;
overflow: hidden;
padding: 0;
width: 200px;
position: absolute;
top: 32px;
right: 0;
}
.sso__profileMenuItem {
align-items: center;
display: flex;
padding: 0;
}
.sso__profileMenuItem > * {
overflow: hidden;
padding: .6em .8em;
text-overflow: ellipsis;
}
.sso__profileMenuItem > a {
color: #333;
cursor: pointer;
outline: 0;
text-decoration: none;
text-align: left;
transition: background-color 300ms;
width: 100%;
}
.sso__profileMenuItem > button {
background: none;
border: 0;
color: inherit;
cursor: pointer;
font-family: inherit;
font-size: inherit;
outline: 0;
text-align: left;
transition: background-color 300ms;
width: 100%;
}
.sso__profileMenuItem > a:focus,
.sso__profileMenuItem > a:hover,
.sso__profileMenuItem > button:focus,
.sso__profileMenuItem > button:hover {
background-color: #EEE;
}
.sso__profileMenuItem > a:active,
.sso__profileMenuItem > button:active {
background-color: #CCC;
color: White;
transition: background-color 0s;
}
.sso__profileMenuItem:not(:last-child) {
border-bottom: solid 1px #EEE;
}
.sso__profileAvatar {
background-color: #E6E6E6;
background-repeat: no-repeat;
background-size: cover;
border: solid 4px White;
border-radius: 20px;
cursor: pointer;
height: 40px;
outline: 0;
position: relative;
transition: border-color 300ms;
width: 40px;
}
.sso__profileAvatar:focus,
.sso__profileAvatar:hover {
border-color: #EEE;
}
.sso__profileAvatar:active {
border-color: #CCC;
transition: border-color 0s;
}
.sso__profileAvatarBadge {
background-color: White;
border: solid 1px White;
bottom: -2px;
color: White;
height: 10px;
position: absolute;
right: -2px;
width: 10px;
}
.sso__profileAvatarBadge__microsoft {
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: contain;
}