From 19d9e7c53613d67852a0e7076f4ed12b3b2350e6 Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Mon, 16 Jan 2012 21:53:26 -0500 Subject: [PATCH] Style tweaks --- gallery/gallery.css | 22 ++++++++++++++++++++-- gallery/gallery.js | 4 ++-- gallery/index.html | 6 +++--- 3 files changed, 25 insertions(+), 7 deletions(-) diff --git a/gallery/gallery.css b/gallery/gallery.css index d5b4358..01feaae 100644 --- a/gallery/gallery.css +++ b/gallery/gallery.css @@ -40,16 +40,34 @@ aside { padding-left: 1em; */ } +#toc .entry:hover { + color: blue; + cursor: pointer; +} + #toc .entry .selected { - color: #00b; + color: #090; } -#title { +#demotitle { text-align: center; font-size: 1.5em; vertical-align: bottom; } +.subdued:link, +.subdued:visited, +.subdued:active { + color: #000; +} + +.subdued:hover { + color: blue; +} + +a { + text-decoration: none; +} /* CSS for drawing tool */ #workarea #drawing #tool_zoom { background: url('images/tool-palette.png'); diff --git a/gallery/gallery.js b/gallery/gallery.js index dec3cb3..0c0034c 100644 --- a/gallery/gallery.js +++ b/gallery/gallery.js @@ -22,7 +22,7 @@ Gallery.start = function() { Gallery.subtitle = Gallery.create("div", Gallery.workarea); Gallery.subtitle.id = "subtitle"; Gallery.workareaChild = Gallery.create("div", Gallery.workarea); - Gallery.title = document.getElementById("title"); + Gallery.demotitle = document.getElementById("demotitle"); Gallery.textarea = new TextArea(); Gallery.textarea.width = 600; Gallery.textarea.height = 400; @@ -51,7 +51,7 @@ Gallery.start = function() { var codeLink = Gallery.create("a", Gallery.subtitle); codeLink.textContent = "code"; codeLink.href = "#"; - Gallery.title.textContent = demo.title ? demo.title : ""; + Gallery.demotitle.textContent = demo.title ? demo.title : ""; demo.innerDiv.className = "selected"; Gallery.workareaChild.id = id; location.hash = "g/" + id; diff --git a/gallery/index.html b/gallery/index.html index 360bdec..0f573e8 100644 --- a/gallery/index.html +++ b/gallery/index.html @@ -52,15 +52,15 @@ - + - +

Gallery

Dygraphs Gallery


- Back to Dygraphs. + Back to Dygraphs.
-- 2.7.4