mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Css fixes
This commit is contained in:
parent
6af1bf14fb
commit
b68077d50c
2 changed files with 16 additions and 5 deletions
|
@ -156,7 +156,7 @@ footer ul.list-inline li {
|
|||
.panel-body, .tabbable-panel {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@media (max-width: 450px) {
|
||||
#captchaText, .captcha .input-group{
|
||||
|
@ -1055,6 +1055,8 @@ li.dropdown-submenu > ul > li > a{
|
|||
}
|
||||
#avideoModalIframeDiv{
|
||||
display: none;
|
||||
padding: 8px 10px;
|
||||
padding-inline-start: 40px;
|
||||
}
|
||||
|
||||
.swal-modal-iframe-small {
|
||||
|
@ -1076,7 +1078,7 @@ li.dropdown-submenu > ul > li > a{
|
|||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: calc(100% - 30px);
|
||||
height: calc(100% - 40px);
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
@ -1097,6 +1099,9 @@ li.dropdown-submenu > ul > li > a{
|
|||
width: calc(100% - 40px);
|
||||
height: calc(100% - 50px);
|
||||
}
|
||||
#avideoModalIframeDiv{
|
||||
padding-inline-start: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1178,9 +1178,15 @@ function avideoModalIframeFull(url) {
|
|||
}
|
||||
""
|
||||
function avideoModalIframeWithClassName(url, className) {
|
||||
var span = document.createElement("span");
|
||||
url = addGetParam(url, 'avideoIframe', 1);
|
||||
span.innerHTML = '<div id="avideoModalIframeDiv"><button class="btn btn-sm btn-default pull-right" onclick="swal.close();"><i class="fas fa-times"></i></button></div><iframe frameBorder="0" src="' + url + '" allow="camera *;microphone *" />';
|
||||
var html = '';
|
||||
html = '<div id="avideoModalIframeDiv" class="clearfix">';
|
||||
html += '<button class="btn btn-default pull-left" onclick="swal.close();">';
|
||||
html += '<i class="fas fa-angle-left"></i>';
|
||||
html += '</button></div>';
|
||||
html += '<iframe frameBorder="0" src="' + url + '" allow="camera *;microphone *" ></iframe>';
|
||||
var span = document.createElement("span");
|
||||
span.innerHTML = html;
|
||||
swal({
|
||||
content: span,
|
||||
closeModal: true,
|
||||
|
@ -1866,7 +1872,7 @@ function avideoAjax(url, data) {
|
|||
}
|
||||
|
||||
window.addEventListener('beforeunload', function (e) {
|
||||
console.log('window.addEventListener(beforeunload');
|
||||
//console.log('window.addEventListener(beforeunload');
|
||||
_addViewAsync();
|
||||
}, false);
|
||||
document.addEventListener('visibilitychange', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue