[MKDoc-commit] Various small css tweaks

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Fri Nov 5 17:15:58 GMT 2004


Log Message:
-----------
Various small css tweaks

Modified Files:
--------------
    mkd/resources/css:
        admin.css
        admin.ltr.css
        colours.css

-------------- next part --------------
Index: colours.css
===================================================================
RCS file: /var/spool/cvs/mkd/resources/css/colours.css,v
retrieving revision 1.12
retrieving revision 1.13
diff -Lresources/css/colours.css -Lresources/css/colours.css -u -r1.12 -r1.13
--- resources/css/colours.css
+++ resources/css/colours.css
@@ -97,16 +97,17 @@
   color: red;
 }
 
-/* Preformatted text and code elemnts */
-pre, code {
+/* Preformatted text */
+pre {
   background: #EEF;
   color: #000;
   border: solid #008 1px;
 }
-/* Outlines around <code> elements in <pre> text
-   looks odd so this removes them */
-pre code {
-  border: none;
+
+/* Preformatted code elemnts */
+code {
+  background: #EEF;
+  color: #000;
 }
 
 /* Search results pages */
Index: admin.css
===================================================================
RCS file: /var/spool/cvs/mkd/resources/css/admin.css,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lresources/css/admin.css -Lresources/css/admin.css -u -r1.4 -r1.5
--- resources/css/admin.css
+++ resources/css/admin.css
@@ -132,11 +132,12 @@
   font-size: smaller;
 }
 
-div.admin-content p.field {
+div.admin-content p.field, 
+div.admin-content p.widefield {
   clear: both;
 }
 
-div.admin-content p.field em.help {
+div.admin-content p.field em.help { 
   margin-bottom: 0.2em;
   padding-top: 0.2em;
   padding-left: 0.4em;
@@ -150,9 +151,29 @@
   border: thin dashed #F03;
 }
 
+div.admin-content p.widefield em.help {
+  margin-top: 0.4em;
+  margin-bottom: 0.4em;
+  margin-left: 0em;
+  margin-right: 0em;
+  padding-top: 0.2em;
+  padding-left: 0.4em;
+  padding-right: 0.4em;
+  padding-bottom: 0.2em;
+  color: #000;
+  background: #FFC;
+  font-style: normal;
+  font-weight: normal;
+  font-size: smaller;
+  border: thin dashed #F03;
+}
+
 div.admin-content p.field input,
 div.admin-content p.field select,
-div.admin-content p.field textarea {
+div.admin-content p.field textarea, 
+div.admin-content p.widefield input,
+div.admin-content p.widefield select,
+div.admin-content p.widefield textarea {
   margin-bottom: 0.2em;
 }
 
Index: admin.ltr.css
===================================================================
RCS file: /var/spool/cvs/mkd/resources/css/admin.ltr.css,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lresources/css/admin.ltr.css -Lresources/css/admin.ltr.css -u -r1.4 -r1.5
--- resources/css/admin.ltr.css
+++ resources/css/admin.ltr.css
@@ -33,16 +33,6 @@
   float: left;
 }
 
-/* this is for text and html components */
-fieldset.html-component em.help, fieldset.text-component em.help {
-  float: right;
-  width: 10%;
-}
-
-fieldset.html-component textarea.adminform, fieldset.text-component textarea.adminform {
-  float: left;
-  width: 85%;
-}
 
 /* sort documents list */ 
 ol.sort li { 
@@ -64,15 +54,40 @@
   margin-right: 0.4em;
 }
 
+/* regular fields */
 div.admin-content p.field em.help {
   float: right;
   width: 38%;
   text-align: left;
 }
 
+/* wide fields */
+div.admin-content p.widefield em.help {
+/*
+  float: right;
+  width: 20%;
+  text-align: left;
+*/
+}
+
+/* this is for text and html components */
+fieldset.html-component em.help, fieldset.text-component em.help {
+  float: right;
+  width: 10%;
+}
+
+/* this is for text and html components */
+fieldset.html-component textarea.adminform, fieldset.text-component textarea.adminform {
+  float: left;
+  width: 85%;
+}
+
 div.admin-content p.field input,
 div.admin-content p.field select,
-div.admin-content p.field textarea {
+div.admin-content p.field textarea, 
+div.admin-content p.widefield input,
+div.admin-content p.widefield select,
+div.admin-content p.widefield textarea {
   float: left;
   width: auto;
 }


More information about the MKDoc-commit mailing list