mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-09 00:20:08 +00:00
Clean up less
This commit is contained in:
parent
2a9c3882aa
commit
810bb5134c
@ -12,22 +12,18 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#timsChatTopic {
|
||||||
text-align: left;
|
padding: @wcfGapTiny;
|
||||||
|
.transition(height, .2s);
|
||||||
|
.transition(padding-top, .2s);
|
||||||
|
.transition(padding-bottom, .2s);
|
||||||
|
|
||||||
#timsChatTopic {
|
&.empty {
|
||||||
padding: @wcfGapTiny;
|
height: 0px;
|
||||||
.transition(height, .2s);
|
overflow: hidden;
|
||||||
.transition(padding-top, .2s);
|
border: 0px;
|
||||||
.transition(padding-bottom, .2s);
|
padding: 0px;
|
||||||
|
margin: 0px;
|
||||||
&.empty {
|
|
||||||
height: 0px;
|
|
||||||
overflow: hidden;
|
|
||||||
border: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -217,10 +213,6 @@
|
|||||||
margin-top: @wcfGapMedium;
|
margin-top: @wcfGapMedium;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 801px) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width: 800px) {
|
@media only screen and (max-width: 800px) {
|
||||||
#timsChatMessageContainer {
|
#timsChatMessageContainer {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@ -272,31 +264,30 @@ html.fullscreen {
|
|||||||
#content {
|
#content {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
> div {
|
-moz-box-sizing: border-box;
|
||||||
width: 100%;
|
-webkit-box-sizing: border-box;
|
||||||
height: 100%;
|
box-sizing: border-box;
|
||||||
|
|
||||||
display: -moz-box;
|
display: -moz-box;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
-moz-box-orient: vertical;
|
-moz-box-orient: vertical;
|
||||||
-webkit-box-direction: normal;
|
-webkit-box-direction: normal;
|
||||||
-moz-box-direction: normal;
|
-moz-box-direction: normal;
|
||||||
-webkit-flex-direction: column;
|
-webkit-flex-direction: column;
|
||||||
-ms-flex-direction: column;
|
-ms-flex-direction: column;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.timsChatMessageContainer {
|
.timsChatMessageContainer {
|
||||||
-webkit-box-flex: 1;
|
-webkit-box-flex: 1;
|
||||||
-moz-box-flex: 1;
|
-moz-box-flex: 1;
|
||||||
-webkit-flex: 1 0 auto;
|
-webkit-flex: 1 0 auto;
|
||||||
-ms-flex: 1 0 auto;
|
-ms-flex: 1 0 auto;
|
||||||
flex: 1 0 auto;
|
flex: 1 0 auto;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -304,7 +295,7 @@ html.fullscreen {
|
|||||||
margin-bottom: @wcfGapMedium;
|
margin-bottom: @wcfGapMedium;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tplChat, #tplChatLog {
|
#tplChat {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
@ -90,44 +90,42 @@
|
|||||||
{capture assign='headerNavigation'}{include application='chat' file='navigationInclude'}{/capture}
|
{capture assign='headerNavigation'}{include application='chat' file='navigationInclude'}{/capture}
|
||||||
{include file='header' sandbox=false sidebarOrientation='right'}
|
{include file='header' sandbox=false sidebarOrientation='right'}
|
||||||
|
|
||||||
<div>
|
<div id="timsChatTopic" class="container{if $room->topic|language === ''} empty{/if}">{$room->topic|language}</div>
|
||||||
<div id="timsChatTopic" class="container{if $room->topic|language === ''} empty{/if}">{$room->topic|language}</div>
|
|
||||||
|
|
||||||
<div id="timsChatMessageContainer" class="timsChatMessageContainer marginTop container active">
|
<div id="timsChatMessageContainer" class="timsChatMessageContainer marginTop container active">
|
||||||
<p class="error noJsOnly" style="display: none;">{lang}chat.general.noJs{/lang}</p>
|
<p class="error noJsOnly" style="display: none;">{lang}chat.general.noJs{/lang}</p>
|
||||||
<ul>
|
<ul>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
|
||||||
|
|
||||||
<form id="timsChatForm" action="{link application='chat' controller='Chat' action='Send'}{/link}" method="post">
|
|
||||||
<fieldset>
|
|
||||||
<dl class="wide" id="timsChatInputContainer">
|
|
||||||
<dd>
|
|
||||||
<input id="timsChatInput" accesskey="w" type="text" class="inputText long" name="text" autocomplete="off" maxlength="{@CHAT_MAX_LENGTH}" disabled="disabled" required="required" placeholder="{lang}chat.general.submit.default{/lang}" />
|
|
||||||
<small class="innerError" style="display: none;">Lorem ipsum dolor sit amet.</small>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</fieldset>
|
|
||||||
<button type="submit" class="invisible" accesskey="s"></button>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
{if MODULE_SMILEY && $smileyCategories|count}
|
|
||||||
{include file='messageFormSmilies' wysiwygSelector=''}
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<nav id="timsChatOptions" class="marginTop">
|
|
||||||
<span class="invisible">{lang}chat.general.controls{/lang}</span>
|
|
||||||
<ul class="smallButtons buttonGroup">
|
|
||||||
<li><a id="timsChatAutoscroll" accesskey="d" class="button active timsChatToggle jsTooltip" title="{lang}chat.general.scroll{/lang}" data-status="1"><span class="icon icon16 icon-arrow-down"></span><span class="invisible">{lang}chat.general.scroll{/lang}</span></a></li>{*
|
|
||||||
*}<li><a id="timsChatFullscreen" accesskey="f" class="button timsChatToggle jsTooltip" title="{lang}chat.general.fullscreen{/lang}" data-status="0"><span class="icon icon16 icon-fullscreen"></span><span class="invisible">{lang}chat.general.fullscreen{/lang}</span></a></li>{*
|
|
||||||
*}<li><a id="timsChatNotify" accesskey="n" class="button timsChatToggle jsTooltip" title="{lang}chat.general.notify{/lang}" data-status="0"><span class="icon icon16 icon-bell-alt"></span><span class="invisible">{lang}chat.general.notify{/lang}</span></a></li>{*
|
|
||||||
*}<li{if !MODULE_SMILEY || !$smileyCategories|count} style="display: none;"{/if}><a id="timsChatSmilies" accesskey="e" class="button{if ENABLE_SMILIES_DEFAULT_VALUE} active{/if} timsChatToggle jsTooltip" title="{lang}chat.general.smilies{/lang}" data-status="{@ENABLE_SMILIES_DEFAULT_VALUE}"><span class="icon icon16 icon-smile"></span><span class="invisible">{lang}chat.general.smilies{/lang}</span></a></li>{*
|
|
||||||
*}<li><a id="timsChatClear" class="button jsTooltip" title="{lang}chat.general.clear{/lang}"><span class="icon icon16 icon-remove"></span><span class="invisible">{lang}chat.general.clear{/lang}</span></a></li>{*
|
|
||||||
*}<li><a id="timsChatMark" class="button timsChatToggle jsTooltip" title="{lang}chat.general.mark{/lang}" data-status="0"><span class="icon icon16 icon-check"></span><span class="invisible">{lang}chat.general.mark{/lang}</span></a></li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<form id="timsChatForm" action="{link application='chat' controller='Chat' action='Send'}{/link}" method="post">
|
||||||
|
<fieldset>
|
||||||
|
<dl class="wide" id="timsChatInputContainer">
|
||||||
|
<dd>
|
||||||
|
<input id="timsChatInput" accesskey="w" type="text" class="inputText long" name="text" autocomplete="off" maxlength="{@CHAT_MAX_LENGTH}" disabled="disabled" required="required" placeholder="{lang}chat.general.submit.default{/lang}" />
|
||||||
|
<small class="innerError" style="display: none;">Lorem ipsum dolor sit amet.</small>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
<button type="submit" class="invisible" accesskey="s"></button>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
{if MODULE_SMILEY && $smileyCategories|count}
|
||||||
|
{include file='messageFormSmilies' wysiwygSelector=''}
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
<nav id="timsChatOptions" class="marginTop">
|
||||||
|
<span class="invisible">{lang}chat.general.controls{/lang}</span>
|
||||||
|
<ul class="smallButtons buttonGroup">
|
||||||
|
<li><a id="timsChatAutoscroll" accesskey="d" class="button active timsChatToggle jsTooltip" title="{lang}chat.general.scroll{/lang}" data-status="1"><span class="icon icon16 icon-arrow-down"></span><span class="invisible">{lang}chat.general.scroll{/lang}</span></a></li>{*
|
||||||
|
*}<li><a id="timsChatFullscreen" accesskey="f" class="button timsChatToggle jsTooltip" title="{lang}chat.general.fullscreen{/lang}" data-status="0"><span class="icon icon16 icon-fullscreen"></span><span class="invisible">{lang}chat.general.fullscreen{/lang}</span></a></li>{*
|
||||||
|
*}<li><a id="timsChatNotify" accesskey="n" class="button timsChatToggle jsTooltip" title="{lang}chat.general.notify{/lang}" data-status="0"><span class="icon icon16 icon-bell-alt"></span><span class="invisible">{lang}chat.general.notify{/lang}</span></a></li>{*
|
||||||
|
*}<li{if !MODULE_SMILEY || !$smileyCategories|count} style="display: none;"{/if}><a id="timsChatSmilies" accesskey="e" class="button{if ENABLE_SMILIES_DEFAULT_VALUE} active{/if} timsChatToggle jsTooltip" title="{lang}chat.general.smilies{/lang}" data-status="{@ENABLE_SMILIES_DEFAULT_VALUE}"><span class="icon icon16 icon-smile"></span><span class="invisible">{lang}chat.general.smilies{/lang}</span></a></li>{*
|
||||||
|
*}<li><a id="timsChatClear" class="button jsTooltip" title="{lang}chat.general.clear{/lang}"><span class="icon icon16 icon-remove"></span><span class="invisible">{lang}chat.general.clear{/lang}</span></a></li>{*
|
||||||
|
*}<li><a id="timsChatMark" class="button timsChatToggle jsTooltip" title="{lang}chat.general.mark{/lang}" data-status="0"><span class="icon icon16 icon-check"></span><span class="invisible">{lang}chat.general.mark{/lang}</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
{include file='footer' sandbox=false}
|
{include file='footer' sandbox=false}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user