mirror of
https://github.com/vladmandic/automatic
synced 2026-09-13 10:08:43 +02:00
add a add decription button
This commit is contained in:
@@ -118,6 +118,12 @@ function popup(contents){
|
||||
close.title = "Close";
|
||||
globalPopup.appendChild(close)
|
||||
|
||||
var addDescrip = document.createElement('div')
|
||||
addDescrip.classList.add('global-popup-addDescrip');
|
||||
addDescrip.onclick = function(){ alert("add descript you idiot") };
|
||||
addDescrip.title = "add descript";
|
||||
globalPopup.appendChild(addDescrip)
|
||||
|
||||
globalPopupInner = document.createElement('div')
|
||||
globalPopupInner.onclick = function(event){ event.stopPropagation(); return false; };
|
||||
globalPopupInner.classList.add('global-popup-inner');
|
||||
|
||||
@@ -424,6 +424,20 @@ div.dimensions-tools{
|
||||
font-size: 32pt;
|
||||
}
|
||||
|
||||
.global-popup-addDescrip:before {
|
||||
content: "+";
|
||||
}
|
||||
|
||||
.global-popup-addDescrip{
|
||||
position: fixed;
|
||||
right: 2em;
|
||||
top: 0;
|
||||
cursor: pointer;
|
||||
color: white;
|
||||
font-size: 32pt;
|
||||
}
|
||||
|
||||
|
||||
.global-popup-inner{
|
||||
display: inline-block;
|
||||
margin: auto;
|
||||
|
||||
Reference in New Issue
Block a user