X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=webchat.css;h=1335fe64d027a95460e69a29a48aab2c8255ea27;hb=ecef5d8df4714fb141e42842e6df2028b151e831;hp=123a0522ee3563fdc80c15de49770999762403c3;hpb=6e9715c9b0ee07753440d8926feb21e53b769ccb;p=httpchat 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; +}