Search in Black Navbar with Bootstrap -


i'm trying include black navbar search box using bootstrap shown here: http://jsfiddle.net/hyaeq/410/. codes of css below.

i don't how color of search box changes when receives focus. how can keep color of box same when doesn't have focus?

thank you.

html, body { padding: 0; margin: 0;}  body { padding: 20px; }  .navbar-search {     position: relative; }  .navbar-search .search-query {     padding-left: 29px !important; }  .navbar-search .icon-search {     position: absolute;     top: 7px;     left: 11px;     background-image: url("http://twitter.github.com/bootstrap/assets/img/glyphicons-halflings.png"); } 

you add these css rules, may pretty heavy-handed approach. hope doesn't break else in design :

input[type="text"] {     background-color: #ffffff !important;     color: #555555 !important; } 

fiddle.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -