@border-color: #999; .chat-window { border-bottom: none; position: absolute; bottom: 0px; right: 10px; height: 260px; width: 220px; background-color: white; z-index: 10; .header { h3 { background-color: rgb(40,40,40); border: 1px solid #222; border-bottom: none; color: white; font-size: 12px; line-height: 12px; padding: 4px 6px 5px; font-weight: normal; cursor: pointer; } position: relative; .window-controls { position: absolute; top: 0px; right: 4px; bottom: 0px; color: white; cursor: pointer; &:hover { background-color: black; } .minimize-toggle { width: 12px; height: 100%; padding: 0 4px; background-repeat: no-repeat; background-position: 4px center; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAKlmlDQ1BJQ0MgUHJvZmlsZQAASImVlgdQU+kWx7970xstEOmE3rt0KaGHIh0EGyEJnRgSgoDYEVdgRRERwQosVcG1AGJDLFhYBCzYN8iioq6LBVFReRd4hPfevJ0378yc3N+cOfO/53y538wfAHINi89PhWUASONlCEJ93OlLomPouCcAC8iAADSBEYst5DOCgwPA38anewCaft42ndb6+77/GrIcrpANABSMcBxHyE5D+CSSRWy+IAMAlBtS11mdwZ9mDsLyAmRAhLOmOWGWi6Y5bpYPzfSEh3ogjOjgySyWIAEAUidSp2eyExAdkhhhCx4niQcAGdkcuLATWYg2eXoGk7S0VdOci7BB3L/oJPybZpxEk8VKkPDsLjOB90wS8lNZ2f/ncfzvSEsVzb1DHUmyMCXMf3pn5Myy2CyvsDlO5DID5pif4R46x0kZzHBJj8g3Yo5FKRGMOU5Z5S/p58UtDpLoCz1i5jgnMTxqjjlcT685FqwKlfQLM8O85vs9Fs9xMssveI5ZgpldZpib6hM6P3OwZE5e6mLJLvECb0kPVzi/b0ZiuK+EkQ9A0p/kzZTsK/Cd108NlmgKRKGSc+DyIiSaHJan5GxBGMgGPMAGgYAFhCADcIEgg5uVMT28xyp+tiApITGDzkBuANeEzuSxzUzoVhaW1mD6Ps3+XR/uz9wTiIafr22oBsDLACkWz9fCEM36TgBoavM1rfMAyCkBcGYjWyTInK2hp38wgAikkQm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/ZP3DA7UDzQbWDhQe/Hko6dP+wz+HWKr2qsmpsdWb185rImu5f7H9pqFWuLaz9XserE9eH1l9usGtoaFRtLG6Cm0RNo0eWHek76nm0vdm0+XALraXwGDgmOvbq19hf7x33P951wv5E80ndk/tOUU8VtEKt2a1jbYlt4vbo9v7Tfqe7Opw6Tp0xO1N3VvNs5TmFc8Xniefzzk9dyLkw3snvfHMx4eJw18quR5eWXLpzOeRy7xX/K9euel+91M3ovnDN+drZ647XT9+wv9F20/Zma49Nz6nfbH471Wvb23rL7lZ7n0NfR/+i/vMDrgMXb3vevnqHeefm3cV3++9F3Ls/uGxQfJ9z/+WD1AfvHmY+nHy04THmccETmSdlT1WfVv1u+HuL2FZ8bshzqOdZ2LNHw+zh138I//g2kvec8rzshcaLhpdWL8+Oeo/2vVr6auQ1//Xkm/w/Zf/c99bg7cm/3P7qGVsyNvJO8G7qfdEHpQ91Hxd+7BoPHn/6Ke3T5ETBZ6XP9V/sv3R/jfr6YnL1N9y38u+G3zt++P94PJU2NcVnCVgzVgCFJBwfD8D7OgAo0QBQ+wAgSs363ZmAZj36DIG/41lPPBO2AFQjHiTaDQBf5HkAKekgLItkMJLhbgC2tpbkP0MYb201q0VqQ6xJ2dTUB8Qj4gwB+D44NTXZNjX1vRYZ9iEAnZ9mffZ0BJgitQFfhpXV1TNrwX/GPwACZfVkyDPtLwAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB90GEwkYOX1Xg14AAAAVSURBVChTY2AYBYMC/CcRkK6B5gAA7lZfobSTqEkAAAAASUVORK5CYII=); } } .new-message-alert { display: none; cursor: pointer; position: absolute; padding: 4px; top: -16px; left: 35px; background-color: red; color: white; font-weight: bold; padding: 1px 6px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; &:after { border: 3px solid red; border-right: 3px solid transparent; border-bottom: 3px solid transparent; content: ''; position: absolute; left: 6px; bottom: -6px; } } } .connected-users { font-size: 10px; padding: 4px; background-color: #ddd; border: 1px solid @border-color; border-top: none; } .sent-message-area { border: 1px solid @border-color; border-top: none; border-bottom: none; position: absolute; top: 22px; bottom: 28px; left: 0px; right: 0px; font-size: 12px; font-family: arial, san-serif; overflow-y: scroll; .chat-block { position: relative; padding-top: 4px; padding-bottom: 4px; .message-block { min-height: 40px; margin-bottom: 5px; } .timeSinceMessage { color: @border-color; text-align:center; padding-bottom: 8px; } .avatar { float: left; width: 44px; height: 44px; } .name { font-weight: bold; color: #999; margin-top: 0; } .message { margin: 3px; } } a.load-older-messages { padding: 10px; background-color: #eee; text-align:center; display: block; &:hover { background-color: #ddd; } } } @new-message-area-height: 27px; @new-message-area-padding-top: 3px; .new-message-area { position: absolute; bottom: 0px; height: @new-message-area-height; left: 0px; right: 0px; border: 1px solid @border-color; border-bottom: none; textarea { height: @new-message-area-height - 2 * @new-message-area-padding-top; width: 212px; border: none; padding: @new-message-area-padding-top; margin: 0; resize: none; font-size: 12px; font-family: arial, san-serif; color: #333; } } } .chat-window.disconnected { .sent-message-area { opacity: 0.6; } } .chat-window.new-messages { .header { h3 { background-color: #049cdb; border-color: darken(#049cdb, 10%); } .new-message-alert { display: block; } .window-controls { &:hover { background-color: darken(#049cdb, 10%); } } } } .chat-window.minimized { .header { .window-controls { .minimize-toggle { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAKnWlDQ1BJQ0MgUHJvZmlsZQAAeNqtlndQk2sWxs/3femFlhABKaF3pEgXSOihCNLBRkhCJ8aQICB2Ll6BK4qKCFbwIoiC1wKIDbFguyhYsN8gFxV1vViwobJ/sMTd2d0/dmbPzDvzmzPPPO857/vPA0Dby5dIslE1gByxTBoV5MtOSExiEx8BAWhABkOw4gtyJdzIyDD4r/XhDiAAADdt+RJJNvxvpS4U5QoAkEgASBHmCnIAkKMASLlAIpUBYBwAMFkik8gAMCEAMKUJiUkAWD4AMNMmuRwAmCmTvBsAmNKYKD8A7CgA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