]> git.plutz.net Git - webpoll/blobdiff - widgets.css
universal comment function
[webpoll] / widgets.css
index b548d3806dff447f674a1912b9b73a727c8886c3..fd885d173314c9a5766928b2e1e18f85d4e2b191 100644 (file)
@@ -63,3 +63,45 @@ table.calendar td button[name$=_remove] {
   line-height: .75em;
   border: .125em solid;
 }
+
+section#comments input#comments_toggle_new,
+section#comments input#comments_toggle_new + label + form {
+  display: none;
+  text-align: left;
+}
+section#comments input#comments_toggle_new:checked + label + form {
+  display: block;
+}
+section#comments input#comments_toggle_new + label {
+  display: block;
+  width: 100%; margin: 0;
+  padding: .25em .75em;
+  background-color: #FFF;
+  text-align: left;
+  border: .5pt solid;
+  border-radius: 2pt;
+}
+section#comments input#comments_toggle_new:checked + label {
+  display: none;
+}
+
+section#comments input[name=username],
+section#comments textarea {
+  width: 100%;
+}
+section#comments textarea {
+  min-height: 7em;
+  margin: .5em 0;
+}
+
+section#comments .comment {
+  text-align: left;
+  padding-left: .5em;
+  border-left: 3pt solid #CCC;
+}
+
+section#comments div.comment > h3 {
+  background-color: #CCC;
+  margin-left: -.5em;
+  padding-left: .5em;
+}