diff options
author | Felix Nagel <info@felixnagel.com> | 2011-05-25 01:02:51 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2011-05-25 01:02:51 +0200 |
commit | f21969a0da5ab3fc5ca20f3759dd3374b4571690 (patch) | |
tree | 1f041805afdf9160aa60886ba1fa2cf4d1da48b4 | |
parent | 9b45fb5ccc814b987c5facd9a0550b6b363d043b (diff) | |
download | jquery-ui-f21969a0da5ab3fc5ca20f3759dd3374b4571690.tar.gz jquery-ui-f21969a0da5ab3fc5ca20f3759dd3374b4571690.zip |
fixed: IE7 css problem, see https://github.com/fnagel/jquery-ui/issues/121
-rw-r--r-- | themes/base/jquery.ui.selectmenu.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/themes/base/jquery.ui.selectmenu.css b/themes/base/jquery.ui.selectmenu.css index bc8e83f9d..c6982fc19 100644 --- a/themes/base/jquery.ui.selectmenu.css +++ b/themes/base/jquery.ui.selectmenu.css @@ -8,7 +8,7 @@ .ui-selectmenu-menu-dropdown { } .ui-selectmenu-menu li { padding:0; margin:0; display: block; border-top: 1px dotted transparent; border-bottom: 1px dotted transparent; border-right-width: 0 !important; border-left-width: 0 !important; font-weight: normal !important; } .ui-selectmenu-menu li a,.ui-selectmenu-status { line-height: 1.4em; display: block; padding: .405em 1em; outline:none; text-decoration:none; } -.ui-selectmenu-menu li.ui-state-disabled a { cursor: default; } +.ui-selectmenu-menu li.ui-state-disabled a, .ui-state-disabled { cursor: default; } .ui-selectmenu-menu li.ui-selectmenu-hasIcon a, .ui-selectmenu-hasIcon .ui-selectmenu-status { padding-left: 20px; position: relative; margin-left: 5px; } .ui-selectmenu-menu li .ui-icon, .ui-selectmenu-status .ui-icon { position: absolute; top: 1em; margin-top: -8px; left: 0; } @@ -25,4 +25,6 @@ .ui-selectmenu-menu .ui-selectmenu-group ul { margin: 0; padding: 0; } /* IE6 workaround (dotted transparent borders) */ * html .ui-selectmenu-menu li { border-color: pink; filter:chroma(color=pink); width:100%; } -* html .ui-selectmenu-menu li a { position: relative }
\ No newline at end of file +* html .ui-selectmenu-menu li a { position: relative } +/* IE7 workaround (opacity disabled) */ +*+html .ui-state-disabled, *+html .ui-state-disabled a{ color: silver; }
\ No newline at end of file |