WordPress.org

Make WordPress Core

Ticket #47153: 47153.diff

File 47153.diff, 842 bytes (added by audrasjb, 2 years ago)

Add gutenberg styles to edit media screen forms elements

  • src/wp-admin/css/forms.css

    diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css
    index b264994..0195c53 100644
    a b input[type="url"], 
    2323input[type="week"],
    2424select,
    2525textarea {
    26         border: 1px solid #ddd;
    27         box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
     26        padding: 6px 8px;
     27        box-shadow: 0 0 0 transparent;
     28        transition: box-shadow 0.1s linear;
     29        border-radius: 4px;
     30        border: 1px solid #8d96a0;
    2831        background-color: #fff;
    2932        color: #32373c;
    3033        outline: none;
    31         transition: 0.05s border-color ease-in-out;
    3234}
    3335
    3436input[type="text"]:focus,
    input[type="radio"]:focus, 
    5153select:focus,
    5254textarea:focus {
    5355        border-color: #5b9dd9;
    54         box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
    5556        /* Only visible in Windows High Contrast mode */
    5657        outline: 2px solid transparent;
    5758}