[silva.core.editor][Emiliano D'Alterio] Further improved css for...

[email protected]
Newsgroups gmane.comp.web.zope.silva.cvs
Message-ID <[email protected]>
author:    Emiliano D'Alterio
date:      Thu Aug 08 17:32:00 2013 +0200
revision:  256:55e738a20d50 in silva.core.editor
branch:    
details:   https://hg.infrae.com/silva.core.editor?cmd=changeset;node=55e738a20d50
modified:  src/silva/core/editor/static/content.css src/silva/core/editor/static/content.min.css
added:     
removed:   
log:       Further improved css for styling tables in the editor.


diffstat:

 src/silva/core/editor/static/content.css     |  46 +++++++++++++++++----------
 src/silva/core/editor/static/content.min.css |   2 +-
 2 files changed, 29 insertions(+), 19 deletions(-)

diffs (80 lines):

diff -r 96df227b19e3 -r 55e738a20d50 src/silva/core/editor/static/content.css
--- a/src/silva/core/editor/static/content.css	Thu Aug 08 17:02:07 2013 +0200
+++ b/src/silva/core/editor/static/content.css	Thu Aug 08 17:32:00 2013 +0200
@@ -62,40 +62,50 @@
 
 table.plain,
 table.list,
-table.grid {
+table.grid,
+table.datagrid {
     width: 100%;
     border: none;
-    border-collapse: collapse
+    border-collapse: collapse;
 }
 
 table.datagrid {
-    width: 100%;
     border-collapse: separate;
     border-spacing: 2px;
 }
 
-table.plain td, table.plain th {
-    border: 1px dashed #777;
+table.plain td,
+table.plain th,
+table.list td,
+table.list th,
+table.grid td,
+table.grid th,
+table.datagrid td,
+table.datagrid th {
+    border: 1px solid #777;
     text-align: left;
     padding: 0 4px 0 0;
 }
 
-table.list td, table.list th {
-    border: 1px solid #777;
-    border-right: 1px dashed #777;
-    border-left: 1px dashed #777;
-    text-align: left;
-    padding: 0 4px 0 0;
+table.plain td,
+table.plain th {
+    border-style: dashed;
 }
 
-table.grid td, table.grid th {
-    border: 1px solid #777;
-    text-align: left;
+table.list td,
+table.list th {
+    border-right-style: dashed;
+    border-left-style: dashed;
+}
+
+table.grid td,
+table.grid th,
+table.datagrid td,
+table.datagrid th {
     padding: 0 2px;
 }
 
-table.datagrid td, table.datagrid th {
-    border: 2px solid #777;
-    text-align: left;
-    padding: 0 2px;
+table.datagrid td,
+table.datagrid th {
+    border-width: 2px;
 }
diff -r 96df227b19e3 -r 55e738a20d50 src/silva/core/editor/static/content.min.css
--- a/src/silva/core/editor/static/content.min.css	Thu Aug 08 17:02:07 2013 +0200
+++ b/src/silva/core/editor/static/content.min.css	Thu Aug 08 17:32:00 2013 +0200
@@ -1,1 +1,1 @@
-body{font:70% Verdana,Helvetica,Arial,sans-serif}h1,h2,h3,h4,h5,h6{margin:1em 0 0}h1{margin-top:.8em;margin-bottom:.7em;font-size:170%}h2{margin-bottom:.6em;font-size:145%}h3{margin-bottom:.5em;font-size:120%}h4{margin-bottom:.2em;font-size:110%}h5{margin-bottom:.1em;font-size:105%}ul{margin:.5em 0;padding-left:1.4em}ol{margin:.5em 0;padding-left:1.9em}p.lead{font-weight:700}p.annotation{font-style:italic}a.broken-link{color:#a00}table.plain,table.list,table.grid{width:100%;border:0;border-collapse:collapse}table.datagrid{width:100%;border-collapse:separate;border-spacing:2px}table.plain td,table.plain th{border:1px dashed #777;text-align:left;padding:0 4px 0 0}table.list td,table.list th{border:1px solid #777;border-right:1px dashed #777;border-left:1px dashed #777;text-align:left;paddin
 g:0 4px 0 0}table.grid td,table.grid th{border:1px solid #777;text-align:left;padding:0 2px}table.datagrid td,table.datagrid th{border:2px solid #777;text-align:left;padding:0 2px}
\ No newline at end of file
+body{font:70% Verdana,Helvetica,Arial,sans-serif}h1,h2,h3,h4,h5,h6{margin:1em 0 0}h1{margin-top:.8em;margin-bottom:.7em;font-size:170%}h2{margin-bottom:.6em;font-size:145%}h3{margin-bottom:.5em;font-size:120%}h4{margin-bottom:.2em;font-size:110%}h5{margin-bottom:.1em;font-size:105%}ul{margin:.5em 0;padding-left:1.4em}ol{margin:.5em 0;padding-left:1.9em}p.lead{font-weight:700}p.annotation{font-style:italic}a.broken-link{color:#a00}table.plain,table.list,table.grid,table.datagrid{width:100%;border:0;border-collapse:collapse}table.datagrid{border-collapse:separate;border-spacing:2px}table.plain td,table.plain th,table.list td,table.list th,table.grid td,table.grid th,table.datagrid td,table.datagrid th{border:1px solid #777;text-align:left;padding:0 4px 0 0}table.plain td,table.plain th{bord
 er-style:dashed}table.list td,table.list th{border-right-style:dashed;border-left-style:dashed}table.grid td,table.grid th,table.datagrid td,table.datagrid th{padding:0 2px}table.datagrid td
 ,table.datagrid th{border-width:2px}
\ No newline at end of file
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.