Make WordPress Core

Changeset 26308


Ignore:
Timestamp:
11/21/2013 08:03:42 PM (10 years ago)
Author:
iammattthomas
Message:

Combine border and box-shadow styles for inputs, textareas, and selects. Set border-radius to 0 on these elements to override default styling in iOS. See #24387.

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

Legend:

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

    r26297 r26308  
    260260input[type="tel"],
    261261input[type="url"],
    262 .titlewrap input {
    263     box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
    264 }
    265 
    266 textarea,
    267 input[type="text"],
    268 input[type="password"],
    269 input[type="email"],
    270 input[type="number"],
    271 input[type="search"],
    272 input[type="tel"],
    273 input[type="url"],
    274262.titlewrap input,
    275263select {
    276264    border-color: #ddd;
    277 }
    278 
    279 .inside textarea,
    280 .inside input[type="text"],
    281 .inside input[type="password"],
    282 .inside input[type="email"],
    283 .inside input[type="number"],
    284 .inside input[type="search"],
    285 .inside input[type="tel"],
    286 .inside input[type="url"] {
    287     border-color: #ddd;
     265    box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
    288266}
    289267
  • trunk/src/wp-admin/css/wp-admin.css

    r26306 r26308  
    394394    padding: 3px 5px;
    395395    line-height: 15px;
     396    border-radius: 0 /* Reset mobile webkit's default element styling */
    396397}
    397398
     
    409410input[type="url"],
    410411textarea,
    411 div {
     412div,
     413select {
    412414    outline: 0;
    413415}
Note: See TracChangeset for help on using the changeset viewer.