diff src/chat.css @ 22:949914955bfe

add menu
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 05 Nov 2024 14:29:16 -0700
parents 563a5358f2ee
children af41be2dcdec
line wrap: on
line diff
--- a/src/chat.css	Tue Nov 05 12:57:41 2024 -0700
+++ b/src/chat.css	Tue Nov 05 14:29:16 2024 -0700
@@ -56,6 +56,36 @@
 	margin-bottom: 16px;
 }
 
+span[pulldown] {
+	position: relative;
+}
+
+span[pulldown] > div {
+	display: none;
+	top: 0;
+	left: 100%;
+	z-index: 2;
+	position: absolute;
+	border: 1px solid #cccccc;
+	border-radius: 4px;
+	text-align: left;
+	background-color: #eeeeee;
+	padding: 5px 0;
+}
+
+span[pulldown] > div > span {
+	white-space: nowrap;
+	display: block;
+	padding: 3px 16px;
+	xcolor: #333333;
+	cursor: pointer;
+}
+
+span[pulldown] > div > span:hover {
+	color: #ffffff;
+	background-color: #428bca;
+}
+
 div[text] {
 	white-space-collapse: preserve;
 }