mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-24 08:10:13 +02:00
[ticket/11782] Change p.rules to p.post-notice in CSS
PHPBB3-11782
This commit is contained in:
parent
9a5363462b
commit
788238d7a9
@ -214,11 +214,24 @@ div.rules {
|
|||||||
color: #BC2A4D;
|
color: #BC2A4D;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.rules {
|
p.post-notice {
|
||||||
background-color: #ECD5D8;
|
background-color: #ECD5D8;
|
||||||
background-image: none;
|
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
|
Colours and backgrounds for links.css
|
||||||
|
@ -685,23 +685,28 @@ div.rules ul, div.rules ol {
|
|||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.rules {
|
p.post-notice {
|
||||||
background-image: none;
|
position: relative;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
padding-left: 26px;
|
||||||
|
min-height: 14px;
|
||||||
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.rules img {
|
p.post-notice:before {
|
||||||
vertical-align: middle;
|
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 {
|
form p.post-notice strong {
|
||||||
vertical-align: middle;
|
line-height: 20px;
|
||||||
padding-top: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
p.rules a {
|
|
||||||
vertical-align: middle;
|
|
||||||
clear: both;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#top {
|
#top {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user