From 600d3bd1f61c83c339be56eac0aa5ee8e9353fbb Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Thu, 23 May 2013 11:02:29 +0300 Subject: [PATCH 1/3] [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 --- phpBB/styles/prosilver/template/forum_fn.js | 19 +++++++++++ .../styles/prosilver/template/index_body.html | 11 +++++-- .../prosilver/template/overall_footer.html | 23 +++++++------ .../prosilver/template/overall_header.html | 15 +++++---- phpBB/styles/prosilver/theme/buttons.css | 14 ++------ phpBB/styles/prosilver/theme/common.css | 32 +++++++++++++++++++ 6 files changed, 85 insertions(+), 29 deletions(-) diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index bb29f00490..019536ef86 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -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); + diff --git a/phpBB/styles/prosilver/template/index_body.html b/phpBB/styles/prosilver/template/index_body.html index 57ad540a4a..e0a9279738 100644 --- a/phpBB/styles/prosilver/template/index_body.html +++ b/phpBB/styles/prosilver/template/index_body.html @@ -4,9 +4,16 @@

{CURRENT_TIME}
{L_MCP} ]

{CURRENT_TIME}

- -