css: remove no more used element

#nootherusers, #chatthrob, #focusprotector, #mystatusform, .hotrect, .throbbold
This commit is contained in:
Sebastian Castro 2020-03-21 11:19:58 +01:00 committed by muxator
parent 4177b3f943
commit 0603bf8097
7 changed files with 2 additions and 72 deletions

View file

@ -110,11 +110,6 @@ body.doesWrap:not(.noprewrap) > div{
height: 1px; /* changed programmatically */ height: 1px; /* changed programmatically */
} }
#outerdocbody .hotrect {
border: 1px solid #999;
position: absolute;
}
/* cause "body" area (e.g. where clicks are heard) to grow horizontally with text */ /* cause "body" area (e.g. where clicks are heard) to grow horizontally with text */
body.mozilla, body.safari { body.mozilla, body.safari {
display: table-cell; display: table-cell;

View file

@ -39,7 +39,6 @@ a img {
/* Not sure why important is required here but it is */ /* Not sure why important is required here but it is */
border: 1px solid #666 !important; border: 1px solid #666 !important;
} }
.time { .time {
float: right; float: right;
color: #333; color: #333;
@ -49,19 +48,6 @@ a img {
margin-right: 3px; margin-right: 3px;
margin-top: 2px; margin-top: 2px;
} }
#focusprotector {
z-index: 100;
position: absolute;
bottom: 0px;
top: 0px;
left: 0px;
right: 0px;
background-color: white;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
filter: alpha(opacity=1);
opacity: 0.01;
display: none;
}
.rtl { .rtl {
direction: RTL direction: RTL
} }

View file

@ -167,27 +167,7 @@
padding:5px !important; padding:5px !important;
border-left: 1px solid #ccc !important; border-left: 1px solid #ccc !important;
} }
#chatthrob {
display: none;
position: absolute;
bottom: 40px;
font-size: 14px;
width: 150px;
height: 40px;
right: 20px;
z-index: 200;
background-color: #000;
color: white;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.7);
padding: 10px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
filter: alpha(opacity=80);
opacity: .8;
}
@media only screen and (max-width: 720px) { @media only screen and (max-width: 720px) {
#chaticon { #chaticon {
position:fixed; position:fixed;

View file

@ -44,10 +44,6 @@
display: none; display: none;
} }
#importsubmitinput.throbbold{
font-weight:bold;
}
#importmessageabiword { #importmessageabiword {
color: #900; color: #900;
font-size: small; font-size: small;

View file

@ -421,20 +421,6 @@ var paduserlist = (function()
jqueryNode.removeAttr('disabled').addClass('editable'); jqueryNode.removeAttr('disabled').addClass('editable');
} }
function updateInviteNotice()
{
if (otherUsersInfo.length == 0)
{
$("#otheruserstable").hide();
$("#nootherusers").show();
}
else
{
$("#nootherusers").hide();
$("#otheruserstable").show();
}
}
var knocksToIgnore = {}; var knocksToIgnore = {};
var guestPromptFlashState = 0; var guestPromptFlashState = 0;
var guestPromptFlash = padutils.makeAnimationScheduler( var guestPromptFlash = padutils.makeAnimationScheduler(
@ -619,8 +605,6 @@ var paduserlist = (function()
rowManager.insertRow(newIndex, userData); rowManager.insertRow(newIndex, userData);
} }
updateInviteNotice();
self.updateNumberOfOnlineUsers(); self.updateNumberOfOnlineUsers();
}, },
updateNumberOfOnlineUsers: function() updateNumberOfOnlineUsers: function()
@ -668,13 +652,11 @@ var paduserlist = (function()
hooks.callAll('userLeave', { hooks.callAll('userLeave', {
userInfo: info userInfo: info
}); });
updateInviteNotice();
} }
} }
}, 8000); // how long to wait }, 8000); // how long to wait
userData.leaveTimer = thisLeaveTimer; userData.leaveTimer = thisLeaveTimer;
} }
updateInviteNotice();
self.updateNumberOfOnlineUsers(); self.updateNumberOfOnlineUsers();
}, },

View file

@ -33,10 +33,6 @@ table#otheruserstable {
border-radius: 50%; border-radius: 50%;
} }
#nootherusers {
padding: 0;
}
#mycolorpicker { #mycolorpicker {
width: auto; width: auto;
height: auto; height: auto;

View file

@ -87,14 +87,12 @@
</div> </div>
<div id="myswatchbox"><div id="myswatch"></div></div> <div id="myswatchbox"><div id="myswatch"></div></div>
<div id="myusernameform"><input type="text" id="myusernameedit" disabled="disabled" data-l10n-id="pad.userlist.entername"></div> <div id="myusernameform"><input type="text" id="myusernameedit" disabled="disabled" data-l10n-id="pad.userlist.entername"></div>
<div id="mystatusform"><input type="text" id="mystatusedit" disabled="disabled"></div>
</div> </div>
<div id="otherusers" aria-role="document"> <div id="otherusers" aria-role="document">
<div id="guestprompts"></div> <div id="guestprompts"></div>
<table id="otheruserstable" cellspacing="0" cellpadding="0" border="0"> <table id="otheruserstable" cellspacing="0" cellpadding="0" border="0">
<tr><td></td></tr> <tr><td></td></tr>
</table> </table>
<div id="nootherusers"></div>
</div> </div>
<div id="userlistbuttonarea"></div> <div id="userlistbuttonarea"></div>
<% e.end_block(); %> <% e.end_block(); %>
@ -199,9 +197,6 @@
</table> </table>
</div> </div>
<div class="column"> <div class="column">
<% e.begin_block("globalSettings"); %>
<h2 data-l10n-id="pad.settings.globalView"></h2>
<% e.end_block(); %>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
@ -355,7 +350,7 @@
</div> </div>
</div> </div>
<div id="focusprotector">&nbsp;</div> <% e.end_block(); %>
<% e.end_block(); %> <% e.end_block(); %>