Making WordPress.org


Ignore:
Timestamp:
12/11/2018 01:04:04 AM (6 years ago)
Author:
dd32
Message:

Gutenberg Theme: Override the CSS 'color' on a:visited for the download button.

This fixes a case where the button ended up as dark text on blue background.

See https://github.com/WordPress/gutenberg/issues/12772

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/gutenfront-content.php

    r7922 r7972  
    2626
    2727$content .= '<!-- wp:wporg/download-button -->
    28 <div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170)">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div>
     28<div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170);color:#fff">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div>
    2929<!-- /wp:wporg/download-button -->' . "\n\n";
    3030
     
    145145
    146146$content .= '<!-- wp:wporg/download-button -->
    147 <div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170)">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div>
     147<div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170);color:#fff">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div>
    148148<!-- /wp:wporg/download-button -->' . "\n\n";
    149149
Note: See TracChangeset for help on using the changeset viewer.