Skip to content

Commit

Permalink
Fix up branded drop-down styling
Browse files Browse the repository at this point in the history
  • Loading branch information
gashcrumb committed Aug 26, 2013
1 parent e62e964 commit b3c5ac9
Showing 1 changed file with 86 additions and 0 deletions.
86 changes: 86 additions & 0 deletions hawtio-web/src/main/webapp/css/site-branding.css
Expand Up @@ -106,6 +106,9 @@ a:hover {
position: relative;
top: -1px;
height: 42px;
background: inherit;
background-color: inherit;
background-image: inherit;
}

#main-nav .navbar-inner .nav li a {
Expand Down Expand Up @@ -217,6 +220,10 @@ a:hover {
padding-right: 10px;
}

.nav li a {
cursor: pointer;
}


select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
font-size: 13.5px;
Expand Down Expand Up @@ -405,3 +412,82 @@ div#main div ul.nav li a.nav-primary {
.nav.help-sidebar li:first-child {
padding-top: 3px;
}

.nav-tabs .dropdown-menu {
border-radius: 0;
}

.dropdown-menu {
border: 1px solid #b6b6b6;
border-top: 0;
margin-top: 1px;
padding: 0;
background-color: white;
}

.dropdown-menu .divider {
margin: 0 !important;
border: 0;
color: #E5E5E5;;
}

.dropdown-menu li > a {
background: inherit !important;
text-shadow: none;
line-height: 22px;
font-size: 11px;
border: 0 !important;
padding: 0 !important;
max-height: 22px;
}

.dropdown-menu .divider:hover {

}

.dropdown-menu li:hover {
color: #ffffff !important;
border-top: 1px solid #2289ba;
background-image: linear-gradient(to bottom, #40a0ce 0%, #3890ba 100%) !important;
cursor: pointer;
}

.dropdown-menu .divider:hover {
border-top: 0;
background-image: none !important;
}

.dropdown-menu li:hover > a {
color: #ffffff !important;
text-shadow: none !important;
font-weight: bold;
}

.dropdown-menu li {
padding-left: 10px !important;
padding-right: 10px !important;
line-height: 22px !important;
border-top: 1px solid;
border-color: white;
max-height: 22px;
}

li.dropdown.open a.dropdown-toggle {
color: #2289ba !important;
border-bottom: 1px solid #2289ba !important;
}

.caret {
border: 0;
}

.caret:before {
border: 0;
content: "\f078";
font-size: 11px;
display: block;
color: #53595f;
position: relative;
top: -7px;
left: 1px;
}

0 comments on commit b3c5ac9

Please sign in to comment.