app/assets/stylesheets/chat.css.scss
1ec65f29
 .container {
   width: 1000px;
eee69d20
   padding: 10px 17px;
1ec65f29
 }
 
82fcdc6f
 .chat-alert {
   width: 400px;
   left: 490px;
   background: white;
   margin-bottom: 58px;
   padding: 0 11px;
   position: absolute;
 
   h1 {
     font-size: 1.4em;
   }
 
   .close {
     font-size: 18px;
     float: right;
     padding: 11px 0 0;
   }
 }
 
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;
   }
d5d0ee30
 
   .wrap {
     overflow-y: auto;
     overflow-x: hidden;
9d063577
     width: 210px;
d5d0ee30
   }
1ec65f29
 }
 
399e76db
 .my-info {
   height: 53px;
 }
 
1ec65f29
 .user {
b9fb7338
   padding: 4px 0 4px 3px;
1ec65f29
   margin-right: -9px;
 
   h1, h2, h3 {
     margin: 0 0 1px;
   }
 
6347ea28
   //.name {
   //  font-size: 12px;
   //  color: $black;
   //  text-shadow: white 1px 1px;
   //  margin: 0;
   //  width: auto;
   //}
 
1ec65f29
   h1 {
     font-size: 12px;
     color: $black;
     text-shadow: white 1px 1px;
   }
 
   h3 {
     font-size: 12px;
eee69d20
     color: $status-color;
9d063577
     margin-top: -2px;
eee69d20
 
c4a1e746
     .rolldown {
       clear: both;
fa799999
       left: 67px;
       position: absolute;
c4a1e746
       width: 67px;
       font-weight: normal;
       float: left;
9d063577
       z-index: 10;
 
100a038b
       a {
         color: $status-color;
       }
c4a1e746
 
       &.editing {
         background: white;
9d063577
         @include box-shadow(rgba(33,87,81, 0.4) 0 0 2px);
c4a1e746
       }
 
       .active {
         font-weight: bold;
       }
9d063577
 
       div {
         clear: both;
       }
c4a1e746
     }
 
eee69d20
     .drop-down {
       position: relative;
9d063577
       top: 2px;
eee69d20
       font-size: 13px;
9d063577
       float: right;
eee69d20
     }
1ec65f29
   }
 
6347ea28
   h1 input, h2 input {
     border: 0;
     background: transparent;
     width: 151px;
     padding: 0;
     outline: none;
     margin: 0;
     font-weight: normal;
     color: #7e8b90;
     text-shadow: white 1px 1px;
     height: 18px;
 
     &:focus {
       border: none !important;
     }
 
     &.editing {
       padding: 3px 0;
       font-style: normal;
       text-shadow: none;
     }
   }
 
   h1 input {
     color: $black;
     font-size: 12px;
     font-weight: bold;
   }
 
   h2 input {
     font-style: italic;
     font-size: 11px;
   }
 
1ec65f29
   .avatar {
     float: left;
4b5bb9c5
 
     height: 32px;
     width: 32px;
 
1ec65f29
     margin-right: 8px;
eee69d20
 
     &.bigger {
4b5bb9c5
       height: 46px;
       width: 46px;
6621353c
       position: relative;
4b5bb9c5
 
eee69d20
       img {
         height: 46px;
6fb9497e
         max-width: 46px;
eee69d20
       }
6621353c
 
       .change-avatar {
         &:hover {
           cursor: pointer;
         }
 
         .background {
           position: absolute;
           top: 0;
           left: 0;
           height: 46px;
           width: 46px;
           background: $inactive-color;
           @include opacity(0.8);
         }
 
 
         p {
           position: absolute;
           top: 3px;
           left: 4px;
           color: $gray-light;
           font-weight: bold;
 
           &:hover {
             text-decoration: underline;
           }
         }
       }
     }
 
     img {
       height: 32px;
 
       margin: 0 auto;
       display: block;
eee69d20
     }
1ec65f29
   }
 }
 
 .friends {
d5d0ee30
   height: inherit;
3a34499e
   //overflow-x: hidden;
   //overflow-y: auto;
d5d0ee30
 
1ec65f29
   .group-header {
     margin: 16px 3px 3px;
     font-size: 12px;
     text-transform: uppercase;
     color: #9db0b7;
 
     &.active {
       color: $app-color;
     }
   }
 
   ul {
     padding: 0;
     margin: 0;
43899b3a
     position: relative;
1ec65f29
 
     li {
       list-style: none;
43899b3a
       background: $bg-roster;
       position: relative;
1ec65f29
     }
   }
 
43899b3a
   .floating {
     position: absolute;
     // TODO
   }
 
c4a1e746
   .user {
     h2 {
       font-size: 11px;
       font-weight: normal;
       color: #7e8b90;
       text-shadow: white 1px 1px;
     }
 
     &:hover {
       background: #fbfbfb;
     }
 
eee69d20
   }
 
43899b3a
   ul.active-group {
e2e90aca
     @extend .no-left-border;
     @extend .left-border;
     @extend .border;
 
eee69d20
     margin: 0 -16px 0 -5px;
1ec65f29
     padding: 8px 10px;
     background: white;
e2e90aca
     border-right: 0 !important;
9d063577
     z-index: 1;
1ec65f29
 
43899b3a
     li {
       background: white;
     }
 
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 {
9d063577
     margin-right: 5px;
b9fb7338
     margin-top: -31px;
     float: right;
     width: 67px;
     color: #7e8b90;
eee69d20
 
37ab3198
     .icon-bubble, .icon-bubbles, .icon-x-full, .icon-owner, .icon-make-owner {
892a09a3
       display: none;
b9fb7338
       width: 21px;
       overflow: hidden;
       float: right;
       padding-right: 10px;
       padding-top: 1px;
 
9d063577
       &:hover {
         cursor: pointer;
       }
 
b9fb7338
       &: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
     }
 
f02a24ce
     .icon-bubbles {
b9fb7338
       span {
         left: 1px;
       }
     }
f02a24ce
 
     .icon-x-full {
       span {
         left: 7px;
       }
     }
 
     .icon-x-full {
       &:before {
         margin-left: 9px;
       }
     }
eee69d20
   }
 }
 
43899b3a
 #js-inactive-friends, js-active-friends {
   position: relative;
 }
 
eee69d20
 .status {
   font-size: 15px;
   position: relative;
9d063577
   top: 1px;
eee69d20
 
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;
910e0f23
     padding: 4px 4px 4px 5px;
eee69d20
     margin-left: 0;
     width: 13px;
910e0f23
     height: 14px;
eee69d20
     background: white;
     display: inline-block;
   }
1ec65f29
 }
 
 .chatting-window {
eee69d20
   padding-left: 5px;
 }
 
 .tabbar {
43b171a9
   display: inline-block;
   margin-bottom: -3px;
d5d0ee30
   width: 750px;
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;
6a6ccd01
 
       @extend .top-border;
     }
 
100a038b
     a {
       color: $app-color;
     }
 
6a6ccd01
     div {
       overflow: hidden;
       text-overflow: ellipsis;
       white-space: nowrap;
       display: block;
       width: 84%;
       float: left;
eee69d20
     }
 
     .icon {
       margin-right: 4px;
     }
   }
 }
 
 .conversation {
   background: white;
   padding: 9px;
43b171a9
   min-height: 367px;
d5d0ee30
   width: 730px;
3a34499e
   position: relative;
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;
b933b434
     overflow: auto;
43b171a9
   }
 
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
   }
 }