title: Bootstrap: Stylize Border Lines in Navbar Menu
body: <p>I have been customizing my header for my website. I have been having trouble with twi things.</p>
  
  <p>1) The search icon has border lines on the top and bottom when the browser is shrunk. I want to thin the bottom line and remove the top line. </p>
  
  <p>2) I wanted to add more spacing between the Sign In/Sign Up when the browser is shrunk. Is it possible to remove Sign Up when browser switches to the hamburger icon?</p>
  
  <p>Thanks for any help in advance.</p>
  
  <p><img src="https://i.stack.imgur.com/sG28u.png" alt="Normal View"></p>
  
  <p><img src="https://i.stack.imgur.com/akIua.png" alt="Shrunk View"></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>document.addEventListener("touchstart", function() {}, true);</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>body {
    background-color: #e2e2e2;
  }
  .navbar {
    background: #00ad97;
    background: -moz-linear-gradient(#24c494, #00ad97);
    background: -o-linear-gradient(#00ad97, #00ad97);
    background: -webkit-linear-gradient(#4a4a4a, #414042);
  }
  /*--------------
  search button top start
  --------------*/
  
  .search-box {
    transition: width 0.6s, border-radius 0.6s, background 0.6s, box-shadow 0.6s;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    background: white;
  }
  .search-box + label .icon-search {
    color: black;
  }
  .search-box:hover {
    color: white;
    background: #ebebeb;
    box-shadow: 0 0 0 5px #3d4752;
  }
  .search-box:hover + label .icon-search {
    color: white;
  }
  .search-box:focus {
    transition: width 0.6s cubic-bezier(0, 1.22, 0.66, 1.39), border-radius 0.6s, background 0.6s;
    border: none;
    outline: none;
    box-shadow: none;
    padding-left: 15px;
    cursor: text;
    width: 150px;
    border-radius: auto;
    background: white;
    color: black;
  }
  .search-box:focus + label .icon-search {
    color: black;
  }
  .search-box:not(:focus) {
    text-indent: -5000px;
  }
  #search-submit {
    position: absolute;
    display: none;
  }
  .icon-search {
    position: relative;
    left: -2.2em;
    top: .42em;
    color: white;
    cursor: pointer;
  }
  /*--------------
  search button top END
  --------------*/
  
  /* Header Logo */
  
  .navbar-brand {
    font-family: Nivo;
    font-size: 2em;
    letter-spacing: .5px;
    color: #fff !important;
    padding-top: 16px;
  }
  .navbar-brand:hover {
    transition: 0.25s;
    -o-transition: 0.25s;
    -ms-transition: 0.25s;
    -moz-transition: 0.25s;
    -webkit-transition: 0.25s;
    color: #c4c4c4 !important;
  }
  /* Header Sign In */
  
  .sign_in {
    font-family: "Helvetica Neue", "Helvetica", "Arial", "Lucida Grande", sans-serif;
    font-weight: 200;
    letter-spacing: .5px;
    padding-right: 15px;
    font-size: small;
    text-decoration: none;
    color: #fff !important;
  }
  .sign_in:hover {
    transition: 0.25s;
    -o-transition: 0.25s;
    -ms-transition: 0.25s;
    -moz-transition: 0.25s;
    -webkit-transition: 0.25s;
    color: #c4c4c4 !important;
    text-decoration: none;
  }
  .sign_in:focus {
    text-decoration: none;
  }
  /* Header Sign Up */
  
  .sign_up {
    font-family: "Helvetica Neue", "Helvetica", "Arial", "Lucida Grande", sans-serif;
    font-weight: 200;
    font-size: small;
    letter-spacing: .5px;
    padding-right: 12px;
    text-decoration: none;
    color: #fff !important;
  }
  .sign_up:hover {
    transition: 0.25s;
    -o-transition: 0.25s;
    -ms-transition: 0.25s;
    -moz-transition: 0.25s;
    -webkit-transition: 0.25s;
    color: #c4c4c4 !important;
    text-decoration: none;
  }
  .sign_up:focus {
    text-decoration: none;
  }
  .menu-ul {
    padding: 0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;nav class="navbar navbar-inverse navbar-fixed-top"&gt;
    &lt;div class="container"&gt;
      &lt;div class="navbar-header"&gt;
        &lt;button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"&gt;
          &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
          &lt;span class="icon-bar"&gt;&lt;/span&gt;
          &lt;span class="icon-bar"&gt;&lt;/span&gt;
          &lt;span class="icon-bar"&gt;&lt;/span&gt;
        &lt;/button&gt;
        &lt;a class="navbar-brand" href="/"&gt;Resonance Inn&lt;/a&gt;
      &lt;/div&gt;
      &lt;div id="navbar" class="navbar-collapse collapse"&gt;
        &lt;ul class="menu-ul"&gt;
          &lt;form class="navbar-form navbar-right" action="#"&gt;
            &lt;input id="search-box" type="text" class="search-box" name="q" /&gt;
            &lt;label for="search-box"&gt;&lt;span class="glyphicon glyphicon-search icon-search"&gt;&lt;/span&gt;
            &lt;/label&gt;
            &lt;input type="submit" id="search-submit" /&gt;
          &lt;/form&gt;
  
          &lt;li style="list-style-type: none;"&gt;
            &lt;a class="navbar-text navbar-right sign_in" href="#"&gt;Sign In
                      &lt;/a&gt;
          &lt;/li&gt;
          &lt;li style="list-style-type: none;"&gt;
            &lt;a class="navbar-text navbar-right sign_up" href="#"&gt;Sign Up
                      &lt;/a&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
      &lt;!--/.navbar-collapse --&gt;
    &lt;/div&gt;
  &lt;/nav&gt;</code></pre>
  </div>
  </div>
  </p>