diff options
author | Cesar G <prototech91@gmail.com> | 2014-06-10 10:18:57 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2014-07-04 00:56:28 -0700 |
commit | e7b9013dba5fede1be0e38698d8b198fb7bcf4e1 (patch) | |
tree | eb94ee62c412947ef97cea8059a20c10fc774f30 /phpBB/styles | |
parent | 76cd9ec953c2f43d755bb8cdd38d32bbb447fc96 (diff) | |
download | forums-e7b9013dba5fede1be0e38698d8b198fb7bcf4e1.tar forums-e7b9013dba5fede1be0e38698d8b198fb7bcf4e1.tar.gz forums-e7b9013dba5fede1be0e38698d8b198fb7bcf4e1.tar.bz2 forums-e7b9013dba5fede1be0e38698d8b198fb7bcf4e1.tar.xz forums-e7b9013dba5fede1be0e38698d8b198fb7bcf4e1.zip |
[ticket/12013] Add moderator tools icon.
PHPBB3-12013
Diffstat (limited to 'phpBB/styles')
-rw-r--r-- | phpBB/styles/prosilver/template/viewtopic_body.html | 32 | ||||
-rw-r--r-- | phpBB/styles/prosilver/theme/buttons.css | 10 | ||||
-rw-r--r-- | phpBB/styles/prosilver/theme/images/icons_button.png | bin | 5690 -> 6478 bytes |
3 files changed, 24 insertions, 18 deletions
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index f92c919e50..b764979f97 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -350,6 +350,21 @@ <!-- INCLUDE viewtopic_topic_tools.html --> + <!-- IF .quickmod --> + <div class="dropdown-container dropdown-container-{S_CONTENT_FLOW_BEGIN} dropdown-up dropdown-{S_CONTENT_FLOW_END} dropdown-button-control" id="quickmod"> + <span title="{L_QUICK_MOD}" class="dropdown-trigger button icon-button modtools-icon dropdown-select">{L_QUICK_MOD}</span> + <div class="dropdown hidden"> + <div class="pointer"><div class="pointer-inner"></div></div> + <ul class="dropdown-contents"> + <!-- BEGIN quickmod --> + <!-- DEFINE $QUICKMOD_AJAX = (quickmod.VALUE in ['lock', 'unlock', 'delete_topic', 'restore_topic', 'make_normal', 'make_sticky', 'make_announce', 'make_global']) --> + <li><a href="{quickmod.LINK}"<!-- IF $QUICKMOD_AJAX --> data-ajax="true" data-refresh="true"<!-- ENDIF -->>{quickmod.TITLE}</a></li> + <!-- END quickmod --> + </ul> + </div> + </div> + <!-- ENDIF --> + <!-- IF .pagination or TOTAL_POSTS --> <div class="pagination"> {TOTAL_POSTS} @@ -366,23 +381,6 @@ <!-- EVENT viewtopic_body_footer_before --> <!-- INCLUDE jumpbox.html --> -<!-- IF .quickmod --> - <div class="dropdown-container dropdown-container-{S_CONTENT_FLOW_END} dropdown-up dropdown-{S_CONTENT_FLOW_BEGIN} dropdown-button-control"> - <span title="{L_QUICK_MOD}" class="dropdown-trigger button dropdown-select">{L_QUICK_MOD}</span> - <div class="dropdown hidden"> - <div class="pointer"><div class="pointer-inner"></div></div> - <ul class="dropdown-contents"> - <!-- BEGIN quickmod --> - <!-- DEFINE $QUICKMOD_AJAX = (quickmod.VALUE in ['lock', 'unlock', 'delete_topic', 'restore_topic', 'make_normal', 'make_sticky', 'make_announce', 'make_global']) --> - <li><a href="{quickmod.LINK}"<!-- IF $QUICKMOD_AJAX --> data-ajax="true" data-refresh="true"<!-- ENDIF -->>{quickmod.TITLE}</a></li> - <!-- END quickmod --> - </ul> - </div> - </div> - -<!-- ENDIF --> -<span class="clear"></span> - <!-- IF S_DISPLAY_ONLINE_LIST --> <div class="stat-block online-list"> <h3><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></h3> diff --git a/phpBB/styles/prosilver/theme/buttons.css b/phpBB/styles/prosilver/theme/buttons.css index 6281b6f06a..4fbec07c32 100644 --- a/phpBB/styles/prosilver/theme/buttons.css +++ b/phpBB/styles/prosilver/theme/buttons.css @@ -77,7 +77,11 @@ .forwardpm-icon:before { background-position: -40px 0; } .forwardpm-icon:hover:before { background-position: -40px -20px; } -.tools-icon:before { +.modtools-icon { + font-size: 0; +} + +.tools-icon:before, .modtools-icon:before { background-position: -80px 0; height: 16px; margin-top: 2px; @@ -87,6 +91,10 @@ .dropdown-visible .tools-icon:before, .nojs .dropdown-container:hover .tools-icon:before { background-position: -80px -20px; } +.modtools-icon:before { background-position: -225px 0; } +.dropdown-visible .modtools-icon:before, +.nojs .dropdown-container:hover .modtools-icon:before { background-position: -225px -20px; } + /* Icon images ---------------------------------------- */ .small-icon { diff --git a/phpBB/styles/prosilver/theme/images/icons_button.png b/phpBB/styles/prosilver/theme/images/icons_button.png Binary files differindex a45a0cc2ba..da9ae6f1b4 100644 --- a/phpBB/styles/prosilver/theme/images/icons_button.png +++ b/phpBB/styles/prosilver/theme/images/icons_button.png |