app/assets/stylesheets/chat.css.scss
1ec65f29
 .container {
   width: 1000px;
eee69d20
   padding: 10px 17px;
1ec65f29
 }
 
 .leftside {
   width: 23%;
 }
 
eee69d20
 .rightside {
   width: 75%;
 }
 
1ec65f29
 .roster {
   background: $bg-roster;
   padding: 16px 9px 9px;
   min-height: 400px;
   position: relative;
 
   &:hover, &:active {
     cursor: default;
   }
 }
 
 .user {
b9fb7338
   padding: 4px 0 4px 3px;
1ec65f29
   margin-right: -9px;
 
   h1, h2, h3 {
     margin: 0 0 1px;
   }
 
   h1 {
     font-size: 12px;
     color: $black;
     text-shadow: white 1px 1px;
   }
 
   h2 {
     font-size: 11px;
     font-weight: normal;
     color: #7e8b90;
     text-shadow: white 1px 1px;
   }
 
   h3 {
     font-size: 12px;
eee69d20
     color: $status-color;
     margin-top: -3px;
 
     .drop-down {
       position: relative;
       top: 2px;
       left: -2px;
       font-size: 13px;
     }
1ec65f29
   }
 
   .avatar {
     float: left;
     margin-right: 8px;
eee69d20
 
     img {
       height: 32px;
     }
 
     &.bigger {
       img {
         height: 46px;
       }
     }
1ec65f29
   }
 }
 
 .friends {
   .group-header {
     margin: 16px 3px 3px;
     font-size: 12px;
     text-transform: uppercase;
     color: #9db0b7;
 
     &.active {
       color: $app-color;
     }
   }
 
   ul {
     padding: 0;
     margin: 0;
 
     li {
       list-style: none;
     }
   }
 
eee69d20
   .user:hover {
     background: #fbfbfb;
   }
 
1ec65f29
   .active-group {
eee69d20
     margin: 0 -16px 0 -5px;
1ec65f29
     padding: 8px 10px;
     background: white;
     border-right: 1px solid #fcfcfc;
 
eee69d20
     &::before {
       content: '';
       border-left: 5px solid #24a396 !important;
       display: block;
       width: 0;
       height: 0;
     }
 
1ec65f29
     .user {
eee69d20
       margin-right: -5px;
1ec65f29
 
       &:hover {
         background: $bg-roster;
       }
     }
   }
eee69d20
 
   .action {
     margin-right: 2px;
b9fb7338
     margin-top: -31px;
     float: right;
     width: 67px;
     color: #7e8b90;
eee69d20
 
b9fb7338
     .icon-bubble, .icon-bubbles, .icon-x-full {
       width: 21px;
       overflow: hidden;
       display: block;
       float: right;
       padding-right: 10px;
       padding-top: 1px;
 
       &:before {
         margin-left: 6px;
       }
eee69d20
 
b9fb7338
       span {
         font-variant: small-caps;
         font-weight: bold;
         position: relative;
         top: -3px;
         font-size: 0.9em;
       }
eee69d20
     }
 
b9fb7338
     .icon-bubble {
       span {
         left: 2px;
       }
eee69d20
     }
 
b9fb7338
     .icon-bubbles {
       span {
         left: 1px;
       }
     }
eee69d20
 
b9fb7338
     .icon-x-full {
       span {
         left: 3px;
       }
eee69d20
     }
   }
 }
 
 .status {
   font-size: 15px;
   position: relative;
   top: 2px;
 
4b15dbcc
   &.online, &.away, &.dnd, &.offline {
     font-size: 11px;
eee69d20
   }
 
   &.online {
     color: #83C91F;
   }
 
   &.away {
     color: #E6D105;
   }
 
   &.dnd {
     color: #DC4E06;
   }
 
   &.offline {
     color: #848F99;
   }
1ec65f29
 }
 
 .toolbox {
   position: absolute;
   bottom: 0;
eee69d20
   width: 93%;
 
   input {
     width: 75%;
     height: 22px;
     border-radius: 16px;
     margin-right: 6px;
     padding-left: 10px;
     padding-right: 10px;
     display: block;
     float: left;
   }
 
   a, a:visited {
     color: $app-color;
     border: 1px solid #dde0e3;
     border-radius: 12px;
     padding: 5px 4px 4px 5px;
     margin-left: 0;
     width: 13px;
     height: 13px;
     background: white;
     display: inline-block;
   }
1ec65f29
 }
 
 .chatting-window {
eee69d20
   padding-left: 5px;
 }
 
 .tabbar {
43b171a9
   display: inline-block;
   margin-bottom: -3px;
1ec65f29
 
eee69d20
   .tab {
     background: #f7f6f5;
     width: 132px;
     border: $border-color 1px solid;
     float: left;
     padding: 10px 7px 6px 7px;
     margin: 0 4px -1px 0;
     font-size: 15px;
     color: $bg-color;
 
     &:last-child {
       margin-right: 0;
     }
 
     &.active {
       width: 240px;
       background: $bg-roster;
       font-weight: bold;
       color: $app-color;
6ab7800c
       padding-bottom: 7px;
eee69d20
       border-top: 0;
6ab7800c
       padding-top: 10px;
       line-height: 19px;
eee69d20
     }
 
     .icon {
       margin-right: 4px;
     }
   }
 }
 
 .conversation {
   background: white;
   padding: 9px;
43b171a9
   min-height: 367px;
eee69d20
 
   .event {
     color: $status-color;
     font-weight: bold;
     font-size: 12px;
     margin: 10px auto 0;
     width: 50%;
     text-align: center;
   }
 
43b171a9
   .messages {
     min-height: 296px;
   }
 
eee69d20
   .message-box {
     width: 75%;
     color: #393939;
     background: $bg-roster;
     border: 1px solid $gray-light;
     border-radius: 5px;
     padding: 0 10px;
     margin-top: 10px;
     margin-left: 45px;
     position: relative;
 
     &::after, &::before {
       content: '';
       display: block;
       width: 0;
       height: 0;
       border-right: 8px solid #f4f4f4;
       border-bottom: 8px solid rgba(255,255,255,0);
       border-top: 8px solid rgba(255,255,255,0);
       position: absolute;
       left: -8px;
       top: 14px;
     }
 
     &::before {
       z-index: 20;
     }
 
     &::after {
       height: 2px;
       border-right: 8px solid $gray-light;
       left: -9px;
       top: 13px;
     }
 
     &.active {
       background: #dfecea;
 
       &::before {
         border-right: 8px solid #dfecea;
       }
     }
 
     .date {
       color: #949494;
       text-shadow: white 1px 1px;
     }
 
     p {
       margin: 4px 0 8px;
     }
 
     .user {
       margin-left: -59px;
 
       &:hover {
         background: transparent;
       }
     }
   }
 }
 
 .message-writer {
   padding-top: 20px;
   padding-left: 9px;
   border-top: 1px solid $gray-light;
   margin: 10px -9px 0;
   position: relative;
 
   input {
     margin-top: 0;
     border-color: black;
     font-weight: bold;
   }
 
   input[type="text"] {
     font-size: 12px;
     width: 90%;
     margin-right: 5px;
     border-color: $gray-light;
     color: $app-color;
 
 
   }
 
   ::-webkit-input-placeholder {
     color: $app-color;
6ab7800c
     opacity: 0.8;
eee69d20
   }
   ::-moz-placeholder {
     color: $app-color;
6ab7800c
     opacity: 0.8;
eee69d20
   }
   :-ms-input-placeholder {
     color: $app-color;
6ab7800c
     opacity: 0.8;
eee69d20
   }
 
   input[type="submit"] {
6ab7800c
     font-size: 18px;
eee69d20
     width: 8%;
     position: absolute;
     right: 8px;
     margin: 0;
6ab7800c
     padding-bottom: 2px;
eee69d20
   }
 }