app/assets/stylesheets/chat.css.scss
1ec65f29
 .container {
   width: 1000px;
eee69d20
   padding: 10px 17px;
1ec65f29
 }
 
6f81cea1
 .inactive-layer {
   width: 100%;
   height: 98%;
   position: absolute;
   z-index: 990;
   background: rgba(40,40,40,0.72);
 }
 
82fcdc6f
 .chat-alert {
   width: 400px;
   left: 490px;
   background: white;
   margin-bottom: 58px;
   padding: 0 11px;
   position: absolute;
4e3ef079
   @include box-shadow(rgba(33,87,81, 0.4) 0 1px 2px);
82fcdc6f
 
   h1 {
     font-size: 1.4em;
a2cb0145
     color: rgb(59, 76, 78);
82fcdc6f
   }
 
   .close {
     font-size: 18px;
     float: right;
     padding: 11px 0 0;
a2cb0145
 
     &.icon-x {
       color: rgb(59, 76, 78);
       padding: 0;
     }
82fcdc6f
   }
 }
 
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 {
26d636cd
   height: 77px;
399e76db
 }
 
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;
7c06040c
 
     .name {
       overflow: hidden;
       text-overflow: ellipsis;
       white-space: nowrap;
       display: inline-block;
       max-width: 66%;
       float: left;
     }
   }
 
   h2 {
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
     max-width: 66%;
1ec65f29
   }
 
   h3 {
     font-size: 12px;
eee69d20
     color: $status-color;
9d063577
     margin-top: -2px;
eee69d20
 
c4a1e746
     .rolldown {
       clear: both;
7c06040c
       left: 59px;
       width: 72px;
c4a1e746
       font-weight: normal;
       float: left;
9d063577
       z-index: 10;
7c06040c
       margin: 2px;
       position: absolute;
       top: 60px;
9d063577
 
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;
     }
81ab4d54
 
     .logout {
       left: 158px;
       font-weight: normal;
       float: left;
       margin: 2px;
       position: absolute;
       top: 61px;
       color: $status-color;
 
       &:after {
         padding-left: 4px;
       }
     }
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;
14a337d8
       border-radius: 5px;
6621353c
       margin: 0 auto;
       display: block;
eee69d20
     }
1ec65f29
   }
 }
 
 .friends {
d5d0ee30
   height: inherit;
3a34499e
   //overflow-x: hidden;
   //overflow-y: auto;
d5d0ee30
 
1ec65f29
   .group-header {
26d636cd
     margin: 0 3px 3px;
1ec65f29
     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;
 
26d636cd
     margin: 0 -16px 12px -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;
       }
     }
7c06040c
 
     .action {
       background: $bg-roster;
       margin-right: 0;
     }
1ec65f29
   }
eee69d20
 
   .action {
7c06040c
     margin-right: 10px;
     margin-top: -33px;
b9fb7338
     float: right;
     width: 67px;
     color: #7e8b90;
7c06040c
     position: relative;
     width: auto;
     background: #fbfbfb;
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;
7c06040c
   margin-left: 5px;
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
 
299c1fcd
   .history-settings {
     border-bottom: 1px solid $gray-light;
     overflow: auto;
     margin: 0 -9px;
6cfa4f04
     padding: 0 9px 8px;
299c1fcd
 
     .load-history {
6cfa4f04
       font-weight: bold;
299c1fcd
     }
 
     .current {
6cfa4f04
       cursor: default;
299c1fcd
     }
 
6cfa4f04
     .action {
       margin: 0 0 0 5px;
299c1fcd
       padding: 0;
6cfa4f04
       font-weight: bold;
       cursor: default;
       color: black;
299c1fcd
 
6cfa4f04
       &:hover {
         cursor: pointer;
       }
299c1fcd
     }
   }
 
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 {
14a337d8
     width: 580px;
eee69d20
     color: #393939;
     background: $bg-roster;
     border: 1px solid $gray-light;
     border-radius: 5px;
     padding: 0 10px;
     margin-top: 10px;
     margin-left: 45px;
     position: relative;
 
14a337d8
     &.me {
       border-right: 4px solid $app-color;
       width: 577px;
     }
 
eee69d20
     &::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;
6cfa4f04
   margin: 0 -9px;
eee69d20
   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
   }
 }