From: Klaus Hartl Date: Tue, 3 Feb 2009 22:15:39 +0000 (+0000) Subject: Fixed #4044: In IE6 link pseudo classes still apply if styles have been declared... X-Git-Tag: 1.6~85 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=18cced634dd044212f82f6c681f7dbca440cdadb;p=jquery-ui.git Fixed #4044: In IE6 link pseudo classes still apply if styles have been declared to a only --- diff --git a/themes/base/ui.theme.css b/themes/base/ui.theme.css index 821749759..93e38ac5b 100644 --- a/themes/base/ui.theme.css +++ b/themes/base/ui.theme.css @@ -18,11 +18,11 @@ /* Interaction states ----------------------------------*/ .ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3/*{borderColorDefault}*/; background: #e6e6e6/*{bgColorDefault}*/ url(images/ui-bg_glass_75_e6e6e6_1x400.png)/*{bgImgUrlDefault}*/ 0/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; outline: none; } -.ui-state-default a { color: #555555/*{fcDefault}*/; text-decoration: none; outline: none; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555/*{fcDefault}*/; text-decoration: none; outline: none; } .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999/*{borderColorHover}*/; background: #dadada/*{bgColorHover}*/ url(images/bg_glass_75_dadada_1x400.png)/*{bgImgUrlHover}*/ 0/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcHover}*/; outline: none; } -.ui-state-hover a { color: #212121/*{fcHover}*/; text-decoration: none; outline: none; } +.ui-state-hover a, .ui-state-hover a:hover { color: #212121/*{fcHover}*/; text-decoration: none; outline: none; } .ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa/*{borderColorActive}*/; background: #ffffff/*{bgColorActive}*/ url(images/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 0/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcActive}*/; outline: none; } -.ui-state-active a { color: #212121/*{fcActive}*/; outline: none; text-decoration: none; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121/*{fcActive}*/; outline: none; text-decoration: none; } /* Interaction Cues ----------------------------------*/