]> git.decadent.org.uk Git - dak.git/commitdiff
credit Tincho, CSS fixes, show 'click to toggle'
authorThomas Viehmann <tv@beamnet.de>
Sat, 3 May 2008 17:37:15 +0000 (17:37 +0000)
committerThomas Viehmann <tv@beamnet.de>
Sat, 3 May 2008 17:37:15 +0000 (17:37 +0000)
ChangeLog
dak/examine_package.py
web/style.css

index 8eeb28379d5a025d8aad00a33b68781330223108..fa9b21cbfc3bb4c2a67ccb43dac092d30accae80 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * web/,web/style.css: add web dir and current style.css
 
        * dak/examine_package.py, dak/show_new.py: improve NEW html pages,
+       based on mock-up by M. Ferrari.
        remove Checksums-* from examine-package output
 
 2008-05-03  Thomas Viehmann  <tv@beamnet.de>
index 182ed2d87ee19faf436db148917d43a7dd146970..c7fd38e60acd0e17943764f6d1b491227a52e52f 100644 (file)
@@ -101,7 +101,7 @@ def headline(s, level=2, bodyelement=None):
     if use_html:
         if bodyelement:
             print """<thead>
-                <tr><th colspan="2" class="title" onclick="toggle('%(bodyelement)s', 'table-row-group', 'table-row-group')">%(title)s</th></tr>
+                <tr><th colspan="2" class="title" onclick="toggle('%(bodyelement)s', 'table-row-group', 'table-row-group')">%(title)s <span class="toggle-msg">(click to toggle)</span></th></tr>
               </thead>"""%{"bodyelement":bodyelement,"title":html_escape(s)}
         else:
             print "<h%d>%s</h%d>" % (level, html_escape(s), level)
index c46c8ab6bdfdf9cbdb5465136f172a8bd4ceb47e..b942d1b010163c6c735ef2a12cddb6c099e8fba4 100644 (file)
@@ -173,6 +173,17 @@ a:hover{
 }
 
 /************* NEW details pages ************/
+
+/* this overides some overly general styles above */
+#NEW-details-page th {
+ background-color: white;
+ padding: 0;
+}
+#NEW-details-page table { 
+ background-color: white;
+ padding: 0;
+}
+
 #NEW-details-page a img {
        text-decoration: none;
        border: none;
@@ -198,6 +209,14 @@ a:hover{
        color: #FFFF00;
        text-decoration: underline;
 }
+#NEW-details-page #menu a:visited {
+       color: #0000FF;
+       text-decoration: none;
+}
+#NEW-details-page #menu a:hover {
+       color: #0000FF;
+       text-decoration: none;
+}
 #NEW-details-page #red-upperleft {
        position: absolute;
        top: 0px;
@@ -224,6 +243,11 @@ a:hover{
        font-family: serif;
        font-size: 22px;
 }
+#NEW-details-page .toggle-msg { 
+        font-weight: normal;
+       font-family: serif;
+       font-size: 80%;
+}
 #NEW-details-page #menu {
        font-size: 80%;
        position: fixed;
@@ -235,6 +259,7 @@ a:hover{
 }
 #NEW-details-page #menu p {
        margin: 0px;
+       font-size: 80%;
 }
 #NEW-details-page .infobox {
        width: 80%;