Skip to content

Instantly share code, notes, and snippets.

@ZASMan
Created September 23, 2015 23:55
Show Gist options
  • Save ZASMan/bf20e71b878447ae2d95 to your computer and use it in GitHub Desktop.
Save ZASMan/bf20e71b878447ae2d95 to your computer and use it in GitHub Desktop.
Navbar
/* Hacks to change existing Navbar properties */
.navbar {
background-color: #34495e
}
.container {
background-color: #34495e
}
.navbar-nav>.active>a:hover {
background-color: #34495e
}
/* Nav Bar Buttons Jquery Effects */
.button-fill {
text-align: center;
background: #ccc;
position: relative;
text-transform: uppercase;
margin: -15px -15px -15px -15px;
}
.button-fill.grey {
background: #34495e;
color: white;
}
.button-text {
padding: 0 25px;
line-height: 56px;
letter-spacing: .1em;
}
.button-inside {
width: 0px;
height: 54px;
margin: 0;
float: left;
position: absolute;
top: 1px;
left: 50%;
line-height: 54px;
color: #34495e;
background: #fff;
text-align: center;
overflow: hidden;
-webkit-transition: width 0.5s, left 0.5s, margin 0.5s;
-moz-transition: width 0.5s, left 0.5s, margin 0.5s;
-o-transition: width 0.5s, left 0.5s, margin 0.5s;
transition: width 0.5s, left 0.5s, margin 0.5s;
}
.button-inside.full {
width: 100%;
left: 0%;
top: 0;
margin-right: -50px;
border: 1px solid #34495e;
}
.inside-text {
text-align: center;
position: absolute;
right: 50%;
letter-spacing: .1em;
text-transform: uppercase;
-webkit-transform: translateX(50%);
-moz-transform: translateX(50%);
-ms-transform: translateX(50%);
transform: translateX(50%);
}
/*Page */
.container-fluid {
background-color: #34495e;
padding-left: 0px;
padding-right: 15px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment