mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-07 07:37:11 -04:00
disable toolbar when disconnected
This commit is contained in:
parent
dba26821e1
commit
ff86dee2f5
2 changed files with 25 additions and 4 deletions
|
@ -35,15 +35,35 @@ a img
|
|||
|
||||
}
|
||||
|
||||
#editbar-RO
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.disabledtoolbar #editbar-RO
|
||||
{
|
||||
display: block;
|
||||
background-color: black;
|
||||
opacity: 0.2;
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
#editbar-RO,
|
||||
#editbar
|
||||
{
|
||||
height: 32px;
|
||||
overflow: hidden;
|
||||
padding-top: 3px;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
#editbar
|
||||
{
|
||||
background: #f7f7f7;
|
||||
background: linear-gradient(#f7f7f7, #f1f1f1 80%);
|
||||
border-bottom: 1px solid #ccc;
|
||||
height: 32px;
|
||||
overflow: hidden;
|
||||
padding-top: 3px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#editbar ul li
|
||||
|
|
|
@ -71,6 +71,7 @@
|
|||
<span id="online_count">1</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="editbar-RO"> </div>
|
||||
</div>
|
||||
<div id="mainmodals">
|
||||
<div id="connectionbox" class="modaldialog">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue