]> git.plutz.net Git - httpchat/blobdiff - webchat.css
display users in channel
[httpchat] / webchat.css
index 123a0522ee3563fdc80c15de49770999762403c3..1335fe64d027a95460e69a29a48aab2c8255ea27 100644 (file)
@@ -32,6 +32,7 @@ button {
   background-color: #FFF;
   border: 1px solid;
   border-radius: 1ex 1ex .5ex .5ex;
+  z-index: 2;
 }
 #settings h1 {
   background-color: #08b;
@@ -112,7 +113,7 @@ form#channel button[value=submit] { display: none; }
   left: 0; right: 0;
   padding: 1ex;
   margin: .5ex;
-  z-index: -1;
+  -z-index: -1;
 }
 
 #chat p.message {
@@ -141,3 +142,33 @@ form#channel button[value=submit] { display: none; }
   border-radius: 0 .5em .5em 0;
   padding-right: .5em;
 }
+
+#chat div.nicklist {
+  position: fixed;
+  top: 1em; bottom: 3em;
+  right: 0; width: 1em;
+  background-color: rgba(255, 255, 255, .875);
+  padding: .5em;
+  z-index: 1;
+  border: 1px solid black;
+  border-width: 1px 0 1px 1px;
+  overflow-y: auto;
+  white-space: nowrap;
+}
+#chat div.nicklist:hover {
+  width: 20%;
+  min-width: 10em;
+  white-space: normal;
+}
+#chat div.nicklist h2 {
+  font-weight: bold;
+  border-bottom: 1px solid black;
+}
+#chat div.nicklist .nick {
+  margin-top: .5em;
+  display: block;
+  line-height: 1.5em;
+}
+#chat div.nicklist a.nick {
+  color: #00F;
+}