]> 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 1fb01986dae2e2565acb8571555cb896204cb5a0..6ef12d6d2acd4bfb0dac4f45d687ddfd40b1c706 100644 (file)
@@ -170,6 +170,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; }