Making WordPress.org

Changeset 2301


Ignore:
Timestamp:
01/16/2016 12:21:14 AM (9 years ago)
Author:
iandunn
Message:

WordCamp Budgets: Add new post type for Sponsor Invoices.

Fixes #790

Location:
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments
Files:
7 added
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/bootstrap.php

    r2272 r2301  
    1616    require_once( __DIR__ . '/includes/wordcamp-budgets.php' );
    1717    require_once( __DIR__ . '/includes/payment-request.php' );
     18    require_once( __DIR__ . '/includes/sponsor-invoice.php' );
    1819    require_once( __DIR__ . '/includes/encryption.php' );
    1920
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/css/wordcamp-budgets.css

    r2300 r2301  
    22 * Common
    33 */
    4 .menu-icon-wcp_payment_request .wp-menu-image img {
     4.menu-icon-wcp_payment_request .wp-menu-image img,
     5.menu-icon-wcb_sponsor_invoice .wp-menu-image img {
    56    margin-left: 9px;
     7}
     8
     9/* Forms */
     10.wcb-form {
     11    display: table;
     12}
     13
     14.wcb-form li {
     15    display: table-row;
     16}
     17
     18.wcb-form li label {
     19    display: table-cell;
     20    margin-bottom: 1em;
     21    vertical-align: top;
     22    font-weight: bold;
     23}
     24
     25.wcb-form li > input,
     26.wcb-form li > select,
     27.wcb-form li > textarea,
     28.wcb-form-input-wrapper {
     29    display: table-cell;
     30    margin-left: 1em;
     31    margin-bottom: 1em;
     32}
     33
     34/* margins from above selector aren't applied */
     35.wcb-form-input-wrapper {
     36    padding-left: 1em;
     37    padding-bottom: 1em;
    638}
    739
     
    2153}
    2254
    23 
    24 /* Files  */
     55/* Files */
    2556#wcp_files .description {
    2657    margin-bottom: 1em;
     
    5485    width: 130px;
    5586}
     87
     88
     89/*
     90 * Sponsor Invoices
     91 */
     92
     93#wcbsi-billing-information {
     94    overflow: auto;
     95}
     96
     97#wcbsi-billing-contact {
     98    padding-right: 1em;
     99}
     100
     101#wcbsi-billing-contact,
     102#wcbsi-billing-address {
     103    float: left;
     104    width: 50%;
     105    box-sizing: border-box;
     106}
     107
     108#submitpost.wcbsi #minor-publishing-actions {
     109    text-align: left;
     110}
     111
     112/* todo this also exists in Dashboard CSS, so maybe centralize */
     113.wcbsi-inline-notice {
     114    margin-bottom: 5px;
     115    box-shadow:    none;
     116    border-top:    1px solid rgba( 0, 0, 0, 0.1 );
     117    border-right:  1px solid rgba( 0, 0, 0, 0.1 );
     118    border-bottom: 1px solid rgba( 0, 0, 0, 0.1 );
     119}
Note: See TracChangeset for help on using the changeset viewer.