[silvatheme.infraecommon][Emiliano D'Alterio] Added CSS for plai...
[email protected] Fri, 09 Aug 2013 12:05:27 +0200
Newsgroups
gmane.comp.web.zope.silva.cvs
Message-ID
<[email protected] >
author: Emiliano D'Alterio
date: Fri Aug 09 12:05:23 2013 +0200
revision: 51:3663bb5ca55c in silvatheme.infraecommon
branch: 2.4
details: https://hg.infrae.com/silvatheme.infraecommon?cmd=changeset;node=3663bb5ca55c
modified: src/silvatheme/infraecommon/static/typography.css
added:
removed:
log: Added CSS for plain, list, grid and datagrid tables.
diffstat:
src/silvatheme/infraecommon/static/typography.css | 53 ++++++++++++++++++++++-
1 files changed, 52 insertions(+), 1 deletions(-)
diffs (67 lines):
diff -r a707851ec2c2 -r 3663bb5ca55c src/silvatheme/infraecommon/static/typography.css
--- a/src/silvatheme/infraecommon/static/typography.css Wed Jun 12 19:32:14 2013 +0200
+++ b/src/silvatheme/infraecommon/static/typography.css Fri Aug 09 12:05:23 2013 +0200
@@ -28,6 +28,58 @@
span.error {color:#a00}
+/* Plain, list, grid, and datagrid table styles */
+
+table.plain,
+table.list,
+table.grid,
+table.datagrid {
+ width: 100%;
+ border: none;
+ 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 {
+ border: none;
+}
+
+table.list td,
+table.list th {
+ border-right: none;
+ border-left: none;
+}
+
+table.grid td,
+table.grid th,
+table.datagrid td,
+table.datagrid th {
+ padding: 0 2px;
+}
+
+table.datagrid td,
+table.datagrid th {
+ border-width: 2px;
+}
+
/* alignments */
.align-left {}
.align-center {text-align:center;}
@@ -115,4 +167,3 @@
width: 22em;
float: right;
}
-