]> git.plutz.net Git - webpoll/blobdiff - widgets.css
Merge commit 'a225474fb413aa9b5d834abbf1c9b65c397d7242'
[webpoll] / widgets.css
index 594e115c8ad49165738624cc1aab11c75216b68d..fd885d173314c9a5766928b2e1e18f85d4e2b191 100644 (file)
@@ -4,25 +4,33 @@ table.calendar {
   vertical-align: top;
 }
 table.calendar td {
-  border: 1pt solid;
+  border: .5pt solid;
+}
+table.calendar th {
+  font-weight: normal;
 }
 
 table.calendar thead tr.monthname {
   border-style: solid;
-  border-width: 1pt 1pt 1pt 1pt;
+  border-width: .5pt .5pt .5pt .5pt;
+  line-height: 1.5em;
+  font-size: 1.125em;
+}
+table.calendar thead tr.weekday {
+  line-height: 1.5em;
 }
 table.calendar thead tr.weekday th:first-of-type {
   border-style: solid;
-  border-width: 0pt 0pt 0pt 1pt;
+  border-width: 0pt 0pt 0pt .5pt;
 }
 table.calendar thead tr.weekday th:last-child {
-  border-right: 1pt solid;
+  border-right: .5pt solid;
 }
 table.calendar tbody tr th {
-  border-left: 1pt solid #000;
+  border-left: .5pt solid #000;
 }
 table.calendar tbody tr:last-child th {
-  border-bottom: 1pt solid #000;
+  border-bottom: .5pt solid #000;
 }
 
 table.calendar tbody tr th.weekno {
@@ -55,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;
+}