summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 76ee2cd)
raw | patch | inline | side by side (parent: 76ee2cd)
author | Florian Forster <ff@octo.it> | |
Sun, 27 Jun 2010 11:56:53 +0000 (13:56 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 27 Jun 2010 11:56:53 +0000 (13:56 +0200) |
They don't work yet, though.
share/collection.js | patch | blob | history | |
share/style.css | patch | blob | history |
diff --git a/share/collection.js b/share/collection.js
index 75391b9a8343015f2bed538cb9c8531cc633999c..d3fb11c6244cf6789d9120e66cb77b9e9d63e8de 100644 (file)
--- a/share/collection.js
+++ b/share/collection.js
{
update_search_suggestions ();
});
+
+ $(".graph-img").append ("<div class=\"graph-buttons presets\">"
+ + "<div class=\"graph-button\" >H</div>"
+ + "<div class=\"graph-button\" >D</div>"
+ + "<div class=\"graph-button\" >W</div>"
+ + "<div class=\"graph-button\" >M</div>"
+ + "<div class=\"graph-button\" >Y</div>"
+ + "<div class=\"graph-button\" >!</div>"
+ + "</div>"
+ + "<div class=\"graph-buttons navigation\">"
+ + "<div class=\"graph-button\" >←</div>"
+ + "<div class=\"graph-button\" >−</div>"
+ + "<div class=\"graph-button\" >+</div>"
+ + "<div class=\"graph-button\" >→</div>"
+ + "</div>"
+ );
});
/* vim: set sw=2 sts=2 et fdm=marker : */
diff --git a/share/style.css b/share/style.css
index 094a4aefa9039d32f869b579cff7d04029413a0c..ad835779fc60da7bbeda47ada35797f2fa3db02e 100644 (file)
--- a/share/style.css
+++ b/share/style.css
vertical-align: top;
}
+#layout-middle-center h1,
+#layout-middle-center h2,
+#layout-middle-center h3
+{
+ clear: both;
+}
+
#logo-canvas
{
display: block;
border-bottom: 1px solid silver;
background-color: rgb(252,252,252);
}
+
+.graph-img
+{
+ position: relative;
+ float: left;
+ clear: both;
+}
+
+.graph-img .graph-buttons.navigation
+{
+ position: absolute;
+ right: 5px;
+ bottom: 5px;
+}
+
+.graph-img .graph-buttons.presets
+{
+ position: absolute;
+ right: 5px;
+ top: 5px;
+}
+
+.graph-buttons .graph-button
+{
+ width: 1em;
+ height: 1em;
+ border: 1px solid gray;
+ text-align: center;
+ background-color: rgba(255,255,255,.8);
+ color: gray;
+ cursor: pointer;
+}
+
+.graph-buttons .graph-button:hover
+{
+ border: 1px solid black;
+ background-color: white;
+ color: black;
+}
+
+.graph-buttons.navigation .graph-button
+{
+ float: left;
+ margin-left: 1px;
+}
+
+.graph-buttons.presets .graph-button
+{
+ margin-bottom: 1px;
+}
+