Get the new context-sensitive new menu working

This commit is contained in:
Joseph Schorr 2015-04-07 18:33:43 -04:00
parent 40a6892a49
commit d09f2f6e22
13 changed files with 461 additions and 193 deletions

View file

@ -27,7 +27,7 @@ nav.navbar-default .navbar-nav>li>a.active {
}
.header-bar-element .header-bar-content {
z-index: 4;
z-index: 5;
position: absolute;
top: 0px;
left: 0px;
@ -40,7 +40,7 @@ nav.navbar-default .navbar-nav>li>a.active {
left: 0px;
right: 0px;
top: -50px;
z-index: 3;
z-index: 4;
height: 83px;
transition: top 0.7s cubic-bezier(.23,.88,.72,.98);
background: white;
@ -88,7 +88,7 @@ nav.navbar-default .navbar-nav>li>a.active {
left: 0px;
right: 0px;
top: -130px;
z-index: 2;
z-index: 3;
transition: top 0.7s cubic-bezier(.23,.88,.72,.98), height 0.5s ease-in-out;
background: white;
@ -173,4 +173,51 @@ nav.navbar-default .navbar-nav>li>a.active {
font-size: 12px;
margin-left: 6px;
display: inline-block;
}
}
.header-bar-element .avatar {
margin-right: 6px;
}
.user-tools {
position: relative;
display: inline-block;
}
.user-tools .user-tool {
font-size: 24px;
margin-top: 14px;
color: #428bca;
margin-right: 20px;
}
.user-tools.with-menu {
margin-right: 6px;
}
.user-tools .caret {
position: absolute;
top: 3px;
left: 23px
}
.user-tools .notifications-bubble {
position: absolute;
top: 2px;
left: 13px;
}
.user-tools i.user-tool:hover {
cursor: pointer;
color: #333;
}
.user-tools .new-menu {
background: transparent !important;
}
.header-bar-element .context-dropdown i.fa {
width: 16px;
text-align: center;
display: inline-block;
}