Make WordPress Core

Changeset 29360


Ignore:
Timestamp:
08/02/2014 07:52:01 PM (11 years ago)
Author:
ocean90
Message:

Media: Don't stretch radio and checkbox inputs in compat fields. Adjust margin for radio inputs.

props kovshenin for initial patch.
fixes #28647.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/media-views.css

    r29314 r29360  
    315315
    316316.media-sidebar .setting input[type="checkbox"],
    317 .media-sidebar .field input[type="checkbox"] {
    318     width: 16px;
     317.media-sidebar .field input[type="checkbox"],
     318.media-sidebar .setting input[type="radio"],
     319.media-sidebar .field input[type="radio"] {
    319320    float: none;
    320321    margin: 8px 3px 0;
     
    402403}
    403404
    404 .compat-item .field input {
     405.compat-item .field input[type="text"],
     406.compat-item .field input[type="password"],
     407.compat-item .field input[type="email"],
     408.compat-item .field input[type="number"],
     409.compat-item .field input[type="search"],
     410.compat-item .field input[type="tel"],
     411.compat-item .field input[type="url"] {
    405412    width: 100%;
    406413    margin: 0;
     
    28022809}
    28032810
     2811.edit-attachment-frame input,
     2812.edit-attachment-frame textarea {
     2813    padding: 6px 8px;
     2814    line-height: 16px;
     2815}
     2816
    28042817.edit-attachment-frame .attachment-info .details,
    28052818.edit-attachment-frame .attachment-info .settings {
     
    28392852
    28402853.edit-attachment-frame .attachment-info .setting input[type="checkbox"],
    2841 .edit-attachment-frame .attachment-info .field input[type="checkbox"] {
    2842     width: 16px;
     2854.edit-attachment-frame .attachment-info .field input[type="checkbox"],
     2855.edit-attachment-frame .attachment-info .setting input[type="radio"],
     2856.edit-attachment-frame .attachment-info .field input[type="radio"] {
    28432857    float: none;
    28442858    margin: 8px 3px 0;
     
    28572871.edit-attachment-frame .attachment-info .setting input[type="text"],
    28582872.edit-attachment-frame .attachment-info .setting input[type="password"],
     2873.edit-attachment-frame .attachment-info .setting input[type="email"],
    28592874.edit-attachment-frame .attachment-info .setting input[type="number"],
    28602875.edit-attachment-frame .attachment-info .setting input[type="search"],
     
    28662881    width: 65%;
    28672882    float: right;
    2868     padding: 6px 8px;
    28692883    -webkit-box-sizing: border-box;
    28702884    -moz-box-sizing: border-box;
Note: See TracChangeset for help on using the changeset viewer.