mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11552] Add search link to responsive header
PHPBB3-11552
This commit is contained in:
parent
5d999e008c
commit
118b66534e
3 changed files with 20 additions and 1 deletions
|
@ -94,6 +94,7 @@
|
|||
<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
|
||||
<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
|
||||
<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
|
||||
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH --><li class="responsive-search rightside" style="display: none;"><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH}</a></li><!-- ENDIF -->
|
||||
</ul>
|
||||
|
||||
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
|
||||
|
|
|
@ -706,7 +706,7 @@ a.sendemail {
|
|||
.icon-subscribe { background-image: url("./images/icon_subscribe.gif"); }
|
||||
.icon-unsubscribe { background-image: url("./images/icon_unsubscribe.gif"); }
|
||||
.icon-pages { background-image: url("./images/icon_pages.gif"); }
|
||||
.icon-search { background-image: url("./images/icon_search.gif"); }
|
||||
.icon-search, .responsive-search a { background-image: url("./images/icon_search.gif"); }
|
||||
.icon-notification { background-image: url("./images/icon_notification.gif"); }
|
||||
.icon-pm { background-image: url("./images/icon_pm.gif"); }
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* Responsive Design
|
||||
---------------------------------------- */
|
||||
|
||||
.responsive-hide { display: none !important; }
|
||||
.responsive-show { display: block !important; }
|
||||
.responsive-show-inline { display: inline !important; }
|
||||
|
||||
/* Content wrappers
|
||||
----------------------------------------*/
|
||||
html {
|
||||
|
@ -56,6 +60,20 @@ body {
|
|||
margin-top: -5px;
|
||||
}
|
||||
|
||||
/* Search
|
||||
----------------------------------------*/
|
||||
.responsive-search { display: block !important; }
|
||||
.responsive-search a {
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 18px;
|
||||
text-indent: 99px;
|
||||
overflow: hidden;
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* .topiclist lists
|
||||
----------------------------------------*/
|
||||
li.header dt {
|
||||
|
|
Loading…
Add table
Reference in a new issue