Mercurial Hosting > freedit
diff src/bbcode/bbcode.css @ 51:78b2d6995244
add preview
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 22 Nov 2022 22:57:43 -0700 |
parents | 0d99cec5142c |
children | 9f8ebc757814 |
line wrap: on
line diff
--- a/src/bbcode/bbcode.css Thu Nov 17 22:00:59 2022 -0700 +++ b/src/bbcode/bbcode.css Tue Nov 22 22:57:43 2022 -0700 @@ -20,20 +20,31 @@ display: flex; justify-content: flex-end; } -div[bbcode_editor] div[buttons] button { +div[bbcode_editor] button { border: 0; background-color: transparent; border-radius: 4px; } -div[bbcode_editor] div[buttons] button:hover { +div[bbcode_editor] button:hover { background-color: lightgrey; } -div[bbcode_editor] div[buttons] button[checked] { +div[bbcode_editor] button[checked] { background-color: lightblue; } +div[bbcode_editor] button:disabled { + cursor: not-allowed; + background-color: initial; + opacity: 0.3; +} div[bbcode_editor] div[buttons] img { height: 24px; } +div[bbcode_editor] div[preview] { + display: none; + border: solid #888888; + padding: 7px; + margin-bottom: 4px; +} div[from_bbcode] {