1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Improve style

This commit is contained in:
Tim Düsterhus 2013-04-22 17:04:23 +02:00
parent 541aa11eaa
commit 739890d381

View File

@ -30,26 +30,16 @@
height: 200px; height: 200px;
overflow-y: scroll; overflow-y: scroll;
overflow-x: hidden; overflow-x: hidden;
padding-left: 7px !important;
ul { ul {
display: table; display: table;
width: 100%;
.timsChatMessage { .timsChatMessage {
min-height: 16px; min-height: 16px;
display: table-row; display: table-row;
.transition(opacity, .2s); .transition(opacity, .2s);
time:first-child {
&::before {
content: "[";
}
&::after {
content: "]";
}
}
.username { .username {
font-weight: bold; font-weight: bold;
} }
@ -60,12 +50,25 @@
vertical-align: top; vertical-align: top;
} }
time {
&::before {
content: "[";
}
&::after {
content: "]";
}
}
.usernameContainer { .usernameContainer {
text-align: right; text-align: right;
min-width: 100px; min-width: 100px;
padding: 0px 5px; padding: 0px 5px;
white-space: nowrap; white-space: nowrap;
} }
.text {
width: 100%;
}
} }
&.unloaded { &.unloaded {
@ -76,6 +79,10 @@
.icon; .icon;
.icon16; .icon16;
} }
&:nth-child(even) {
background-color: @wcfContainerAccentBackgroundColor;
}
} }
} }
} }