X-Git-Url: http://git.plutz.net/?p=httpchat;a=blobdiff_plain;f=webchat.css;fp=webchat.css;h=1335fe64d027a95460e69a29a48aab2c8255ea27;hp=123a0522ee3563fdc80c15de49770999762403c3;hb=7481a68367b471a6a5058817342340a3e069e581;hpb=b0674d5fc925ab90c4bea072b0986a43be2471ef diff --git a/webchat.css b/webchat.css index 123a052..1335fe6 100644 --- a/webchat.css +++ b/webchat.css @@ -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; +}