1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-22 23:40:12 +02:00

[ticket/11782] Change p.rules to p.post-notice in CSS

PHPBB3-11782
This commit is contained in:
Vjacheslav Trushkin 2013-08-11 20:00:41 +03:00
parent 9a5363462b
commit 788238d7a9
2 changed files with 31 additions and 13 deletions

View File

@ -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

View File

@ -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.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 strong {
vertical-align: middle;
padding-top: 5px;
}
p.rules a {
vertical-align: middle;
clear: both;
form p.post-notice strong {
line-height: 20px;
}
#top {