diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2016-06-26 18:21:06 +0300 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2016-06-28 11:54:26 +0300 |
commit | 3235b886ad437cdc995deefab88e98994900c645 (patch) | |
tree | e45d028f741e69dea920d6ec296010c0136e02ac /css/style.css | |
parent | eb79866efdb2dc3298691c1b7b413cad1da1f08d (diff) |
Add a revision history sidebar
Diffstat (limited to 'css/style.css')
-rw-r--r-- | css/style.css | 68 |
1 files changed, 67 insertions, 1 deletions
diff --git a/css/style.css b/css/style.css index ccdcad83..51c7cecf 100644 --- a/css/style.css +++ b/css/style.css @@ -180,6 +180,72 @@ bottom: 0; } +#revViewerContainer{ + position: absolute; + width: 85%; + z-index: 600; + background-color: #ddd !important; + top: 45px; + bottom: 0; +} + +#revPanelContainer{ + position: absolute; + width: 15%; + z-index: 600; + background-color: #efefef !important; + right: 0; + top: 45px; + bottom: 0; + box-sizing: border-box; + overflow: auto; +} + +/* Title */ +#revPanelHeader{ + height: 69px; + border-bottom: 1px solid #ddd; + margin: 0 0; + box-sizing: border-box; + padding-left: 15px; + padding-top: 15px; +} + +#revPanelHeader h2{ + margin: 0 0; +} + +.loleaflet-font{ + font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif !important; +} + +#revisionsContainer{ + list-style: none; +} + +#revisionsContainer li{ + width: 100%; + cursor: default; + height: 45px; + float: left; + border-bottom: 1px solid #ddd; + box-sizing: border-box; + padding: 10px 0; +} + +#revisionsContainer a{ + padding-left: 15px; +} + +#revisionsContainer li:hover, #revisionsContainer li.active{ + background-color: rgba(0, 0, 0, 0.1); +} + +#show-more-versions{ + width: 100%; + padding: 10px; +} + #documents-overlay, #documents-overlay-below{ position: fixed; top: 45px; @@ -189,7 +255,7 @@ filter:alpha(opacity=60); opacity: .6; z-index: 1000; - background-color: #fff; + background-color: #fff; } #documents-overlay-below{ |