mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
add code and style for simple popup box
This commit is contained in:
parent
0a02edfb04
commit
99805e5c30
|
@ -174,6 +174,20 @@ i.rejected {color: #b00000;}
|
||||||
i.in-workflow {color: #11479e;}
|
i.in-workflow {color: #11479e;}
|
||||||
i.workflow-action {color: #91479e;}
|
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) {
|
@media (max-width: 480px) {
|
||||||
.nav-tabs > li {
|
.nav-tabs > li {
|
||||||
float:none;
|
float:none;
|
||||||
|
|
|
@ -988,4 +988,10 @@ $(document).ready(function() { /* {{{ */
|
||||||
timeout: (typeof timeout == 'undefined' ? 1500 : timeout),
|
timeout: (typeof timeout == 'undefined' ? 1500 : timeout),
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('span.openpopupbox').on('click', function(e) {
|
||||||
|
$('div.popupbox').toggle();
|
||||||
|
console.log('Hallo');
|
||||||
|
});
|
||||||
|
|
||||||
}); /* }}} */
|
}); /* }}} */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user