Permalink
Browse files

some style modifications

  • Loading branch information...
1 parent 6a5ca2d commit 23f168fa14b1741ec57c52783adea86a04611327 @splitbrain committed Sep 12, 2011
Showing with 12 additions and 2 deletions.
  1. +2 −2 script.js
  2. +10 −0 style.css
View
@@ -124,7 +124,7 @@ function handleContacts(result) {
if (tx.value != numbers[j].getValue()) {
if (x % 2) {
- tr.style.backgroundColor = "#ccc";
+ tr.className = 'even';
}
table.appendChild(tr);
x = x + 1;
@@ -155,7 +155,7 @@ function handleContacts(result) {
if (tx.value != emails[j].getAddress()) {
if (x % 2) {
- tr.style.backgroundColor = "#ccc";
+ tr.className = 'even';
}
table.appendChild(tr);
x = x + 1;
View
@@ -24,6 +24,7 @@ div.error {
padding: 2em;
}
+
input.done {
background-image: none;
background-color: #0f7;
@@ -38,6 +39,15 @@ input.pending {
background: #fff url(throbber.gif) center right no-repeat;
}
+tr.even {
+ background-color: #efefef;
+}
+
+tr input {
+ border: 1px #aaa solid;
+ width: 24em;
+}
+
#about {
width: 50em;
font-size: 90%;

0 comments on commit 23f168f

Please sign in to comment.