Making WordPress.org


Ignore:
Timestamp:
03/05/2024 07:07:14 AM (3 years ago)
Author:
dd32
Message:

wporg-plugins-2024: Button sizing, remaining blue colours, embed styles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/embed-plugin.php

    r11720 r13277  
    1111
    1212remove_action( 'embed_content_meta', 'print_embed_comments_button' );
    13 wp_enqueue_style( 'dashicons' );
     13wp_enqueue_style( 'dashicons' ); // NOTE: This is not compatible with the core embed CSS.
    1414
    1515if ( ! headers_sent() ) {
     
    4646                .wp-embed-featured-image .plugin-icon {
    4747                        background-size: 100%;
    48                         height: 60px;
    49                         width: 60px;
     48                        height: 64px;
     49                        width: 64px;
    5050                }
    5151                p.wp-embed-heading {
     
    8383                }
    8484                .button.download-button {
    85                         background: #0085ba;
    86                         border: 1px solid;
    87                         border-color: #0073aa #006799 #006799;
    88                         -webkit-border-radius: 3px;
    89                         border-radius: 3px;
    90                         -webkit-box-shadow: 0 1px 0 #006799;
    91                         box-shadow: 0 1px 0 #006799;
     85                        background: #3858e9;
    9286                        -webkit-box-sizing: border-box;
    9387                        -moz-box-sizing: border-box;
     
    9690                        cursor: pointer;
    9791                        display: inline-block;
    98                         height: 31.25px;
    99                         height: 1.953125rem;
    10092                        line-height: 2;
    10193                        margin: 0;
    102                         padding: 0 16px;
    103                         padding: 0 1rem;
     94                        padding: 8px 16px;
     95                        padding: 0.5rem 1rem;
    10496                        text-decoration: none;
    105                         text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
    10697                        white-space: nowrap;
    10798                        -webkit-appearance: none;
    10899                }
    109100                a.button:active, a.button:focus, a.button:hover {
    110                         background: #008ec2;
    111                         border-color: #006799;
    112                         -webkit-box-shadow: 0 1px 0 #006799;
    113                         box-shadow: 0 1px 0 #006799;
    114101                        color: #fff;
    115102                        text-decoration: none;
    116                 }
    117                 a.button:active {
    118                         background: #0073aa;
    119                         border-color: #006799;
    120                         -webkit-box-shadow: inset 0 2px 0 #006799;
    121                         box-shadow: inset 0 2px 0 #006799;
    122                         vertical-align: top;
    123103                }
    124104                .wp-embed-share-dialog-open .dashicons {
    125105                        color: #82878c;
    126106                        top: 6px;
     107                }
     108                .wp-embed-share-dialog-close .dashicons {
     109                        color: #fff;
     110                        padding-top: 8px;
    127111                }
    128112        </style>
Note: See TracChangeset for help on using the changeset viewer.