mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 09:34:41 +00:00
Add user actions dropdown to admin header. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17827 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -842,14 +842,82 @@ form.upgrade .hint {
|
||||
font-size: 12px;
|
||||
line-height: 32px;
|
||||
height: 32px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#user_info p {
|
||||
margin: 0;
|
||||
margin: 0 20px 0 0;
|
||||
padding: 0;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
#user_info_arrow {
|
||||
height: 32px;
|
||||
width: 24px;
|
||||
position: absolute;
|
||||
right: -2px;
|
||||
top: 2px;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
#user_info_links_wrap {
|
||||
width: 160px;
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
right: 0;
|
||||
padding: 0;
|
||||
text-shadow: rgba(255,255,255,0.7) 0 1px 0;
|
||||
}
|
||||
|
||||
#user_info_links {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#user_info_arrow:hover #user_info_links_wrap {
|
||||
top: 22px;
|
||||
right: -8px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
#user_info_arrow:hover #user_info_links ul {
|
||||
margin-top: 0;
|
||||
-moz-transition: margin-top 150ms ease-out;
|
||||
-webkit-transition: margin-top 150ms ease-out;
|
||||
-o-transition: margin-top 150ms ease-out;
|
||||
transition: margin-top 150ms ease-out;
|
||||
}
|
||||
|
||||
#user_info_links ul {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
margin-top: -100%;
|
||||
-moz-transition: margin-top 300ms ease-in;
|
||||
-webkit-transition: margin-top 300ms ease-in;
|
||||
-o-transition: margin-top 300ms ease-in;
|
||||
transition: margin-top 300ms ease-in;
|
||||
}
|
||||
|
||||
#user_info_links ul,
|
||||
#user_info_links li:last-child {
|
||||
-moz-border-radius: 0 0 3px 3px;
|
||||
-webkit-border-bottom-right-radius: 3px;
|
||||
-webkit-border-bottom-left-radius: 3px;
|
||||
-khtml-border-bottom-right-radius: 3px;
|
||||
-khtml-border-bottom-left-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
#user_info_links li {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#user_info_links a {
|
||||
display: block;
|
||||
padding: 6px 8px;
|
||||
}
|
||||
|
||||
#wphead {
|
||||
height: 32px;
|
||||
margin-right: 15px;
|
||||
|
||||
Reference in New Issue
Block a user