From c387d78eb42f2ed306daa9dc3d4fe4676e059606 Mon Sep 17 00:00:00 2001 From: Igor Nakonechnyi Date: Thu, 4 Dec 2014 13:17:11 +0200 Subject: [PATCH] Fixed displaying change timezone popup --- gitweb.css | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) 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: */ -- 2.30.2