1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-29 11:10:18 +02:00

[ticket/12271] Decouple dropdown header and footer from #notifications_list

PHPBB3-12271
This commit is contained in:
Joas Schilling
2014-03-14 17:10:20 +01:00
parent bfe872d1b7
commit d9037965c8
7 changed files with 31 additions and 25 deletions

View File

@@ -578,7 +578,7 @@ ul.linklist.bulletin li.no-bulletin:before {
padding-left: 10px;
}
.wrap .dropdown li, .dropdown.wrap li, #notification_list li {
.wrap .dropdown li, .dropdown.wrap li, .dropdown-extended li {
white-space: normal;
}
@@ -1014,7 +1014,7 @@ form > p.post-notice strong {
position: relative;
}
#notification_list {
.dropdown-extended {
display: none;
position: absolute;
left: 0;
@@ -1023,14 +1023,14 @@ form > p.post-notice strong {
top: 22px;
}
#notification_list ul {
.dropdown-extended ul {
max-height: 350px;
overflow-y: auto;
overflow-x: hidden;
clear: both;
}
#notification_list ul li {
.dropdown-extended ul li {
padding: 10px;
margin: 0;
float: none;
@@ -1041,16 +1041,16 @@ form > p.post-notice strong {
position: relative;
}
#notification_list ul li:before, #notification_list ul li:after {
.dropdown-extended ul li:before, .dropdown-extended ul li:after {
display: none;
}
#notification_list .dropdown-contents {
.dropdown-extended .dropdown-contents {
max-height: none;
padding: 0;
}
#notification_list .header {
.dropdown-extended .header {
padding: 0 10px;
font-family: Arial, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 11px;
@@ -1062,18 +1062,18 @@ form > p.post-notice strong {
border-radius: 5px 5px 0 0;
}
#notification_list .header .header_settings {
.dropdown-extended .header .header_settings {
float: right;
font-weight: normal;
text-transform: none;
}
#notification_list .footer {
.dropdown-extended .footer {
text-align: center;
font-size: 1.2em;
}
#notification_list ul li a, .notification_list dt > a, #notification_list .footer > a {
.dropdown-extended ul li a, .notification_list dt > a, .dropdown-extended .footer > a {
display: block;
text-decoration: none;
}