Make WordPress Core

Changeset 27199


Ignore:
Timestamp:
02/20/2014 03:23:49 AM (11 years ago)
Author:
helen
Message:

Make login styles standalone. see #12506.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r27195 r27199  
    115115        cssmin: {
    116116            options: {
    117                 'wp-admin': ['wp-admin', 'color-picker', 'customize-controls', 'ie', 'install', 'deprecated-*']
     117                'wp-admin': ['wp-admin', 'color-picker', 'customize-controls', 'ie', 'install', 'login', 'deprecated-*']
    118118            },
    119119            core: {
  • trunk/src/wp-admin/css/login.css

    r27195 r27199  
    1 .ie8 .login form .input {
    2     font-family: sans-serif;
     1@import url(common.css);
     2@import url(forms.css);
     3
     4html,
     5body {
     6    height: 100%;
     7    margin: 0;
     8    padding: 0;
     9}
     10
     11html {
     12    background: #f1f1f1;
    313}
    414
     
    616    background: #f1f1f1;
    717    min-width: 0;
     18    color: #444;
     19    font-family: "Open Sans", sans-serif;
     20    font-size: 13px;
     21    line-height: 1.4em;
     22}
     23
     24p {
     25    line-height: 1.5;
    826}
    927
     
    153171}
    154172
     173.ie7 .login form .input,
     174.ie8 .login form .input {
     175    font-family: sans-serif;
     176}
     177
    155178.login #pass-strength-result {
    156179    width: 250px;
     
    202225}
    203226
     227@-ms-viewport {
     228    width: device-width;
     229}
     230
    204231@media screen and ( max-width: 782px ) {
    205232    .interim-login input[type=checkbox] {
  • trunk/src/wp-admin/css/wp-admin.css

    r27195 r27199  
    11@import url(common.css);
    22@import url(forms.css);
    3 @import url(login.css);
    43@import url(admin-menu.css);
    54@import url(dashboard.css);
  • trunk/src/wp-includes/script-loader.php

    r27181 r27199  
    587587    // Admin CSS
    588588    $styles->add( 'wp-admin',           "/wp-admin/css/wp-admin$suffix.css", array( 'open-sans', 'dashicons' ) );
     589    $styles->add( 'login',              "/wp-admin/css/login$suffix.css", array( 'buttons', 'open-sans', 'dashicons' ) );
    589590    $styles->add( 'install',            "/wp-admin/css/install$suffix.css", array( 'buttons', 'open-sans' ) );
    590591    $styles->add( 'wp-color-picker',    "/wp-admin/css/color-picker$suffix.css" );
  • trunk/src/wp-login.php

    r27068 r27199  
    6969    <?php
    7070
    71     wp_admin_css( 'wp-admin', true );
    72     wp_admin_css( 'colors-fresh', true );
    73     wp_admin_css( 'ie', true );
     71    wp_admin_css( 'login', true );
    7472
    7573    // Remove all stored post data on logging out.
Note: See TracChangeset for help on using the changeset viewer.