diff options
author | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-05-23 15:13:58 +0300 |
---|---|---|
committer | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-05-23 15:13:58 +0300 |
commit | 110ce809afb1344c189cc8e1c7443d26789f78e3 (patch) | |
tree | 33a19c213e74d3106b7a3cb8029ac722eee5cd11 /phpBB/styles | |
parent | 4b0d51adea5ca0214e917c61c7920ca4d057c06d (diff) | |
download | forums-110ce809afb1344c189cc8e1c7443d26789f78e3.tar forums-110ce809afb1344c189cc8e1c7443d26789f78e3.tar.gz forums-110ce809afb1344c189cc8e1c7443d26789f78e3.tar.bz2 forums-110ce809afb1344c189cc8e1c7443d26789f78e3.tar.xz forums-110ce809afb1344c189cc8e1c7443d26789f78e3.zip |
[ticket/11564] Notifications popup fixes
Fix width issue with vertical scrollbar
Correctly absolutely position it above link, allowing
style authors to move notifications link around in style
Fix IE7 positioning
PHPBB3-11564
Diffstat (limited to 'phpBB/styles')
-rw-r--r-- | phpBB/styles/prosilver/theme/common.css | 19 | ||||
-rw-r--r-- | phpBB/styles/prosilver/theme/tweaks.css | 19 |
2 files changed, 33 insertions, 5 deletions
diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index 26ec23b2e6..89b3ab7ada 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -306,8 +306,12 @@ a#logo:hover { ul.linklist { display: block; margin: 0; - height: 4%; - overflow: hidden; +} + +ul.linklist:after { + content: ''; + display: block; + clear: both; } #cp-main .panel { @@ -689,28 +693,33 @@ p.rules a { vertical-align: text-bottom; } +.icon-notification { + position: relative; +} + #notification_list { display: none; position: absolute; + left: 0; width: 330px; z-index: 1; border: 1px solid; box-shadow: 3px 3px 5px darkgray; border-radius: 5px; - margin-top: 8px; + top: 32px; } #notification_list ul { max-height: 350px; overflow-y: auto; overflow-x: hidden; + clear: both; } #notification_list ul li { - width: 310px; padding: 10px; margin: 0; - float: left; + float: none; border-bottom: 1px solid; list-style-type: none; font-size: 0.95em; diff --git a/phpBB/styles/prosilver/theme/tweaks.css b/phpBB/styles/prosilver/theme/tweaks.css index 89510aa32f..9e34ff5af4 100644 --- a/phpBB/styles/prosilver/theme/tweaks.css +++ b/phpBB/styles/prosilver/theme/tweaks.css @@ -9,6 +9,10 @@ tweaks required due to its poor CSS support. zoom: 1; } +ul.linklist { + zoom: 1; +} + /* Align checkboxes/radio buttons nicely */ dd label input { vertical-align: text-bottom; @@ -47,3 +51,18 @@ dd.lastpost, dd.redirect, dd.moderation, dd.time, dd.info { dd.option { *width: 124px; } + +/* Notifications list for IE7 */ +#notification_list { + *left: 0; +} + +#notification_list .header_settings { + *position: absolute; + *right: 10px; + *top: 0; +} + +.icon-notification { + *z-index: 2; +}
\ No newline at end of file |