diff options
author | Jasper de Groot <mail@ugomobi.com> | 2014-11-07 10:43:32 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2015-01-27 13:23:53 +0100 |
commit | 79c4fa1e7a09a3d28f0f8ff7a5b9f41a6d6e123d (patch) | |
tree | 0e3cd03694ac7c14c21e58c7171f2d6a9c483942 /ui/tooltip.js | |
parent | 0aa4e989efc66c0210cb7c1ac324b40c9d0e24f7 (diff) | |
download | jquery-ui-79c4fa1e7a09a3d28f0f8ff7a5b9f41a6d6e123d.tar.gz jquery-ui-79c4fa1e7a09a3d28f0f8ff7a5b9f41a6d6e123d.zip |
Theme: Improve default theme styling
Changes tooltip to use the ui-widget-shadow class, which now applies the
box-shadow style. .ui-widget-shadow was created when box-shadow wasn't
available. By now, there's no point in faking a custom shadow anymore.
This removes the only non-structural CSS from a widget-specific file.
Updates demos to use the same font-family, removes unused images.
Will be available as the new default theme on ThemeRoller called "Base",
while "UI Smoothness" and "UI Lightness" will still be available in the
gallery.
Fixes #10617
Fixes #10880
Closes gh-1436
Ref jquery/download.jqueryui.com#248
Diffstat (limited to 'ui/tooltip.js')
-rw-r--r-- | ui/tooltip.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/tooltip.js b/ui/tooltip.js index 85c64f2a0..6a9039afe 100644 --- a/ui/tooltip.js +++ b/ui/tooltip.js @@ -406,7 +406,8 @@ return $.widget( "ui.tooltip", { _tooltip: function( element ) { var tooltip = $( "<div>" ) .attr( "role", "tooltip" ) - .addClass( "ui-tooltip ui-widget ui-corner-all ui-widget-content " + + // TODO move to classes option + .addClass( "ui-tooltip ui-widget ui-widget-shadow ui-corner-all ui-widget-content " + ( this.options.tooltipClass || "" ) ), id = tooltip.uniqueId().attr( "id" ); |