kolab_chat: Larry skin support
This commit is contained in:
parent
8e5831eef2
commit
de44a58938
3 changed files with 17 additions and 0 deletions
|
@ -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) {
|
||||
|
|
BIN
plugins/kolab_chat/skins/larry/images/buttons.png
Normal file
BIN
plugins/kolab_chat/skins/larry/images/buttons.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
16
plugins/kolab_chat/skins/larry/kolab_chat.css
Normal file
16
plugins/kolab_chat/skins/larry/kolab_chat.css
Normal 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;
|
||||
}
|
Loading…
Add table
Reference in a new issue