mirror of
https://github.com/phpbb/phpbb.git
synced 2025-09-02 12:53:37 +02:00
[ticket/11241] Add dropdown control button.
PHPBB3-11241
This commit is contained in:
@@ -11,13 +11,13 @@
|
||||
}
|
||||
|
||||
/* Rollover state */
|
||||
.buttons div {
|
||||
.buttons div, .dropdown-select {
|
||||
float: left;
|
||||
margin: 0 5px 0 0;
|
||||
}
|
||||
|
||||
/* Rolloff state */
|
||||
.buttons div a {
|
||||
.buttons div a, .dropdown-select {
|
||||
display: inline-block;
|
||||
line-height: 17.5px;
|
||||
height: 18px;
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
.buttons div span { display: none; }
|
||||
|
||||
.buttons div a:after {
|
||||
.buttons div a:after, .dropdown-select:after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
@@ -54,6 +54,35 @@
|
||||
background-position: 0 -20px;
|
||||
}
|
||||
|
||||
.dropdown-select {
|
||||
cursor: pointer;
|
||||
font-family: inherit;
|
||||
font-size: 1em;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.dropdown-select:after {
|
||||
background-position: -103px 10px;
|
||||
border-left: 1px solid;
|
||||
margin-top: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 21px;
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
.dropdown-visible .dropdown-select:after, .nojs .dropdown-container:hover .dropdown-select:after {
|
||||
background-position: -103px -10px;
|
||||
}
|
||||
|
||||
.dropdown-select-icon:before {
|
||||
content: '';
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 4px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* Big button images */
|
||||
.buttons div.reply-icon a:after, .buttons div.pmreply-icon a:after { background-position: -20px 0; }
|
||||
.buttons div.reply-icon a:hover:after, .buttons div.pmreply-icon a:hover:after { background-position: -20px -20px; }
|
||||
@@ -67,6 +96,11 @@
|
||||
.buttons div.forwardpm-icon a:after { background-position: -40px 0; }
|
||||
.buttons div.forwardpm-icon a:hover:after { background-position: -40px -20px; }
|
||||
|
||||
.dropdown-select.tools-icon:before { background-position: -80px 0; height: 16px; width: 16px; }
|
||||
|
||||
.dropdown-visible .dropdown-select.tools-icon:before,
|
||||
.nojs .dropdown-container:hover .dropdown-select.tools-icon:before { background-position: -80px -20px; }
|
||||
|
||||
/* Sub-header (navigation bar)
|
||||
--------------------------------------------- */
|
||||
a.print, a.sendemail {
|
||||
|
Reference in New Issue
Block a user