Making WordPress.org

Changeset 3099


Ignore:
Timestamp:
05/08/2016 12:05:18 AM (11 years ago)
Author:
obenland
Message:

Plugin Directory: First pass at Author Card.

Brings over the user card plugin from the existing directory with some
modifications.

See #1695.

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php

    r3095 r3099  
    342342                                array( __NAMESPACE__ . '\Metabox\Review_Tools', 'display' ),
    343343                                'plugin', 'normal', 'high'
     344                        );
     345
     346                        add_meta_box(
     347                                'plugin-author',
     348                                __( 'Author Card', 'wporg-plugins' ),
     349                                array( __NAMESPACE__ . '\Metabox\Author_Card', 'display' ),
     350                                'plugin', 'side'
    344351                        );
    345352                }
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/css/edit-form.css

    r2753 r3099  
    152152.add-committer .notice {
    153153        display: block;
    154     padding: 0.5em 0 0.5em 1em;
    155 }
     154        padding: 0.5em 0 0.5em 1em;
     155}
     156
     157/* Author Card metabox */
     158#pagebody .pending p {
     159        margin: 0 10px 22px;
     160}
     161
     162#pagebody .pending span:first-child {
     163        margin-left: 0;
     164}
     165
     166#pagebody .pending p.request-more {
     167        margin-bottom: 0;
     168}
     169
     170.profile-links {
     171        color: #999;
     172        display: block;
     173}
     174
     175.profile > img {
     176        float: left;
     177        height: 48px;
     178        margin-right: 8px;
     179        margin-top: 4px;
     180        width: 48px;
     181}
     182
     183.profile-join {
     184        display: inline-block;
     185}
     186
     187.profile-post-ip {
     188        margin-right: 15px;
     189}
     190
     191.profile-sp-link {
     192        margin-left: 4px;
     193        font-size: 10px;
     194}
     195
     196.profile-plugins > span {
     197        white-space: nowrap;
     198}
     199
     200.profile-plugins a.profile-plugin-requested {
     201        color: blue;
     202}
     203
     204.profile-plugins a.profile-plugin-rejected {
     205        color: red;
     206        text-decoration: line-through;
     207}
     208
     209.profile-plugins a.profile-plugin-closed {
     210        color: red;
     211}
     212
     213.profile-plugins a.profile-plugin-open-old {
     214        color: #666;
     215}
     216
     217a.profile-plugin-open {
     218        color: green;
     219}
     220
     221.plugin-owner {
     222        font-weight: bold;
     223}
     224
     225.plugin-status {
     226        font-weight: bold;
     227        text-transform: uppercase;
     228}
     229
     230.plugin-status span {
     231        text-transform: none;
     232}
     233
     234.plugin-status-open {
     235        background-color: #e2fde3;
     236}
     237
     238.plugin-status-rejected {
     239        background-color: #fde3e3;
     240}
     241
     242.plugin-status-rejected .plugin-status {
     243        color: #f00;
     244}
     245
     246.plugin-status-requested {
     247        background-color: #e2f7fd;
     248}
     249
     250.plugin-status-requested .plugin-status {
     251        color: #00f;
     252}
     253
     254.plugin-status-closed {
     255        background-color: #fde3e3;
     256}
     257
     258.plugin-status-disabled {
     259        background-color: #fde3e3;
     260}
     261
     262.plugin-committers > div {
     263        overflow-x: hidden;
     264        white-space: nowrap;
     265}
     266
     267.plugin-committer-email {
     268        font-size: smaller;
     269}
     270
     271.plugin-queue-flagged {
     272        margin-top: 12px;
     273}
     274
     275.plugin-queue-flagged h4 {
     276        margin: 0;
     277        padding: 0;
     278}
     279
     280#pagebody .plugin-queue-flagged ul {
     281        margin-top: 6px;
     282}
     283
     284.plugin-flagged-critical {
     285        color: darkred;
     286        font-weight: bold;
     287}
     288
     289.plugin-flagged-high {
     290        color: #d80000;
     291}
     292
     293.plugin-flagged-med {
     294        color: #f90;
     295}
     296
     297.plugin-flagged-low {
     298        color: #beb169;
     299}
     300
     301.plugin-flagged-info {
     302        color: blue;
     303}
     304
     305.plugin-flagged-status {
     306        float: left;
     307        margin-right: 0.5em;
     308        padding: 0 1px;
     309}
     310
     311.plugin-queue-unflagged {
     312        background-color: green;
     313}
     314
     315.plugin-queue-flagged-critical {
     316        background-color: darkred;
     317}
Note: See TracChangeset for help on using the changeset viewer.