diff options
author | Richard D. Worth <rdworth@gmail.com> | 2011-11-09 12:57:52 -0500 |
---|---|---|
committer | Richard D. Worth <rdworth@gmail.com> | 2011-11-09 12:59:23 -0500 |
commit | 6f6e2ded1a9b30f65a34733f3d887c16c162e28a (patch) | |
tree | 0d2304d9e3d5ba5601dabea7ea65775c17cc6110 /themes | |
parent | 1e28f833895558d1017250d2eed845be1a950b21 (diff) | |
download | jquery-ui-6f6e2ded1a9b30f65a34733f3d887c16c162e28a.tar.gz jquery-ui-6f6e2ded1a9b30f65a34733f3d887c16c162e28a.zip |
Theme base core: Updated clearfix to 'new micro clearfix hack' by Nicolas Gallagher http://nicolasgallagher.com/micro-clearfix-hack/ . Fixed #7838 - Clearfix breaks after runs through YUI Compressor
(cherry picked from commit c21a5b4451f5eded288de4482b9508e2bd13756d)
Diffstat (limited to 'themes')
-rw-r--r-- | themes/base/jquery.ui.core.css | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/themes/base/jquery.ui.core.css b/themes/base/jquery.ui.core.css index 59e14d572..143d6c240 100644 --- a/themes/base/jquery.ui.core.css +++ b/themes/base/jquery.ui.core.css @@ -13,12 +13,9 @@ .ui-helper-hidden { display: none; } .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.ui-helper-clearfix { display: inline-block; } -/* required comment for clearfix to work in Opera \*/ -* html .ui-helper-clearfix { height:1%; } -.ui-helper-clearfix { display:block; } -/* end clearfix */ +.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } +.ui-helper-clearfix:after { clear: both; } +.ui-helper-clearfix { zoom: 1; } .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } |