1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

[ticket/11553] Move bulletin points to pseudo class

Move bulletin points for .linklist lists to pseudo class
Group pseudo classes for .linklist.bulletin and .icon-notification

PHPBB3-11553
This commit is contained in:
Vjacheslav Trushkin
2013-05-23 11:02:29 +03:00
parent 2fcae1ca16
commit 600d3bd1f6
6 changed files with 85 additions and 29 deletions

View File

@@ -385,3 +385,22 @@ function apply_onkeypress_event() {
}
jQuery(document).ready(apply_onkeypress_event);
/**
* Adjust HTML code for IE8 and older versions
*/
(function($) {
$(document).ready(function() {
var test = document.createElement('div'),
oldBrowser = (typeof test.style.borderRadius == 'undefined');
delete test;
if (!oldBrowser) {
return;
}
// Fix .linkslist.bulletin lists
$('ul.linklist.bulletin li:first-child, ul.linklist.bulletin li.rightside:last-child').addClass('no-bulletin');
});
})(jQuery);