diff options
author | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-08-11 20:00:41 +0300 |
---|---|---|
committer | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-08-11 20:00:41 +0300 |
commit | 788238d7a989951747307b15eaa2192253e81535 (patch) | |
tree | 10d957ca4b6340165bb8cecc37b1ae7b944bac17 /phpBB/styles | |
parent | 9a5363462b54cf137a1ec0149c0fa6cfbeca5e7c (diff) | |
download | forums-788238d7a989951747307b15eaa2192253e81535.tar forums-788238d7a989951747307b15eaa2192253e81535.tar.gz forums-788238d7a989951747307b15eaa2192253e81535.tar.bz2 forums-788238d7a989951747307b15eaa2192253e81535.tar.xz forums-788238d7a989951747307b15eaa2192253e81535.zip |
[ticket/11782] Change p.rules to p.post-notice in CSS
PHPBB3-11782
Diffstat (limited to 'phpBB/styles')
-rw-r--r-- | phpBB/styles/prosilver/theme/colours.css | 15 | ||||
-rw-r--r-- | phpBB/styles/prosilver/theme/common.css | 29 |
2 files changed, 31 insertions, 13 deletions
diff --git a/phpBB/styles/prosilver/theme/colours.css b/phpBB/styles/prosilver/theme/colours.css index 5548905ede..7736371460 100644 --- a/phpBB/styles/prosilver/theme/colours.css +++ b/phpBB/styles/prosilver/theme/colours.css @@ -214,11 +214,24 @@ div.rules { color: #BC2A4D; } -p.rules { +p.post-notice { background-color: #ECD5D8; background-image: none; } +p.post-notice.deleted:before { + background-image: url("./images/icon_topic_deleted.png"); +} + +p.post-notice.unapproved:before { + background-image: url("./images/icon_topic_unapproved.gif"); +} + +p.post-notice.reported:before, p.post-notice.error:before { + background-image: url("./images/icon_topic_reported.gif"); +} + + /* -------------------------------------------------------------- Colours and backgrounds for links.css diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index a2b8034187..cdafc706df 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -685,23 +685,28 @@ div.rules ul, div.rules ol { margin-left: 20px; } -p.rules { - background-image: none; +p.post-notice { + position: relative; padding: 5px; + padding-left: 26px; + min-height: 14px; + margin-bottom: 1em; } -p.rules img { - vertical-align: middle; -} - -p.rules strong { - vertical-align: middle; - padding-top: 5px; +p.post-notice:before { + content: ''; + display: block; + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 28px; + background: transparent none 50% 50% no-repeat; + pointer-events: none; } -p.rules a { - vertical-align: middle; - clear: both; +form p.post-notice strong { + line-height: 20px; } #top { |