[Products.SilvaForum][Kit Blake] Minor corrections for 3.x

[email protected] Sun, 03 Nov 2013 19:34:39 +0100
Newsgroups gmane.comp.web.zope.silva.cvs
Message-ID <[email protected]>
author:    Kit Blake
date:      Sun Nov 03 19:34:27 2013 +0100
revision:  650:79ad4848a7d2 in Products.SilvaForum
branch:    2.5
details:   https://hg.infrae.com/Products.SilvaForum?cmd=changeset;node=79ad4848a7d2
modified:  Products/SilvaForum/static/forum.css
added:     
removed:   
log:       Minor corrections for 3.x


diffstat:

 Products/SilvaForum/static/forum.css |  36 ++++++++++++++++++++++++++++--------
 1 files changed, 28 insertions(+), 8 deletions(-)

diffs (101 lines):

diff -r eade4bd31737 -r 79ad4848a7d2 Products/SilvaForum/static/forum.css
--- a/Products/SilvaForum/static/forum.css	Fri Nov 01 19:25:48 2013 +0100
+++ b/Products/SilvaForum/static/forum.css	Sun Nov 03 19:34:27 2013 +0100
@@ -1,6 +1,6 @@
 /* forum elements */
 /* input fields */
-div.forum input, textarea {
+div.forum input, div.forum textarea {
   border: 1px solid #aaa;
 }
 div.forum input.dialog-closer {
@@ -13,7 +13,7 @@
   width:99%;
 }
 div.forum input[type=submit] {
-  margin: 0.1em 0;
+  margin: 0.1em 0.5em 0.1em 0;
 }
 div.forum input[type=checkbox] {
   margin: 0.2em 0;
@@ -21,13 +21,13 @@
 div.forum input.dialog-closer {
   position: absolute;
   right: 0.4em;
-  top: 0.4em;
+  top: 0.2em;
 }
 div.forum #form-field-email {
   width: 16em;
 }
 /* general forum styling */
-div.forum h2 {
+div.forum h2 { /* section heading */
   margin: 0.2em 0 0.4em 0;
   color: #909090;
   font-size: 15px;
@@ -38,11 +38,18 @@
 div.forum h3.comments {
   padding-top: 0.7em;
 }*/
-div.forum-dialog h2 { /* dialog heading */
+div.forum-dialog h3 { /* dialog heading */
   padding-right: 0.5em;
   color: #3e3e3e;
   font-weight: normal;
 }
+div.forum h3.comments { /* section heading */
+  margin: 0.2em 0 0.4em 0;
+  color: #909090;
+  font-size: 15px;
+  font-weight: bold;
+  text-transform: none;
+}
 div.forum h3 { /* topic heading */
   margin: 0;
   font-size: 18px;
@@ -77,7 +84,7 @@
 }
 /* forum expandable js widget */
 div.forum div.dialog-opener {
-  margin-bottom: 0.5em;
+  margin-top: -0.9em;
   float: right;
   clear: both;
 }
@@ -85,7 +92,7 @@
   position: relative;
   display: inline-block;
   margin: 0.5em 0 0.5em;
-  padding: 0.2em 0.5em 0.5em;
+  padding: 0.4em 0.5em 0.5em;
   border: 1px solid #808080;
   clear: both;
 }
@@ -94,7 +101,7 @@
   padding-right: 0.7em;
 }
 div.forum div.field {
-  margin-top: 0.5em;
+  margin: 0.8em 0;
 }
 div.forum div.captcha-field {
   margin-top: 1em;
@@ -173,4 +180,17 @@
 table.forum-preview td.topic {
   text-decoration: underline;
 }
+div.forum div.field-captcha-wrapper {
+  float: none;
+  clear: both;
+  width: 136px;
+  padding-top: 0.5em;
+}
+div.forum input.field-captcha {
+  width: 136px;
+}
+div.forum div.action {
+  float: left;
+  margin-top: 0.2em;
+}