summaryrefslogtreecommitdiff
path: root/share/www/style
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-01-09 18:20:37 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-01-09 18:20:37 +0000
commite19b5124101f2ff5aa755df99b0fcbd0923aa01f (patch)
treef94bbddb7bdd113b5ee8e2fd00e53375b313daa7 /share/www/style
parent3e0e530cae34bd8d5c9bb45a78923a9bfbc256ca (diff)
Refactoring in Futon to clean up interactions between specific pages and the navigation. Also, switched some graphics over to PNGs with alpha-transparency (screw you IE6), and added a button for removing databases from the recent databases list.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733104 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/style')
-rw-r--r--share/www/style/layout.css29
1 files changed, 18 insertions, 11 deletions
diff --git a/share/www/style/layout.css b/share/www/style/layout.css
index e67fa78a..6e649463 100644
--- a/share/www/style/layout.css
+++ b/share/www/style/layout.css
@@ -163,6 +163,14 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight;
#nav li li.selected :link:hover, #nav li li.selected :visited:hover {
color: #fff;
}
+#nav li button { background: transparent 0 0 no-repeat; border: none;
+ cursor: pointer; width: 15px; height: 15px; margin-left: .5em;
+ vertical-align: top;
+}
+#nav li li:hover button.remove {
+ background-image: url(../image/delete-mini.png);
+}
+#nav li button.remove:hover { background-position: -15px 0; }
#footer { background: #ddd; border-top: 1px solid #bbb; color: #000;
font-size: 80%; opacity: .7; padding: 5px 10px; position: absolute; right: 0;
@@ -185,13 +193,12 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight;
}
#toolbar button:hover { background-position: 2px -30px; color: #000; }
#toolbar button:active { background-position: 2px -62px; color: #000; }
-#toolbar button.add { background-image: url(../image/add.gif); }
-#toolbar button.compact { background-image: url(../image/compact.gif); }
-#toolbar button.delete { background-image: url(../image/delete.gif); }
-#toolbar button.edit { background-image: url(../image/edit.gif); }
-#toolbar button.load { background-image: url(../image/load.gif); }
-#toolbar button.run { background-image: url(../image/run.gif); }
-#toolbar button.save { background-image: url(../image/save.gif); }
+#toolbar button.add { background-image: url(../image/add.png); }
+#toolbar button.compact { background-image: url(../image/compact.png); }
+#toolbar button.delete { background-image: url(../image/delete.png); }
+#toolbar button.load { background-image: url(../image/load.png); }
+#toolbar button.run { background-image: url(../image/run.png); }
+#toolbar button.save { background-image: url(../image/save.png); }
/* Dialogs */
@@ -344,7 +351,7 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight;
#fields col.field { width: 33%; }
#fields tbody.content th { padding-left: 25px; padding-right: 48px; }
#fields tbody.content th button {
- background-image: url(../image/delete-mini.gif);
+ background-image: url(../image/delete-mini.png);
}
#fields tbody.content th b { display: block; padding: 2px; }
#fields tbody.content td { padding-left: 14px; padding-right: 48px; }
@@ -421,7 +428,7 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight;
background-position: -15px 0;
}
#fields tbody.content td ul.attachments li button.delete {
- background-image: url(../image/delete-mini.gif);
+ background-image: url(../image/delete-mini.png);
}
#fields tbody.source td code { display: block; overflow: auto;
white-space: pre-wrap; width: 100%;
@@ -437,7 +444,7 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight;
white-space: nowrap;
}
#tests tbody.content th button {
- background-image: url(../image/run-mini.gif);
+ background-image: url(../image/run-mini.png);
}
#tests tbody.content td.duration { text-align: right; width: 6em; }
#tests tbody.content td.status { background-position: 5px 8px;
@@ -454,7 +461,7 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight;
#tests tbody.content td.details ol code { color: #c00; font-size: 100%; }
#tests tbody.content td.details ol code.error { white-space: pre; }
#tests tbody.content td.running {
- background-image: url(../image/running.gif); color: #333;
+ background-image: url(../image/running.png); color: #333;
}
#tests tbody.content td.success {
background-image: url(../image/test_success.gif); color: #060;