Template:CreateHub/styles.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 75: | Line 75: | ||
.creation-row .mw-inputbox-centered form > *:last-child:active:not(:disabled) { | .creation-row .mw-inputbox-centered form > *:last-child:active:not(:disabled) { | ||
transform: translateY(0); | transform: translateY(0); | ||
} | |||
/* Disabled state: look the same as enabled (no grey pill) */ | |||
.creation-row .mw-inputbox-centered form > *:last-child:disabled { | |||
border: 1.5px solid #000; | |||
border-radius: 2px; | |||
background: transparent; | |||
color: #000; | |||
box-shadow: none; | |||
line-height: 40px; | |||
opacity: 1; /* cancel skin's fade-out */ | |||
cursor: not-allowed; /* optional: still shows it's disabled */ | |||
} | } | ||