Skip to:
Content

BuddyPress.org

Ticket #5291: 5291.02.patch

File 5291.02.patch, 19.5 KB (added by boonebgorges, 13 years ago)
  • bp-core/admin/css/common.css

    diff --git bp-core/admin/css/common.css bp-core/admin/css/common.css
    index dbf312f..61755b2 100644
     
    77/* Icon 32's
    88------------------------------------------------------------------------------*/
    99
    10 div#icon-buddypress {
     10body.branch-3-6 div#icon-buddypress,
     11body.branch-3-7 div#icon-buddypress {
    1112        background: url('../images/icons32.png') no-repeat -370px -6px;
    1213}
    1314
    14 div#icon-buddypress-activity {
     15body.branch-3-6 div#icon-buddypress-activity,
     16body.branch-3-7 div#icon-buddypress-activity {
    1517        background: url('../images/icons32.png') no-repeat -10px -6px;
    1618}
    1719
    18 div#icon-buddypress-groups {
     20body.branch-3-6 div#icon-buddypress-groups,
     21body.branch-3-7 div#icon-buddypress-groups {
    1922        background: url('../images/icons32.png') no-repeat -250px -6px;
    2023}
    2124
    … … div#icon-buddypress-groups {  
    2326------------------------------------------------------------------------------*/
    2427
    2528/* Backpat */
    26 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
    27 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image {
     29body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
     30body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
     31body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
     32body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image {
    2833        background-image: url('../images/menu.png') !important;
    2934        background-position: -178px -34px;
    3035}
    3136
    32 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,
    33 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image,
    34 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,
    35 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image {
     37body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,
     38body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image,
     39body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,
     40body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image,
     41body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components:hover .wp-menu-image,
     42body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image,
     43body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components.wp-has-current-submenu .wp-menu-image,
     44body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image {
    3645        background-position: -178px -2px;
    3746}
    3847
    3948/* Activity */
    40 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
    41 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image {
     49body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
     50body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,
     51body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
     52body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image {
    4253        background-image: url('../images/menu.png');
    4354        background-position: 0 -34px;
    4455}
    45 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,
    46 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,
    47 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,
    48 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image,
    49 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,
    50 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image {
     56body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,
     57body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,
     58body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,
     59body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image,
     60body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,
     61body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image,
     62body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity:hover .wp-menu-image,
     63body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.current .wp-menu-image,
     64body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity.wp-has-current-submenu .wp-menu-image,
     65body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network:hover .wp-menu-image,
     66body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.current .wp-menu-image,
     67body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network.wp-has-current-submenu .wp-menu-image {
    5168        background-position: 0 -2px;
    5269}
    5370
    5471/* Groups */
    55 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
    56 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image {
     72body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
     73body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,
     74body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
     75body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image {
    5776        background-image: url('../images/menu.png');
    5877        background-position: -61px -34px;
    5978}
    60 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,
    61 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,
    62 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,
    63 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image,
    64 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,
    65 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image {
     79body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,
     80body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,
     81body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,
     82body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image,
     83body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,
     84body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image,
     85body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups:hover .wp-menu-image,
     86body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.current .wp-menu-image,
     87body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups.wp-has-current-submenu .wp-menu-image,
     88body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network:hover .wp-menu-image,
     89body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.current .wp-menu-image,
     90body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network.wp-has-current-submenu .wp-menu-image {
    6691        background-position: -61px -2px;
    6792}
    6893th.column-gid {
    … … table.bp-group-members .urole-column {  
    90115/* Components
    91116------------------------------------------------------------------------------*/
    92117
    93 .dashboard_page_bp-wizard td.plugin-title span,
     118/* Dashicons */
     119#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,
     120#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before {
     121        content: "\f452";
     122}
     123
     124#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,
     125#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before {
     126        content: "\f456";
     127}
     128
     129#adminmenu li.toplevel_page_bp-components .wp-menu-image,
     130#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image {
     131        content: "\f448";
     132}
     133
     134/* Dashicons overrides for backward compatibility */
     135body.branch-3-6 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,
     136body.branch-3-6 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,
     137body.branch-3-6 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,
     138body.branch-3-6 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,
     139body.branch-3-6 #adminmenu li.toplevel_page_bp-components .wp-menu-image,
     140body.branch-3-6 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
     141body.branch-3-7 #adminmenu #toplevel_page_bp-activity .wp-menu-image:before,
     142body.branch-3-7 #adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,
     143body.branch-3-7 #adminmenu #toplevel_page_bp-groups .wp-menu-image:before,
     144body.branch-3-7 #adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,
     145body.branch-3-7 #adminmenu li.toplevel_page_bp-components .wp-menu-image,
     146body.branch-3-7 #adminmenu li.toplevel_page_bp-general-settings .wp-menu-image {
     147        content: "";
     148}
     149
     150/* Settings - Dashicons (WP 3.8+) */
    94151.settings_page_bp-components td.plugin-title span {
    95152        float: left;
    96153        width: 18px;
    97154        height: 18px;
     155        margin-right: 5px;
     156}
     157
     158.settings_page_bp-components td.plugin-title span:before {
     159        font-family: 'dashicons';
     160        font-size: 18px;
     161}
     162
     163.settings_page_bp-components tr.activity td.plugin-title span:before {
     164        content: "\f452";
     165}
     166
     167.settings_page_bp-components tr.notifications td.plugin-title span:before {
     168        content: "\f339";
     169}
     170
     171.settings_page_bp-components tr.xprofile td.plugin-title span:before {
     172        content: "\f336";
     173}
     174
     175.settings_page_bp-components tr.settings td.plugin-title span:before {
     176        content: "\f108";
     177}
     178
     179.settings_page_bp-components tr.groups td.plugin-title span:before {
     180        content: "\f456";
     181}
     182
     183.settings_page_bp-components tr.messages td.plugin-title span:before {
     184        content: "\f457";
     185}
     186
     187.settings_page_bp-components tr.forums td.plugin-title span:before {
     188        content: "\f452";
     189}
     190
     191.settings_page_bp-components tr.blogs td.plugin-title span:before {
     192        content: "\f120";
     193}
     194
     195.settings_page_bp-components tr.friends td.plugin-title span:before {
     196        content: "\f454";
     197}
     198
     199/* Settings - Legacy (< WP 3.8) */
     200body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span:before,
     201body.branch-3-6.settings_page_bp-components tr.notifications td.plugin-title span:before,
     202body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span:before,
     203body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span:before,
     204body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span:before,
     205body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span:before,
     206body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span:before,
     207body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span:before,
     208body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span:before,
     209body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span:before,
     210body.branch-3-7.settings_page_bp-components tr.notifications td.plugin-title span:before,
     211body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span:before,
     212body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span:before,
     213body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span:before,
     214body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span:before,
     215body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span:before,
     216body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span:before,
     217body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span:before {
     218        content: "";
     219}
     220
     221body.branch-3-6.settings_page_bp-components td.plugin-title span,
     222body.branch-3-7.settings_page_bp-components td.plugin-title span {
    98223        background-image: url('../images/menu.png');
    99224        background-position: -4px -40px;
    100225        background-repeat: no-repeat;
    101         margin-right: 5px;
    102226}
    103227
    104 .dashboard_page_bp-wizard tr.active td.plugin-title span,
    105 .settings_page_bp-components tr.active td.plugin-title span {
     228body.branch-3-6.settings_page_bp-components tr.active td.plugin-title span,
     229body.branch-3-7.settings_page_bp-components tr.active td.plugin-title span {
    106230        background-position-y: -7px;
    107231}
    108232
    109 .dashboard_page_bp-wizard tr.activity td.plugin-title span,
    110 .settings_page_bp-components tr.activity td.plugin-title span {
    111         background-position-x: -4px;
     233body.branch-3-6.settings_page_bp-components tr.activity td.plugin-title span,
     234body.branch-3-7.settings_page_bp-components tr.activity td.plugin-title span {
     235        background-position: -4px -40px;
     236}
     237
     238body.branch-3-6.settings_page_bp-components tr.activity.active td.plugin-title span,
     239body.branch-3-7.settings_page_bp-components tr.activity.active td.plugin-title span {
     240        background-position: -4px -7px;
    112241}
    113242
    114 .dashboard_page_bp-wizard tr.xprofile td.plugin-title span,
    115 .settings_page_bp-components tr.xprofile td.plugin-title span {
     243body.branch-3-6.settings_page_bp-components tr.xprofile td.plugin-title span,
     244body.branch-3-7.settings_page_bp-components tr.xprofile td.plugin-title span {
    116245        background-image: url('../images/menu-wp.png');
    117         background-position-x: -305px;
     246        background-position: -305px -40px;
     247}
     248
     249body.branch-3-6.settings_page_bp-components tr.xprofile.active td.plugin-title span,
     250body.branch-3-7.settings_page_bp-components tr.xprofile.active td.plugin-title span {
     251        background-position: -305px -7px;
    118252}
    119253
    120 .dashboard_page_bp-wizard tr.settings td.plugin-title span,
    121 .settings_page_bp-components tr.settings td.plugin-title span {
     254body.branch-3-6.settings_page_bp-components tr.settings td.plugin-title span,
     255body.branch-3-7.settings_page_bp-components tr.settings td.plugin-title span {
    122256        background-image: url('../images/menu-wp.png');
    123         background-position-x: -334px;
     257        background-position: -334px -40px;
     258}
     259
     260body.branch-3-6.settings_page_bp-components tr.settings.active td.plugin-title span,
     261body.branch-3-7.settings_page_bp-components tr.settings.active td.plugin-title span {
     262        background-position: -334px -7px;
     263}
     264
     265body.branch-3-6.settings_page_bp-components tr.groups td.plugin-title span,
     266body.branch-3-7.settings_page_bp-components tr.groups td.plugin-title span {
     267        background-position: -66px -40px;
     268}
     269
     270body.branch-3-6.settings_page_bp-components tr.groups.active td.plugin-title span,
     271body.branch-3-7.settings_page_bp-components tr.groups.active td.plugin-title span {
     272        background-position: -66px -7px;
    124273}
    125274
    126 .dashboard_page_bp-wizard tr.groups td.plugin-title span,
    127 .settings_page_bp-components tr.groups td.plugin-title span {
    128         background-position-x: -66px;
     275body.branch-3-6.settings_page_bp-components tr.messages td.plugin-title span,
     276body.branch-3-7.settings_page_bp-components tr.messages td.plugin-title span {
     277        background-position: -154px -40px;
    129278}
    130279
    131 .dashboard_page_bp-wizard tr.messages td.plugin-title span,
    132 .settings_page_bp-components tr.messages td.plugin-title span {
    133         background-position-x: -154px;
     280body.branch-3-6.settings_page_bp-components tr.messages.active td.plugin-title span,
     281body.branch-3-7.settings_page_bp-components tr.messages.active td.plugin-title span {
     282        background-position: -154px -7px;
    134283}
    135284
    136 .dashboard_page_bp-wizard tr.forums td.plugin-title span,
    137 .settings_page_bp-components tr.forums td.plugin-title span {
     285body.branch-3-6.settings_page_bp-components tr.forums td.plugin-title span,
     286body.branch-3-7.settings_page_bp-components tr.forums td.plugin-title span {
    138287        background-image: url('../images/menu-wp.png');
    139         background-position-x: -36px;
     288        background-position: -36px -40px;
     289}
     290
     291body.branch-3-6.settings_page_bp-components tr.forums.active td.plugin-title span,
     292body.branch-3-7.settings_page_bp-components tr.forums.active td.plugin-title span {
     293        background-position: -36px -7px;
     294}
     295
     296body.branch-3-6.settings_page_bp-components tr.blogs td.plugin-title span,
     297body.branch-3-7.settings_page_bp-components tr.blogs td.plugin-title span {
     298        background-position: -125px -40px;
    140299}
    141300
    142 .dashboard_page_bp-wizard tr.blogs td.plugin-title span,
    143 .settings_page_bp-components tr.blogs td.plugin-title span {
    144         background-position-x: -125px;
     301body.branch-3-6.settings_page_bp-components tr.blogs.active td.plugin-title span,
     302body.branch-3-7.settings_page_bp-components tr.blogs.active td.plugin-title span {
     303        background-position: -125px -7px;
    145304}
    146305
    147 .dashboard_page_bp-wizard tr.friends td.plugin-title span,
    148 .settings_page_bp-components tr.friends td.plugin-title span {
    149         background-position-x: -95px;
     306body.branch-3-6.settings_page_bp-components tr.friends td.plugin-title span,
     307body.branch-3-7.settings_page_bp-components tr.friends td.plugin-title span {
     308        background-position: -95px -40px;
    150309}
    151310
    152 .dashboard_page_bp-wizard tr.core td.plugin-title span,
    153 .settings_page_bp-components tr.core td.plugin-title span {
    154         background-position-x: -184px;
     311body.branch-3-6.settings_page_bp-components tr.friends.active td.plugin-title span,
     312body.branch-3-7.settings_page_bp-components tr.friends.active td.plugin-title span {
     313        background-position: -95px -7px;
    155314}
    156315
    157 .dashboard_page_bp-wizard tr.members td.plugin-title span,
    158 .settings_page_bp-components tr.members td.plugin-title span {
    159         background-position-x: -36px;
     316body.branch-3-6.settings_page_bp-components tr.core td.plugin-title span,
     317body.branch-3-7.settings_page_bp-components tr.core td.plugin-title span {
     318        background-position: -184px -40px;
     319}
     320
     321body.branch-3-6.settings_page_bp-components tr.core.active td.plugin-title span,
     322body.branch-3-7.settings_page_bp-components tr.core.active td.plugin-title span {
     323        background-position: -184px -7px;
     324}
     325
     326body.branch-3-6.settings_page_bp-components tr.members td.plugin-title span,
     327body.branch-3-7.settings_page_bp-components tr.members td.plugin-title span {
     328        background-position: -36px -40px;
     329}
     330
     331body.branch-3-6.settings_page_bp-components tr.members.active td.plugin-title span,
     332body.branch-3-7.settings_page_bp-components tr.members.active td.plugin-title span {
     333        background-position: -36px -7px;
    160334}
    161335
    162336#bp-admin-component-form .widefat th {
    … … table.bp-group-members .urole-column {  
    194368@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
    195369
    196370        /* Icon 32 */
    197         div#icon-buddypress,
    198         div#icon-buddypress-activity,
    199         div#icon-buddypress-groups {
     371        body.branch-3-6 div#icon-buddypress,
     372        body.branch-3-6 div#icon-buddypress-activity,
     373        body.branch-3-6 div#icon-buddypress-groups,
     374        body.branch-3-7 div#icon-buddypress,
     375        body.branch-3-7 div#icon-buddypress-activity,
     376        body.branch-3-7 div#icon-buddypress-groups {
    200377                background-image: url('../images/icons64.png');
    201378                background-size: 419px 45px;
    202379        }
    203380
    204381        /* Backpat */
    205         ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
    206         ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
    207         ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
    208         ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,
    209         ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
    210         ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image {
     382        body.branch-3-6 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
     383        body.branch-3-6 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
     384        body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
     385        body.branch-3-6 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,
     386        body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
     387        body.branch-3-6 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image,
     388        body.branch-3-7 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
     389        body.branch-3-7 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image,
     390        body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity .wp-menu-image,
     391        body.branch-3-7 ul#adminmenu li.toplevel_page_bp-activity_network .wp-menu-image,
     392        body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups .wp-menu-image,
     393        body.branch-3-7 ul#adminmenu li.toplevel_page_bp-groups_network .wp-menu-image {
    211394                background-image: url('../images/menu-2x.png') !important;
    212395                background-size: 209px 64px;
    213396        }
    … … table.bp-group-members .urole-column {  
    217400                background-image: url('../images/badge-2x.png');
    218401                background-size: 173px 194px;
    219402        }
    220 }
    221  No newline at end of file
     403}