Skip to content

Commit

Permalink
[fix] correct word break inside tooltips, optimized tooltip code
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalitov committed Feb 8, 2017
1 parent 6633cee commit c9b6d04
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 31 deletions.
21 changes: 21 additions & 0 deletions slideshow_ex/css/widgetex.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.uk-tooltip{
word-break: normal;
}
.uk-grid.uk-form div ul li span[data-uk-tooltip]{
margin-top:5px;
}
.uk-grid.uk-form div ul li span > span[data-uk-tooltip] > i{
color:#ffb105;
margin-left:5px;
text-decoration: none;
font-family: FontAwesome;
display: inline-block;
font-weight: 400;
font-style: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.uk-grid.uk-form div ul li span > span[data-uk-tooltip]>i:before {
content: "\f059";
}
6 changes: 4 additions & 2 deletions slideshow_ex/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

'main' => 'YOOtheme\\Widgetkit\\Widget\\Widget',

'plugin_version' => 'v1.3.3',
'plugin_version' => 'v1.3.5',

'plugin_date' => '19/01/2017',
'plugin_date' => '08/02/2017',

'plugin_logo' => 'https://raw.githubusercontent.com/wiki/rvalitov/widgetkit-slideshow-ex/images/logo.jpg',

Expand Down Expand Up @@ -92,6 +92,8 @@
'init.admin' => function($event, $app) {
$plugin=new WidgetkitExPlugin($app);
$uikit=($plugin->getCSSPrefix($app)=='uk') ? 'uikit' : 'uikit2';
//Shared styles for the Ex widgets
$app['styles']->add('widget-ex', 'plugins/widgets/slideshow_ex/css/widgetex.css', array('widgetkit-application'));
//Adding our own translations:
$app['translator']->addResource('plugins/widgets/slideshow_ex/languages/'.$app['locale'].'.json');
//Edit template:
Expand Down
Loading

0 comments on commit c9b6d04

Please sign in to comment.