From 4682abe21b89f5a51d249b0bb922dbcb1f44fa31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?F=C3=A1bio=20Madeira?= Date: Mon, 13 Feb 2017 17:23:17 +0000 Subject: [PATCH] JWS-111 & JWS-109 Minor changes to table.css (commented sections) in order to inherit Bootstrap styling. --- website/static/css/table.css | 159 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 159 insertions(+) create mode 100644 website/static/css/table.css diff --git a/website/static/css/table.css b/website/static/css/table.css new file mode 100644 index 0000000..4e26509 --- /dev/null +++ b/website/static/css/table.css @@ -0,0 +1,159 @@ +@import url("displaytag.css"); +@import url("alternative.css"); + + +#mainpage { + margin-left: auto; + margin-right: auto; +} + +/*.center {*/ + /*margin: 0 auto;*/ +/*}*/ + +/*h2 {*/ + /*font-size: 1.5em; line-height: 1em; margin-bottom: -0.3em;*/ + /*}*/ + +/*body,input,select,td,textarea {*/ + /*font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;*/ + /*font-size: 11px;*/ +/*}*/ + +/*h4,h5,h6,p,strong,div,form,acronym,label,table,td,th,span,a,hr,code,pre,hr*/ + /*{*/ + /*margin: 0;*/ + /*padding: 0;*/ + /*font-size: 1em;*/ + /*background-repeat: no-repeat;*/ + /*list-style-type: none;*/ +/*}*/ + +/*a,a:visited,a:hover {*/ + /*color: black;*/ + /*text-decoration: underline;*/ +/*}*/ + +/*a:hover {*/ + /*color: #666;*/ +/*}*/ + +img { + border: none; +} + +table hr { + height: 1px; + clear: both; + /*margin: none;*/ + width: 100%; +} + +textarea { + width: 80%; + height: 200px; +} + +dt { + font-weight: bold; +} + +acronym { + border-bottom: 1px dashed #000; + cursor: help; +} + +ul#stylelist { + margin: 0 0 20px 0; + height: 20px; + padding: 0; +} + +ul#stylelist li { + list-style-type: none; + float: left; + width: 100px; + border: 1px solid #ccc; + background-color: #eee; + padding: 2px; + margin: 0 2px 0 0; +} + +ul#showsource { + float: right; + padding: 0; + margin: 15px 20px 0 0; + width: 100px; + height: 33px; + list-style-type: none; + background: url("../img/tableview/viewsource.png") no-repeat center center fixed; + margin-bottom: -30px; + text-align: center; + line-height: 30px; + font-weight: bold; +} + +ul#showsource a,ul#showsource a:visited { + font-size: 11px; + font-family: verdana; + color: #fff; +} + +table.sublist { + margin: 0 0 0 0; + width: 100%; +} + +table.sublist td,table.sublist th { + width: 50%; +} + +code { + background-color: #eee; + padding: 0 2px 0 2px; +} + +/*hr {*/ + /*height: 1px;*/ + /*color: #fff;*/ + /*border: none;*/ + /*border-top: 1px dotted #ccc;*/ + /*margin: 20px 0 20px 0;*/ + /*width: 50%;*/ +/*}*/ + +/* open/closed box related styles */ + +.source { + display:block; + margin:15px 0; + overflow:visible; +} + +/* OPEN state styles */ +.source .body { + padding:7px 15px; +/* white-space:pre-wrap; */ + white-space:normal; +/* word-wrap:break-word; # this prop does not exits*/ +} + +.source .header { + cursor:pointer; + font-weight:bold; + padding:0 15px 0 15px; + text-decoration: underline ; +} + + +/* CLOSED state styles */ +.source .body.collapsed { + display:none; +} + +.source .header.collapsed { + padding:0 15px 0 15px; + text-decoration: underline; +} + + -- 1.7.10.2