Changeset 46816
- Timestamp:
- 12/05/2019 09:32:26 PM (5 years ago)
- Location:
- branches/5.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
-
branches/5.3/src/wp-admin/css/colors/_admin.scss
r46423 r46816 76 76 .wp-core-ui { 77 77 78 .button, 79 .button-secondary { 80 color: $button-color; 81 border-color: $button-color; 78 .button { 79 border-color: #7e8993; 80 color: #32373c; 82 81 } 83 82 84 83 .button.hover, 85 84 .button:hover, 86 .button-secondary:hover,87 85 .button.focus, 88 .button:focus, 89 .button-secondary:focus { 90 border-color: darken( $button-color, 5% ); 91 color: darken( $button-color, 5% ); 86 .button:focus { 87 border-color: darken( #7e8993, 5% ); 88 color: darken( #32373c, 5% ); 92 89 } 93 90 94 91 .button.focus, 95 .button:focus, 96 .button-secondary:focus { 97 border-color: $button-color; 98 color: darken( $button-color, 5% ); 99 box-shadow: 0 0 0 1px $button-color; 92 .button:focus { 93 border-color: $highlight-color; 94 box-shadow: 0 0 0 1px $highlight-color; 100 95 } 101 96 102 97 .button:active { 103 background: darken( $button-color, 5% ); 104 border-color: darken( $button-color, 5% ); 98 border-color: #7e8993; 99 color: darken( #32373c, 5% ); 100 box-shadow: none; 105 101 } 106 102 … … 109 105 .button.active:hover { 110 106 border-color: darken( $button-color, 5% ); 111 color: darken( $button-color, 5% ); 112 box-shadow: inset 0 2px 5px -3px darken( $button-color, 5% ); 107 color: darken( $button-text-color, 5% ); 113 108 } 114 109 -
branches/5.3/src/wp-admin/css/colors/_mixins.scss
r46575 r46816 6 6 background: $button-color; 7 7 border-color: $button-color; 8 color: $ text-color;8 color: $button-text-color; 9 9 10 10 &:hover, … … 12 12 background: lighten( $button-color, 3% ); 13 13 border-color: darken( $button-color, 3% ); 14 color: $ text-color;14 color: $button-text-color; 15 15 } 16 16 … … 24 24 background: darken( $button-color, 5% ); 25 25 border-color: darken( $button-color, 5% ); 26 color: $ text-color;26 color: $button-text-color; 27 27 } 28 28 … … 31 31 &.active:hover { 32 32 background: $button-color; 33 color: $ text-color;33 color: $button-text-color; 34 34 border-color: darken( $button-color, 15% ); 35 35 box-shadow: inset 0 2px 5px -3px darken( $button-color, 50% ); -
branches/5.3/src/wp-admin/css/colors/_variables.scss
r45117 r46816 19 19 20 20 $button-color: $highlight-color !default; 21 $ form-checked: $highlight-color !default;21 $button-text-color: $text-color !default; 22 22 23 $form-checked: #7e8993 !default; 23 24 24 25 // admin menu & admin-bar
Note: See TracChangeset
for help on using the changeset viewer.