Ticket #39441: 39441.css.2.diff
File 39441.css.2.diff, 8.9 KB (added by , 8 years ago) |
---|
-
src/wp-admin/css/forms.css
159 159 @-moz-document url-prefix() { 160 160 input[type="checkbox"], 161 161 input[type="radio"], 162 .form-table input.tog { 162 .form-table input.tog, 163 .settings-fields input.tog { 163 164 margin-bottom: -1px; 164 165 } 165 166 } … … 253 254 box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 ); 254 255 } 255 256 256 .form-table .form-required.form-invalid td:after { 257 .form-table .form-required.form-invalid td:after, 258 .settings-fields .form-required.form-invalid .settings-field-control:after { 257 259 content: "\f534"; 258 260 font: normal 20px/1 dashicons; 259 261 color: #dc3232; … … 262 264 } 263 265 264 266 /* Adjust error indicator for password layout */ 265 .form-table .form-required.user-pass1-wrap.form-invalid td:after { 267 .form-table .form-required.user-pass1-wrap.form-invalid td:after, 268 .settings-fields .form-required.user-pass1-wrap.form-invalid .settings-field-control:after { 266 269 content: ''; 267 270 } 268 271 269 .form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after { 272 .form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after, 273 .settings-fields .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after { 270 274 content: '\f534'; 271 275 font: normal 20px/1 dashicons; 272 276 color: #dc3232; … … 365 369 366 370 table.form-table + p.submit, 367 371 table.form-table + input + p.submit, 368 table.form-table + input + input + p.submit { 372 table.form-table + input + input + p.submit, 373 .settings-fields + p.submit, 374 .settings-fields + input + p.submit, 375 .settings-fields + input + input + p.submit { 369 376 border-top: none; 370 377 padding-top: 0; 371 378 } … … 530 537 display: inline-block; 531 538 } 532 539 533 .form-table span.description.important { 540 .form-table span.description.important, 541 .settings-fields span.description.important { 534 542 font-size: 12px; 535 543 } 536 544 … … 612 620 15.0 - Comments Screen 613 621 ------------------------------------------------------------------------------*/ 614 622 615 .form-table { 623 .form-table, 624 .settings-fields { 625 display: table; 616 626 border-collapse: collapse; 617 627 margin-top: 0.5em; 618 628 width: 100%; 619 629 clear: both; 620 630 } 621 631 632 .settings-fields .settings-field { 633 display: table-row; 634 } 635 622 636 .form-table, 623 637 .form-table td, 624 638 .form-table th, 625 .form-table td p { 639 .form-table td p, 640 .settings-fields, 641 .settings-fields .settings-field-control, 642 .settings-fields .settings-field-title, 643 .settings-fields .settings-field-control p { 626 644 font-size: 14px; 627 645 } 628 646 629 .form-table td { 647 .form-table td, 648 .settings-fields .settings-field-control { 649 display: table-cell; 630 650 margin-bottom: 9px; 631 651 padding: 15px 10px; 632 652 line-height: 1.3; … … 634 654 } 635 655 636 656 .form-table th, 657 .settings-fields .settings-field-title, 637 658 .form-wrap label { 638 659 color: #23282d; 639 660 font-weight: 400; … … 641 662 vertical-align: baseline; 642 663 } 643 664 644 .form-table th { 665 .form-table th, 666 .settings-fields .settings-field-title { 667 display: table-cell; 645 668 vertical-align: top; 646 669 text-align: left; 647 670 padding: 20px 10px 20px 0; … … 650 673 font-weight: 600; 651 674 } 652 675 653 .form-table th.th-full { 676 .form-table th.th-full, 677 .settings-fields .settings-field-title.th-full { 654 678 width: auto; 655 679 font-weight: 400; 656 680 } 657 681 658 .form-table td p { 682 .form-table td p, 683 .settings-fields .settings-field-control p { 659 684 margin-top: 4px; 660 685 margin-bottom: 0; 661 686 } 662 687 663 .form-table .date-time-doc { 688 .settings-fields .settings-field-control .title-label { 689 font-weight: 600; 690 } 691 692 .form-table .date-time-doc, 693 .settings-fields .date-time-doc { 664 694 margin-top: 1em; 665 695 } 666 696 667 .form-table p.timezone-info { 697 .form-table p.timezone-info, 698 .settings-fields p.timezone-info { 668 699 margin: 1em 0; 669 700 } 670 701 671 .form-table td fieldset label { 702 .form-table td fieldset label, 703 .settings-fields .settings-field-control .radio-item, 704 .settings-fields .settings-field-control .multibox-item { 672 705 margin: 0.25em 0 0.5em !important; 673 706 display: inline-block; 674 707 } 675 708 676 709 .form-table td fieldset label, 677 710 .form-table td fieldset p, 678 .form-table td fieldset li { 711 .form-table td fieldset li, 712 .settings-fields .settings-field-control .radio-item, 713 .settings-fields .settings-field-control .multibox-item { 679 714 line-height: 1.4em; 680 715 } 681 716 682 717 .form-table input.tog, 683 .form-table input[type="radio"] { 718 .form-table input[type="radio"], 719 .settings-fields input.tog, 720 .settings-fields input[type="radio"] { 684 721 margin-top: -4px; 685 722 margin-right: 4px; 686 723 float: none; 687 724 } 688 725 689 .form-table .pre { 726 .form-table .pre, 727 .settings-fields .pre { 690 728 padding: 8px; 691 729 margin: 0; 692 730 } 693 731 694 table.form-table td .updated { 732 table.form-table td .updated, 733 .settings-fields .settings-field-control .updated { 695 734 font-size: 13px; 696 735 } 697 736 698 table.form-table td .updated p { 737 table.form-table td .updated p, 738 .settings-fields .settings-field-control .updated p { 699 739 font-size: 13px; 700 740 margin: 0.3em 0; 701 741 } … … 704 744 18.0 - Users 705 745 ------------------------------------------------------------------------------*/ 706 746 707 #profile-page .form-table textarea { 747 #profile-page .form-table textarea, 748 #profile-page .settings-fields textarea { 708 749 width: 500px; 709 750 margin-bottom: 6px; 710 751 } 711 752 712 #profile-page .form-table #rich_editing { 753 #profile-page .form-table #rich_editing, 754 #profile-page .settings-fields #rich_editing { 713 755 margin-right: 5px 714 756 } 715 757 … … 1173 1215 width: 100%; 1174 1216 } 1175 1217 1176 .form-table { 1218 .form-table, 1219 .settings-fields { 1177 1220 -webkit-box-sizing: border-box; 1178 1221 -moz-box-sizing: border-box; 1179 1222 box-sizing: border-box; 1180 1223 } 1181 1224 1225 .settings-field { 1226 display: block; 1227 } 1228 1182 1229 .form-table th, 1183 1230 .form-table td, 1231 .settings-fields .settings-field-title, 1232 .settings-fields .settings-field-control, 1184 1233 .label-responsive { 1185 1234 display: block; 1186 1235 width: auto; … … 1195 1244 margin-bottom: 0; 1196 1245 } 1197 1246 1198 .form-table .color-palette td { 1247 .form-table .color-palette td, 1248 .settings-fields .color-palette td { 1199 1249 display: table-cell; 1200 1250 width: 15px; 1201 1251 } 1202 1252 1203 .form-table table.color-palette { 1253 .form-table table.color-palette, 1254 .settings-fields table.color-palette { 1204 1255 margin-right: 10px; 1205 1256 } 1206 1257 … … 1215 1266 .form-table td select, 1216 1267 .form-table td textarea, 1217 1268 .form-table span.description, 1218 #profile-page .form-table textarea { 1269 #profile-page .form-table textarea, 1270 .settings-fields .settings-field-control input[type="text"], 1271 .settings-fields .settings-field-control input[type="email"], 1272 .settings-fields .settings-field-control input[type="password"], 1273 .settings-fields .settings-field-control select, 1274 .settings-fields .settings-field-control textarea, 1275 .settings-fields span.description, 1276 #profile-page .settings-fields textarea { 1219 1277 width: 100%; 1220 1278 font-size: 16px; 1221 1279 line-height: 1.5; … … 1227 1285 box-sizing: border-box; 1228 1286 } 1229 1287 1230 .form-table .form-required.form-invalid td:after { 1288 .form-table .form-required.form-invalid td:after, 1289 .settings-fields .form-required.form-invalid .settings-field-control:after { 1231 1290 float: right; 1232 1291 margin: -30px 3px 0 0; 1233 1292 } 1234 1293 1235 #wpbody .form-table td select { 1294 #wpbody .form-table td select, 1295 #wpbody .settings-fields .settings-field-control select { 1236 1296 height: 40px; 1237 1297 } 1238 1298 … … 1241 1301 input[type="password"].small-text, 1242 1302 input[type="number"].small-text, 1243 1303 input[type="number"].small-text, 1244 .form-table input[type="text"].small-text { 1304 .form-table input[type="text"].small-text, 1305 .settings-fields input[type="text"].small-text { 1245 1306 width: auto; 1246 1307 max-width: 55px; 1247 1308 display: inline; … … 1279 1340 margin-bottom: 10px; 1280 1341 } 1281 1342 1282 .form-table span.description { 1343 .form-table span.description, 1344 .settings-fields span.description { 1283 1345 display: inline; 1284 1346 padding: 4px 0 0; 1285 1347 line-height: 1.4em; 1286 1348 font-size: 14px; 1287 1349 } 1288 1350 1289 .form-table th { 1351 .form-table th, 1352 .settings-fields .settings-field-title { 1290 1353 padding-top: 10px; 1291 1354 padding-bottom: 0; 1292 1355 border-bottom: 0; 1293 1356 } 1294 1357 1295 .form-table td { 1358 .form-table td, 1359 .settings-fields .settings-field-control { 1296 1360 margin-bottom: 0; 1297 1361 padding-bottom: 6px; 1298 1362 padding-top: 4px; 1299 1363 padding-left: 0; 1300 1364 } 1301 1365 1302 .form-table.permalink-structure td code { 1366 .form-table.permalink-structure td code, 1367 .settings-fields.permalink-structure .settings-field-control code { 1303 1368 margin-left: 32px; 1304 1369 } 1305 1370 1306 .form-table.permalink-structure td input[type="text"] { 1371 .form-table.permalink-structure td input[type="text"], 1372 .settings-fields.permalink-structure .settings-field-control input[type="text"] { 1307 1373 margin-left: 32px; 1308 1374 margin-top: 4px; 1309 1375 width: 96%; 1310 1376 } 1311 1377 1312 .form-table input.regular-text { 1378 .form-table input.regular-text, 1379 .settings-fields input.regular-text { 1313 1380 width: 100%; 1314 1381 } 1315 1382 1316 .form-table label { 1383 .form-table label, 1384 .settings-fields label { 1317 1385 font-size: 14px; 1318 1386 } 1319 1387 1320 .form-table fieldset label { 1388 .form-table fieldset label, 1389 .settings-fields fieldset label { 1321 1390 display: block; 1322 1391 } 1323 1392 … … 1328 1397 margin-top: 0.5em; 1329 1398 } 1330 1399 1331 .form-field #domain {1400 .form-field #domain, { 1332 1401 max-width: none; 1333 1402 } 1334 1403 … … 1385 1454 } 1386 1455 1387 1456 /* users */ 1388 #profile-page .form-table textarea { 1457 #profile-page .form-table textarea, 1458 #profile-page .settings-fields textarea { 1389 1459 max-width: 400px; 1390 1460 width: auto; 1391 1461 }