]> git.donarmstrong.com Git - debbugs.git/blobdiff - html/bugs.css
Use a checkbox and CSS to show info messages instead of JavaScript
[debbugs.git] / html / bugs.css
index 7bddb101ded04d265c34427a374ebf0f96c4d53a..59e257a88d536a00732de7d155ec8a4927f0e062 100644 (file)
@@ -148,6 +148,11 @@ pre.mime {
     color: #797979;
 }
 
+/* Show info messages when uselessmessages is checked */
+#uselessmessages:checked ~ .infmessage {
+    display: block;
+}
+
 /* This must be separate from the other CSS to make the showing of
    unimportant messages work in bugreport.cgi. */ 
 .infmessage { display: none; }