Changeset 11008 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-patterns/css/components/_favorite-button.scss
- Timestamp:
- 06/04/2021 07:18:50 PM (4 years ago)
- 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 5 5 width: 2.25rem; 6 6 border-radius: 2px; 7 color: $color -gray-400;7 color: $color__text; 8 8 9 9 svg { … … 39 39 } 40 40 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 41 56 &.is-favorited { 42 color: $color__text;43 44 57 svg path { 45 58 fill: $color-alert-red; … … 62 75 } 63 76 } 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;81 77 } 82 78 }
Note: See TracChangeset
for help on using the changeset viewer.