webmail: fix css to not show text on button (actually html "a" element for links) for downloaded (visited) attachments in blue

This commit is contained in:
Mechiel Lukkien
2025-01-13 11:22:44 +01:00
parent 5a14a5b067
commit f7193bd4c3
2 changed files with 4 additions and 2 deletions

View File

@ -100,7 +100,8 @@ const zindexes = {
// Buttons and input elements.
ensureCSS('.button', {display: 'inline-block'})
ensureCSS('button, .button, select', {color: styles.color, backgroundColor: styles.buttonBackground, border: '1px solid', borderColor: styles.buttonBorderColor, borderRadius: '.15em', padding: '0 .15em'})
ensureCSS('button, .button, select', {backgroundColor: styles.buttonBackground, border: '1px solid', borderColor: styles.buttonBorderColor, borderRadius: '.15em', padding: '0 .15em'})
ensureCSS('button, .button, select, a.button:visited', {color: styles.color})
ensureCSS('button.active, .button.active, button.active:hover, .button.active:hover', {backgroundColor: styles.highlightBackground})
ensureCSS('button:hover:not(:disabled), .button:hover:not(:disabled), select:hover:not(:disabled)', {backgroundColor: styles.buttonHoverBackground})
ensureCSS('button:disabled, .button:disabled, select:disabled', {opacity: .5})