Make WordPress Core

Changeset 26289


Ignore:
Timestamp:
11/20/2013 04:53:05 PM (11 years ago)
Author:
iammattthomas
Message:

Cleanup on inputs:

  • Remove the !important from checkbox and radio border color
  • Remove the redundant #wpbody select rule
  • Add checkbox and radio inputs to the standard :focus style rules for inputs
  • Remove custom border and box shadow styles from .login inputs
  • Don't remove the default outline from select elements since webkit doesn't allow borders on selects

Fixes #26120.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

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

    r26256 r26289  
    3131input[type=radio] {
    3232    background: #fff;
    33     border-color: #bbb !important;
     33    border-color: #bbb;
    3434    color: #555;
    3535
     
    5151input[type=radio]:checked:before {
    5252    background-color: #1e8cbe;
    53 }
    54 
    55 #wpbody select {
    56     border-color: #bbb;
    5753}
    5854
     
    300296input[type="tel"]:focus,
    301297input[type="url"]:focus,
     298input[type="checkbox"]:focus,
     299input[type="radio"]:focus,
    302300select:focus {
    303     border-color: #aaa;
     301    border-color: #999;
    304302}
    305303
     
    20172015.login input[type="text"],
    20182016.login form input[type="checkbox"] {
    2019     border-color: #ddd !important; /* Override !important in checkbox style */
    2020     -webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,0.08);
    2021     box-shadow:         inset 1px 1px 2px rgba(0,0,0,0.08);
    2022 }
    2023 
    2024 .login form input[type="checkbox"] {
    2025     background-color: #fbfbfb;
     2017    background: #fbfbfb;
    20262018}
    20272019
  • trunk/src/wp-admin/css/wp-admin.css

    r26285 r26289  
    414414input[type="email"],
    415415input[type="url"],
    416 select,
    417416textarea,
    418417div {
     
    884883input[type="tel"]:focus,
    885884input[type="url"]:focus,
     885input[type="checkbox"]:focus,
     886input[type="radio"]:focus,
    886887select:focus {
    887888    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
     
    84978498.login form .input,
    84988499.login input[type="text"] {
    8499     color: #555;
    85008500    font-size: 24px;
    85018501    line-height: 1;
    85028502    width: 100%;
    85038503    padding: 3px;
    8504     margin-top: 2px;
    8505     margin-right: 6px;
    8506     margin-bottom: 16px;
    8507     border: 1px solid #e5e5e5;
    8508     background: #fbfbfb;
    8509     outline: none;
    8510     -webkit-box-shadow: inset 1px 1px 2px rgba(200, 200, 200, 0.2);
    8511     box-shadow: inset 1px 1px 2px rgba(200, 200, 200, 0.2);
     8504    margin: 2px 6px 16px 0;
    85128505}
    85138506
Note: See TracChangeset for help on using the changeset viewer.