JSFiddle - React, Tailwind, and code Playground

HTML

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<div class="top_bar_wrap">
  <div class="top_bar">
    <div class="logo_new" style="width:130px;">
    </div>
    <div class="topinfobar_sn" style="width:160px;">
        <img src="http://twitter-icon.com/buttons/new/031.png" />
    </div>
    <div class="topinfobar" style="margin:17px 5px 0;font:13px Cambria;white-space: nowrap;">
      <span style="background:#00B0DB; padding:4px 6px 6px 6px;" title="Текущие дата и время">28 АВГУСТА 2014, ЧЕТВЕРГ. 15:46</span>
    </div>
    <div class="topinfobar" style="margin-top:13px;width:255px;"> <img src="http://www.phru.net/smt/Images1/benchmarkingtemplate.png" />
    </div>

    <div class="user_panel">
   <span class="pro_21r check_event">
       <span class="login_name name"><a>Razor</a></span>
       <span style="display: inline-block;background: transparent url(//htmlforum.ru/uploads/profile/photo-78941.jpeg) no-repeat center center; background-size:cover;" class="foto_mini"></span>
</span><span id="button" class="add_news"><a class="button_red">новая публикация</a></span>
    </div>
    <div class="search_top" style="margin-top:14px;">
      <form action="" method="post" id="form_search">
      <input type="hidden" name="do" value="search" />
      <input type="hidden" name="subaction" value="search" />
      <input class="input" type="text" name="story" placeholder="Поиск..">
      </form>
    </div>
  </div>
</div>

CSS

html,body {
  font: 12px tahoma, arial, verdana, sans-serif, Lucida Sans;
  color: #000;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

.top_bar_wrap {
  width: 100%;
  font-size: 11px;
  min-width: 1263px;
  height: 50px;
  background: #6FE149;
  margin-bottom: 15px;
}

.top_bar_wrap .top_bar {
  min-width: 1200px;
  max-width: 95%;
  margin: 0 auto;
  display: -ms-flex;
}

.top_bar_wrap .top_bar .logo_new {
    background: url(//fredrikericsson.com/images/partners/partner_hestra.jpg) no-repeat center center;
  width: 120px;
  height: 50px;
  float: left;
  /*padding: 0 5px;*/
}

.top_bar_wrap .top_bar .logo_new:hover {
  background-color: #00B0DB;
}

.top_bar_wrap .top_bar .logo_new a {
  display: block;
  width: 120px;
  height: 50px;
  text-indent: -9999px;
  /*padding: 0 5px;*/
}

.top_bar_wrap .top_bar .topinfobar {
  color: #fff;
  float: left;
  height: 25px;
  line-height: 20px;
  /*margin-left: 10px;*/
  text-align: left;
}

.topinfobar_sn {
  color: #fff;
  float: left;
  height: 25px;
  line-height: 20px;
  margin: 13px 0 0;
  text-align:center;
}

a   {text-decoration: none; color: #069;}
a:hover  {text-decoration: underline;}

.top_bar_wrap .top_bar .search_top {
  color: #fff;
  overflow: hidden;
  /*  line-height: 30px; */
  /*margin-left: 5px;*/
}

.top_bar_wrap .top_bar .search_top input[type="text"] {
  margin-top: 0;
  border: none;
  padding: 3px 4px;
  background: #fff url(//storage7.static.itmages.ru/i/14/0828/h_1409228959_5417200_68ef2bcead.gif) no-repeat;
  background-position: right 8px;
}

.top_bar_wrap .top_bar .user_panel {
  color: #fff;
  float: right;
  height: 50px;
  line-height: 30px;
}

.button_red {
  padding: 4px 8px 5px;
  background: #00B0DB;
  text-decoration: none;
  color: #FFF;
}

.button_red:hover {
  padding: 4px 8px 5px;
  color: #6FE149;
}

.top_bar_wrap .top_bar .user_panel .login_name {
  line-height: 50px;
}

.top_bar_wrap .top_bar .user_panel .login_name.name {

}

.top_bar_wrap .top_bar .user_panel...

JavaScript

var $document = $(document);

$document
    .on('focus', '.input', function() {
        var $this = $(this);
        alert(1)
        if ($this.width() < 100) {
            $this.width(200);
        }
    });