Ticket #48420: 48420.diff
File 48420.diff, 13.6 KB (added by , 6 years ago) |
---|
-
src/wp-admin/css/color-picker.css
10 10 11 11 /* Needs higher specificiity. */ 12 12 .wp-picker-container .wp-color-result.button { 13 min-height: 28px;13 min-height: 30px; 14 14 margin: 0 6px 6px 0px; 15 15 padding: 0 0 0 30px; 16 16 font-size: 11px; … … 22 22 border-left: 1px solid #ccc; 23 23 color: #555; 24 24 display: block; 25 line-height: 2. 36363636; /* 26px */25 line-height: 2.54545455; /* 28px */ 26 26 padding: 0 6px; 27 27 text-align: center; 28 28 } … … 73 73 .wp-picker-input-wrap .button.wp-picker-default, 74 74 .wp-customizer .wp-picker-input-wrap .button.wp-picker-default { 75 75 margin-left: 6px; 76 padding: 2px 8px; 76 padding: 0 8px; 77 line-height: 2.54545455; /* 28px */ 78 min-height: 30px; 77 79 } 78 80 79 81 .wp-picker-container .iris-square-slider .ui-slider-handle:focus { … … 87 89 } 88 90 89 91 .wp-picker-container input[type="text"].wp-color-picker { 90 width: 65px;92 width: 4rem; 91 93 font-size: 12px; 92 94 font-family: monospace; 93 line-height: 1.33333333; /* 16px */95 line-height: 2.33333333; /* 28px */ 94 96 margin: 0; 95 padding: 5px;97 padding: 0 5px; 96 98 vertical-align: top; 97 min-height: 28px;99 min-height: 30px; 98 100 } 99 101 100 102 .wp-color-picker::-webkit-input-placeholder { … … 132 134 133 135 @media screen and (max-width: 782px) { 134 136 .wp-picker-container input[type="text"].wp-color-picker { 135 width: 80px; 136 padding: 6px 5px 5px; 137 width: 5rem; 137 138 font-size: 16px; 138 line-height: 1.15; 139 line-height: 1.875; /* 30px */ 140 min-height: 32px; 139 141 } 140 142 141 143 .wp-customizer .wp-picker-container input[type="text"].wp-color-picker { 142 padding: 5px 5px 4px;144 padding: 0 5px; 143 145 } 144 146 147 .wp-picker-input-wrap .button.wp-picker-default { 148 padding: 0 8px; 149 line-height: 2.14285714; /* 30px */ 150 min-height: 32px; 151 } 152 153 .wp-customizer .wp-picker-input-wrap .button.wp-picker-default { 154 padding: 0 8px; 155 font-size: 14px; 156 line-height: 2.14285714; /* 30px */ 157 min-height: 32px; 158 } 159 145 160 .wp-picker-container .wp-color-result.button { 146 height: auto;147 161 padding: 0 0 0 40px; 148 162 font-size: 14px; 149 line-height: 2.1 ;163 line-height: 2.14285714; /* 30px */ 150 164 } 151 165 152 166 .wp-customizer .wp-picker-container .wp-color-result.button { 153 font-size: 1 3px;154 line-height: 2 ;167 font-size: 14px; 168 line-height: 2.14285714; /* 30px */ 155 169 } 156 170 157 171 .wp-picker-container .wp-color-result-text { … … 164 178 padding: 0 10px; 165 179 } 166 180 } 167 168 @media screen and (max-width: 640px) {169 .wp-customizer .wp-picker-container .wp-color-result.button {170 font-size: 14px;171 line-height: 2.1;172 }173 174 .wp-customizer .wp-picker-container input[type="text"].wp-color-picker {175 padding: 6px 5px;176 }177 } -
src/wp-admin/css/common.css
924 924 925 925 #delete-action { 926 926 float: left; 927 line-height: 2. 1;927 line-height: 2.30769231; /* 30px */ 928 928 } 929 929 930 930 #delete-link { 931 line-height: 2. 1;931 line-height: 2.30769231; /* 30px */ 932 932 vertical-align: middle; 933 933 text-align: left; 934 934 margin-left: 8px; … … 945 945 } 946 946 947 947 #publishing-action .spinner { 948 float: left; 948 float: none; 949 margin-top: 5px; 949 950 } 950 951 951 952 #misc-publishing-actions { … … 1086 1087 } 1087 1088 1088 1089 .wp-filter .search-form input[type="search"] { 1089 margin: 0;1090 margin: 1px 0; 1090 1091 width: 280px; 1091 1092 max-width: 100%; 1092 1093 font-size: inherit; -
src/wp-admin/css/customize-controls.css
159 159 float: left; 160 160 transform: none; 161 161 margin-top: 0; 162 line-height: 2; 162 163 } 163 164 164 165 body:not(.ready) #publish-settings, … … 912 913 margin-bottom: 12px; 913 914 } 914 915 915 .customize-control select,916 .customize-control input[type="radio"],917 .customize-control input[type="checkbox"] {918 line-height: 2;919 }920 921 916 .customize-control input[type="text"], 922 917 .customize-control input[type="password"], 923 918 .customize-control input[type="email"], … … 940 935 941 936 .customize-control select { 942 937 width: 100%; 943 height: 28px;944 line-height: 2;945 938 } 946 939 947 940 .customize-control select[multiple] { … … 2871 2864 } 2872 2865 2873 2866 .wp-core-ui.wp-customizer .button { 2874 padding: 6px 14px; 2875 line-height: normal; 2867 min-height: 30px; 2868 padding: 0 14px; 2869 line-height: 2; 2876 2870 font-size: 14px; 2877 2871 vertical-align: middle; 2878 height: auto;2879 2872 } 2880 2873 2881 #publish-settings {2882 height: 31px;2883 }2884 2885 2874 #customize-control-changeset_status .customize-inside-control-row { 2886 2875 padding-top: 15px; 2887 2876 } -
src/wp-admin/css/forms.css
28 28 29 29 input, 30 30 select { 31 margin: 1px;31 margin: 0 1px; 32 32 } 33 33 34 34 textarea.code { … … 308 308 ------------------------------------------------------------------------------*/ 309 309 310 310 /* Select styles are based on the default button in buttons.css */ 311 .wp- adminselect {312 font-size: 1 3px;313 line-height: 1. 38461538; /* 18px */311 .wp-core-ui select { 312 font-size: 14px; 313 line-height: 1.28571428; /* 18px */ 314 314 color: #32373c; 315 315 border-color: #7e8993; 316 316 box-shadow: none; 317 317 border-radius: 3px; 318 padding: 3px 24px 3px 8px;319 min-height: 28px;318 padding: 4px 24px 4px 8px; 319 min-height: 30px; 320 320 max-width: 25rem; 321 vertical-align: middle;322 321 -webkit-appearance: none; 323 322 /* The SVG is arrow-down-alt2 from Dashicons. */ 324 323 background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%; 325 324 background-size: 16px 16px; 326 325 cursor: pointer; 327 } 326 }e 328 327 329 /* Color and font size in the core form tables. */ 330 .wp-admin .form-table select { 331 font-size: 14px; 332 line-height: 1.28571428; /* 18px */ 333 color: #32373c; 334 } 335 336 .wp-admin select:hover { 328 .wp-core-ui select:hover { 337 329 color: #007cba; 338 330 } 339 331 340 .wp- adminselect:focus {332 .wp-core-ui select:focus { 341 333 border-color: #007cba; 342 334 color: #016087; 343 335 box-shadow: 0 0 0 1px #007cba; 344 336 } 345 337 346 .wp- adminselect:active {338 .wp-core-ui select:active { 347 339 border-color: #999; 348 340 box-shadow: none; 349 341 } 350 342 351 .wp- adminselect.disabled,352 .wp- adminselect:disabled {343 .wp-core-ui select.disabled, 344 .wp-core-ui select:disabled { 353 345 color: #a0a5aa; 354 346 border-color: #ddd; 355 347 background-color: #f7f7f7; … … 363 355 364 356 /* Reset Firefox inner outline that appears on :focus. */ 365 357 /* This ruleset overrides the color change on :focus thus needs to be after select:focus. */ 366 .wp- adminselect:-moz-focusring {358 .wp-core-ui select:-moz-focusring { 367 359 color: transparent; 368 360 text-shadow: 0 0 0 #016087; 369 361 } 370 362 371 363 /* Remove background focus style from IE11 while keeping focus style available on option elements. */ 372 .wp- adminselect::-ms-value {364 .wp-core-ui select::-ms-value { 373 365 background: transparent; 374 366 color: #555; 375 367 } 376 368 377 .wp- adminselect:hover::-ms-value {369 .wp-core-ui select:hover::-ms-value { 378 370 color: #007cba; 379 371 } 380 372 381 .wp- adminselect:focus::-ms-value {373 .wp-core-ui select:focus::-ms-value { 382 374 color: #016087; 383 375 } 384 376 385 .wp- adminselect.disabled::-ms-value,386 .wp- adminselect:disabled::-ms-value {377 .wp-core-ui select.disabled::-ms-value, 378 .wp-core-ui select:disabled::-ms-value { 387 379 color: #a0a5aa; 388 380 } 389 381 390 382 /* Hide the native down arrow for select element on IE. */ 391 .wp- adminselect::-ms-expand {383 .wp-core-ui select::-ms-expand { 392 384 display: none; 393 385 } 394 386 … … 407 399 margin-top: 0; 408 400 } 409 401 410 .wp- adminselect[multiple] {402 .wp-core-ui select[multiple] { 411 403 height: auto; 412 404 padding-right: 8px; 413 405 background: #fff; … … 484 476 #doaction, 485 477 #doaction2, 486 478 #post-query-submit { 487 margin: 1px8px 0 0;479 margin: 0 8px 0 0; 488 480 } 489 481 490 .tablenav #changeit,491 .tablenav #delete_all,492 .tablenav #clear-recent-list,493 .wp-filter #delete_all {494 margin-top: 1px;495 }496 497 482 .tablenav .actions select { 498 483 float: left; 499 484 margin-right: 6px; … … 508 493 .wp-cancel-pw > .dashicons { 509 494 position: relative; 510 495 top: 3px; 496 width: 1.25rem; 497 height: 1.25rem; 498 top: 0.25rem; 499 font-size: 20px; 511 500 } 512 501 513 502 .wp-cancel-pw .dashicons-no { … … 601 590 .wp-pwd [type="password"] { 602 591 margin-bottom: 0; 603 592 /* Same height as the buttons */ 604 line-height: 20px; 605 min-height: 28px; 606 max-height: 40px; 593 min-height: 30px; 607 594 } 608 595 596 /* Hide the Edge "reveal password" native button */ 597 .wp-pwd input::-ms-reveal { 598 display: none; 599 } 600 609 601 #pass1-text, 610 602 .show-password #pass1 { 611 603 display: none; … … 635 627 margin: 0 4px 0 0; 636 628 } 637 629 630 .plugins-php .search-box .wp-filter-search { 631 font-size: inherit; 632 } 633 638 634 .js.plugins-php .search-box .wp-filter-search { 639 635 margin: 0; 640 636 width: 280px; … … 1376 1372 margin-top: 10px; 1377 1373 } 1378 1374 1379 .wp- adminselect,1375 .wp-core-ui select, 1380 1376 .wp-admin .form-table select { 1381 1377 min-height: 40px; 1382 1378 font-size: 16px; … … 1526 1522 font-size: 14px; 1527 1523 } 1528 1524 1525 .background-position-control .button-group > label { 1526 font-size: 0; 1527 } 1528 1529 1529 .form-table fieldset label { 1530 1530 display: block; 1531 1531 } … … 1561 1561 position: absolute; 1562 1562 right: 0; 1563 1563 top: 0; 1564 width: 2.375rem; 1565 height: 2.375rem; 1566 min-width: 40px; 1567 min-height: 40px; 1564 1568 } 1565 1569 1566 1570 .wp-pwd button.wp-hide-pw { 1567 right: 40px;1571 right: 2.5rem; 1568 1572 } 1569 1573 1570 1574 .wp-pwd button.button:hover, … … 1585 1589 .wp-pwd [type="text"], 1586 1590 .wp-pwd [type="password"] { 1587 1591 line-height: 2; 1592 padding-right: 5rem; 1588 1593 } 1589 1594 1590 1595 .wp-cancel-pw .dashicons-no { -
src/wp-admin/css/list-tables.css
638 638 clear: both; 639 639 height: 30px; 640 640 margin: 6px 0 4px; 641 padding-top: 5px; 641 642 vertical-align: middle; 642 643 } 643 644 … … 647 648 648 649 .tablenav .tablenav-pages { 649 650 float: right; 650 margin: 3px0 9px;651 margin: 0 0 9px; 651 652 } 652 653 653 654 .tablenav .no-pages, … … 659 660 .tablenav .tablenav-pages .tablenav-pages-navspan { 660 661 display: inline-block; 661 662 vertical-align: baseline; 662 min-width: 28px;663 min-height: 28px;663 min-width: 30px; 664 min-height: 30px; 664 665 margin: 0; 665 666 padding: 0 4px; 666 667 font-size: 16px; 667 line-height: 1. 5;668 line-height: 1.625; /* 26px */ 668 669 text-align: center; 669 670 } 670 671 … … 678 679 } 679 680 680 681 .tablenav .actions { 681 overflow: hidden; 682 padding: 2px 8px 0 0; 682 padding: 0 8px 0 0; 683 683 } 684 684 685 685 .wp-filter .actions { … … 1038 1038 line-height: 1.16666666; 1039 1039 vertical-align: middle; 1040 1040 text-align: center; 1041 padding: 6px4px;1041 padding: 0 4px; 1042 1042 } 1043 1043 1044 1044 .inline-edit-row fieldset label input.inline-edit-password-input { … … 1957 1957 box-sizing: border-box; 1958 1958 } 1959 1959 1960 .inline-edit-row fieldset input[name=jj], 1961 .inline-edit-row fieldset input[name=hh], 1962 .inline-edit-row fieldset input[name=mn], 1963 .inline-edit-row fieldset input[name=aa] { 1964 font-size: 16px; 1965 line-height: 2; 1966 padding: 3px 4px; 1967 } 1968 1960 1969 .inline-edit-row fieldset ul.cat-checklist label, 1961 1970 .inline-edit-row #bulk-titles div { 1962 1971 font-size: 16px; -
src/wp-includes/css/buttons.css
46 46 display: inline-block; 47 47 text-decoration: none; 48 48 font-size: 13px; 49 line-height: 2 ;50 min-height: 28px;49 line-height: 2.15384615; /* 28px */ 50 min-height: 30px; 51 51 margin: 0; 52 52 padding: 0 10px; 53 53 cursor: pointer; … … 71 71 72 72 .wp-core-ui .button.button-large, 73 73 .wp-core-ui .button-group.button-large .button { 74 min-height: 3 0px;75 line-height: 2. 15384615;76 padding: 0 12px 2px;74 min-height: 32px; 75 line-height: 2.30769231; /* 30px */ 76 padding: 0 12px; 77 77 } 78 78 79 79 .wp-core-ui .button.button-small, 80 80 .wp-core-ui .button-group.button-small .button { 81 min-height: 2 4px;82 line-height: 2 ;81 min-height: 26px; 82 line-height: 2.18181818; /* 24px */ 83 83 padding: 0 8px; 84 84 font-size: 11px; 85 85 } … … 349 349 input#publish, 350 350 input#save-post, 351 351 a.preview { 352 padding: 1px14px;353 line-height: 2 ;352 padding: 0 14px; 353 line-height: 2.71428571; /* 38px */ 354 354 font-size: 14px; 355 355 vertical-align: middle; 356 height: auto;356 min-height: 40px; 357 357 margin-bottom: 4px; 358 358 } 359 359 … … 377 377 /* Reset responsive styles in Press This, Customizer */ 378 378 379 379 .wp-core-ui.wp-customizer .button { 380 padding: 0 10px 1px;381 380 font-size: 13px; 382 line-height: 2 ;383 min-height: 28px;381 line-height: 2.15384615; /* 28px */ 382 min-height: 30px; 384 383 margin: 0; 385 384 vertical-align: inherit; 386 385 } -
src/wp-includes/css/editor.css
1201 1201 1202 1202 .wp-media-buttons span.wp-media-buttons-icon { 1203 1203 display: inline-block; 1204 width: 18px; 1205 height: 18px; 1206 vertical-align: text-top; 1204 width: 20px; 1205 height: 20px; 1206 line-height: 1; 1207 vertical-align: middle; 1207 1208 margin: 0 2px; 1208 1209 } 1209 1210 … … 1776 1777 width: 300px; 1777 1778 padding: 3px; 1778 1779 box-sizing: border-box; 1779 line-height: 1.28571429; 1780 line-height: 1.28571429; /* 18px */ 1781 /* Override value inherited from default input fields. */ 1782 min-height: 26px; 1780 1783 } 1781 1784 1782 1785 .mce-toolbar div.wp-link-preview ~ .mce-btn, -
src/wp-includes/css/media-views.css
73 73 74 74 .media-frame select, 75 75 .wp-admin .media-frame select { 76 min-height: 28px;76 min-height: 30px; 77 77 vertical-align: middle; 78 78 } 79 79