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

View File

@ -19,7 +19,9 @@
<div>
<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>
</nav>
</fieldset>