Making WordPress.org

Changeset 3837


Ignore:
Timestamp:
08/22/2016 05:03:24 PM (9 years ago)
Author:
iandunn
Message:

WordCamp Coming Soon Page: Minor design revisions to align with mockups.

  • Align submit button on the right
  • Override Jetpack form styles
  • Hide Jetpack's Infinite Scroll element

Fixes #334
Props ryelle

Location:
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page/classes/wccsp-settings.php

    r3835 r3837  
    3535        $defaults = array(
    3636            'enabled'                    => 'off',        // so that sites created before the plugin was deployed won't display the home page when the plugin is activated
    37             'body_background_color'      => '#0073aa',
     37            'body_background_color'      => '#0073AA',
    3838            'image_id'                   => 0,
    3939            'background_id'              => 0,
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page/css/template-coming-soon.css

    r3836 r3837  
    131131}
    132132
    133     label span {
    134         margin-left: 8px;
    135         text-transform: uppercase;
    136         font-size: 16px;
    137     }
    138 
    139133.jetpack_subscription_widget {
    140134}
     
    185179    }
    186180
    187     .wccsp-contact input[type="text"],
    188     .wccsp-contact input[type="email"],
    189     .wccsp-contact textarea {
     181    .wccsp-contact .contact-form input[type="text"],
     182    .wccsp-contact .contact-form input[type="email"],
     183    .wccsp-contact .contact-form textarea {
     184        margin-bottom: 0;
     185        width: 100%;
     186        max-width: 100%;
    190187        border: 1px solid #cbcdce;
    191188    }
     
    195192    }
    196193
    197     .wccsp-contact label {
     194    .wccsp-contact .contact-form label {
    198195        margin-bottom: 10px;
    199     }
    200 
    201     .wccsp-contact input[type="submit"] {
     196        font-weight: normal;
     197    }
     198
     199    .wccsp-contact .contact-form label span {
     200        margin-left: 8px;
     201        text-transform: uppercase;
     202        font-size: 16px;
     203    }
     204
     205    .wccsp-contact .contact-submit {
     206        text-align: right;
     207    }
     208
     209    .wccsp-contact .contact-form input[type="submit"] {
    202210        padding: 5px 30px;
    203211        width: auto;
     
    224232        text-decoration: underline;
    225233    }
     234
     235/* Hide Jetpack's Infinite Scroll element */
     236#infinite-footer {
     237    display: none !important;
     238}
Note: See TracChangeset for help on using the changeset viewer.