Making WordPress.org


Ignore:
Timestamp:
06/04/2021 07:18:50 PM (5 years ago)
Author:
ryelle
Message:

Pattern Directory: Sync with git WordPress/pattern-directory@53b4aed1b62b05f8c61798ddc55ea0e02e1c765d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-patterns/css/components/_favorite-button.scss

    r10983 r11008  
    55        width: 2.25rem;
    66        border-radius: 2px;
    7         color: $color-gray-400;
     7        color: $color__text;
    88
    99        svg {
     
    3939        }
    4040
     41        &.has-label {
     42                padding: 12px 18px 12px 38px;
     43                height: auto;
     44                width: auto;
     45
     46                svg {
     47                        top: calc(50% - 12px);
     48                        left: 9px;
     49
     50                        path {
     51                                fill: $color-black;
     52                        }
     53                }
     54        }
     55
    4156        &.is-favorited {
    42                 color: $color__text;
    43 
    4457                svg path {
    4558                        fill: $color-alert-red;
     
    6275                        }
    6376                }
    64         }
    65 
    66         &.has-label {
    67                 padding: 12px 18px 12px 38px;
    68                 height: auto;
    69                 width: auto;
    70 
    71                 svg {
    72                         top: calc(50% - 12px);
    73                         left: 9px;
    74                 }
    75         }
    76 
    77         &[disabled] {
    78                 background: transparent !important;
    79                 text-shadow: none !important;
    80                 color: $color-gray-400 !important;
    8177        }
    8278}
Note: See TracChangeset for help on using the changeset viewer.