Mercurial Hosting > sceditor
diff src/themes/modern.css @ 43:ab852c9f04c3
use buttons
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 29 Aug 2022 23:33:11 -0600 |
parents | 2606bfb75529 |
children |
line wrap: on
line diff
--- a/src/themes/modern.css Mon Aug 29 22:36:31 2022 -0600 +++ b/src/themes/modern.css Mon Aug 29 23:33:11 2022 -0600 @@ -33,45 +33,45 @@ padding: 0; border: 0; } -.sceditor-button { +.sceditor-toolbar button { padding: 4px; margin: 2px 1px 2px 3px; height: 16px; border-radius: 12px; background-clip: padding-box; } -.sceditor-button:hover, -.sceditor-button.active, -.sceditor-button.active:hover { +.sceditor-toolbar button:hover, +.sceditor-toolbar button.active, +.sceditor-toolbar button.active:hover { box-shadow: none; } -.sceditor-button:hover { +.sceditor-toolbar button:hover { background: #fff; background: rgba(255, 255, 255, 0.75); margin: 1px 0 1px 2px; border: 1px solid #eee; } -.sceditor-button.disabled:hover { +.sceditor-toolbar button.disabled:hover { margin: 2px 1px 2px 3px; border: 0; } -.sceditor-button.active { +.sceditor-toolbar button.active { background: #b1b1b1; background: rgba(0, 0, 0, 0.1); margin: 1px 0 1px 2px; border: 1px solid #999; } -.sceditor-button.active:hover { +.sceditor-toolbar button.active:hover { background: #fff; background: rgba(255, 255, 255, 0.25); } -.sceditor-button:active, -.sceditor-button.active:active { +.sceditor-toolbar button:active, +.sceditor-toolbar button.active:active { margin: 1px 0 1px 2px; border: 1px solid #999; box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5); } -.sceditor-button div, -.sceditor-button svg { +.sceditor-toolbar button div, +.sceditor-toolbar button svg { margin: 0; }