/**
 * @author pei-qiao.peng 
 * @date   2014/12/26.
 * @email  ppq1991@gmail.com
 * @github https://github.com/ppq1991/
 * @blog   http://pengpeiqiao.tk/
 */

@font-yahei: \5FAE\8F6F\96C5\9ED1;
@pt: 3px;
@pl: 0;
@pr: 12px;
@title-height: 30px;

body {
  overflow: hidden;
  cursor: default;
  position: relative;
  font-family: @font-yahei;
  background: #151515;
  height: 65px;
}
#room-name {
  position: absolute;
  left: @pl;
  top: @pt;
  font-size: 22px;
  border: 2px solid transparent;
  border-radius: 5px;
  color: #c4c4c4;
  height: @title-height;
  min-width: 280px;
  max-width: 50%;
  line-height: @title-height;
  padding: 0 5px;
  overflow-x: auto;
  white-space: nowrap;
}
#room-name-input {
  position: absolute;
  left: @pl;
  top: @pt;
  font-size: 22px;
  font-family: @font-yahei;
  border: 2px solid #103a51;
  border-radius: 5px;
  outline: none;
  height: @title-height;
  line-height: @title-height;
  padding: 0 5px;
  width: 280px;
  z-index: 99;
}
#room-info {
  position: absolute;
  left: @pl;
  top: @pt + @title-height + 10;
  color: #848484;
  padding-left: 7px;
  font-size: 14px;
}
#room-info-number {
  margin-right: 20px;
}
#room-desc {
  position: absolute;
  right: @pr;
  top: @pt;
  height: 58px;
  width: 245px;
  background-color: #2d2d2d;
  border-radius: 3px;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
  padding: 0 10px;
  border: 2px solid transparent;
  overflow-x: hidden;
  overflow-y: scroll;
  word-break: break-all;
  text-wrap: normal;
  > a {
    color: #33f5ff;
  }
}
#mask {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1000px;
  background: transparent;
  z-index: 9;
}
.empty {
  display: none;
}
.edit {
  #room-name, #room-desc {
    cursor: pointer;
    &:hover {
      border: 2px solid #103a51;
    }
  }
  .empty {
    display: block;
    text-align: center;
    > span {
      line-height: 58px;
      color: #787878;
    }
    &:hover {
      span {
        color: #b6b6b6;
      }
    }
  }
}

/* scroll bar */
::-webkit-scrollbar {
  width: 6px;
  height: 0;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: rgb(79, 79, 79);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(155, 155, 155, 0.8);
}
::-webkit-scrollbar-thumb:active {
  background: rgba(125, 125, 125, 0.8);
}
::-webkit-scrollbar-button {
  display: none;
}