css: fix popup broken by new animation

fix connectivity
fix chat and users
This commit is contained in:
Sebastian Castro 2020-04-06 19:30:51 +02:00 committed by muxator
parent 9b60bb4d55
commit 9497db89c9
5 changed files with 18 additions and 8 deletions

View file

@ -1,8 +1,4 @@
#connectivity {
z-index: 600 !important;
}
#connectivity * {
#connectivity .popup-content * {
display: none;
}

View file

@ -23,6 +23,8 @@
top: 0;
right: 0;
left: auto;
}
.popup#users.chatAndUsers .popup-content {
border: none;
border-bottom: 1px solid #ccc;
border-left: 1px solid #ccc;

View file

@ -66,7 +66,7 @@ var chat = (function()
userAndChat = false;
}
padcookie.setPref("chatAndUsers", userAndChat);
$('#users, .sticky-container').toggleClass("chatAndUsers stickyUsers", userAndChat);
$('#users, .sticky-container').toggleClass("chatAndUsers popup-show stickyUsers", userAndChat);
$("#chatbox").toggleClass("chatAndUsersChat", userAndChat);
},
hide: function ()

View file

@ -253,8 +253,10 @@ var padeditbar = (function()
else if(thisModuleName==moduleName)
{
$("li[data-key=" + thisModuleName + "] > a").addClass("selected");
module.addClass("popup-show")
cb();
module.addClass("popup-show");
if (cb) {
cb();
}
}
}
}

View file

@ -2,6 +2,15 @@ table#otheruserstable {
margin-top: 20px;
}
.popup#users.chatAndUsers .popup-content {
padding: 20px 10px;
height: 250px;
background-color: white;
color: #374256;
border-left: none;
transition: none;
}
#otheruserstable .swatch {
border: none !important;
border-radius: 50%;
@ -19,6 +28,7 @@ table#otheruserstable {
input#myusernameedit {
min-width: 110px;
border: none !important;
background-color: transparent !important;
border-bottom: 1px solid #ddd !important;
border-radius: 0;
padding-bottom: 5px;