Making WordPress.org


Ignore:
Timestamp:
05/31/2018 12:51:13 PM (7 years ago)
Author:
netweb
Message:

Support Theme: Update CSS to meet WordPress CSS Coding Standards

See https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/forms/_fields.scss

    r4779 r7256  
    9898    padding: 0 !important;
    9999    text-align: center;
    100     transition: .05s border-color ease-in-out;
     100    transition: 0.05s border-color ease-in-out;
    101101    vertical-align: middle;
    102102    width: 25px;
     
    113113}
    114114
    115 input[type="checkbox"]:checked:before,
    116 input[type="radio"]:checked:before {
     115input[type="checkbox"]:checked::before,
     116input[type="radio"]:checked::before {
    117117    display: inline-block;
    118118    float: left;
    119     font: normal 21px/1 dashicons;
     119    font: 400 21px/1 dashicons;
    120120    vertical-align: middle;
    121121    width: 16px;
     
    125125}
    126126
    127 input[type="checkbox"]:checked:before {
     127input[type="checkbox"]:checked::before {
    128128    color: #1e8cbe;
    129129    content: "\f147";
    130     font: normal 30px/1 dashicons;
     130    font: 400 30px/1 dashicons;
    131131    margin: -3px -5px;
    132132}
    133133
    134 input[type="radio"]:checked:before {
     134input[type="radio"]:checked::before {
    135135    background-color: #1e8cbe;
    136136    border-radius: 50px;
     
    146146
    147147@-moz-document url-prefix() {
     148
    148149    input[type="checkbox"],
    149150    input[type="radio"],
     
    229230input[type="radio"]:disabled,
    230231input[type="radio"].disabled,
    231 input[type="checkbox"]:disabled:checked:before,
    232 input[type="checkbox"].disabled:checked:before,
    233 input[type="radio"]:disabled:checked:before,
    234 input[type="radio"].disabled:checked:before {
     232input[type="checkbox"]:disabled:checked::before,
     233input[type="checkbox"].disabled:checked::before,
     234input[type="radio"]:disabled:checked::before,
     235input[type="radio"].disabled:checked::before {
    235236    opacity: 0.7;
    236237}
     
    246247
    247248@media screen and ( min-width: 48em ) {
     249
    248250    /* Input Elements */
    249251    input[type="text"],
     
    263265    }
    264266
    265     input[type="checkbox"]:checked:before {
    266         font: normal 21px/1 dashicons;
     267    input[type="checkbox"]:checked::before {
     268        font: 400 21px/1 dashicons;
    267269        margin: -3px 0 0 -4px;
    268270    }
     
    274276    }
    275277
    276     input[type="radio"]:checked:before {
     278    input[type="radio"]:checked::before {
    277279        width: 6px;
    278280        height: 6px;
Note: See TracChangeset for help on using the changeset viewer.