Ticket #334: coming-soon.3.diff
File coming-soon.3.diff, 3.2 KB (added by , 9 years ago) |
---|
-
classes/wccsp-settings.php
34 34 public function get_settings() { 35 35 $defaults = array( 36 36 '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' => '#0073 aa',37 'body_background_color' => '#0073AA', 38 38 'image_id' => 0, 39 39 'background_id' => 0, 40 40 'container_background_color' => '#FFFFFF', // deprecated … … 60 60 'autofocus[section]' => 'wccsp_live_preview', 61 61 'url' => rawurlencode( add_query_arg( 'wccsp-preview', '', site_url() ) ), 62 62 ), 63 admin_url( 'customize.php' )63 '/customize.php' 64 64 ); 65 65 66 66 return $url; -
classes/wordcamp-coming-soon-page.php
45 45 } 46 46 47 47 $this->dequeue_all_stylesheets(); 48 wp_register_style( 'open-sans', 'https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600', array(), null ); 48 49 49 50 wp_enqueue_style( 50 51 'wccsp-template', 51 52 plugins_url( '/css/template-coming-soon.css', __DIR__ ), 52 array( ),53 array( 'open-sans' ), 53 54 1 54 55 ); 55 56 } -
css/template-coming-soon.css
1 1 body { 2 2 margin: 0; 3 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;3 font-family: "Open Sans", sans-serif; 4 4 font-size: 24px; 5 5 -webkit-font-smoothing: antialiased; 6 6 -moz-osx-font-smoothing: grayscale; … … 130 130 display: block; 131 131 } 132 132 133 label span {134 margin-left: 8px;135 text-transform: uppercase;136 font-size: 16px;137 }138 139 133 .jetpack_subscription_widget { 140 134 } 141 135 … … 184 178 margin: 0 0 50px; 185 179 } 186 180 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%; 190 187 border: 1px solid #cbcdce; 191 188 } 192 189 … … 194 191 margin-bottom: 40px; 195 192 } 196 193 197 .wccsp-contact label {194 .wccsp-contact .contact-form label { 198 195 margin-bottom: 10px; 196 font-weight: normal; 199 197 } 200 198 201 .wccsp-contact input[type="submit"] { 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"] { 202 210 padding: 5px 30px; 203 211 width: auto; 204 212 } … … 223 231 .wccsp-footer a:focus { 224 232 text-decoration: underline; 225 233 } 234 235 /* If infinite scroll is active, JP adds a footer. */ 236 #infinite-footer { 237 display: none !important; 238 }