From 91d1b94d6418e8b60445cb78ddf40c4ffdf2a3d2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?F=C3=A1bio=20Madeira?= Date: Mon, 13 Feb 2017 17:19:09 +0000 Subject: [PATCH] =?utf8?q?JWS-111=20&=20JWS-109=20Re-uploaded=20the=20css=20?= =?utf8?q?styling=20used=20in=20=E2=80=98usage=20statistics=E2=80=99=20pages?= =?utf8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- website/static/css/alternative.css | 85 ++++++++++++++++++++ website/static/css/displaytag.css | 149 ++++++++++++++++++++++++++++++++++++ 2 files changed, 234 insertions(+) create mode 100644 website/static/css/alternative.css create mode 100644 website/static/css/displaytag.css diff --git a/website/static/css/alternative.css b/website/static/css/alternative.css new file mode 100644 index 0000000..c44429b --- /dev/null +++ b/website/static/css/alternative.css @@ -0,0 +1,85 @@ +/* alternative styles */ +table.its thead tr { + background-color: #69c; +} + +table.its tr.even { + background-color: #def; +} + +table.mars thead tr { + background-color: #9c9; +} + +table.mars tr.even { + background-color: #ccb; +} + +table.mars tr.odd { + background-color: #eec; +} + +table.simple thead tr th { + background-color: #eee; +} + +table.simple tr.even { + background-color: #fff; +} + +table.simple { + border: 1px solid #ccc; + border-collapse: collapse; +} + +table.simple td,table.simple th { + border: 1px solid #ccc; +} + +table.nocol tbody td,table.nocol tbody th { + border-left: none; + border-right: none; +} + +table.report td,table.report th { + font: menu; +} + +table.report th { + background: buttonface; + border-width: 1px; + border-style: solid; + border-color: threedhighlight threedshadow threedshadow threedhighlight; + cursor: hand; +} + +table.report idcol { + background: buttonface; +} + +table.report tr.even { + background-color: #399; +} + +table.report tbody { + height: 100px; + overflow: auto; +} + +table.report { + height: 120px; + overflow: auto; +} + +table.report tbody tr { + height: 10px; +} + +table.mark td.tableCellError { + background-color: #d00; + color: #fff; +} + +table.simple td.textRed { + color: #b11; +} \ No newline at end of file diff --git a/website/static/css/displaytag.css b/website/static/css/displaytag.css new file mode 100644 index 0000000..85d2a6c --- /dev/null +++ b/website/static/css/displaytag.css @@ -0,0 +1,149 @@ +table { + border: 1px solid #666; + width: 100%; + margin: 10px 0 10px 0 !important; +} + +th,td { + padding: 2px 4px 2px 4px !important; + text-align: left; + vertical-align: top; +} + +thead tr { + background-color: #fc0; +} + +th.sorted { + background-color: #89b8eb; +} + +th a,th a:visited { + color: black; +} + +th a:hover { + text-decoration: underline; + color: black; +} + +th.sorted a,th.sortable a { + background-position: right; + display: block; + width: 100%; +} + +th.sortable a { + background-image: url(../img/tableview/arrow_off.png); + background-repeat: no-repeat; +} + +th.order1 a { + background-image: url(../img/tableview/arrow_down.png); + background-repeat: no-repeat; +} + +th.order2 a { + background-image: url(../img/tableview/arrow_up.png); + background-repeat: no-repeat; +} + +tr.odd { + background-color: #fff +} + +tr.tableRowEven,tr.even { + background-color: #fea +} + +div.exportlinks { + background-color: #eee; + border: 1px dotted #999; + padding: 2px 4px 2px 4px; + margin: 2px 0 10px 0; + width: 99%; +} + +span.export { + padding: 0 4px 1px 20px; + display: inline-block; + cursor: pointer; +} + +span.excel { + background: url(../img/tableview/ico_file_excel.png); + background-repeat: no-repeat; +} + +span.csv { + background: url(../img/tableview/ico_file_csv.png); + background-repeat: no-repeat; +} + +span.xml { + background: url(../img/tableview/ico_file_xml.png); + background-repeat: no-repeat; +} + +span.pdf { + background: url(../img/tableview/ico_file_pdf.png); + background-repeat: no-repeat; +} + +span.rtf { + background: url(../img/tableview/ico_file_rtf.png); + background-repeat: no-repeat; +} + +span.pagebanner { + background-color: #eee; + border: 1px dotted #999; + padding: 2px 4px 2px 4px; + width: 99%; + margin-top: 10px; + display: block; + border-bottom: none; +} + +span.pagelinks { + background-color: #eee; + border: 1px dotted #999; + padding: 2px 4px 2px 4px; + width: 99%; + display: block; + border-top: none; + margin-bottom: -5px; +} + + +.group-1 { + font-weight:bold; + padding-bottom:10px; + border-top:1px solid black; +} +.group-2 { + font-style:italic; + border-top: 1px solid black; + +} +.subtotal-sum, .grandtotal-sum { + font-weight:bold; + text-align:right; +} +.subtotal-header { + padding-bottom: 0; + border-top: 1px solid white; +} +.subtotal-label, .grandtotal-label { + border-top: 1px solid white; + font-weight: bold; +} +.grouped-table tr.even { + background-color: #fff; +} +.grouped-table tr.odd { + background-color: #fff; +} +.grandtotal-row { + border-top: 2px solid black; +} -- 1.7.10.2