kolab_chat: Larry skin support

This commit is contained in:
Aleksander Machniak 2018-07-09 09:07:34 +00:00
parent 8e5831eef2
commit de44a58938
3 changed files with 17 additions and 0 deletions

View file

@ -68,6 +68,7 @@ class kolab_chat extends rcube_plugin
$this->register_action('action', array($this, 'action'));
if ($this->rc->output->type == 'html' && !$this->rc->output->get_env('framed')) {
$this->include_stylesheet($this->local_skin_path() . '/kolab_chat.css');
$this->rc->output->set_env('kolab_chat_extwin', (bool) $extwin);
$this->rc->output->add_script(
"rcmail.addEventListener('beforeswitch-task', function(p) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View file

@ -0,0 +1,16 @@
#taskbar a.button-chat span.button-inner {
background: url(images/buttons.png) 0 -4px no-repeat;
}
#taskbar a.button-chat:hover span.button-inner,
#taskbar a.button-chat.button-selected span.button-inner {
background-position: 0 -36px;
}
#sections-table #rcmrowkolab-chat .section {
background: url(images/buttons.png) 0 -98px no-repeat;
}
#sections-table #rcmrowkolab-chat.selected .section {
background-position: -1px -69px;
}