From b3904a649784b4f5cd209d40069f1969f7fcf63b Mon Sep 17 00:00:00 2001 From: Jean-Tiare Le Bigot Date: Sat, 3 Mar 2012 15:33:10 +0100 Subject: [PATCH] small cleanups --- static/css/pad.css | 28 ---------------------------- static/js/pad_modals.js | 19 +------------------ static/pad.html | 4 ---- 3 files changed, 1 insertion(+), 50 deletions(-) diff --git a/static/css/pad.css b/static/css/pad.css index 75e06c761..79dce0197 100644 --- a/static/css/pad.css +++ b/static/css/pad.css @@ -520,7 +520,6 @@ table#otheruserstable { display: none; } z-index: 11; } #connectionboxinner .connecting { - /*margin-top: 20px;*/ font-size: 2.0em; color: #555; text-align: center; display: none; } @@ -533,7 +532,6 @@ table#otheruserstable { display: none; } #connectionboxinner .disconnected h2 { font-size: 1.8em; color: #333; text-align: left; - /*margin-top: 10px; margin-left: 10px; margin-right: 10px;*/ margin-bottom: 10px; } #connectionboxinner .disconnected p { @@ -546,7 +544,6 @@ table#otheruserstable { display: none; } .cboxdisconnected #connectionboxinner .disconnected { display: block; } #connectionboxinner .reconnecting { - /*margin-top: 20px;*/ font-size: 1.6em; color: #555; text-align: center; display: none; } @@ -616,7 +613,6 @@ table#otheruserstable { display: none; } background: white; border: 1px solid #999; } -/*.modaldialog .modaldialog-inner { padding: 10pt; }*/ .modaldialog .modaldialog-hide { float: right; background-repeat: no-repeat; @@ -697,20 +693,6 @@ table#otheruserstable { display: none; } top: 5px; right: 220px; } -/*#modaloverlay { - z-index: 500; display: none; - background-repeat: repeat-both; - width: 100%; position: absolute; - height: 100%; left: 0; top: 0; -} - -* html #modaloverlay { /* for IE 6+ *//* - opacity: 1; /* in case this is looked at *//* - background-image: none; - background-repeat: no-repeat; - /* scale the image *//* -}*/ - a#topbarmaximize { float: right; width: 16px; @@ -1198,16 +1180,6 @@ input[type=checkbox] { width: 185px !important; } -/*@media screen and (max-width: 960px) { - .modaldialog { - position: relative; - margin: 0 auto; - width: 80%; - top: 40px; - left: 0; - } -}*/ - @media screen and (max-width: 600px) { #editbar ul li { padding: 4px 1px; diff --git a/static/js/pad_modals.js b/static/js/pad_modals.js index a190b56c2..bd5f9b64a 100644 --- a/static/js/pad_modals.js +++ b/static/js/pad_modals.js @@ -190,13 +190,6 @@ var padmodals = (function() { 'opacity': 1 }, duration); - /*$("#modaloverlay").show().css( - { - 'opacity': 0 - }).animate( - { - 'opacity': 1 - }, duration);*/ }, hideModal: function(duration) { @@ -206,17 +199,7 @@ var padmodals = (function() $(".modaldialog").animate( { 'opacity': 0 - }, duration, function() - { - //$("#modaloverlay").hide(); - }); - /*$("#modaloverlay").animate( - { - 'opacity': 0 - }, duration, function() - { - $("#modaloverlay").hide(); - });*/ + }, duration); }, hideFeedbackLaterIfNoOtherInteraction: function() { diff --git a/static/pad.html b/static/pad.html index f26e52e1b..693703fa8 100644 --- a/static/pad.html +++ b/static/pad.html @@ -253,10 +253,6 @@
 
- -