1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-18 14:31:19 +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

@@ -97,17 +97,9 @@ a.sendemail {
padding: 1px 0 0 17px;
}
.icon-notification:before, .icon-notification:after {
display: inline;
font: inherit;
}
.icon-notification:before {
content: '[';
}
.icon-notification:after {
content: ']';
ul.linklist.bulletin li.icon-home:before, ul.linklist.bulletin li.icon-ucp:before,
ul.linklist.bulletin li.icon-bookmark:before, ul.linklist.bulletin li.icon-bump:before, ul.linklist.bulletin li.icon-subscribe:before, ul.linklist.bulletin li.icon-unsubscribe:before {
display: none;
}
/* Poster profile icons

View File

@@ -356,6 +356,38 @@ ul.rightside {
text-align: right;
}
/* Bulletin icons for list items
----------------------------------------*/
ul.linklist.bulletin li:before {
display: inline-block;
content: '•';
font-size: inherit;
line-height: inherit;
padding-right: 4px;
}
ul.linklist.bulletin li:first-child:before, ul.linklist.bulletin li.rightside:last-child:before {
display: none;
}
ul.linklist.bulletin li.no-bulletin:before {
display: none;
}
.icon-notification:before, ul.linklist.bulletin li.icon-notification:before, .icon-notification:after {
display: inline;
font: inherit;
}
.icon-notification:before, ul.linklist.bulletin li.icon-notification:before {
content: '[';
padding-right: 0;
}
.icon-notification:after {
content: ']';
}
/* Table styles
----------------------------------------*/
table.table1 {