1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Clean up LESS a bit

see #54
This commit is contained in:
Tim Düsterhus 2013-09-15 22:39:40 +02:00
parent 829c01f1d5
commit a82d6bd6b5
2 changed files with 16 additions and 35 deletions

View File

@ -29,10 +29,6 @@
} }
#tplChat { #tplChat {
#main > div {
overflow: hidden;
}
#timsChatTopic { #timsChatTopic {
padding: @wcfGapTiny; padding: @wcfGapTiny;
.transition(height, .2s); .transition(height, .2s);
@ -45,10 +41,6 @@
border: 0px; border: 0px;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
~ #timsChatMessageContainer {
margin-top: 0;
}
} }
.jsTopicCloser { .jsTopicCloser {
@ -67,13 +59,13 @@
&.shown { &.shown {
opacity: 1; opacity: 1;
z-index: 130; z-index: 130;
~ .timsChatMessageContainer { ~ .timsChatMessageContainer {
margin-left: 35px; margin-left: 35px;
border-top-left-radius: 0; border-top-left-radius: 0;
} }
} }
> ul { > ul {
text-align: right; text-align: right;
@ -84,7 +76,7 @@
} }
} }
} }
> li:last-child { > li:last-child {
> .userAvatar.framed { > .userAvatar.framed {
img, > canvas, > .icon { img, > canvas, > .icon {
@ -92,7 +84,7 @@
} }
} }
} }
> li { > li {
margin-bottom: -1px; margin-bottom: -1px;
background-color: @wcfContainerBackgroundColor; background-color: @wcfContainerBackgroundColor;
@ -181,7 +173,7 @@
} }
&:nth-child(even) { &:nth-child(even) {
> .innerMessageContainer.bubble .innerMessage, .innerMessageContainer.right.bubble .innerMessage { > .innerMessageContainer.bubble .innerMessage {
background-color: @wcfContainerAccentBackgroundColor; background-color: @wcfContainerAccentBackgroundColor;
&:after { &:after {
@ -213,7 +205,6 @@
float: right; float: right;
} }
.username { .username {
font-weight: bold; font-weight: bold;
} }
@ -400,13 +391,14 @@
#timsChatRoomList { #timsChatRoomList {
> div { > div {
> div { > div {
margin-top: @wcfGapMedium;
text-align: center; text-align: center;
} }
} }
} }
#smilies { #smilies {
margin-top: @wcfGapMedium;
li { li {
.transition(opacity, .2s); .transition(opacity, .2s);
} }
@ -416,14 +408,6 @@
opacity: .5; opacity: .5;
} }
} }
margin-top: @wcfGapMedium;
}
@media only screen and (max-width: 800px) {
.timsChatMessage .text li > time, #smilies {
display: none !important;
}
} }
#timsChatOptions { #timsChatOptions {
@ -432,17 +416,6 @@
} }
} }
#toggleRooms .ajaxLoad {
position: absolute;
right: 10px;
top: 7px;
display: none;
}
#timsChatCopyright {
.textShadow(@wcfContentBackgroundColor);
}
#timsChatCopyrightDialog > div { #timsChatCopyrightDialog > div {
background-position: right center; background-position: right center;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -457,6 +430,12 @@
animation-timing-function: linear; animation-timing-function: linear;
border-color: @wcfInputHoverBorderColor; border-color: @wcfInputHoverBorderColor;
} }
@media only screen and (max-width: 800px) {
.timsChatMessage .text li > time, #smilies {
display: none !important;
}
}
} }
html.fullscreen { html.fullscreen {

View File

@ -19,7 +19,9 @@
<div> <div>
<ul> <ul>
</ul> </ul>
<div><button type="button">{lang}chat.general.forceRefresh{/lang}</button></div> <div class="marginTop">
<button type="button">{lang}chat.general.forceRefresh{/lang}</button>
</div>
</div> </div>
</nav> </nav>
</fieldset> </fieldset>