Changeset 46866
- Timestamp:
- 12/09/2019 08:24:17 PM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/color-picker.css
r46559 r46866 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; … … 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; … … 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 … … 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 … … 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; 145 } 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; 143 158 } 144 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 … … 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 } -
trunk/src/wp-admin/css/common.css
r46559 r46866 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; … … 946 946 947 947 #publishing-action .spinner { 948 float: left; 948 float: none; 949 margin-top: 5px; 949 950 } 950 951 … … 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 -
trunk/src/wp-admin/css/customize-controls.css
r46559 r46866 160 160 transform: none; 161 161 margin-top: 0; 162 line-height: 2; 162 163 } 163 164 … … 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"], … … 941 936 .customize-control select { 942 937 width: 100%; 943 height: 28px;944 line-height: 2;945 938 } 946 939 … … 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 }2880 2881 #publish-settings {2882 height: 31px;2883 2872 } 2884 2873 -
trunk/src/wp-admin/css/forms.css
r46559 r46866 29 29 input, 30 30 select { 31 margin: 1px;31 margin: 0 1px; 32 32 } 33 33 … … 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. */ … … 325 324 background-size: 16px 16px; 326 325 cursor: pointer; 327 } 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 { 326 vertical-align: middle; 327 }e 328 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; … … 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; … … 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; … … 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 } … … 408 401 } 409 402 410 .wp- adminselect[multiple] {403 .wp-core-ui select[multiple] { 411 404 height: auto; 412 405 padding-right: 8px; … … 485 478 #doaction2, 486 479 #post-query-submit { 487 margin: 1px 8px 0 0; 488 } 489 490 .tablenav #changeit, 491 .tablenav #delete_all, 492 .tablenav #clear-recent-list, 493 .wp-filter #delete_all { 494 margin-top: 1px; 480 margin: 0 8px 0 0; 495 481 } 496 482 … … 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 … … 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; 595 } 596 597 /* Hide the Edge "reveal password" native button */ 598 .wp-pwd input::-ms-reveal { 599 display: none; 607 600 } 608 601 … … 1326 1319 -webkit-appearance: none; 1327 1320 padding: 3px 10px; 1321 /* Only necessary for IE11 */ 1322 min-height: 40px; 1328 1323 } 1329 1324 … … 1377 1372 } 1378 1373 1379 .wp- adminselect,1374 .wp-core-ui select, 1380 1375 .wp-admin .form-table select { 1381 1376 min-height: 40px; … … 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; … … 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 … … 1586 1589 .wp-pwd [type="password"] { 1587 1590 line-height: 2; 1591 padding-right: 5rem; 1588 1592 } 1589 1593 -
trunk/src/wp-admin/css/list-tables.css
r46845 r46866 639 639 height: 30px; 640 640 margin: 6px 0 4px; 641 padding-top: 5px; 641 642 vertical-align: middle; 642 643 } … … 648 649 .tablenav .tablenav-pages { 649 650 float: right; 650 margin: 3px0 9px;651 margin: 0 0 9px; 651 652 } 652 653 … … 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 } … … 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 … … 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 … … 1953 1951 } 1954 1952 1953 .inline-edit-row fieldset input[name=jj], 1954 .inline-edit-row fieldset input[name=hh], 1955 .inline-edit-row fieldset input[name=mn], 1956 .inline-edit-row fieldset input[name=aa] { 1957 font-size: 16px; 1958 line-height: 2; 1959 padding: 3px 4px; 1960 } 1961 1955 1962 .inline-edit-row fieldset ul.cat-checklist label, 1956 1963 .inline-edit-row #bulk-titles div { -
trunk/src/wp-admin/css/themes.css
r46444 r46866 35 35 margin: 0; 36 36 width: 280px; 37 font-size: inherit;38 37 } 39 38 -
trunk/src/wp-includes/css/buttons.css
r46559 r46866 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; … … 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; … … 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 } … … 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; -
trunk/src/wp-includes/css/editor.css
r46559 r46866 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 } … … 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 -
trunk/src/wp-includes/css/media-views.css
r46567 r46866 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 } … … 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,
Note: See TracChangeset
for help on using the changeset viewer.