Make WordPress Core


Ignore:
Timestamp:
07/25/2019 07:10:33 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Bring some consistency to installation screen styles.

  • Include forms.css and l10n.css, for consistency with login screen and other admin screens.
  • Remove redundant @import directives from login.css for files already declared as dependencies.
  • Adjust margin on password strength meter for consistency with other fields.
  • Increase font size for "You will need this password to log in" notice.
  • Fix misaligned icon on "Hide" button for the password.

Props iseulde, dan@…, bassgang, cdog, johnbillion, nmenescardi, mukesh27, SergeyBiryukov.
Fixes #35776, #47757, #47758.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/install.css

    r45465 r45673  
    175175.form-table input[type=email],
    176176.form-table input[type=url],
    177 .form-table input[type=password] {
    178     width: 206px;
     177.form-table input[type=password],
     178#pass-strength-result {
     179    width: 218px;
    179180}
    180181
     
    211212#error-page code, .code {
    212213    font-family: Consolas, Monaco, monospace;
    213 }
    214 
    215 .wp-hide-pw > .dashicons {
    216     line-height: inherit;
    217 }
    218 
    219 #pass-strength-result {
    220     background-color: #eee;
    221     border: 1px solid #ddd;
    222     color: #23282d;
    223     margin: -2px 5px 5px 0px;
    224     padding: 3px 5px;
    225     text-align: center;
    226     width: 218px;
    227     box-sizing: border-box;
    228     opacity: 0;
    229 }
    230 
    231 #pass-strength-result.short {
    232     background-color: #f1adad;
    233     border-color: #e35b5b;
    234     opacity: 1;
    235 }
    236 
    237 #pass-strength-result.bad {
    238     background-color: #fbc5a9;
    239     border-color: #f78b53;
    240     opacity: 1;
    241 }
    242 
    243 #pass-strength-result.good {
    244     background-color: #ffe399;
    245     border-color: #ffc733;
    246     opacity: 1;
    247 }
    248 
    249 #pass-strength-result.strong {
    250     background-color: #c1e1b9;
    251     border-color: #83c373;
    252     opacity: 1;
    253 }
    254 
    255 #pass1.short, #pass1-text.short {
    256     border-color: #e35b5b;
    257 }
    258 
    259 #pass1.bad, #pass1-text.bad {
    260     border-color: #f78b53;
    261 }
    262 
    263 #pass1.good, #pass1-text.good {
    264     border-color: #ffc733;
    265 }
    266 
    267 #pass1.strong, #pass1-text.strong {
    268     border-color: #83c373;
    269 }
    270 
    271 .pw-weak {
    272     display: none;
    273214}
    274215
     
    290231#pass2 {
    291232    direction: ltr;
    292 }
    293 
    294 #pass1-text,
    295 .show-password #pass1 {
    296     display: none;
    297 }
    298 
    299 .show-password #pass1-text
    300 {
    301     display: inline-block;
    302 }
    303 
    304 .form-table span.description.important {
    305     font-size: 12px;
    306233}
    307234
Note: See TracChangeset for help on using the changeset viewer.