mirror of
https://github.com/mjl-/mox.git
synced 2025-01-28 15:25:55 +03:00
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:
parent
5a14a5b067
commit
f7193bd4c3
2 changed files with 4 additions and 2 deletions
|
@ -1540,7 +1540,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 });
|
||||
|
|
|
@ -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})
|
||||
|
|
Loading…
Reference in a new issue