Ticket #53158: 53158.4.patch
File 53158.4.patch, 11.1 KB (added by , 4 years ago) |
---|
-
src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css
777 777 width: 44px; 778 778 } 779 779 780 .editor-styles-wrapper .wp-block .wp-block-pullquote p { 780 .editor-styles-wrapper .wp-block .wp-block-pullquote p, 781 .editor-styles-wrapper .wp-block-pullquote p { 781 782 font-family: inherit; 782 783 font-size: 28px; 783 784 font-weight: 700; … … 786 787 margin-bottom: 20px; 787 788 } 788 789 789 .editor-styles-wrapper .wp-block .wp-block-pullquote p:last-child { 790 .editor-styles-wrapper .wp-block .wp-block-pullquote p:last-child, 791 .editor-styles-wrapper .wp-block-pullquote p:last-child { 790 792 margin-bottom: 0; 791 793 } 792 794 793 795 .editor-styles-wrapper .wp-block .wp-block-pullquote p, 796 .editor-styles-wrapper .wp-block-pullquote p, 794 797 .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p, 795 798 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p, 796 799 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .editor-rich-text p { … … 804 807 } 805 808 806 809 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote, 807 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote.is-style-solid-color blockquote { 810 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote.is-style-solid-color blockquote, 811 .editor-styles-wrapper .wp-block[data-align="left"] > .wp-block-pullquote, 812 .editor-styles-wrapper .wp-block[data-align="left"] > .wp-block-pullquote.is-style-solid-color blockquote { 808 813 text-align: right; 809 814 } 810 815 811 816 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote, 812 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote.is-style-solid-color blockquote { 817 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote.is-style-solid-color blockquote, 818 .editor-styles-wrapper .wp-block[data-align="right"] > .wp-block-pullquote, 819 .editor-styles-wrapper .wp-block[data-align="right"] > .wp-block-pullquote.is-style-solid-color blockquote { 813 820 text-align: left; 814 821 } 815 822 … … 1142 1149 margin-top: 0; 1143 1150 } 1144 1151 1145 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .block-editor-block-list__block-edit { 1146 float: left; 1147 margin-right: 20px; 1152 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .block-editor-block-list__block-edit, 1153 .editor-styles-wrapper .wp-block[data-align="right"] > .wp-block-pullquote { 1154 float: right; 1155 margin-left: 20px; 1148 1156 max-width: 260px; 1149 1157 } 1150 1158 1151 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .block-editor-block-list__block-edit { 1152 float: right; 1153 margin-left: 20px; 1159 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .block-editor-block-list__block-edit, 1160 .editor-styles-wrapper .wp-block[data-align="left"] > .wp-block-pullquote { 1161 float: left; 1162 margin-right: 20px; 1154 1163 max-width: 260px; 1155 1164 } 1156 1165 1157 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote::before { 1166 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote::before, 1167 .editor-styles-wrapper .wp-block[data-align="right"] > .wp-block-pullquote::before { 1158 1168 margin-left: 0; 1159 1169 } 1160 1170 1161 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote::before { 1171 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote::before, 1172 .editor-styles-wrapper .wp-block[data-align="left"] > .wp-block-pullquote::before { 1162 1173 margin-right: 0; 1163 1174 } 1164 1175 … … 1295 1306 /* BLOCK: PULLQUOTE */ 1296 1307 1297 1308 .editor-styles-wrapper .wp-block .wp-block-pullquote p, 1309 .editor-styles-wrapper .wp-block-pullquote p, 1298 1310 .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p, 1299 1311 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p, 1300 1312 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .editor-rich-text p { … … 1308 1320 } 1309 1321 1310 1322 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="wide"] .wp-block-pullquote::before, 1311 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] .wp-block-pullquote::before { 1323 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] .wp-block-pullquote::before, 1324 .editor-styles-wrapper .wp-block[data-align="wide"] > .wp-block-pullquote::before, 1325 .editor-styles-wrapper .wp-block[data-align="full"] > .wp-block-pullquote::before { 1312 1326 font-size: 113px; 1313 1327 height: 80px; 1314 1328 margin-bottom: 20px; … … 1326 1340 } 1327 1341 1328 1342 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="wide"] blockquote p, 1329 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] blockquote p { 1343 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] blockquote p, 1344 .editor-styles-wrapper .wp-block[data-align="wide"] > .wp-block-pullquote blockquote p, 1345 .editor-styles-wrapper .wp-block[data-align="full"] > .wp-block-pullquote blockquote p { 1330 1346 font-size: 48px; 1331 1347 line-height: 1.203125; 1332 1348 } -
src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css
777 777 width: 44px; 778 778 } 779 779 780 .editor-styles-wrapper .wp-block .wp-block-pullquote p { 780 .editor-styles-wrapper .wp-block .wp-block-pullquote p, 781 .editor-styles-wrapper .wp-block-pullquote p { 781 782 font-family: inherit; 782 783 font-size: 28px; 783 784 font-weight: 700; … … 786 787 margin-bottom: 20px; 787 788 } 788 789 789 .editor-styles-wrapper .wp-block .wp-block-pullquote p:last-child { 790 .editor-styles-wrapper .wp-block .wp-block-pullquote p:last-child, 791 .editor-styles-wrapper .wp-block-pullquote p:last-child { 790 792 margin-bottom: 0; 791 793 } 792 794 793 795 .editor-styles-wrapper .wp-block .wp-block-pullquote p, 796 .editor-styles-wrapper .wp-block-pullquote p, 794 797 .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p, 795 798 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p, 796 799 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .editor-rich-text p { … … 804 807 } 805 808 806 809 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote, 807 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote.is-style-solid-color blockquote { 810 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote.is-style-solid-color blockquote, 811 .editor-styles-wrapper .wp-block[data-align="left"] > .wp-block-pullquote, 812 .editor-styles-wrapper .wp-block[data-align="left"] > .wp-block-pullquote.is-style-solid-color blockquote { 808 813 text-align: left; 809 814 } 810 815 811 816 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote, 812 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote.is-style-solid-color blockquote { 817 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote.is-style-solid-color blockquote, 818 .editor-styles-wrapper .wp-block[data-align="right"] > .wp-block-pullquote, 819 .editor-styles-wrapper .wp-block[data-align="right"] > .wp-block-pullquote.is-style-solid-color blockquote { 813 820 text-align: right; 814 821 } 815 822 … … 1142 1149 margin-top: 0; 1143 1150 } 1144 1151 1145 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .block-editor-block-list__block-edit { 1152 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .block-editor-block-list__block-edit, 1153 .editor-styles-wrapper .wp-block[data-align="right"] > .wp-block-pullquote { 1154 1155 /*rtl:begin:ignore*/ 1146 1156 float: right; 1147 1157 margin-left: 20px; 1158 1159 /*rtl:end:ignore*/ 1148 1160 max-width: 260px; 1149 1161 } 1150 1162 1151 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .block-editor-block-list__block-edit { 1163 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .block-editor-block-list__block-edit, 1164 .editor-styles-wrapper .wp-block[data-align="left"] > .wp-block-pullquote { 1165 1166 /*rtl:begin:ignore*/ 1152 1167 float: left; 1153 1168 margin-right: 20px; 1169 1170 /*rtl:end:ignore*/ 1154 1171 max-width: 260px; 1155 1172 } 1156 1173 1157 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote::before { 1174 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .wp-block-pullquote::before, 1175 .editor-styles-wrapper .wp-block[data-align="right"] > .wp-block-pullquote::before { 1158 1176 margin-right: 0; 1159 1177 } 1160 1178 1161 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote::before { 1179 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .wp-block-pullquote::before, 1180 .editor-styles-wrapper .wp-block[data-align="left"] > .wp-block-pullquote::before { 1162 1181 margin-left: 0; 1163 1182 } 1164 1183 … … 1295 1314 /* BLOCK: PULLQUOTE */ 1296 1315 1297 1316 .editor-styles-wrapper .wp-block .wp-block-pullquote p, 1317 .editor-styles-wrapper .wp-block-pullquote p, 1298 1318 .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color blockquote > .block-editor-rich-text p, 1299 1319 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="right"] .editor-rich-text p, 1300 1320 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="left"] .editor-rich-text p { … … 1308 1328 } 1309 1329 1310 1330 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="wide"] .wp-block-pullquote::before, 1311 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] .wp-block-pullquote::before { 1331 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] .wp-block-pullquote::before, 1332 .editor-styles-wrapper .wp-block[data-align="wide"] > .wp-block-pullquote::before, 1333 .editor-styles-wrapper .wp-block[data-align="full"] > .wp-block-pullquote::before { 1312 1334 font-size: 113px; 1313 1335 height: 80px; 1314 1336 margin-bottom: 20px; … … 1326 1348 } 1327 1349 1328 1350 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="wide"] blockquote p, 1329 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] blockquote p { 1351 .editor-styles-wrapper .wp-block[data-type="core/pullquote"][data-align="full"] blockquote p, 1352 .editor-styles-wrapper .wp-block[data-align="wide"] > .wp-block-pullquote blockquote p, 1353 .editor-styles-wrapper .wp-block[data-align="full"] > .wp-block-pullquote blockquote p { 1330 1354 font-size: 48px; 1331 1355 line-height: 1.203125; 1332 1356 }