Ticket #39441: 39441.css.diff
File 39441.css.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 .form-table .date-time-doc, 689 .settings-fields .date-time-doc { 664 690 margin-top: 1em; 665 691 } 666 692 667 .form-table p.timezone-info { 693 .form-table p.timezone-info, 694 .settings-fields p.timezone-info { 668 695 margin: 1em 0; 669 696 } 670 697 671 .form-table td fieldset label { 698 .form-table td fieldset label, 699 .settings-fields .settings-field-control .radio-item, 700 .settings-fields .settings-field-control .multibox-item { 672 701 margin: 0.25em 0 0.5em !important; 673 702 display: inline-block; 674 703 } … … 675 704 676 705 .form-table td fieldset label, 677 706 .form-table td fieldset p, 678 .form-table td fieldset li { 707 .form-table td fieldset li, 708 .settings-fields .settings-field-control .radio-item, 709 .settings-fields .settings-field-control .multibox-item { 679 710 line-height: 1.4em; 680 711 } 681 712 682 713 .form-table input.tog, 683 .form-table input[type="radio"] { 714 .form-table input[type="radio"], 715 .settings-fields input.tog, 716 .settings-fields input[type="radio"] { 684 717 margin-top: -4px; 685 718 margin-right: 4px; 686 719 float: none; 687 720 } 688 721 689 .form-table .pre { 722 .form-table .pre, 723 .settings-fields .pre { 690 724 padding: 8px; 691 725 margin: 0; 692 726 } 693 727 694 table.form-table td .updated { 728 table.form-table td .updated, 729 .settings-fields .settings-field-control .updated { 695 730 font-size: 13px; 696 731 } 697 732 698 table.form-table td .updated p { 733 table.form-table td .updated p, 734 .settings-fields .settings-field-control .updated p { 699 735 font-size: 13px; 700 736 margin: 0.3em 0; 701 737 } … … 704 740 18.0 - Users 705 741 ------------------------------------------------------------------------------*/ 706 742 707 #profile-page .form-table textarea { 743 #profile-page .form-table textarea, 744 #profile-page .settings-fields textarea { 708 745 width: 500px; 709 746 margin-bottom: 6px; 710 747 } 711 748 712 #profile-page .form-table #rich_editing { 749 #profile-page .form-table #rich_editing, 750 #profile-page .settings-fields #rich_editing { 713 751 margin-right: 5px 714 752 } 715 753 … … 1173 1211 width: 100%; 1174 1212 } 1175 1213 1176 .form-table { 1214 .form-table, 1215 .settings-fields { 1177 1216 -webkit-box-sizing: border-box; 1178 1217 -moz-box-sizing: border-box; 1179 1218 box-sizing: border-box; 1180 1219 } 1181 1220 1221 .settings-field { 1222 display: block; 1223 } 1224 1182 1225 .form-table th, 1183 1226 .form-table td, 1227 .settings-fields .settings-field-title, 1228 .settings-fields .settings-field-control, 1184 1229 .label-responsive { 1185 1230 display: block; 1186 1231 width: auto; … … 1195 1240 margin-bottom: 0; 1196 1241 } 1197 1242 1198 .form-table .color-palette td { 1243 .form-table .color-palette td, 1244 .settings-fields .color-palette td { 1199 1245 display: table-cell; 1200 1246 width: 15px; 1201 1247 } 1202 1248 1203 .form-table table.color-palette { 1249 .form-table table.color-palette, 1250 .settings-fields table.color-palette { 1204 1251 margin-right: 10px; 1205 1252 } 1206 1253 … … 1215 1262 .form-table td select, 1216 1263 .form-table td textarea, 1217 1264 .form-table span.description, 1218 #profile-page .form-table textarea { 1265 #profile-page .form-table textarea, 1266 .settings-fields .settings-field-control input[type="text"], 1267 .settings-fields .settings-field-control input[type="email"], 1268 .settings-fields .settings-field-control input[type="password"], 1269 .settings-fields .settings-field-control select, 1270 .settings-fields .settings-field-control textarea, 1271 .settings-fields span.description, 1272 #profile-page .settings-fields textarea { 1219 1273 width: 100%; 1220 1274 font-size: 16px; 1221 1275 line-height: 1.5; … … 1227 1281 box-sizing: border-box; 1228 1282 } 1229 1283 1230 .form-table .form-required.form-invalid td:after { 1284 .form-table .form-required.form-invalid td:after, 1285 .settings-fields .form-required.form-invalid .settings-field-control:after { 1231 1286 float: right; 1232 1287 margin: -30px 3px 0 0; 1233 1288 } 1234 1289 1235 #wpbody .form-table td select { 1290 #wpbody .form-table td select, 1291 #wpbody .settings-fields .settings-field-control select { 1236 1292 height: 40px; 1237 1293 } 1238 1294 … … 1241 1297 input[type="password"].small-text, 1242 1298 input[type="number"].small-text, 1243 1299 input[type="number"].small-text, 1244 .form-table input[type="text"].small-text { 1300 .form-table input[type="text"].small-text, 1301 .settings-fields input[type="text"].small-text { 1245 1302 width: auto; 1246 1303 max-width: 55px; 1247 1304 display: inline; … … 1279 1336 margin-bottom: 10px; 1280 1337 } 1281 1338 1282 .form-table span.description { 1339 .form-table span.description, 1340 .settings-fields span.description { 1283 1341 display: inline; 1284 1342 padding: 4px 0 0; 1285 1343 line-height: 1.4em; … … 1286 1344 font-size: 14px; 1287 1345 } 1288 1346 1289 .form-table th { 1347 .form-table th, 1348 .settings-fields .settings-field-title { 1290 1349 padding-top: 10px; 1291 1350 padding-bottom: 0; 1292 1351 border-bottom: 0; 1293 1352 } 1294 1353 1295 .form-table td { 1354 .form-table td, 1355 .settings-fields .settings-field-control { 1296 1356 margin-bottom: 0; 1297 1357 padding-bottom: 6px; 1298 1358 padding-top: 4px; … … 1299 1359 padding-left: 0; 1300 1360 } 1301 1361 1302 .form-table.permalink-structure td code { 1362 .form-table.permalink-structure td code, 1363 .settings-fields.permalink-structure .settings-field-control code { 1303 1364 margin-left: 32px; 1304 1365 } 1305 1366 1306 .form-table.permalink-structure td input[type="text"] { 1367 .form-table.permalink-structure td input[type="text"], 1368 .settings-fields.permalink-structure .settings-field-control input[type="text"] { 1307 1369 margin-left: 32px; 1308 1370 margin-top: 4px; 1309 1371 width: 96%; 1310 1372 } 1311 1373 1312 .form-table input.regular-text { 1374 .form-table input.regular-text, 1375 .settings-fields input.regular-text { 1313 1376 width: 100%; 1314 1377 } 1315 1378 1316 .form-table label { 1379 .form-table label, 1380 .settings-fields label { 1317 1381 font-size: 14px; 1318 1382 } 1319 1383 1320 .form-table fieldset label { 1384 .form-table fieldset label, 1385 .settings-fields fieldset label { 1321 1386 display: block; 1322 1387 } 1323 1388 … … 1328 1393 margin-top: 0.5em; 1329 1394 } 1330 1395 1331 .form-field #domain {1396 .form-field #domain, { 1332 1397 max-width: none; 1333 1398 } 1334 1399 … … 1385 1450 } 1386 1451 1387 1452 /* users */ 1388 #profile-page .form-table textarea { 1453 #profile-page .form-table textarea, 1454 #profile-page .settings-fields textarea { 1389 1455 max-width: 400px; 1390 1456 width: auto; 1391 1457 }