Skip to content

Instantly share code, notes, and snippets.

@fritids
Forked from wronco/overrides.css
Created June 24, 2013 02:38
Show Gist options
  • Select an option

  • Save fritids/5847434 to your computer and use it in GitHub Desktop.

Select an option

Save fritids/5847434 to your computer and use it in GitHub Desktop.
/**
*Navigation overrides
*/
.navbar a.btn-warning.pull-left {
margin-top: 18px;
}
.navbar .nav {
margin-top: 14px;
}
.navbar .nav .active a, .navbar .nav .active a:hover {
-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
background: #006993;
}
.navbar .nav .active .dropdown-menu a {
background: #fff;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.navbar .nav li {
margin-right: 10px;
list-style-image: none;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.navbar .nav li a {
color: #fff;
padding: 8px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.navbar .nav li:hover {
background: #00b4ff;
}
.navbar .nav .dropdown-menu li {
margin-right: 0;
}
.navbar .nav .dropdown-menu li a {
color: #333;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
}
.navbar .nav .dropdown-menu li a:hover {
color: #fff;
background: #00b4ff;
}
.navbar .nav .support li.contact {
color: #000;
padding: 0px 8px;
white-space: nowrap;
font-weight: normal;
}
.navbar .nav .support li.contact:hover {
background: #fff;
}
.navbar .nav .support li.contact .contact-header {
font-weight: bold;
font-size: 16px;
border-bottom: 1px solid #ccc;
margin-bottom: 5px;
}
.navbar .nav .support li.contact a:hover {
background: #fff;
}
.navbar .dropdown-menu {
margin-top: 0px;
}
.navbar-inner {
background: #0093d0;
color: #fff;
font-weight: bold;
}
ul.nav li.dropdown:hover ul.dropdown-menu {
display: block;
}
@media (max-width: 767px) {
.navbar .nav .active .dropdown-menu a {
background: #0093d0;
}
.nav-collapse .nav .active a.dropdown-toggle:hover {
background: #222;
}
.nav-collapse .nav .active .dropdown-menu a {
background: transparent;
}
.nav-collapse .nav .active .dropdown-menu a:hover {
background: #00b4ff;
}
}
/** wide screens */
@media (min-width: 980px) {
body {
padding-top: 80px;
/* 60px to make the container go all the way to the bottom of the topbar */
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment