diff src/bbcode/bbcode.css @ 60:8b5b1bce7d6b

bcode menus
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 30 Nov 2022 23:50:52 -0700
parents cac477dd1f82
children
line wrap: on
line diff
--- a/src/bbcode/bbcode.css	Tue Nov 29 18:45:22 2022 -0700
+++ b/src/bbcode/bbcode.css	Wed Nov 30 23:50:52 2022 -0700
@@ -12,21 +12,34 @@
 	display: none;
 }
 
-div[bbcode_editor] button:hover {
+div[bbcode_editor] input[type="checkbox"],
+div[bbcode_editor] button {
 	cursor: pointer;
 }
 
 div[bbcode_editor] div[buttons] {
 	display: flex;
+	gap: 4px;
+	align-items: center;
+}
+div[bbcode_editor] div[buttons="top"] {
+	margin-bottom: 2px;
+}
+div[bbcode_editor] div[buttons="bottom"] {
 	justify-content: flex-end;
-	gap: 4px;
 }
 div[bbcode_editor] button {
+	padding-top: 2px;
+}
+div[bbcode_editor] button:has(img) {
 	border: 0;
 	background-color: transparent;
 	border-radius: 4px;
 }
-div[bbcode_editor] button:hover {
+div[bbcode_editor] button input[type="checkbox"] {
+	margin: 0;
+}
+div[bbcode_editor] button:has(img):hover {
 	background-color: lightgrey;
 }
 div[bbcode_editor] button[checked] {