Skip to content

Commit d5df587

Browse files
committed
CSS compacting
0px now 0
1 parent 0665d10 commit d5df587

6 files changed

Lines changed: 70 additions & 70 deletions

File tree

lib/coder.css

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ dl, dt, dd, ol, ul, li,
99
fieldset, form, label, legend,
1010
table, caption, tbody, tfoot, thead, tr, th, td {
1111
font-family: arial, verdana, helvetica, sans-serif;
12-
border: 0px;
13-
margin: 0px;
14-
padding: 0px;
15-
outline: 0px;
12+
border: 0;
13+
margin: 0;
14+
padding: 0;
15+
outline: 0;
1616
font-size: 12px;
1717
vertical-align: top;
1818
}
@@ -28,13 +28,13 @@ body {overflow: hidden;
2828
h1 {font-size: 36px; font-weight: normal; color: #888; margin-bottom: 20px}
2929
h2 {font-size: 18px; font-weight: normal; color: #fff}
3030

31-
.blackMask {position: fixed; display: table; width: 100%; height: 100%; top: 0px; left: 0px; visibility: hidden; background-color: rgba(0,0,0,0.8); text-align: center; z-index: 100}
31+
.blackMask {position: fixed; display: table; width: 100%; height: 100%; top: 0; left: 0; visibility: hidden; background-color: rgba(0,0,0,0.8); text-align: center; z-index: 100}
3232
.blackMask .popupVCenter {#position: absolute; display: table-cell; #top: 50%; vertical-align: middle; text-align: center}
3333
.popupVCenter .popup {#position: relative; #top: -50%; text-align: center; color: #fff; font-size: 10px}
3434
.whiteGlow {
35-
-webkit-box-shadow: 0px 0px 8px 2px rgba(255,255,255,0.6);
36-
-moz-box-shadow: 0px 0px 8px 2px rgba(255,255,255,0.6);
37-
box-shadow: 0px 0px 8px 2px rgba(255,255,255,0.6);
35+
-webkit-box-shadow: 0 0 8px 2px rgba(255,255,255,0.6);
36+
-moz-box-shadow: 0 0 8px 2px rgba(255,255,255,0.6);
37+
box-shadow: 0 0 8px 2px rgba(255,255,255,0.6);
3838
}
3939

4040
.circleOutside {background-color: rgba(0,0,0,0); border:5px solid rgba(0,183,229,0.9); opacity:.9; border-top:5px solid rgba(0,0,0,0); border-left:5px solid rgba(0,0,0,0); border-radius:50px; box-shadow: 0 0 35px #2187e7;
@@ -60,32 +60,32 @@ h2 {font-size: 18px; font-weight: normal; color: #fff}
6060
100% { -webkit-transform:rotate(-360deg);}
6161
}
6262

63-
.progressBar {top: 0px; left: 0px; width:100%; height:1px; margin:2px 0; background:#2187e7; position:absolute; box-shadow:0px 0px 10px 1px rgba(0,198,255,0.7);
63+
.progressBar {top: 0; left: 0; width:100%; height:1px; margin:2px 0; background:#2187e7; position:absolute; box-shadow:0 0 10px 1px rgba(0,198,255,0.7);
6464
-moz-animation:fullexpand 10s ease-out; -webkit-animation:fullexpand 10s ease-out;
6565
}
6666
@-moz-keyframes fullexpand {
67-
0% { width:0px;}
67+
0% { width:0;}
6868
100%{ width:100%;}
6969
}
7070
@-webkit-keyframes fullexpand {
71-
0% { width:0px;}
71+
0% { width:0;}
7272
100%{ width:100%;}
7373
}
7474

7575
.header {position: absolute; display: inline-block; width: 100%; height: 40px; background-color: #fff; text-align: right; z-index: 2}
7676
.header .plugins {position: absolute; display: inline-block; left: 15px; top: 3px}
7777
.header .plugins img {position: relative; display: inline-block; margin-right: 15px}
7878
.header .version {position: relative; display: inline-block; margin-top: 25px; font-size: 10px; color: #bbb}
79-
.header .logo {position: relative; margin: 5px 10px 0px 5px; cursor: pointer}
79+
.header .logo {position: relative; margin: 5px 10px 0 5px; cursor: pointer}
8080

8181
.files {position: absolute; display: inline-block; height: 100%; width: 250px; background-color: #444; background-image: url('../images/files-arrow.gif'); background-repeat: no-repeat; background-position: 100% 50%; overflow: hidden; z-index: 1;
82-
-webkit-box-shadow: 0px 0px 10px 4px rgba(0,0,0,0.4);
83-
-moz-box-shadow: 0px 0px 10px 4px rgba(0,0,0,0.4);
84-
box-shadow: 0px 0px 10px 4px rgba(0,0,0,0.4);
82+
-webkit-box-shadow: 0 0 10px 4px rgba(0,0,0,0.4);
83+
-moz-box-shadow: 0 0 10px 4px rgba(0,0,0,0.4);
84+
box-shadow: 0 0 10px 4px rgba(0,0,0,0.4);
8585
}
8686
.files .account {display: inline-block; height: 50px; width: 250px; margin-top: 40px; background-color: #888}
8787
.files .accountLoginContainer {position: absolute; width: 250px; height: 50px; z-index: 1}
88-
.files .accountLoginContainer .accountLogin {position: absolute; width: 250px; height: 50px; top: 0px; background-color: #666;
88+
.files .accountLoginContainer .accountLogin {position: absolute; width: 250px; height: 50px; top: 0; background-color: #666;
8989
-webkit-transition: top 0.3s;
9090
-moz-transition: top 0.3s;
9191
-o-transition: top 0.3s;
@@ -96,69 +96,69 @@ h2 {font-size: 18px; font-weight: normal; color: #fff}
9696
.files .accountPassword {position: relative; border: 1px solid #888; background-color: #999; height: 18px; width: 140px; margin-left: 14px; margin-top: 15px}
9797
.files input:focus, .findReplace input:focus, .findReplace select:focus, .accountPassword:focus {
9898
outline: none;
99-
-webkit-box-shadow: 0px 0px 10px 1px rgba(0,198,255,0.7);
100-
-moz-box-shadow: 0px 0px 10px 1px rgba(0,198,255,0.7);
101-
box-shadow: 0px 0px 10px 1px rgba(0,198,255,0.7);
99+
-webkit-box-shadow: 0 0 10px 1px rgba(0,198,255,0.7);
100+
-moz-box-shadow: 0 0 10px 1px rgba(0,198,255,0.7);
101+
box-shadow: 0 0 10px 1px rgba(0,198,255,0.7);
102102
}
103-
.files .button {position: absolute; border: 0px; background: #999; color: #555; height:20px; margin-top: 16px; margin-left: 5px; font-size: 11px; cursor: pointer}
103+
.files .button {position: absolute; border: 0; background: #999; color: #555; height:20px; margin-top: 16px; margin-left: 5px; font-size: 11px; cursor: pointer}
104104
.files .button:hover {background-color: #444; color: #eee}
105105
.files .lock {position: relative; margin-left: 225px; margin-top: -20px; z-index: 1}
106106
.files .frame {display: inline-block; width: 250px}
107-
.files .serverMessage {position: absolute; display: inline-block; width: 450px; bottom: 0px; margin-bottom: 30px; background-color: rgba(255,255,255,0.8); font-size: 10px; padding: 7px 12px; opacity: 0;
107+
.files .serverMessage {position: absolute; display: inline-block; width: 450px; bottom: 0; margin-bottom: 30px; background-color: rgba(255,255,255,0.8); font-size: 10px; padding: 7px 12px; opacity: 0;
108108
-webkit-transition: all 0.2s;
109109
-moz-transition: all 0.2s;
110110
-o-transition: all 0.2s;
111111
transition: all 0.2s;
112112
}
113113
.files .serverMessage b {font-size: 10px}
114114

115-
.editor {position: absolute; display: inline-block; top: 0px; left: 15px; width: 2400px}
115+
.editor {position: absolute; display: inline-block; top: 0; left: 15px; width: 2400px}
116116
.editor .tabsBar {display: inline-block; height: 22px; width: 2400px; margin-top: 40px; padding-left: 41px; background-color: #888;}
117-
.tabsBar .tab {display: inline-block; display: none; background-image: url('../images/nav-bg.gif'); background-repeat: repeat-x; background-position: 0px 0px; padding: 5px 8px 2px 8px; font-size: 10px; border-left: solid 1px #fff; border-right: solid 1px #777; color: #fff; cursor: pointer;
117+
.tabsBar .tab {display: inline-block; display: none; background-image: url('../images/nav-bg.gif'); background-repeat: repeat-x; background-position: 0 0; padding: 5px 8px 2px 8px; font-size: 10px; border-left: solid 1px #fff; border-right: solid 1px #777; color: #fff; cursor: pointer;
118118
-webkit-transition: all 0.15s;
119119
-moz-transition: all 0.15s;
120120
-o-transition: all 0.15s;
121121
transition: all 0.15s;
122122
}
123-
.tabsBar .tab .closeTab {margin: 1px 0px 0px 5px; border-radius: 6px}
124-
.tabsBar .newTab {display: inline-block; background-image: url('../images/nav-bg.gif'); background-repeat: repeat-x; background-position: 0px 0px; padding: 6px 5px 1px 5px; border-left: solid 1px #fff; border-right: solid 1px #777; cursor: pointer;}
123+
.tabsBar .tab .closeTab {margin: 1px 0 0 5px; border-radius: 6px}
124+
.tabsBar .newTab {display: inline-block; background-image: url('../images/nav-bg.gif'); background-repeat: repeat-x; background-position: 0 0; padding: 6px 5px 1px 5px; border-left: solid 1px #fff; border-right: solid 1px #777; cursor: pointer;}
125125
.editor .findBar {display: inline-block; height: 28px; width: 2400px; color: #fff; background-color: #141414}
126126
.findBar .findReplace {position: absolute; z-index: 1}
127-
.findReplace select {position: relative; font-size: 10px; margin: 8px 2px 0px 2px; top: -2px;}
128-
.findReplace .findText {display: inline-block; height: 21px; font-size: 10px; margin: 8px 2px 0px 2px; margin-left: 43px}
127+
.findReplace select {position: relative; font-size: 10px; margin: 8px 2px 0 2px; top: -2px;}
128+
.findReplace .findText {display: inline-block; height: 21px; font-size: 10px; margin: 8px 2px 0 2px; margin-left: 43px}
129129
.findReplace .find {position: relative; width: 120px; height: 16px; border: 0; top: -2px; font-size: 10px; padding-left: 5px}
130-
.findReplace .findTextPlural {display: inline-block; height: 21px; font-size: 10px; margin: 8px 2px 0px 0px}
131-
.findReplace .replaceAction {margin: 0px 2px 0px 0px; top: -2px}
132-
.findReplace .replaceText {height: 21px; font-size: 10px; margin: 8px 2px 0px 2px}
130+
.findReplace .findTextPlural {display: inline-block; height: 21px; font-size: 10px; margin: 8px 2px 0 0}
131+
.findReplace .replaceAction {margin: 0 2px 0 0; top: -2px}
132+
.findReplace .replaceText {height: 21px; font-size: 10px; margin: 8px 2px 0 2px}
133133
.findReplace .replace {position: relative; width: 120px; height: 16px; border: 0; top: -2px; font-size: 10px; padding-left: 5px}
134-
.findReplace .targetText {height: 21px; font-size: 10px; margin: 8px 2px 0px 2px}
134+
.findReplace .targetText {height: 21px; font-size: 10px; margin: 8px 2px 0 2px}
135135
.findReplace .submit {position: relative; top: -2px; height: 17px; border: 1px solid #bbb; background-color: #f8f8f8; font-size: 10px; cursor: pointer}
136-
.findReplace .results {position: relative; display: inline-block; width: 200px; height: 20px; font-size: 10px; margin: 8px 0px 0px 20px}
136+
.findReplace .results {position: relative; display: inline-block; width: 200px; height: 20px; font-size: 10px; margin: 8px 0 0 20px}
137137
.findBar .codeAssist {position: fixed; display: inline-block; width: 100px; right: 74px; top: 70px; height: 21px; font-size: 10px; z-index: 1}
138138
.findBar .codeAssist input {margin-top: -1px}
139139
.findBar .goLine {position: fixed; display: inline-block; width: 100px; right: -10px; top: 70px; height: 21px; font-size: 10px; z-index: 1}
140-
.goLine .goToLine {width: 25px; height: 16px; border: 0; font-size: 10px; margin: -3px 0px 0px 3px}
140+
.goLine .goToLine {width: 25px; height: 16px; border: 0; font-size: 10px; margin: -3px 0 0 3px}
141141
.editor .code {position: relative; display: inline-block; top: 28px; width: 600px; height: 600px; visibility: hidden}
142142

143-
.footer {position: fixed; display: inline-block; width: 100%; height: 30px; bottom: 0px; background-color: rgba(0,0,0,0.7); left: 0px; z-index: 2}
144-
.footer .nesting {display: inline-block; padding: 5px 8px; margin: 4px 0px 0px 15px; font-weight: bold; font-size: 10px; color: #fff; background-color: #0b0}
145-
.footer .nestLoc {position: absolute; display: inline-block; width: 120px; padding: 5px 0px 0px 8px; margin-top: 3px; left: 112px; font-weight: bold; font-size: 12px; color: #fff; text-align: right}
146-
.footer .nestDisplay {position: absolute; display: inline-block; padding: 5px 0px 0px 8px; margin-top: 3px; left: 255px; font-size: 12px; color: #fff; text-align: right}
147-
.footer .charDisplay {position: absolute; display: inline-block; padding: 5px 0px 0px 8px; margin-top: 3px; left: 100%; font-weight: bold; font-size: 12px; color: #fff; text-align: right; width: 200px; text-align: right; margin-left: -220px}
143+
.footer {position: fixed; display: inline-block; width: 100%; height: 30px; bottom: 0; background-color: rgba(0,0,0,0.7); left: 0; z-index: 2}
144+
.footer .nesting {display: inline-block; padding: 5px 8px; margin: 4px 0 0 15px; font-weight: bold; font-size: 10px; color: #fff; background-color: #0b0}
145+
.footer .nestLoc {position: absolute; display: inline-block; width: 120px; padding: 5px 0 0 8px; margin-top: 3px; left: 112px; font-weight: bold; font-size: 12px; color: #fff; text-align: right}
146+
.footer .nestDisplay {position: absolute; display: inline-block; padding: 5px 0 0 8px; margin-top: 3px; left: 255px; font-size: 12px; color: #fff; text-align: right}
147+
.footer .charDisplay {position: absolute; display: inline-block; padding: 5px 0 0 8px; margin-top: 3px; left: 100%; font-weight: bold; font-size: 12px; color: #fff; text-align: right; width: 200px; text-align: right; margin-left: -220px}
148148

149149
.textbox {
150-
-webkit-box-shadow: inset 1px 1px 2px 0px rgba(0,0,0,0.4);
151-
-moz-box-shadow: inset 1px 1px 2px 0px rgba(0,0,0,0.4);
152-
box-shadow: inset 1px 1px 2px 0px rgba(0,0,0,0.4);
150+
-webkit-box-shadow: inset 1px 1px 2px 0 rgba(0,0,0,0.4);
151+
-moz-box-shadow: inset 1px 1px 2px 0 rgba(0,0,0,0.4);
152+
box-shadow: inset 1px 1px 2px 0 rgba(0,0,0,0.4);
153153
}
154154

155-
.fileMenu {position: absolute; display: none; left: 0px; top: 0px; background-color: #333; z-index: 10}
155+
.fileMenu {position: absolute; display: none; left: 0; top: 0; background-color: #333; z-index: 10}
156156
.fileMenu a {display: block; padding: 2px 5px; background-color: #444; color: #eee; text-decoration: none}
157157
.fileMenu a:hover {background-color: #666}
158158

159-
.screenContainer {position: absolute; display: table; width: 100%; height: 100%; top: 0px; left: 0px; text-align: center}
159+
.screenContainer {position: absolute; display: table; width: 100%; height: 100%; top: 0; left: 0; text-align: center}
160160
.screenContainer .screenVCenter {#position: absolute; display: table-cell; #top: 50%; vertical-align: middle; text-align: center}
161161
.screenVCenter .screenCenter {#position: relative; #top: -50%; text-align: center; display: inline}
162-
.screenCenter .version {position: relative; display: block; margin: 5px 0px 15px 0px; font-size: 10px; color: #bbb}
162+
.screenCenter .version {position: relative; display: block; margin: 5px 0 15px 0; font-size: 10px; color: #bbb}
163163
.screenCenter .accountPassword {border: 1px solid #888; height: 18px}
164-
.screenCenter .button {border: 0px; background: #666; color: #fff; height: 22px; cursor: pointer}
164+
.screenCenter .button {border: 0; background: #666; color: #fff; height: 22px; cursor: pointer}

lib/coder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ var ICEcoder = {
381381
i==selectedTab ? tColor = "#000" : tColor = "#fff";
382382
document.getElementById('tab'+i).style.color = tColor;
383383
i==selectedTab ? bgVPos = -22 : bgVPos = 0;
384-
document.getElementById('tab'+i).style.backgroundPosition = "0px "+bgVPos+"px";
384+
document.getElementById('tab'+i).style.backgroundPosition = "0 "+bgVPos+"px";
385385
}
386386
ICEcoder.changedContent[selectedTab-1]==1 ? top.ICEcoder.fMIconVis('fMSave',1) : top.ICEcoder.fMIconVis('fMSave',0.3);
387387
},

lib/files.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ dl, dt, dd, ol, ul, li,
99
fieldset, form, label, legend,
1010
table, caption, tbody, tfoot, thead, tr, th, td {
1111
font-family: arial, verdana, helvetica, sans-serif;
12-
border: 0px;
13-
margin: 0px;
14-
padding: 0px;
15-
outline: 0px;
12+
border: 0;
13+
margin: 0;
14+
padding: 0;
15+
outline: 0;
1616
font-size: 12px;
1717
vertical-align: top;
1818
}
1919

20-
body {margin: 0px; overflow: auto}
20+
body {margin: 0; overflow: auto}
2121

2222
.refresh {float: right; margin-right: 15px; cursor: pointer}
2323

2424
.fileManager {
25-
margin: 15px 0px 15px 22px;
25+
margin: 15px 0 15px 22px;
2626
-webkit-user-select: none;
2727
-moz-user-select: none;
2828
-o-user-select: none;

lib/help.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ b, u, i, center,
88
dl, dt, dd, ol, ul, li,
99
fieldset, form, label, legend,
1010
table, caption, tbody, tfoot, thead, tr, th, td {
11-
border: 0px;
12-
margin: 0px;
13-
padding: 0px;
14-
outline: 0px;
11+
border: 0;
12+
margin: 0;
13+
padding: 0;
14+
outline: 0;
1515
font-size: 12px;
1616
vertical-align: top;
1717
}

lib/multiple-results.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ b, u, i, center,
88
dl, dt, dd, ol, ul, li,
99
fieldset, form, label, legend,
1010
table, caption, tbody, tfoot, thead, tr, th, td {
11-
border: 0px;
12-
margin: 0px;
13-
padding: 0px;
14-
outline: 0px;
11+
border: 0;
12+
margin: 0;
13+
padding: 0;
14+
outline: 0;
1515
font-size: 12px;
1616
vertical-align: top;
1717
}
@@ -32,4 +32,4 @@ hr {border: 0; height: 1px; background-color: #888}
3232
.results .resultsPane a {color: rgba(0,198,255,0.7); text-decoration: none}
3333
.results .resultsPane a:hover {text-decoration: underline}
3434
.replace {position: absolute; margin-top: -28px; right: 20px; padding: 5px 10px; font-size: 14px; background-color: rgba(0,198,255,0.7); cursor: pointer}
35-
.replaceAll {position: absolute; bottom: 0px; right: 20px; padding: 5px 10px; font-size: 18px; background-color: rgba(0,198,255,0.7); cursor: pointer}
35+
.replaceAll {position: absolute; bottom: 0; right: 20px; padding: 5px 10px; font-size: 18px; background-color: rgba(0,198,255,0.7); cursor: pointer}

lib/settings-screen.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ b, u, i, center,
88
dl, dt, dd, ol, ul, li,
99
fieldset, form, label, legend,
1010
table, caption, tbody, tfoot, thead, tr, th, td {
11-
border: 0px;
12-
margin: 0px;
13-
padding: 0px;
14-
outline: 0px;
11+
border: 0;
12+
margin: 0;
13+
padding: 0;
14+
outline: 0;
1515
font-size: 12px;
1616
vertical-align: top;
1717
}
@@ -33,13 +33,13 @@ h2 {font-size: 18px; font-weight: normal; color: #fff}
3333
.settings .logo {position: relative; margin-top: 2px}
3434
.settings .version {position: relative; display: block; margin-top: 5px; margin-bottom: 10px; font-size: 10px; color: #bbb}
3535
.settings .settingsColumn1 {width: 220px; height: 560px; padding: 20px; float: left}
36-
.settings .settingsColumn2 {width: 420px; height: 560px; padding: 20px 20px 20px 0px; float: left}
36+
.settings .settingsColumn2 {width: 420px; height: 560px; padding: 20px 20px 20px 0; float: left}
3737
.settings input, .settings textarea {border: 1px solid #555; background-color: #444; color: #fff}
3838
.settings input:focus, .settings textarea:focus {
3939
outline: none;
40-
-webkit-box-shadow: 0px 0px 10px 1px rgba(0,198,255,0.7);
41-
-moz-box-shadow: 0px 0px 10px 1px rgba(0,198,255,0.7);
42-
box-shadow: 0px 0px 10px 1px rgba(0,198,255,0.7);
40+
-webkit-box-shadow: 0 0 10px 1px rgba(0,198,255,0.7);
41+
-moz-box-shadow: 0 0 10px 1px rgba(0,198,255,0.7);
42+
box-shadow: 0 0 10px 1px rgba(0,198,255,0.7);
4343
}
4444
.settings .plugins {font-family: arial, verdana, helvetica, sans-serif; width: 410px; height: 123px; overflow: hidden}
45-
.settings .update {position: absolute; bottom: 0px; right: 20px; padding: 5px 10px; font-size: 18px; background-color: rgba(0,198,255,0.7); opacity: 0.1; cursor: pointer}
45+
.settings .update {position: absolute; bottom: 0; right: 20px; padding: 5px 10px; font-size: 18px; background-color: rgba(0,198,255,0.7); opacity: 0.1; cursor: pointer}

0 commit comments

Comments
 (0)