diff options
author | hanakin <midaym@gmail.com> | 2014-09-11 17:33:13 +0200 |
---|---|---|
committer | hanakin <midaym@gmail.com> | 2014-09-11 17:33:30 +0200 |
commit | 7618e0387c32634f52b8e290bb1a1324e10dc5d3 (patch) | |
tree | 7b88478f08b89b8235d0d77562d4006e7495616b /phpBB/styles/prosilver/theme/tweaks.css | |
parent | 7d6ceb81c1891ad1cfe518b7f2f0cc62968ad21e (diff) | |
download | forums-7618e0387c32634f52b8e290bb1a1324e10dc5d3.tar forums-7618e0387c32634f52b8e290bb1a1324e10dc5d3.tar.gz forums-7618e0387c32634f52b8e290bb1a1324e10dc5d3.tar.bz2 forums-7618e0387c32634f52b8e290bb1a1324e10dc5d3.tar.xz forums-7618e0387c32634f52b8e290bb1a1324e10dc5d3.zip |
[ticket/13009] Remove legacy browser hacks
PHPBB3-13009
Diffstat (limited to 'phpBB/styles/prosilver/theme/tweaks.css')
-rw-r--r-- | phpBB/styles/prosilver/theme/tweaks.css | 79 |
1 files changed, 14 insertions, 65 deletions
diff --git a/phpBB/styles/prosilver/theme/tweaks.css b/phpBB/styles/prosilver/theme/tweaks.css index 851b3a6bb6..d52ac6dee8 100644 --- a/phpBB/styles/prosilver/theme/tweaks.css +++ b/phpBB/styles/prosilver/theme/tweaks.css @@ -1,78 +1,27 @@ /* Style Sheet Tweaks -These style definitions are IE 7 and 8 specific -tweaks required due to its poor CSS support. --------------------------------------------------*/ +These style definitions are IE 8 & 9 only. +They are required due to the poor CSS support in IE browsers. +------------------------------------------------------------------------------*/ -/* Clear float fix for IE7 */ -.inner { - zoom: 1; -} +/* IE 8 Tweaks (value)\9 equates to IE <= 8 +------------------------------------------------------------------------------*/ -ul.linklist { - zoom: 1; -} +/* Clear float fix */ +.inner, ul.linklist { zoom: 1\9; } /* Align checkboxes/radio buttons nicely */ -dd label input { - vertical-align: text-bottom; - *vertical-align: middle; -} +dd label input { vertical-align: text-bottom\9; } -/* Simple fix so forum and topic lists always have a height set */ -dl.icon { - *height: 35px; -} +/* Fixes header-avatar aspect-ratio */ +.header-avatar img { height: 20px\9; } -/* Correctly clear floating for details on profile view */ -dl.details dd { - *margin-left: 30%; - *float: none; -} - -/* Headerbar height fix for IE7 */ -#site-description p { - *margin-bottom: 1.0em; -} - -/* Forum list column styles for IE7 */ -dl.icon dt, dl.icon dd { - *min-height: 32px; -} - -dd.posts, dd.topics, dd.views, dd.extra, dd.mark { - *width: 79px; -} - -dd.lastpost, dd.redirect, dd.moderation, dd.time, dd.info { - *width: 249px; -} - -dd.option { - *width: 124px; -} +/* IE8 often can't handle max-width in %, so we use px instead */ +.postprofile .avatar img { max-width: 150px\9; } -/* Notifications list for IE7 */ -.dropdown-extended { - *left: 0; -} -.dropdown-extended .header_settings { - *position: absolute; - *right: 10px; - *top: 0; -} -.icon-notification { - *z-index: 2; -} +/* IE 9 Tweaks +------------------------------------------------------------------------------*/ -/* Fixes header-avatar aspect-ratio in IE8 */ -.header-avatar img { - height: 20px; -} -/* IE8 often can't handle max-width in %, so we use px instead */ -.postprofile .avatar img { - max-width: 150px; -} |