Changeset 63987
- Timestamp:
- 09/29/2026 08:12:17 AM (3 weeks ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/css/media.css (modified) (25 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/media.css
r63559 r63987 1 /*------------------------------------------------------------------------------ 2 14.0 - Media Screen 3 ------------------------------------------------------------------------------*/ 4 1 /** 2 * Media Screen 3 */ 5 4 .media-item .describe { 6 5 border-collapse: collapse; … … 190 189 margin: 0 6px 7px; 191 190 width: 200px; 192 line-height: 2 em;191 line-height: 2; 193 192 padding: 0; 194 193 overflow: hidden; … … 215 214 color: #fff; 216 215 text-align: center; 217 line-height: 22px;216 line-height: 1.6923; 218 217 font-weight: 400; 219 218 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); … … 252 251 } 253 252 254 /*------------------------------------------------------------------------------ 255 14.1 - Media Library 256 ------------------------------------------------------------------------------*/ 257 253 /** 254 * Media Library 255 */ 258 256 .find-box { 259 257 background-color: #fff; … … 352 350 } 353 351 354 #find-posts-close: before {355 font: normal20px/36px dashicons;352 #find-posts-close::before { 353 font: 400 20px/36px dashicons; 356 354 vertical-align: top; 357 355 -webkit-font-smoothing: antialiased; 358 356 -moz-osx-font-smoothing: grayscale; 359 357 content: "\f158"; 360 content: "\f158" / '';358 content: "\f158" / ""; 361 359 } 362 360 … … 382 380 383 381 @media screen and (max-width: 660px) { 384 385 382 .find-box { 386 383 top: 0; … … 666 663 } 667 664 668 .upload-php .media-modal-close .media-modal-icon: before {665 .upload-php .media-modal-close .media-modal-icon::before { 669 666 content: "\f335"; 670 content: "\f335" / '';667 content: "\f335" / ""; 671 668 font-size: 22px; 672 669 } … … 685 682 border: 0; 686 683 border-left: 1px solid #dcdcde; 687 transition: color .1s ease-in-out, background.1s ease-in-out;684 transition: color 0.1s ease-in-out, background 0.1s ease-in-out; 688 685 } 689 686 … … 706 703 } 707 704 708 .edit-attachment-frame .edit-media-header .right: before,709 .edit-attachment-frame .edit-media-header .left: before {710 font: normal20px/50px dashicons !important;705 .edit-attachment-frame .edit-media-header .right::before, 706 .edit-attachment-frame .edit-media-header .left::before { 707 font: 400 20px/50px dashicons !important; 711 708 display: inline; 712 709 font-weight: 300; … … 734 731 } 735 732 736 .upload-php .media-modal-close:focus .media-modal-icon: before,737 .upload-php .media-modal-close:hover .media-modal-icon: before {733 .upload-php .media-modal-close:focus .media-modal-icon::before, 734 .upload-php .media-modal-close:hover .media-modal-icon::before { 738 735 color: #000; 739 736 } 740 737 741 .edit-attachment-frame .edit-media-header .left: before {738 .edit-attachment-frame .edit-media-header .left::before { 742 739 content: "\f341"; 743 content: "\f341" / '';744 } 745 746 .edit-attachment-frame .edit-media-header .right: before {740 content: "\f341" / ""; 741 } 742 743 .edit-attachment-frame .edit-media-header .right::before { 747 744 content: "\f345"; 748 content: "\f345" / '';745 content: "\f345" / ""; 749 746 } 750 747 … … 794 791 max-width: 100%; 795 792 max-height: 90%; 796 max-height: calc( 100% - 56px); /* leave space for actions underneath */793 max-height: calc(100% - 56px); /* leave space for actions underneath */ 797 794 background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); 798 795 background-position: 0 0, 10px 10px; … … 875 872 } 876 873 877 /* ------------------------------------------------------------------------------878 14.2 -Image Editor879 ------------------------------------------------------------------------------*/874 /** 875 * Image Editor 876 */ 880 877 .wp_attachment_details .attachment-alt-text { 881 878 margin-bottom: 5px; … … 980 977 } 981 978 982 .imgedit-wait: before {979 .imgedit-wait::before { 983 980 content: ""; 984 981 display: block; … … 1029 1026 } 1030 1027 1031 .imgedit-menu .button: after,1032 .imgedit-menu .button: before {1033 font: normal16px/1 dashicons;1028 .imgedit-menu .button::after, 1029 .imgedit-menu .button::before { 1030 font: 400 16px/1 dashicons; 1034 1031 margin-right: 8px; 1035 1032 vertical-align: middle; … … 1040 1037 } 1041 1038 1042 .imgedit-menu .imgedit-rotate.button: after {1043 content: '\f140';1039 .imgedit-menu .imgedit-rotate.button::after { 1040 content: "\f140"; 1044 1041 margin-left: 2px; 1045 1042 margin-right: 0; 1046 1043 } 1047 1044 1048 .imgedit-menu .imgedit-rotate.button[aria-expanded="true"]: after {1049 content: '\f142';1045 .imgedit-menu .imgedit-rotate.button[aria-expanded="true"]::after { 1046 content: "\f142"; 1050 1047 } 1051 1048 … … 1060 1057 } 1061 1058 1062 .imgedit-crop: before {1059 .imgedit-crop::before { 1063 1060 content: "\f165"; 1064 content: "\f165" / '';1065 } 1066 1067 .imgedit-scale: before {1061 content: "\f165" / ""; 1062 } 1063 1064 .imgedit-scale::before { 1068 1065 content: "\f211"; 1069 content: "\f211" / '';1070 } 1071 1072 .imgedit-rotate: before {1066 content: "\f211" / ""; 1067 } 1068 1069 .imgedit-rotate::before { 1073 1070 content: "\f167"; 1074 content: "\f167" / '';1075 } 1076 1077 .imgedit-undo: before {1071 content: "\f167" / ""; 1072 } 1073 1074 .imgedit-undo::before { 1078 1075 content: "\f171"; 1079 content: "\f171" / '';1080 } 1081 1082 .imgedit-redo: before {1076 content: "\f171" / ""; 1077 } 1078 1079 .imgedit-redo::before { 1083 1080 content: "\f172"; 1084 content: "\f172" / '';1081 content: "\f172" / ""; 1085 1082 } 1086 1083 1087 1084 .imgedit-crop-wrap { 1088 1085 position: relative; 1086 padding: 20px; 1087 background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); 1088 background-position: 0 0, 10px 10px; 1089 background-size: 20px 20px; 1089 1090 } 1090 1091 … … 1094 1095 background-size: 20px 20px; 1095 1096 } 1096 1097 .imgedit-crop-wrap {1098 padding: 20px;1099 background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);1100 background-position: 0 0, 10px 10px;1101 background-size: 20px 20px;1102 }1103 1104 1097 1105 1098 .imgedit-crop { … … 1148 1141 .imgedit-applyto .imgedit-label { 1149 1142 display: block; 1150 padding: .5em 0 0;1143 padding: 0.5em 0 0; 1151 1144 } 1152 1145 … … 1165 1158 1166 1159 .imgedit-popup-menu { 1167 width: calc( 100% - 20px);1160 width: calc(100% - 20px); 1168 1161 position: absolute; 1169 1162 background: #fff; … … 1283 1276 } 1284 1277 1285 audio, video { 1278 audio, 1279 video { 1286 1280 display: inline-block; 1287 1281 max-width: 100%; … … 1308 1302 */ 1309 1303 @media print, 1310 (min-resolution: 120dpi) {1311 .imgedit-wait: before {1304 (min-resolution: 120dpi) { 1305 .imgedit-wait::before { 1312 1306 background-image: url(../images/spinner-2x.gif); 1313 1307 } … … 1367 1361 1368 1362 /* Restructure image editor on narrow viewports. */ 1369 .imgedit-crop-wrap img {1363 .imgedit-crop-wrap img { 1370 1364 width: 100%; 1371 1365 } … … 1457 1451 } 1458 1452 1459 .edit-attachment-frame .edit-media-header .right:before, 1460 .edit-attachment-frame .edit-media-header .left:before { 1453 .edit-attachment-frame .edit-media-header .right::before, 1454 .edit-attachment-frame .edit-media-header .left::before { 1455 /* stylelint-disable-next-line declaration-property-unit-allowed-list -- Used for dashicons. */ 1461 1456 line-height: 40px !important; 1462 1457 } … … 1487 1482 1488 1483 @media only screen and (max-width: 640px), screen and (max-height: 400px) { 1489 .upload-php .mode-grid .media-sidebar {1484 .upload-php .mode-grid .media-sidebar { 1490 1485 max-width: 100%; 1491 1486 } … … 1496 1491 align-items: baseline; 1497 1492 } 1493 1498 1494 .media-item .edit-attachment.copy-to-clipboard-container { 1499 1495 flex-direction: column;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)