Ticket #59733: 59733.diff
File 59733.diff, 2.6 KB (added by , 17 months ago) |
---|
-
src/wp-admin/css/forms.css
22 22 resize: vertical; 23 23 } 24 24 25 label {25 label:not(.disabled) { 26 26 cursor: pointer; 27 27 } 28 28 29 /* wrapping labels containing disabled elements */ 30 label:has(.disabled, [disabled], [aria-disabled="true"]) { 31 cursor: default; 32 } 33 29 34 input, 30 35 select { 31 36 margin: 0 1px; … … 287 292 288 293 input[type="file"]:disabled, 289 294 input[type="file"].disabled, 295 input[type="file"][aria-disabled="true"], 290 296 input[type="range"]:disabled, 291 input[type="range"].disabled { 297 input[type="range"].disabled, 298 input[type="range"][aria-disabled="true"] { 292 299 background: none; 293 300 box-shadow: none; 294 301 cursor: default; … … 296 303 297 304 input[type="checkbox"]:disabled, 298 305 input[type="checkbox"].disabled, 306 input[type="checkbox"][aria-disabled="true"], 299 307 input[type="radio"]:disabled, 300 308 input[type="radio"].disabled, 309 input[type="radio"][aria-disabled="true"], 301 310 input[type="checkbox"]:disabled:checked:before, 302 311 input[type="checkbox"].disabled:checked:before, 303 312 input[type="radio"]:disabled:checked:before, 304 313 input[type="radio"].disabled:checked:before { 305 314 opacity: 0.7; 315 cursor: default; 306 316 } 307 317 318 input[type="checkbox"][aria-disabled="true"] + label, 319 input[type="radio"][aria-disabled="true"] + label { 320 cursor: default; 321 } 322 308 323 /*------------------------------------------------------------------------------ 309 324 2.0 - Forms 310 325 ------------------------------------------------------------------------------*/ … … 356 371 transform: none; 357 372 } 358 373 374 .wp-core-ui select[aria-disabled="true"] { 375 cursor: default; 376 } 377 359 378 /* Reset Firefox inner outline that appears on :focus. */ 360 379 /* This ruleset overrides the color change on :focus thus needs to be after select:focus. */ 361 380 .wp-core-ui select:-moz-focusring { -
src/wp-includes/css/buttons.css
185 185 transform: none !important; 186 186 } 187 187 188 .wp-core-ui .button[aria-disabled="true"], 189 .wp-core-ui .button-secondary[aria-disabled="true"] { 190 cursor: default; 191 } 192 188 193 /* Buttons that look like links, for a cross of good semantics with the visual */ 189 194 .wp-core-ui .button-link { 190 195 margin: 0; … … 283 288 cursor: default; 284 289 } 285 290 291 .wp-core-ui .button-primary[aria-disabled="true"] { 292 cursor: default; 293 } 294 286 295 /* ---------------------------------------------------------------------------- 287 296 4.0 - Button Groups 288 297 ---------------------------------------------------------------------------- */