diff --git a/file/style/be.bastelstu.wcf.chat.less b/file/style/be.bastelstu.wcf.chat.less index 421dc30..68c9462 100644 --- a/file/style/be.bastelstu.wcf.chat.less +++ b/file/style/be.bastelstu.wcf.chat.less @@ -58,6 +58,71 @@ } } + #privateChannelsMenu { + .transition(opacity, .2s); + .marginTop; + z-index: -1; + position: absolute; + opacity: 0; + + &.shown { + opacity: 1; + z-index: 130; + + ~ .timsChatMessageContainer { + margin-left: 35px; + border-top-left-radius: 0; + } + } + + > ul { + text-align: right; + + > li:first-child { + > .userAvatar.framed { + img, > canvas, > .icon { + border-radius: @wcfContainerBorderRadius 0 0 0; + } + } + } + + > li:last-child { + > .userAvatar.framed { + img, > canvas, > .icon { + border-radius: 0 0 0 @wcfContainerBorderRadius; + } + } + } + + > li { + margin-bottom: -1px; + background-color: @wcfContainerBackgroundColor; + + > .userAvatar, .userAvatar > .icon { + cursor: pointer; + } + + > .userAvatar.framed { + > .icon { + background-color: @wcfContentBackgroundColor; + border: 1px solid @wcfContainerBorderColor; + padding: 1px; + } + } + + &.active { + > .userAvatar.framed { + > img, > canvas, > .icon { + border-right-color: @wcfContentBackgroundColor; + + border-radius: @wcfContainerBorderRadius 0 0 @wcfContainerBorderRadius; + } + } + } + } + } + } + .timsChatMessageContainer { height: 320px; overflow-y: scroll; diff --git a/template/chat.tpl b/template/chat.tpl index c607415..e872940 100644 --- a/template/chat.tpl +++ b/template/chat.tpl @@ -53,12 +53,6 @@ title: ' {if SHOW_VERSION_NUMBER} {PACKAGE_VERSION}{/if}' }); }); - - $('#chatLogLink').click(function (event) { - event.preventDefault(); - - be.bastelstu.Chat.Log.loadOverlay(); - }); }); })(jQuery, this); //]]> @@ -67,7 +61,6 @@ {capture assign='sidebar'}{include application='chat' file='sidebar'}{/capture} - {capture assign='headerNavigation'}{include application='chat' file='navigationInclude'}{/capture} {include file='header' sandbox=false sidebarOrientation='right'}
@@ -75,6 +68,12 @@ {$room->topic|language}
+
+ +
+