Ticket #48420: 48420.2.diff
File 48420.2.diff, 14.5 KB (added by , 5 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 font-size: inherit;1093 /* inherits font size 13px */1094 line-height: 2.15384615; /* 28px */1095 1093 } 1096 1094 1097 1095 .wp-filter .search-form select { -
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: 2; /* 28px */ 314 314 color: #32373c; 315 315 border-color: #7e8993; 316 316 box-shadow: none; 317 317 border-radius: 3px; 318 padding: 3px 24px 3px8px;319 min-height: 28px;318 padding: 0 24px 0 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 vertical-align: middle; 327 }e 328 328 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 { 329 .wp-core-ui select:hover { 337 330 color: #007cba; 338 331 } 339 332 340 .wp- adminselect:focus {333 .wp-core-ui select:focus { 341 334 border-color: #007cba; 342 335 color: #016087; 343 336 box-shadow: 0 0 0 1px #007cba; 344 337 } 345 338 346 .wp- adminselect:active {339 .wp-core-ui select:active { 347 340 border-color: #999; 348 341 box-shadow: none; 349 342 } 350 343 351 .wp- adminselect.disabled,352 .wp- adminselect:disabled {344 .wp-core-ui select.disabled, 345 .wp-core-ui select:disabled { 353 346 color: #a0a5aa; 354 347 border-color: #ddd; 355 348 background-color: #f7f7f7; … … 363 356 364 357 /* Reset Firefox inner outline that appears on :focus. */ 365 358 /* This ruleset overrides the color change on :focus thus needs to be after select:focus. */ 366 .wp- adminselect:-moz-focusring {359 .wp-core-ui select:-moz-focusring { 367 360 color: transparent; 368 361 text-shadow: 0 0 0 #016087; 369 362 } 370 363 371 364 /* Remove background focus style from IE11 while keeping focus style available on option elements. */ 372 .wp- adminselect::-ms-value {365 .wp-core-ui select::-ms-value { 373 366 background: transparent; 374 367 color: #555; 375 368 } 376 369 377 .wp- adminselect:hover::-ms-value {370 .wp-core-ui select:hover::-ms-value { 378 371 color: #007cba; 379 372 } 380 373 381 .wp- adminselect:focus::-ms-value {374 .wp-core-ui select:focus::-ms-value { 382 375 color: #016087; 383 376 } 384 377 385 .wp- adminselect.disabled::-ms-value,386 .wp- adminselect:disabled::-ms-value {378 .wp-core-ui select.disabled::-ms-value, 379 .wp-core-ui select:disabled::-ms-value { 387 380 color: #a0a5aa; 388 381 } 389 382 390 383 /* Hide the native down arrow for select element on IE. */ 391 .wp- adminselect::-ms-expand {384 .wp-core-ui select::-ms-expand { 392 385 display: none; 393 386 } 394 387 … … 407 400 margin-top: 0; 408 401 } 409 402 410 .wp- adminselect[multiple] {403 .wp-core-ui select[multiple] { 411 404 height: auto; 412 405 padding-right: 8px; 413 406 background: #fff; … … 484 477 #doaction, 485 478 #doaction2, 486 479 #post-query-submit { 487 margin: 1px8px 0 0;480 margin: 0 8px 0 0; 488 481 } 489 482 490 .tablenav #changeit,491 .tablenav #delete_all,492 .tablenav #clear-recent-list,493 .wp-filter #delete_all {494 margin-top: 1px;495 }496 497 483 .tablenav .actions select { 498 484 float: left; 499 485 margin-right: 6px; … … 508 494 .wp-cancel-pw > .dashicons { 509 495 position: relative; 510 496 top: 3px; 497 width: 1.25rem; 498 height: 1.25rem; 499 top: 0.25rem; 500 font-size: 20px; 511 501 } 512 502 513 503 .wp-cancel-pw .dashicons-no { … … 601 591 .wp-pwd [type="password"] { 602 592 margin-bottom: 0; 603 593 /* Same height as the buttons */ 604 line-height: 20px; 605 min-height: 28px; 606 max-height: 40px; 594 min-height: 30px; 607 595 } 608 596 597 /* Hide the Edge "reveal password" native button */ 598 .wp-pwd input::-ms-reveal { 599 display: none; 600 } 601 609 602 #pass1-text, 610 603 .show-password #pass1 { 611 604 display: none; … … 1325 1318 input[type="week"] { 1326 1319 -webkit-appearance: none; 1327 1320 padding: 3px 10px; 1321 /* Only necessary for IE11 */ 1322 min-height: 40px; 1328 1323 } 1329 1324 1330 1325 ::-webkit-datetime-edit { … … 1376 1371 margin-top: 10px; 1377 1372 } 1378 1373 1379 .wp- adminselect,1374 .wp-core-ui select, 1380 1375 .wp-admin .form-table select { 1381 1376 min-height: 40px; 1382 1377 font-size: 16px; … … 1526 1521 font-size: 14px; 1527 1522 } 1528 1523 1524 .background-position-control .button-group > label { 1525 font-size: 0; 1526 } 1527 1529 1528 .form-table fieldset label { 1530 1529 display: block; 1531 1530 } … … 1561 1560 position: absolute; 1562 1561 right: 0; 1563 1562 top: 0; 1563 width: 2.375rem; 1564 height: 2.375rem; 1565 min-width: 40px; 1566 min-height: 40px; 1564 1567 } 1565 1568 1566 1569 .wp-pwd button.wp-hide-pw { 1567 right: 40px;1570 right: 2.5rem; 1568 1571 } 1569 1572 1570 1573 .wp-pwd button.button:hover, … … 1585 1588 .wp-pwd [type="text"], 1586 1589 .wp-pwd [type="password"] { 1587 1590 line-height: 2; 1591 padding-right: 5rem; 1588 1592 } 1589 1593 1590 1594 .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 { … … 1034 1034 .inline-edit-row fieldset input[name=hh], 1035 1035 .inline-edit-row fieldset input[name=mn], 1036 1036 .inline-edit-row fieldset input[name=aa] { 1037 font-size: 12px;1038 line-height: 1.16666666;1039 1037 vertical-align: middle; 1040 1038 text-align: center; 1041 padding: 6px4px;1039 padding: 0 4px; 1042 1040 } 1043 1041 1044 1042 .inline-edit-row fieldset label input.inline-edit-password-input { … … 1957 1955 box-sizing: border-box; 1958 1956 } 1959 1957 1958 .inline-edit-row fieldset input[name=jj], 1959 .inline-edit-row fieldset input[name=hh], 1960 .inline-edit-row fieldset input[name=mn], 1961 .inline-edit-row fieldset input[name=aa] { 1962 font-size: 16px; 1963 line-height: 2; 1964 padding: 3px 4px; 1965 } 1966 1960 1967 .inline-edit-row fieldset ul.cat-checklist label, 1961 1968 .inline-edit-row #bulk-titles div { 1962 1969 font-size: 16px; -
src/wp-admin/css/themes.css
34 34 left: 20px; 35 35 margin: 0; 36 36 width: 280px; 37 font-size: inherit;38 37 } 39 38 40 39 /* Position admin messages */ -
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 … … 120 120 line-height: 2.15384615; /* 28px */ 121 121 } 122 122 123 /* Search field in the Media Library toolbar */ 124 .media-frame.mode-grid .wp-filter input[type="search"] { 125 font-size: 14px; 126 line-height: 2; 127 } 128 123 129 .media-frame input[type="text"]:focus, 124 130 .media-frame input[type="password"]:focus, 125 131 .media-frame input[type="number"]:focus,