fox-send/app/templates/userAccount/userAccount.css

75 lines
1.3 KiB
CSS
Raw Normal View History

2018-07-31 18:09:18 +00:00
.account {
2018-10-16 23:53:33 +00:00
/* padding: 12px; */
position: relative;
2018-07-31 18:09:18 +00:00
}
2018-08-07 22:40:17 +00:00
.account__avatar {
height: 32px;
width: 32px;
border-radius: 50%;
}
2018-07-31 18:09:18 +00:00
.account_dropdown {
2018-08-03 19:24:41 +00:00
z-index: 2;
2018-07-31 18:09:18 +00:00
position: absolute;
list-style-type: none;
2018-08-03 19:24:41 +00:00
border: 1px solid #ccc;
2018-07-31 18:09:18 +00:00
border-radius: 4px;
background-color: var(--pageBGColor);
box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.2);
padding: 11px 0;
visibility: hidden;
2018-10-16 23:53:33 +00:00
white-space: nowrap;
2018-08-03 19:24:41 +00:00
outline: 0;
2018-07-31 18:09:18 +00:00
}
2018-08-03 19:24:41 +00:00
.account_dropdown::after,
.account_dropdown::before {
position: absolute;
bottom: 100%;
left: 18px;
height: 0;
width: 0;
border: 1px solid transparent;
content: '';
pointer-events: none;
}
.account_dropdown::after {
border-bottom-color: var(--pageBGColor);
border-width: 12px;
}
.account_dropdown::before {
border-bottom-color: #ccc;
border-width: 13px;
margin-left: -1px;
}
.account_dropdown__link {
display: block;
2018-07-31 18:09:18 +00:00
padding: 0 14px;
font-size: 13px;
line-height: 24px;
2018-08-03 19:24:41 +00:00
color: var(--lightTextColor);
position: relative;
z-index: 999;
}
.account_dropdown__link:visited {
color: var(--lightTextColor);
2018-07-31 18:09:18 +00:00
}
2018-08-03 19:24:41 +00:00
.account_dropdown__link:hover {
2018-07-31 18:09:18 +00:00
background-color: var(--primaryControlBGColor);
color: var(--primaryControlFGColor);
}
2018-08-07 22:40:17 +00:00
.account_dropdown__text {
display: block;
padding: 0 14px;
font-size: 13px;
color: var(--lightTextColor);
line-height: 24px;
}