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

65 lines
1.1 KiB
CSS
Raw Normal View History

2018-07-31 18:09:18 +00:00
.account {
position: absolute;
right: 0;
margin: 0 21px;
padding: 0;
}
.account_dropdown {
2018-08-03 19:24:41 +00:00
z-index: 2;
2018-07-31 18:09:18 +00:00
position: absolute;
2018-08-03 19:24:41 +00:00
top: 30px;
left: -15px;
2018-07-31 18:09:18 +00:00
width: 150px;
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-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);
}