mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
css: fix toolbar overlay so it cover only toolbar and not the whole screen
This allows to copy & paste the pad text even when disconnected.
This commit is contained in:
parent
4593c4be7c
commit
03227e526f
2 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
.toolbar {
|
.toolbar {
|
||||||
display: none;
|
display: none;
|
||||||
|
position: relative;
|
||||||
background-color: #f4f4f4;
|
background-color: #f4f4f4;
|
||||||
color: #666;
|
color: #666;
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
|
|
|
@ -44,6 +44,7 @@ var padmodals = (function()
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
showOverlay: function() {
|
showOverlay: function() {
|
||||||
|
// Prevent the user to interact with the toolbar. Useful when user is disconnected for example
|
||||||
$("#toolbar-overlay").show();
|
$("#toolbar-overlay").show();
|
||||||
},
|
},
|
||||||
hideOverlay: function() {
|
hideOverlay: function() {
|
||||||
|
|
Loading…
Reference in a new issue