Skip to:
Content

BuddyPress.org

Changeset 10238


Ignore:
Timestamp:
10/10/2015 07:09:10 PM (6 years ago)
Author:
djpaul
Message:

Admin: remove WP 3.6. and 3.7-specific markup + images.

Our minimum supported WP version is now 3.8, so let’s tidy up outdated
CSS and images.

See #6258

Location:
trunk/src/bp-core/admin
Files:
5 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/css/common-rtl.css

    r10141 r10238  
    9898}
    9999
    100 /* Icon 32's
    101 ------------------------------------------------------------------------------*/
    102 
    103 body.branch-3-6 div#icon-buddypress,
    104 body.branch-3-7 div#icon-buddypress {
    105     background: url('../images/icons32.png') no-repeat -370px -6px;
    106 }
    107 
    108 body.branch-3-6 div#icon-buddypress-activity,
    109 body.branch-3-7 div#icon-buddypress-activity {
    110     background: url('../images/icons32.png') no-repeat -10px -6px;
    111 }
    112 
    113 body.branch-3-6 div#icon-buddypress-groups,
    114 body.branch-3-7 div#icon-buddypress-groups {
    115     background: url('../images/icons32.png') no-repeat -250px -6px;
    116 }
    117 
    118 /* Menu Icons
    119 ------------------------------------------------------------------------------*/
    120 
    121 /* Backpat */
    122 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
    123 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
    124 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
    125 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image {
    126     background-image: url('../images/menu.png') !important;
    127     background-position: -178px -34px;
    128 }
    129 
    130 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,
    131 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image,
    132 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,
    133 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image,
    134 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,
    135 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image,
    136 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,
    137 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image {
    138     background-position: -178px -2px;
    139 }
    140 
    141 /* Activity */
    142 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
    143 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,
    144 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
    145 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image {
    146     background-image: url('../images/menu.png');
    147     background-position: 0 -34px;
    148 }
    149 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,
    150 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,
    151 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,
    152 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image,
    153 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,
    154 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image,
    155 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,
    156 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,
    157 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,
    158 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image,
    159 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,
    160 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image {
    161     background-position: 0 -2px;
    162 }
    163 
    164 /* Groups */
    165 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
    166 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,
    167 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
    168 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image {
    169     background-image: url('../images/menu.png');
    170     background-position: -61px -34px;
    171 }
    172 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,
    173 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,
    174 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,
    175 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image,
    176 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,
    177 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image,
    178 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,
    179 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,
    180 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,
    181 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image,
    182 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,
    183 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image {
    184     background-position: -61px -2px;
    185 }
    186 
    187100/* Tools */
    188101#adminmenu .toplevel_page_network-tools div.wp-menu-image:before {
     
    233146#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image {
    234147    content: "\f448";
    235 }
    236 
    237 /* Dashicons overrides for backward compatibility */
    238 body.branch-3-6 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,
    239 body.branch-3-6 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,
    240 body.branch-3-6 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,
    241 body.branch-3-6 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,
    242 body.branch-3-6 #adminmenu li.toplevel_page_bp-components .wp-menu-image,
    243 body.branch-3-6 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
    244 body.branch-3-7 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,
    245 body.branch-3-7 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,
    246 body.branch-3-7 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,
    247 body.branch-3-7 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,
    248 body.branch-3-7 #adminmenu li.toplevel_page_bp-components .wp-menu-image,
    249 body.branch-3-7 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image {
    250     content: "";
    251148}
    252149
     
    300197}
    301198
    302 /* Settings - Legacy (< WP 3.8) */
    303 body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span:before,
    304 body.branch-3-6.settings_page_bp-components tr.notifications td.plugin-title span:before,
    305 body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span:before,
    306 body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span:before,
    307 body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span:before,
    308 body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span:before,
    309 body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span:before,
    310 body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span:before,
    311 body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span:before,
    312 body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span:before,
    313 body.branch-3-7.settings_page_bp-components tr.notifications td.plugin-title span:before,
    314 body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span:before,
    315 body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span:before,
    316 body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span:before,
    317 body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span:before,
    318 body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span:before,
    319 body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span:before,
    320 body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span:before {
    321     content: "";
    322 }
    323 
    324 body.branch-3-6.settings_page_bp-components td.plugin-title span,
    325 body.branch-3-7.settings_page_bp-components td.plugin-title span {
    326     background-image: url('../images/menu.png');
    327     background-position: -4px -40px;
    328     background-repeat: no-repeat;
    329 }
    330 
    331 body.branch-3-6.settings_page_bp-components tr.active td.plugin-title span,
    332 body.branch-3-7.settings_page_bp-components tr.active td.plugin-title span {
    333     background-position-y: -7px;
    334 }
    335 
    336 body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span,
    337 body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span {
    338     background-position: -4px -40px;
    339 }
    340 
    341 body.branch-3-6.settings_page_bp-components tr.activity.active td.plugin-title span,
    342 body.branch-3-7.settings_page_bp-components tr.activity.active td.plugin-title span {
    343     background-position: -4px -7px;
    344 }
    345 
    346 body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span,
    347 body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span {
    348     background-image: url('../images/menu-wp.png');
    349     background-position: -305px -40px;
    350 }
    351 
    352 body.branch-3-6.settings_page_bp-components tr.xprofile.active td.plugin-title span,
    353 body.branch-3-7.settings_page_bp-components tr.xprofile.active td.plugin-title span {
    354     background-position: -305px -7px;
    355 }
    356 
    357 body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span,
    358 body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span {
    359     background-image: url('../images/menu-wp.png');
    360     background-position: -334px -40px;
    361 }
    362 
    363 body.branch-3-6.settings_page_bp-components tr.settings.active td.plugin-title span,
    364 body.branch-3-7.settings_page_bp-components tr.settings.active td.plugin-title span {
    365     background-position: -334px -7px;
    366 }
    367 
    368 body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span,
    369 body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span {
    370     background-position: -66px -40px;
    371 }
    372 
    373 body.branch-3-6.settings_page_bp-components tr.groups.active td.plugin-title span,
    374 body.branch-3-7.settings_page_bp-components tr.groups.active td.plugin-title span {
    375     background-position: -66px -7px;
    376 }
    377 
    378 body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span,
    379 body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span {
    380     background-position: -154px -40px;
    381 }
    382 
    383 body.branch-3-6.settings_page_bp-components tr.messages.active td.plugin-title span,
    384 body.branch-3-7.settings_page_bp-components tr.messages.active td.plugin-title span {
    385     background-position: -154px -7px;
    386 }
    387 
    388 body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span,
    389 body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span {
    390     background-image: url('../images/menu-wp.png');
    391     background-position: -36px -40px;
    392 }
    393 
    394 body.branch-3-6.settings_page_bp-components tr.forums.active td.plugin-title span,
    395 body.branch-3-7.settings_page_bp-components tr.forums.active td.plugin-title span {
    396     background-position: -36px -7px;
    397 }
    398 
    399 body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span,
    400 body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span {
    401     background-position: -125px -40px;
    402 }
    403 
    404 body.branch-3-6.settings_page_bp-components tr.blogs.active td.plugin-title span,
    405 body.branch-3-7.settings_page_bp-components tr.blogs.active td.plugin-title span {
    406     background-position: -125px -7px;
    407 }
    408 
    409 body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span,
    410 body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span {
    411     background-position: -95px -40px;
    412 }
    413 
    414 body.branch-3-6.settings_page_bp-components tr.friends.active td.plugin-title span,
    415 body.branch-3-7.settings_page_bp-components tr.friends.active td.plugin-title span {
    416     background-position: -95px -7px;
    417 }
    418 
    419 body.branch-3-6.settings_page_bp-components tr.core td.plugin-title span,
    420 body.branch-3-7.settings_page_bp-components tr.core td.plugin-title span {
    421     background-position: -184px -40px;
    422 }
    423 
    424 body.branch-3-6.settings_page_bp-components tr.core.active td.plugin-title span,
    425 body.branch-3-7.settings_page_bp-components tr.core.active td.plugin-title span {
    426     background-position: -184px -7px;
    427 }
    428 
    429 body.branch-3-6.settings_page_bp-components tr.members td.plugin-title span,
    430 body.branch-3-7.settings_page_bp-components tr.members td.plugin-title span {
    431     background-position: -36px -40px;
    432 }
    433 
    434 body.branch-3-6.settings_page_bp-components tr.members.active td.plugin-title span,
    435 body.branch-3-7.settings_page_bp-components tr.members.active td.plugin-title span {
    436     background-position: -36px -7px;
    437 }
    438 
    439199#bp-admin-component-form .widefat th {
    440200    display: table-cell;
     
    470230    }
    471231}
    472 
    473 /* HiDPI
    474 ------------------------------------------------------------------------------*/
    475 
    476 @media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
    477 
    478     /* Icon 32 */
    479     body.branch-3-6 div#icon-buddypress,
    480     body.branch-3-6 div#icon-buddypress-activity,
    481     body.branch-3-6 div#icon-buddypress-groups,
    482     body.branch-3-7 div#icon-buddypress,
    483     body.branch-3-7 div#icon-buddypress-activity,
    484     body.branch-3-7 div#icon-buddypress-groups {
    485         background-image: url('../images/icons64.png');
    486         background-size: 419px 45px;
    487     }
    488 
    489     /* Backpat */
    490     body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
    491     body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
    492     body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
    493     body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,
    494     body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
    495     body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,
    496     body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
    497     body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
    498     body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
    499     body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,
    500     body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
    501     body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image {
    502         background-image: url('../images/menu-2x.png') !important;
    503         background-size: 209px 64px;
    504     }
    505 }
  • trunk/src/bp-core/admin/css/common.css

    r10141 r10238  
    9898}
    9999
    100 /* Icon 32's
    101 ------------------------------------------------------------------------------*/
    102 
    103 body.branch-3-6 div#icon-buddypress,
    104 body.branch-3-7 div#icon-buddypress {
    105     background: url('../images/icons32.png') no-repeat -370px -6px;
    106 }
    107 
    108 body.branch-3-6 div#icon-buddypress-activity,
    109 body.branch-3-7 div#icon-buddypress-activity {
    110     background: url('../images/icons32.png') no-repeat -10px -6px;
    111 }
    112 
    113 body.branch-3-6 div#icon-buddypress-groups,
    114 body.branch-3-7 div#icon-buddypress-groups {
    115     background: url('../images/icons32.png') no-repeat -250px -6px;
    116 }
    117 
    118 /* Menu Icons
    119 ------------------------------------------------------------------------------*/
    120 
    121 /* Backpat */
    122 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
    123 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
    124 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
    125 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image {
    126     background-image: url('../images/menu.png') !important;
    127     background-position: -178px -34px;
    128 }
    129 
    130 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,
    131 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image,
    132 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,
    133 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image,
    134 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,
    135 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image,
    136 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,
    137 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image {
    138     background-position: -178px -2px;
    139 }
    140 
    141 /* Activity */
    142 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
    143 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,
    144 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
    145 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image {
    146     background-image: url('../images/menu.png');
    147     background-position: 0 -34px;
    148 }
    149 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,
    150 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,
    151 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,
    152 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image,
    153 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,
    154 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image,
    155 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,
    156 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,
    157 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,
    158 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image,
    159 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,
    160 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image {
    161     background-position: 0 -2px;
    162 }
    163 
    164 /* Groups */
    165 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
    166 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,
    167 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
    168 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image {
    169     background-image: url('../images/menu.png');
    170     background-position: -61px -34px;
    171 }
    172 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,
    173 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,
    174 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,
    175 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image,
    176 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,
    177 body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image,
    178 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,
    179 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,
    180 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,
    181 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image,
    182 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,
    183 body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image {
    184     background-position: -61px -2px;
    185 }
    186 
    187100/* Tools */
    188101#adminmenu .toplevel_page_network-tools div.wp-menu-image:before {
     
    233146#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image {
    234147    content: "\f448";
    235 }
    236 
    237 /* Dashicons overrides for backward compatibility */
    238 body.branch-3-6 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,
    239 body.branch-3-6 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,
    240 body.branch-3-6 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,
    241 body.branch-3-6 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,
    242 body.branch-3-6 #adminmenu li.toplevel_page_bp-components .wp-menu-image,
    243 body.branch-3-6 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
    244 body.branch-3-7 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,
    245 body.branch-3-7 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,
    246 body.branch-3-7 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,
    247 body.branch-3-7 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,
    248 body.branch-3-7 #adminmenu li.toplevel_page_bp-components .wp-menu-image,
    249 body.branch-3-7 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image {
    250     content: "";
    251148}
    252149
     
    300197}
    301198
    302 /* Settings - Legacy (< WP 3.8) */
    303 body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span:before,
    304 body.branch-3-6.settings_page_bp-components tr.notifications td.plugin-title span:before,
    305 body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span:before,
    306 body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span:before,
    307 body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span:before,
    308 body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span:before,
    309 body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span:before,
    310 body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span:before,
    311 body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span:before,
    312 body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span:before,
    313 body.branch-3-7.settings_page_bp-components tr.notifications td.plugin-title span:before,
    314 body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span:before,
    315 body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span:before,
    316 body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span:before,
    317 body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span:before,
    318 body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span:before,
    319 body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span:before,
    320 body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span:before {
    321     content: "";
    322 }
    323 
    324 body.branch-3-6.settings_page_bp-components td.plugin-title span,
    325 body.branch-3-7.settings_page_bp-components td.plugin-title span {
    326     background-image: url('../images/menu.png');
    327     background-position: -4px -40px;
    328     background-repeat: no-repeat;
    329 }
    330 
    331 body.branch-3-6.settings_page_bp-components tr.active td.plugin-title span,
    332 body.branch-3-7.settings_page_bp-components tr.active td.plugin-title span {
    333     background-position-y: -7px;
    334 }
    335 
    336 body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span,
    337 body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span {
    338     background-position: -4px -40px;
    339 }
    340 
    341 body.branch-3-6.settings_page_bp-components tr.activity.active td.plugin-title span,
    342 body.branch-3-7.settings_page_bp-components tr.activity.active td.plugin-title span {
    343     background-position: -4px -7px;
    344 }
    345 
    346 body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span,
    347 body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span {
    348     background-image: url('../images/menu-wp.png');
    349     background-position: -305px -40px;
    350 }
    351 
    352 body.branch-3-6.settings_page_bp-components tr.xprofile.active td.plugin-title span,
    353 body.branch-3-7.settings_page_bp-components tr.xprofile.active td.plugin-title span {
    354     background-position: -305px -7px;
    355 }
    356 
    357 body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span,
    358 body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span {
    359     background-image: url('../images/menu-wp.png');
    360     background-position: -334px -40px;
    361 }
    362 
    363 body.branch-3-6.settings_page_bp-components tr.settings.active td.plugin-title span,
    364 body.branch-3-7.settings_page_bp-components tr.settings.active td.plugin-title span {
    365     background-position: -334px -7px;
    366 }
    367 
    368 body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span,
    369 body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span {
    370     background-position: -66px -40px;
    371 }
    372 
    373 body.branch-3-6.settings_page_bp-components tr.groups.active td.plugin-title span,
    374 body.branch-3-7.settings_page_bp-components tr.groups.active td.plugin-title span {
    375     background-position: -66px -7px;
    376 }
    377 
    378 body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span,
    379 body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span {
    380     background-position: -154px -40px;
    381 }
    382 
    383 body.branch-3-6.settings_page_bp-components tr.messages.active td.plugin-title span,
    384 body.branch-3-7.settings_page_bp-components tr.messages.active td.plugin-title span {
    385     background-position: -154px -7px;
    386 }
    387 
    388 body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span,
    389 body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span {
    390     background-image: url('../images/menu-wp.png');
    391     background-position: -36px -40px;
    392 }
    393 
    394 body.branch-3-6.settings_page_bp-components tr.forums.active td.plugin-title span,
    395 body.branch-3-7.settings_page_bp-components tr.forums.active td.plugin-title span {
    396     background-position: -36px -7px;
    397 }
    398 
    399 body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span,
    400 body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span {
    401     background-position: -125px -40px;
    402 }
    403 
    404 body.branch-3-6.settings_page_bp-components tr.blogs.active td.plugin-title span,
    405 body.branch-3-7.settings_page_bp-components tr.blogs.active td.plugin-title span {
    406     background-position: -125px -7px;
    407 }
    408 
    409 body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span,
    410 body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span {
    411     background-position: -95px -40px;
    412 }
    413 
    414 body.branch-3-6.settings_page_bp-components tr.friends.active td.plugin-title span,
    415 body.branch-3-7.settings_page_bp-components tr.friends.active td.plugin-title span {
    416     background-position: -95px -7px;
    417 }
    418 
    419 body.branch-3-6.settings_page_bp-components tr.core td.plugin-title span,
    420 body.branch-3-7.settings_page_bp-components tr.core td.plugin-title span {
    421     background-position: -184px -40px;
    422 }
    423 
    424 body.branch-3-6.settings_page_bp-components tr.core.active td.plugin-title span,
    425 body.branch-3-7.settings_page_bp-components tr.core.active td.plugin-title span {
    426     background-position: -184px -7px;
    427 }
    428 
    429 body.branch-3-6.settings_page_bp-components tr.members td.plugin-title span,
    430 body.branch-3-7.settings_page_bp-components tr.members td.plugin-title span {
    431     background-position: -36px -40px;
    432 }
    433 
    434 body.branch-3-6.settings_page_bp-components tr.members.active td.plugin-title span,
    435 body.branch-3-7.settings_page_bp-components tr.members.active td.plugin-title span {
    436     background-position: -36px -7px;
    437 }
    438 
    439199#bp-admin-component-form .widefat th {
    440200    display: table-cell;
     
    470230    }
    471231}
    472 
    473 /* HiDPI
    474 ------------------------------------------------------------------------------*/
    475 
    476 @media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
    477 
    478     /* Icon 32 */
    479     body.branch-3-6 div#icon-buddypress,
    480     body.branch-3-6 div#icon-buddypress-activity,
    481     body.branch-3-6 div#icon-buddypress-groups,
    482     body.branch-3-7 div#icon-buddypress,
    483     body.branch-3-7 div#icon-buddypress-activity,
    484     body.branch-3-7 div#icon-buddypress-groups {
    485         background-image: url('../images/icons64.png');
    486         background-size: 419px 45px;
    487     }
    488 
    489     /* Backpat */
    490     body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
    491     body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
    492     body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
    493     body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,
    494     body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
    495     body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,
    496     body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
    497     body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
    498     body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
    499     body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,
    500     body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
    501     body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image {
    502         background-image: url('../images/menu-2x.png') !important;
    503         background-size: 209px 64px;
    504     }
    505 }
Note: See TracChangeset for help on using the changeset viewer.