WordPress.org

Make WordPress Core

Ticket #45452: 45452.patch

File 45452.patch, 12.2 KB (added by laurelfulford, 10 months ago)
  • src/wp-content/themes/twentyeleven/blocks.css

     
    11/*
    22Theme Name: Twenty Eleven
    3 Description: Used to style Gutenberg Blocks.
     3Description: Used to style blocks.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentyeleven/editor-blocks.css

     
    11/*
    22Theme Name: Twenty Eleven
    3 Description: Used to style Gutenberg Blocks in the editor.
     3Description: Used to style blocks in the editor.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentyeleven/functions.php

     
    287287add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' );
    288288
    289289/**
    290  * Enqueue editor styles for Gutenberg
     290 * Enqueue styles for the block-based editor.
    291291 *
    292292 * @since Twenty Eleven 2.9
    293293 */
  • src/wp-content/themes/twentyfifteen/css/blocks.css

     
    11/*
    22Theme Name: Twenty Fifteen
    3 Description: Used to style Gutenberg Blocks.
     3Description: Used to style blocks.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentyfifteen/css/editor-blocks.css

     
    11/*
    22Theme Name: Twenty Fifteen
    3 Description: Used to style Gutenberg Blocks in the editor.
     3Description: Used to style blocks in the editor.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentyfifteen/functions.php

     
    362362add_action( 'wp_enqueue_scripts', 'twentyfifteen_scripts' );
    363363
    364364/**
    365  * Enqueue editor styles for Gutenberg
     365 * Enqueue styles for the block-based editor.
    366366 *
    367367 * @since Twenty Fifteen 2.1
    368368 */
  • src/wp-content/themes/twentyfourteen/css/blocks.css

     
    11/*
    22Theme Name: Twenty Fourteen
    3 Description: Used to style Gutenberg Blocks.
     3Description: Used to style blocks.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentyfourteen/css/editor-blocks.css

     
    11/*
    22Theme Name: Twenty Fourteen
    3 Description: Used to style Gutenberg Blocks in the editor.
     3Description: Used to style blocks in the editor.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentyfourteen/functions.php

     
    349349add_filter( 'wp_resource_hints', 'twentyfourteen_resource_hints', 10, 2 );
    350350
    351351/**
    352  * Enqueue editor styles for Gutenberg
     352 * Enqueue styles for the block-based editor.
    353353 *
    354354 * @since Twenty Fourteen 2.3
    355355 */
  • src/wp-content/themes/twentyseventeen/assets/css/blocks.css

     
    11/*
    22Theme Name: Twenty Seventeen
    3 Description: Used to style Gutenberg Blocks.
     3Description: Used to style blocks.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css

     
    11/*
    22Theme Name: Twenty Seventeen
    3 Description: Used to style Gutenberg Blocks in the editor.
     3Description: Used to style blocks in the editor.
    44*/
    55
    66/*--------------------------------------------------------------
     
    358358        max-width: 674px; /* Based on one-column post width; 644px + 30px to account for padding. */
    359359}
    360360
    361 /* Background color */
    362 
    363 .gutenberg-editor-page .editor-block-list__block {
    364         background-color: transparent;
    365 }
    366 
    367361/* Alignments */
    368362
    369363.edit-post-visual-editor .alignleft {
  • src/wp-content/themes/twentyseventeen/functions.php

     
    472472add_action( 'wp_enqueue_scripts', 'twentyseventeen_scripts' );
    473473
    474474/**
    475  * Enqueue editor styles for Gutenberg
     475 * Enqueue styles for the block-based editor.
    476476 *
    477477 * @since Twenty Seventeen 1.8
    478478 */
  • src/wp-content/themes/twentysixteen/css/blocks.css

     
    11/*
    22Theme Name: Twenty Sixteen
    3 Description: Used to style Gutenberg Blocks.
     3Description: Used to style blocks.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentysixteen/css/editor-blocks.css

     
    11/*
    22Theme Name: Twenty Sixteen
    3 Description: Used to style Gutenberg Blocks in the editor.
     3Description: Used to style blocks in the editor.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentysixteen/functions.php

     
    364364add_action( 'wp_enqueue_scripts', 'twentysixteen_scripts' );
    365365
    366366/**
    367  * Enqueue editor styles for Gutenberg
     367 * Enqueue styles for the block-based editor.
    368368 *
    369369 * @since Twenty Sixteen 1.6
    370370 */
  • src/wp-content/themes/twentyten/blocks.css

     
    11/*
    22Theme Name: Twenty Ten
    3 Description: Used to style Gutenberg Blocks.
     3Description: Used to style blocks.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentyten/editor-blocks.css

     
    11/*
    22Theme Name: Twenty Ten
    3 Description: Used to style Gutenberg Blocks in the editor.
     3Description: Used to style blocks in the editor.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentyten/functions.php

     
    660660add_action( 'wp_enqueue_scripts', 'twentyten_scripts_styles' );
    661661
    662662/**
    663  * Enqueue editor styles for Gutenberg
     663 * Enqueue styles for the block-based editor.
    664664 *
    665665 * @since Twenty Ten 2.6
    666666 */
  • src/wp-content/themes/twentythirteen/css/blocks.css

     
    11/*
    22Theme Name: Twenty Thirteen
    3 Description: Used to style Gutenberg Blocks.
     3Description: Used to style blocks.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentythirteen/css/editor-blocks.css

     
    11/*
    22Theme Name: Twenty Thirteen
    3 Description: Used to style Gutenberg Blocks in the editor.
     3Description: Used to style blocks in the editor.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentythirteen/functions.php

     
    290290add_filter( 'wp_resource_hints', 'twentythirteen_resource_hints', 10, 2 );
    291291
    292292/**
    293  * Enqueue editor styles for Gutenberg
     293 * Enqueue styles for the block-based editor.
    294294 *
    295295 * @since Twenty Thirteen 2.5
    296296 */
  • src/wp-content/themes/twentytwelve/css/blocks.css

     
    11/*
    22Theme Name: Twenty Twelve
    3 Description: Used to style Gutenberg Blocks.
     3Description: Used to style blocks.
    44*/
    55
    66/*--------------------------------------------------------------
  • src/wp-content/themes/twentytwelve/css/editor-blocks.css

     
    11/*
    22Theme Name: Twenty Twelve
    3 Description: Used to style Gutenberg Blocks in the editor.
     3Description: Used to style blocks in the editor.
    44*/
    55
    66/*--------------------------------------------------------------
     
    382382
    383383/* Archives */
    384384
    385 .gutenberg ul.wp-block-archives {
     385.editor-block-list__block ul.wp-block-archives {
    386386        padding-left: 0;
    387387}
    388388
    389389/* Categories */
    390390
    391 .gutenberg .wp-block-categories ul {
     391.editor-block-list__block .wp-block-categories ul {
    392392        padding-left: 0;
    393393}
    394394
     
    436436
    437437/* Latest Posts */
    438438
    439 .gutenberg .wp-block-latest-posts {
     439.editor-block-list__block .wp-block-latest-posts {
    440440        padding-left: 0;
    441441        padding-right: 0;
    442442}
  • src/wp-content/themes/twentytwelve/functions.php

     
    199199add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' );
    200200
    201201/**
    202  * Enqueue editor styles for Gutenberg
     202 * Enqueue styles for the block-based editor.
    203203 *
    204204 * @since Twenty Twelve 2.6
    205205 */