diff --git a/plugins/kolab_chat/kolab_chat.php b/plugins/kolab_chat/kolab_chat.php index e988e105..03f5e35d 100644 --- a/plugins/kolab_chat/kolab_chat.php +++ b/plugins/kolab_chat/kolab_chat.php @@ -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) { diff --git a/plugins/kolab_chat/skins/larry/images/buttons.png b/plugins/kolab_chat/skins/larry/images/buttons.png new file mode 100644 index 00000000..4a57bdfe Binary files /dev/null and b/plugins/kolab_chat/skins/larry/images/buttons.png differ diff --git a/plugins/kolab_chat/skins/larry/kolab_chat.css b/plugins/kolab_chat/skins/larry/kolab_chat.css new file mode 100644 index 00000000..2d40a9fc --- /dev/null +++ b/plugins/kolab_chat/skins/larry/kolab_chat.css @@ -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; +}