[silvatheme.standardissue][Emiliano D'Alterio] Added CSS for pla...
[email protected] Fri, 09 Aug 2013 10:58:12 +0200
Newsgroups
gmane.comp.web.zope.silva.cvs
Message-ID
<[email protected] >
author: Emiliano D'Alterio
date: Fri Aug 09 10:57:49 2013 +0200
revision: 87:d77ec20cb464 in silvatheme.standardissue
branch:
details: https://hg.infrae.com/silvatheme.standardissue?cmd=changeset;node=d77ec20cb464
modified: silvatheme/standardissue/static/default.css silvatheme/standardissue/static/default.min.css
added:
removed:
log: Added CSS for plain, list, grid and datagrid tables.
diffstat:
silvatheme/standardissue/static/default.css | 55 ++++++++++++++++++++++++-
silvatheme/standardissue/static/default.min.css | 2 +-
2 files changed, 55 insertions(+), 2 deletions(-)
diffs (80 lines):
diff -r 2587930bdf4c -r d77ec20cb464 silvatheme/standardissue/static/default.css
--- a/silvatheme/standardissue/static/default.css Fri May 24 14:30:12 2013 +0200
+++ b/silvatheme/standardissue/static/default.css Fri Aug 09 10:57:49 2013 +0200
@@ -310,6 +310,59 @@
color: #EDEDED;
}
+/* 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;
+}
+
+
/* Footer */
#footer {
@@ -387,7 +440,7 @@
font-weight: bold;
}
-/* style for news items properties form, i.e. the newsitemtemplate
+/* style for news items properties form, i.e. the newsitemtemplate
when using content layout */
.newsproperties {
float: right;
diff -r 2587930bdf4c -r d77ec20cb464 silvatheme/standardissue/static/default.min.css
--- a/silvatheme/standardissue/static/default.min.css Fri May 24 14:30:12 2013 +0200
+++ b/silvatheme/standardissue/static/default.min.css Fri Aug 09 10:57:49 2013 +0200
@@ -1,1 +1,1 @@
-body{margin:100px 0 0;padding:0;color:#333;background:#003A51 url(images/img01.gif) repeat-x;font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:13px;line-height:1.3}h1,h2,h3,h4,h5,h6{margin:.5em 0;font-weight:400;color:#3E3E3E;line-height:1.2}h1{font-size:29px;margin-bottom:5px}h2{font-size:23px}p,ul,ol{margin:0 0 .5em;text-align:justify;font-size:12px}a:link{color:#333}a:visited{color:#333}a:hover,a:active{text-decoration:none;color:#003448}img{border:0}.align-left{}.align-center{text-align:center}.align-right{float:right;clear:both}.float-left{float:left;clear:both}.float-right{float:right;clear:both}img.default{margin-bottom:.7em}div.image.default{margin-bottom:.7em}div.image-left{float:left;margin:5px 6px 5px 0}div.image.align-left{float:left;margin:5px 6px 5px 0}div.imag
e-center{text-align:center;margin:0}div.image.align-center{text-align:center;margin:0}div.image-right{float:right;margin:8px 0 10px 20px}div.image.align-right{float:right;margin:8px 0 10px 2
0px}div.image.float-left{margin:6px 10px 5px 0;clear:none}div.image.float-right{margin:6px 0 5px 10px}div.image-left{float:left;margin:2px 6px 5px 0}div.image-center{text-align:center;margin:0}div.image-right{float:right;margin:8px 0 10px 20px}img.default{margin-bottom:.7em}img.float-left{margin:6px 10px 5px 0}img.float-right{margin:6px 0 5px 10px}#header{width:850px;height:82px;margin:0 auto 40px;background:url(images/img03.gif) repeat-x left bottom}#logo{float:left}#logo h1{font-size:38px;color:#494949}#logo h1 sup{vertical-align:text-top;font-size:24px}#logo h1 a{color:#494949}#logo h2{margin-top:-10px;font-size:12px;color:#A0A0A0}#logo a{text-decoration:none}#menu{float:right}#menu ul{margin:0;padding:15px 0 0;list-style:none}#menu li{display:inline}#menu a{display:block;float:left;ma
rgin-left:30px;padding:7px;text-decoration:none;font-size:13px;color:#000}#menu a:hover{text-decoration:underline}#menu .active a{background:url(images/img02.gif) repeat-x left bottom}#site{
background-color:#FFF}#page{width:850px;margin:0 auto}#content{float:left;width:575px}.post{}.post .title{margin-bottom:20px;padding-bottom:5px;background:url(images/img03.gif) repeat-x left bottom}.post .entry{}.post .meta{padding:15px 0 60px;background:url(images/img03.gif) repeat-x}.post .meta p{margin:0;line-height:normal;color:#999}.post .meta .byline{float:left}.post .meta .links{float:right}.post .meta .more{padding:0 20px 0 18px;background:url(images/img06.gif) no-repeat left center}.post .meta .comments{padding-left:22px;background:url(images/img07.gif) no-repeat left center}.post .meta b{display:none}#sidebar{float:right;width:195px}#sidebar ul{margin:0;padding:0;list-style:none}#sidebar li{margin-bottom:40px}#sidebar li ul{}#sidebar li li{margin:0 0 .5em}#sidebar h2{margin-bott
om:10px;background:url(images/img03.gif) repeat-x left bottom;font-size:16px}#sidebar ul.navigation-level-1,#sidebar ul.navigation-level-2,#sidebar ul.navigation-level-3{margin-top:.5em;marg
in-left:1em}#navigation-menu li a.selected{color:#7BAA0F}#search{}#search h2{margin-bottom:20px}#s{width:120px;margin-right:5px;padding:3px;border:1px solid #F0F0F0}#x{padding:3px;background:#ECECEC url(images/img08.gif) repeat-x left bottom;border:0;font-size:11px;color:#4F4F4F}.box1{padding:20px;background:url(images/img05.gif) no-repeat}.box2{color:#BABABA}.box2 h2{margin-bottom:15px;background:url(images/img10.gif) repeat-x left bottom;font-size:16px;color:#FFF}.box2 ul{margin:0;padding:0;list-style:none}.box2 a:link,.box2 a:hover,.box2 a:active,.box2 a:visited{color:#EDEDED}#footer{padding:120px 0 0;background:#003448 url(images/img09.gif) repeat-x}#footer .wrap{margin:0 auto}#legal{clear:both;padding-bottom:10px;text-align:center;color:#375C69;font-size:13px}#legal a{color:#476B77}#
fbox1,#fbox2,#fbox3{float:left}#fbox1{width:310px}#fbox2{width:200px;padding-left:70px}#fbox3{width:200px;padding-left:70px}form{margin:0;padding:0}fieldset{margin:0;padding:0;border:0}input
,textarea,select{padding:.1em;color:#333;font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:13px}input,textarea{border:1px solid #aaa;margin:.1em 0;background-color:#fff}label{font-weight:700}.newsproperties{float:right}.newsproperties .form-display-label{font-weight:700}.newsproperties .form-display-row:hover{background-color:#EEE}
\ No newline at end of file
+body{margin:100px 0 0;padding:0;color:#333;background:#003A51 url(images/img01.gif) repeat-x;font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:13px;line-height:1.3}h1,h2,h3,h4,h5,h6{margin:.5em 0;font-weight:400;color:#3E3E3E;line-height:1.2}h1{font-size:29px;margin-bottom:5px}h2{font-size:23px}p,ul,ol{margin:0 0 .5em;text-align:justify;font-size:12px}a:link{color:#333}a:visited{color:#333}a:hover,a:active{text-decoration:none;color:#003448}img{border:0}.align-left{}.align-center{text-align:center}.align-right{float:right;clear:both}.float-left{float:left;clear:both}.float-right{float:right;clear:both}img.default{margin-bottom:.7em}div.image.default{margin-bottom:.7em}div.image-left{float:left;margin:5px 6px 5px 0}div.image.align-left{float:left;margin:5px 6px 5px 0}div.imag
e-center{text-align:center;margin:0}div.image.align-center{text-align:center;margin:0}div.image-right{float:right;margin:8px 0 10px 20px}div.image.align-right{float:right;margin:8px 0 10px 2
0px}div.image.float-left{margin:6px 10px 5px 0;clear:none}div.image.float-right{margin:6px 0 5px 10px}div.image-left{float:left;margin:2px 6px 5px 0}div.image-center{text-align:center;margin:0}div.image-right{float:right;margin:8px 0 10px 20px}img.default{margin-bottom:.7em}img.float-left{margin:6px 10px 5px 0}img.float-right{margin:6px 0 5px 10px}#header{width:850px;height:82px;margin:0 auto 40px;background:url(images/img03.gif) repeat-x left bottom}#logo{float:left}#logo h1{font-size:38px;color:#494949}#logo h1 sup{vertical-align:text-top;font-size:24px}#logo h1 a{color:#494949}#logo h2{margin-top:-10px;font-size:12px;color:#A0A0A0}#logo a{text-decoration:none}#menu{float:right}#menu ul{margin:0;padding:15px 0 0;list-style:none}#menu li{display:inline}#menu a{display:block;float:left;ma
rgin-left:30px;padding:7px;text-decoration:none;font-size:13px;color:#000}#menu a:hover{text-decoration:underline}#menu .active a{background:url(images/img02.gif) repeat-x left bottom}#site{
background-color:#FFF}#page{width:850px;margin:0 auto}#content{float:left;width:575px}.post{}.post .title{margin-bottom:20px;padding-bottom:5px;background:url(images/img03.gif) repeat-x left bottom}.post .entry{}.post .meta{padding:15px 0 60px;background:url(images/img03.gif) repeat-x}.post .meta p{margin:0;line-height:normal;color:#999}.post .meta .byline{float:left}.post .meta .links{float:right}.post .meta .more{padding:0 20px 0 18px;background:url(images/img06.gif) no-repeat left center}.post .meta .comments{padding-left:22px;background:url(images/img07.gif) no-repeat left center}.post .meta b{display:none}#sidebar{float:right;width:195px}#sidebar ul{margin:0;padding:0;list-style:none}#sidebar li{margin-bottom:40px}#sidebar li ul{}#sidebar li li{margin:0 0 .5em}#sidebar h2{margin-bott
om:10px;background:url(images/img03.gif) repeat-x left bottom;font-size:16px}#sidebar ul.navigation-level-1,#sidebar ul.navigation-level-2,#sidebar ul.navigation-level-3{margin-top:.5em;marg
in-left:1em}#navigation-menu li a.selected{color:#7BAA0F}#search{}#search h2{margin-bottom:20px}#s{width:120px;margin-right:5px;padding:3px;border:1px solid #F0F0F0}#x{padding:3px;background:#ECECEC url(images/img08.gif) repeat-x left bottom;border:0;font-size:11px;color:#4F4F4F}.box1{padding:20px;background:url(images/img05.gif) no-repeat}.box2{color:#BABABA}.box2 h2{margin-bottom:15px;background:url(images/img10.gif) repeat-x left bottom;font-size:16px;color:#FFF}.box2 ul{margin:0;padding:0;list-style:none}.box2 a:link,.box2 a:hover,.box2 a:active,.box2 a:visited{color:#EDEDED}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,ta
ble.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:0}table.list td,table.list th{borde
r-right:0;border-left:0}table.grid td,table.grid th,table.datagrid td,table.datagrid th{padding:0 2px}table.datagrid td,table.datagrid th{border-width:2px}#footer{padding:120px 0 0;background:#003448 url(images/img09.gif) repeat-x}#footer .wrap{margin:0 auto}#legal{clear:both;padding-bottom:10px;text-align:center;color:#375C69;font-size:13px}#legal a{color:#476B77}#fbox1,#fbox2,#fbox3{float:left}#fbox1{width:310px}#fbox2{width:200px;padding-left:70px}#fbox3{width:200px;padding-left:70px}form{margin:0;padding:0}fieldset{margin:0;padding:0;border:0}input,textarea,select{padding:.1em;color:#333;font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:13px}input,textarea{border:1px solid #aaa;margin:.1em 0;background-color:#fff}label{font-weight:700}.newsproperties{float:right}.newspro
perties .form-display-label{font-weight:700}.newsproperties .form-display-row:hover{background-color:#EEE}
\ No newline at end of file