From: Igor Nakonechnyi Date: Thu, 4 Dec 2014 11:17:11 +0000 (+0200) Subject: Fixed displaying change timezone popup X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fgitweb-theme;a=commitdiff_plain;h=c387d78eb42f2ed306daa9dc3d4fe4676e059606 Fixed displaying change timezone popup --- diff --git a/gitweb.css b/gitweb.css index 1699b91..5fca47a 100644 --- a/gitweb.css +++ b/gitweb.css @@ -698,6 +698,38 @@ td.pre, div.pre, div.diff { white-space: pre-wrap; } +/* JavaScript-based timezone manipulation */ + +.popup { /* timezone selection UI */ + position: absolute; + /* "top: 0; right: 0;" would be better, if not for bugs in browsers */ + top: 0; left: 0; + border: 1px solid #d8d8d8; + padding: 2px; + background-color: #f0f0f0; + font-style: normal; + color: #545454; + cursor: auto; +} + +.close-button { /* close timezone selection UI without selecting */ + /* float doesn't work within absolutely positioned container, + * if width of container is not set explicitly */ + /* float: right; */ + position: absolute; + top: 0px; right: 0px; + border: 1px solid #ffaaaa; + margin: 1px 1px 1px 1px; + padding-bottom: 2px; + width: 12px; + height: 10px; + font-size: 9px; + font-weight: bold; + text-align: center; + background-color: #ffdddd; + cursor: pointer; +} + /* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */ /* Highlighting theme definition: */