Skip to:
Content

bbPress.org

Changeset 3992


Ignore:
Timestamp:
06/20/2012 04:08:12 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Admin Images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-admin.php

    r3991 r3992  
    692692                }
    693693
     694            /* Icon 32 */
     695            #icon-edit.icon32-posts-<?php echo $forum_class; ?> {
     696                background: url('<?php echo $icon32_url; ?>') no-repeat -4px 0px;
     697            }
     698
     699            #icon-edit.icon32-posts-<?php echo $topic_class; ?> {
     700                background: url('<?php echo $icon32_url; ?>') no-repeat -4px -90px;
     701            }
     702
     703            #icon-edit.icon32-posts-<?php echo $reply_class; ?> {
     704                background: url('<?php echo $icon32_url; ?>') no-repeat -4px -180px;
     705            }
     706
     707            /* Menu */
     708            #menu-posts-<?php echo $forum_class; ?> .wp-menu-image,
     709            #menu-posts-<?php echo $topic_class; ?> .wp-menu-image,
     710            #menu-posts-<?php echo $reply_class; ?> .wp-menu-image,
     711
     712            #menu-posts-<?php echo $forum_class; ?>:hover .wp-menu-image,
     713            #menu-posts-<?php echo $topic_class; ?>:hover .wp-menu-image,
     714            #menu-posts-<?php echo $reply_class; ?>:hover .wp-menu-image,
     715
     716            #menu-posts-<?php echo $forum_class; ?>.wp-has-current-submenu .wp-menu-image,             
     717            #menu-posts-<?php echo $topic_class; ?>.wp-has-current-submenu .wp-menu-image,
     718            #menu-posts-<?php echo $reply_class; ?>.wp-has-current-submenu .wp-menu-image {
     719                background: url('<?php echo $menu_icon_url; ?>');
     720                background-repeat: no-repeat;
     721            }
     722
     723            /* Menu Positions */
    694724            #menu-posts-<?php echo $forum_class; ?> .wp-menu-image {
    695                 background: url('<?php echo $menu_icon_url; ?>') no-repeat 0px -32px;
     725                background-position: 0px -32px;
    696726            }
    697727            #menu-posts-<?php echo $forum_class; ?>:hover .wp-menu-image,
    698728            #menu-posts-<?php echo $forum_class; ?>.wp-has-current-submenu .wp-menu-image {
    699                 background: url('<?php echo $menu_icon_url; ?>') no-repeat 0px 0px;
    700             }
    701             #icon-edit.icon32-posts-<?php echo $forum_class; ?> {
    702                 background: url('<?php echo $icon32_url; ?>') no-repeat -4px 0px;
    703             }
    704 
     729                background-position: 0px 0px;
     730            }
    705731            #menu-posts-<?php echo $topic_class; ?> .wp-menu-image {
    706                 background: url('<?php echo $menu_icon_url; ?>') no-repeat -70px -32px;
     732                background-position: -70px -32px;
    707733            }
    708734            #menu-posts-<?php echo $topic_class; ?>:hover .wp-menu-image,
    709735            #menu-posts-<?php echo $topic_class; ?>.wp-has-current-submenu .wp-menu-image {
    710                 background: url('<?php echo $menu_icon_url; ?>') no-repeat -70px 0px;
    711             }
    712             #icon-edit.icon32-posts-<?php echo $topic_class; ?> {
    713                 background: url('<?php echo $icon32_url; ?>') no-repeat -4px -90px;
    714             }
    715 
     736                background-position: -70px 0px;
     737            }
    716738            #menu-posts-<?php echo $reply_class; ?> .wp-menu-image {
    717                 background: url('<?php echo $menu_icon_url; ?>') no-repeat -35px -32px;
     739                background-position: -35px -32px;
    718740            }
    719741            #menu-posts-<?php echo $reply_class; ?>:hover .wp-menu-image,
    720742            #menu-posts-<?php echo $reply_class; ?>.wp-has-current-submenu .wp-menu-image {
    721                 background: url('<?php echo $menu_icon_url; ?>') no-repeat -35px 0px;
    722             }
    723             #icon-edit.icon32-posts-<?php echo $reply_class; ?> {
    724                 background: url('<?php echo $icon32_url; ?>') no-repeat -4px -180px;
    725             }
    726 
     743                background-position:  -35px 0px;
     744            }
     745
     746            /* Menu 2x */
    727747            @media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
    728748                #menu-posts-<?php echo $forum_class; ?> .wp-menu-image,
     749                #menu-posts-<?php echo $topic_class; ?> .wp-menu-image,
     750                #menu-posts-<?php echo $reply_class; ?> .wp-menu-image,
     751
    729752                #menu-posts-<?php echo $forum_class; ?>:hover .wp-menu-image,
    730                 #menu-posts-<?php echo $forum_class; ?>.wp-has-current-submenu .wp-menu-image,
    731                 #menu-posts-<?php echo $topic_class; ?> .wp-menu-image,
    732753                #menu-posts-<?php echo $topic_class; ?>:hover .wp-menu-image,
     754                #menu-posts-<?php echo $reply_class; ?>:hover .wp-menu-image,
     755
     756                #menu-posts-<?php echo $forum_class; ?>.wp-has-current-submenu .wp-menu-image,             
    733757                #menu-posts-<?php echo $topic_class; ?>.wp-has-current-submenu .wp-menu-image,
    734                 #menu-posts-<?php echo $reply_class; ?> .wp-menu-image,
    735                 #menu-posts-<?php echo $reply_class; ?>:hover .wp-menu-image,
    736758                #menu-posts-<?php echo $reply_class; ?>.wp-has-current-submenu .wp-menu-image {
    737759                    background-image: url('<?php echo $menu_icon_url_2x; ?>');
    738                     background-size: 200px 164px;
     760                    background-size: 200px 128px;
    739761                }
    740762            }
Note: See TracChangeset for help on using the changeset viewer.