2012-01-07 16:47:38 +00:00
|
|
|
/**
|
2012-03-12 16:18:15 +00:00
|
|
|
* Styles for Tims Chat
|
2012-01-07 16:47:38 +00:00
|
|
|
*
|
|
|
|
* @author Tim Düsterhus, Maximilian Mader
|
2012-01-28 16:50:33 +00:00
|
|
|
* @copyright 2010-2012 Tim Düsterhus
|
2012-01-07 16:47:38 +00:00
|
|
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
2012-03-12 16:18:15 +00:00
|
|
|
* @package be.bastelstu.wcf.chat
|
2012-01-07 16:47:38 +00:00
|
|
|
*/
|
2011-12-26 20:00:11 +00:00
|
|
|
|
2012-04-14 22:21:33 +00:00
|
|
|
#content {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2012-02-05 16:21:43 +00:00
|
|
|
#timsChatRoomContent {
|
2011-12-26 20:00:11 +00:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2012-04-14 22:21:33 +00:00
|
|
|
.sidebar {
|
2011-12-26 20:00:11 +00:00
|
|
|
margin-bottom: -20px !important;
|
|
|
|
overflow: auto;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
li {
|
|
|
|
a {
|
|
|
|
color: #6699CC;
|
|
|
|
display: block;
|
|
|
|
padding: 5px 25px 7px 35px;
|
|
|
|
text-shadow: 0 1px 0 #FFFFFF;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-02-06 17:35:09 +00:00
|
|
|
#timsChatTopic, #smileyList {
|
2011-12-26 20:00:11 +00:00
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2012-02-05 16:21:43 +00:00
|
|
|
.timsChatMessageContainer {
|
2011-12-26 20:00:11 +00:00
|
|
|
height: 200px;
|
|
|
|
overflow-y: scroll;
|
2012-01-07 16:20:21 +00:00
|
|
|
overflow-x: hidden;
|
2011-12-26 20:00:11 +00:00
|
|
|
padding-left: 7px !important;
|
|
|
|
}
|
|
|
|
|
2012-02-06 17:35:09 +00:00
|
|
|
#smileyList .smilies {
|
2011-12-26 20:00:11 +00:00
|
|
|
li {
|
|
|
|
display: inline;
|
|
|
|
margin: 5px 5px 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-02-05 16:21:43 +00:00
|
|
|
#timsChatForm {
|
2011-12-26 20:00:11 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
margin-top: 10px;
|
|
|
|
// Fix to align chatInput in center
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2012-02-05 16:21:43 +00:00
|
|
|
#timsChatInput {
|
2011-12-26 20:00:11 +00:00
|
|
|
position: relative;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
|
2012-04-14 22:21:33 +00:00
|
|
|
#timsChatControls {
|
|
|
|
position: relative;
|
|
|
|
border-radius: 5px 5px 0 5px;
|
|
|
|
}
|
|
|
|
|
2012-02-05 16:21:43 +00:00
|
|
|
#timsChatOptions {
|
2012-04-14 22:21:33 +00:00
|
|
|
bottom: -29px;
|
|
|
|
margin-left: 0;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
|
2012-02-06 17:35:09 +00:00
|
|
|
> ul {
|
2012-04-14 22:21:33 +00:00
|
|
|
margin-right: -1px;
|
2012-02-06 17:35:09 +00:00
|
|
|
text-align: right;
|
2012-04-14 22:21:33 +00:00
|
|
|
|
|
|
|
> li {
|
|
|
|
> a {
|
|
|
|
&.button {
|
|
|
|
border-radius: 0 0 0 0;
|
|
|
|
margin: 0;
|
|
|
|
padding-right: 7px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: -5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> li:first-child {
|
|
|
|
> a {
|
|
|
|
border-bottom-left-radius: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> li:last-child {
|
|
|
|
> a {
|
|
|
|
border-bottom-right-radius: 14px;
|
|
|
|
}
|
|
|
|
}
|
2012-02-06 17:35:09 +00:00
|
|
|
}
|
2011-12-26 20:00:11 +00:00
|
|
|
}
|
|
|
|
|
2012-02-05 16:21:43 +00:00
|
|
|
#timsChatUserList {
|
|
|
|
.timsChatUserMenu {
|
2011-12-26 20:00:11 +00:00
|
|
|
display: none;
|
|
|
|
li {
|
|
|
|
a {
|
|
|
|
margin-left: 30px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> li {
|
|
|
|
a {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-03-23 21:52:46 +00:00
|
|
|
.timsChatAway {
|
2012-04-20 20:14:24 +00:00
|
|
|
opacity: .5;
|
2012-03-23 21:52:46 +00:00
|
|
|
}
|
2011-12-26 20:00:11 +00:00
|
|
|
}
|
|
|
|
|
2012-02-05 16:21:43 +00:00
|
|
|
.timsChatMessage {
|
2011-12-26 20:00:11 +00:00
|
|
|
padding-left: 16px;
|
|
|
|
min-height: 16px;
|
2012-03-22 16:31:37 +00:00
|
|
|
clear: both;
|
2011-12-26 20:00:11 +00:00
|
|
|
|
|
|
|
time {
|
|
|
|
font-size: .8em;
|
|
|
|
&::before, &::after {
|
|
|
|
font-size: .8em;
|
|
|
|
}
|
|
|
|
&::before {
|
|
|
|
content: "[";
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
content: "]";
|
|
|
|
}
|
|
|
|
}
|
2012-02-05 16:21:43 +00:00
|
|
|
|
2012-02-05 20:35:56 +00:00
|
|
|
&.unloaded {
|
2012-02-05 16:21:43 +00:00
|
|
|
opacity: 0.4;
|
|
|
|
}
|
2011-12-26 20:00:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ajaxLoad {
|
|
|
|
background: {
|
|
|
|
position: right center;
|
|
|
|
repeat: no-repeat;
|
2012-06-29 19:53:10 +00:00
|
|
|
size: auto 100%;
|
2011-12-26 20:00:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-02-05 16:21:43 +00:00
|
|
|
.timsChatSidebarTabs {
|
2011-12-26 20:00:11 +00:00
|
|
|
height: 32px;
|
|
|
|
z-index: 101;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.left & {
|
|
|
|
margin-right: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right & {
|
|
|
|
margin-left: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
|
|
border-bottom: 1px solid #FFFFFF;
|
|
|
|
height: 31px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
width: 50%;
|
|
|
|
float: left;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: rgba(0, 0, 0, 0.4);
|
|
|
|
text-shadow: none;
|
|
|
|
height: 22px;
|
|
|
|
padding: 9px 0 0;
|
|
|
|
|
|
|
|
-moz-transition-property: border-radius, background-color, font-size; -moz-transition-duration: .2s;
|
|
|
|
-webkit-transition-property: border-radius, background-color, font-size; -webkit-transition-duration: .2s;
|
|
|
|
.collapsed & {
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active a {
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
border-bottom: 1px solid #BBCCDD;
|
|
|
|
border-radius: 0 0 7px 7px;
|
|
|
|
color: #000000;
|
|
|
|
font-size: 130%;
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
height: 23px;
|
|
|
|
padding: 7px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child.active a {
|
|
|
|
border-radius: 0 0 7px 0;
|
|
|
|
border-right: 1px solid #BBCCDD;
|
|
|
|
|
|
|
|
.right & {
|
|
|
|
margin-left: -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child.active a {
|
|
|
|
border-radius: 0 0 0 7px;
|
|
|
|
border-left: 1px solid #BBCCDD;
|
|
|
|
|
|
|
|
.left & {
|
|
|
|
margin-right: -1px;
|
|
|
|
}
|
|
|
|
}
|
2012-01-07 15:50:17 +00:00
|
|
|
|
2012-04-14 22:21:33 +00:00
|
|
|
&.active .badge {
|
2012-01-07 15:50:17 +00:00
|
|
|
font-size: 65% !important;
|
|
|
|
color: #fff;
|
|
|
|
background-color: #369;
|
|
|
|
|
|
|
|
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 1);
|
|
|
|
-moz-box-shadow: 0 0 1px rgba(255, 255, 255, 1);
|
|
|
|
-ms-box-shadow: 0 0 1px rgba(255, 255, 255, 1);
|
|
|
|
-o-box-shadow: 0 0 1px rgba(255, 255, 255, 1);
|
|
|
|
box-shadow: 0 0 1px rgba(255, 255, 255, 1);
|
|
|
|
}
|
2011-12-26 20:00:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-02-05 16:21:43 +00:00
|
|
|
#timsChatRoomList {
|
2011-12-26 20:00:11 +00:00
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebarContainer {
|
|
|
|
overflow-y: auto;
|
|
|
|
height: 420px;
|
|
|
|
width: 100%;
|
2012-01-15 20:14:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebarContainer a {
|
|
|
|
outline: none;
|
2012-02-04 21:37:54 +00:00
|
|
|
overflow: hidden;
|
2012-01-15 20:14:48 +00:00
|
|
|
}
|
|
|
|
|
2012-02-05 16:21:43 +00:00
|
|
|
#timsChatCopyright {
|
2012-01-15 20:14:48 +00:00
|
|
|
bottom: 5px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebarContent {
|
2012-04-14 22:21:33 +00:00
|
|
|
padding-top: 0px;
|
2012-01-15 20:14:48 +00:00
|
|
|
> div {
|
|
|
|
ul {
|
|
|
|
> li {
|
|
|
|
margin-top: 5px;
|
|
|
|
background-color: transparent !important;
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
2012-04-14 22:21:33 +00:00
|
|
|
|
2012-01-15 20:14:48 +00:00
|
|
|
> li.activeMenuItem {
|
|
|
|
> a {
|
2012-03-23 21:52:46 +00:00
|
|
|
background-color: #FFFFFF;
|
|
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
|
2012-01-15 20:14:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-06-13 15:55:20 +00:00
|
|
|
}
|
|
|
|
|
2012-06-28 16:26:55 +00:00
|
|
|
html.fullscreen {
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
#pageHeader, #pageFooter {
|
|
|
|
display: none;
|
2012-06-13 15:55:20 +00:00
|
|
|
}
|
2012-06-28 16:26:55 +00:00
|
|
|
|
|
|
|
#tplChat {
|
2012-06-13 15:55:20 +00:00
|
|
|
height: 100%;
|
2012-06-28 16:26:55 +00:00
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
#main {
|
2012-06-13 15:55:20 +00:00
|
|
|
height: 100%;
|
2012-06-28 16:26:55 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
> div, .sidebar, #sidebarContainer {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2012-06-13 15:55:20 +00:00
|
|
|
}
|
|
|
|
}
|
2012-04-14 22:21:33 +00:00
|
|
|
}
|