Merge branch 'jn/gitweb-js'
* jn/gitweb-js: gitweb: Make JavaScript ability to adjust timezones configurable gitweb.js: Add UI for selecting common timezone to display dates gitweb: JavaScript ability to adjust time based on timezone gitweb: Unify the way long timestamp is displayed gitweb: Refactor generating of long dates into format_timestamp_html gitweb.js: Provide getElementsByClassName method (if it not exists) gitweb.js: Introduce code to handle cookies from JavaScript gitweb.js: Extract and improve datetime handling gitweb.js: Provide default values for padding in padLeftStr and padLeft gitweb.js: Update and improve comments in JavaScript files gitweb: Split JavaScript for maintability, combining on build
This commit is contained in:
@ -586,6 +586,39 @@ div.remote {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
padding: 2px;
|
||||
background-color: #f0f0f0;
|
||||
font-style: normal;
|
||||
color: #000000;
|
||||
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 green;
|
||||
margin: 1px 1px 1px 1px;
|
||||
padding-bottom: 2px;
|
||||
width: 12px;
|
||||
height: 10px;
|
||||
font-size: 9px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
background-color: #fff0f0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
/* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
|
||||
|
||||
/* Highlighting theme definition: */
|
||||
|
||||
Reference in New Issue
Block a user