Changeset 26993
- Timestamp:
- 01/21/2014 09:26:31 PM (11 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/colors/_mixins.scss
r26139 r26993 12 12 &:hover, 13 13 &:focus { 14 background: darken( $button-color, 8% );14 background: darken( $button-color, 5% ); 15 15 border-color: darken( $button-color, 15% ); 16 16 color: $text-color; … … 20 20 21 21 &:active { 22 background: darken( $button-color, 8% );22 background: darken( $button-color, 10% ); 23 23 border-color: darken( $button-color, 15% ); 24 24 color: $text-color; -
trunk/src/wp-includes/css/buttons.css
r26683 r26993 164 164 } 165 165 166 /* this creates an inset effect on the text */167 .wp-core-ui .button:active {168 padding-top: 1px;169 }170 171 166 .wp-core-ui .button[disabled], 172 167 .wp-core-ui .button:disabled, … … 217 212 .wp-core-ui .button-primary.active:focus, 218 213 .wp-core-ui .button-primary:active { 219 background: #1 e8cbe;214 background: #1b7aa6; 220 215 border-color: #005684; 221 216 color: rgba(255,255,255,0.95); … … 223 218 box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); 224 219 vertical-align: top; 225 }226 227 /* this creates an inset effect on the text */228 .wp-core-ui .button-primary:active {229 padding-top: 1px;230 220 } 231 221 … … 297 287 } 298 288 299 /* Adjust the padding that makes active button text looks inset to account for larger responsive buttons */300 .wp-core-ui .button:active,301 .wp-core-ui .button-large:active,302 .wp-core-ui .button-small:active,303 input#publish:active,304 input#save-post:active,305 a.preview:active {306 padding-top: 11px;307 padding-bottom: 9px;308 }309 310 289 #media-upload.wp-core-ui .button { 311 290 padding: 0 10px 1px; … … 344 323 } 345 324 346 .interim-login .button.button-large:active { 347 padding-top: 1px; 348 } 349 } 325 }
Note: See TracChangeset
for help on using the changeset viewer.