Merge pull request #33 from igoryok-zp/popup_timezone_fix
authorStefan Imhoff <kogakure@gmail.com>
Thu, 4 Dec 2014 16:31:20 +0000 (17:31 +0100)
committerStefan Imhoff <kogakure@gmail.com>
Thu, 4 Dec 2014 16:31:20 +0000 (17:31 +0100)
Fixed displaying change timezone popup

gitweb.css

index 1699b915e6d8363cfc08ed21ef4e9ed137c95500..5fca47a6b46cdb29a307c418dad1fea88fe8093a 100644 (file)
@@ -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: */