add code and style for simple popup box

This commit is contained in:
Uwe Steinmann 2017-01-12 16:41:44 +01:00
parent 0a02edfb04
commit 99805e5c30
2 changed files with 20 additions and 0 deletions

View File

@ -174,6 +174,20 @@ i.rejected {color: #b00000;}
i.in-workflow {color: #11479e;}
i.workflow-action {color: #91479e;}
span.openpopupbox {
cursor: pointer;
}
div.popupbox {
background-color: #fff;
border-radius: 4px;
border: 1px solid #ccc;
padding: 15px;
display: none;
position: absolute;
width: 200px;
}
@media (max-width: 480px) {
.nav-tabs > li {
float:none;

View File

@ -988,4 +988,10 @@ $(document).ready(function() { /* {{{ */
timeout: (typeof timeout == 'undefined' ? 1500 : timeout),
});
});
$('span.openpopupbox').on('click', function(e) {
$('div.popupbox').toggle();
console.log('Hallo');
});
}); /* }}} */