diff --git a/themes/seven/ie7.css b/themes/seven/ie7.css index 4ed56dc..6adefe4 100644 --- a/themes/seven/ie7.css +++ b/themes/seven/ie7.css @@ -8,6 +8,10 @@ ul.primary li.active a { float: none !important; display: inline; } +ul.primary li { + zoom: 1; + position: relative; +} ul.primary li a, ul.primary li a.active, ul.primary li a:active, @@ -15,6 +19,7 @@ ul.primary li a:visited, ul.primary li a:hover, ul.primary li.active a { zoom: 1; + position: relative; } ul.admin-list li { position: static; diff --git a/themes/seven/style-rtl.css b/themes/seven/style-rtl.css index df00a0c..6fb8b62 100644 --- a/themes/seven/style-rtl.css +++ b/themes/seven/style-rtl.css @@ -134,7 +134,6 @@ tr td:last-child { border-right: none; } - /** * Fieldsets. */ @@ -168,14 +167,12 @@ a.button { margin-left: 1em; margin-right: 0; } -ul.action-links { - padding: 0 20px 0 20px; -} ul.action-links li { float: right; margin: 0 0 0 1em; } ul.action-links a { + padding-left: 0; padding-right: 15px; background-position: right center; } diff --git a/themes/seven/style.css b/themes/seven/style.css index a3e276e..009fc26 100644 --- a/themes/seven/style.css +++ b/themes/seven/style.css @@ -269,19 +269,16 @@ ul.primary li { margin: 0 2px; } ul.primary li a:link, -ul.primary li a.active { - display: block; - float: left; /* LTR */ - height: 2.60em; - line-height: 2.60em; - padding: 0 18px 8px; -} -ul.primary li a:link, ul.primary li a.active, ul.primary li a:active, ul.primary li a:visited, ul.primary li a:hover, ul.primary li.active a { + display: block; + float: left; /* LTR */ + height: 2.60em; + line-height: 2.60em; + padding: 0 18px 8px; background-color: #a6a7a2; color: #000; font-weight: bold; @@ -419,7 +416,7 @@ ul.admin-list li:last-child { } ul.admin-list li a { margin-left: -30px; /* LTR */ - padding: 0px 0 4px 30px; /* LTR */ + padding: 0 0 4px 30px; /* LTR */ min-height: 0; } ul.admin-list.compact li a { @@ -427,8 +424,8 @@ ul.admin-list.compact li a { padding: 0; } ul.admin-list li div.description a { - margin-left: 0px; /* LTR */ - padding: 0px; + margin-left: 0; /* LTR */ + padding: 0; min-height: inherit; } div.submitted { @@ -681,14 +678,14 @@ a.button:active { border-left-color: #8eB7cd; border-right-color: #8eB7cd; border-bottom-color: #7691a2; - background: url(images/buttons.png) 0px -40px repeat-x; + background: url(images/buttons.png) 0 -40px repeat-x; color: #133B54; } input.form-submit:active { background: #666; color: #fff; border-color: #555; - text-shadow: #222 0px -1px 0px; + text-shadow: #222 0 -1px 0; } input.form-button-disabled, input.form-button-disabled:active { @@ -877,7 +874,7 @@ ol.task-list li.active { } ol.task-list li.done { color: #393; - background: transparent url(images/task-check.png) no-repeat 0px 50%; + background: transparent url(images/task-check.png) no-repeat 0 50%; color: green; } diff --git a/themes/seven/template.php b/themes/seven/template.php index 83793ec..437e9a7 100644 --- a/themes/seven/template.php +++ b/themes/seven/template.php @@ -21,7 +21,7 @@ function seven_preprocess_html(&$vars) { // Add conditional CSS for IE7 and below. drupal_add_css(path_to_theme() . '/ie7.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 7', '!IE' => FALSE), 'weight' => 999, 'preprocess' => FALSE)); // Add conditional CSS for IE6. - drupal_add_css(path_to_theme() . '/ie6.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lt IE 6', '!IE' => FALSE), 'weight' => 999, 'preprocess' => FALSE)); + drupal_add_css(path_to_theme() . '/ie6.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 6', '!IE' => FALSE), 'weight' => 999, 'preprocess' => FALSE)); } /**