JWS-111 & JWS-109 Re-uploaded the css styling used in ‘usage statistics’ pages.
authorFábio Madeira <fmmarquesmadeira@dundee.ac.uk>
Mon, 13 Feb 2017 17:19:09 +0000 (17:19 +0000)
committerFábio Madeira <fmmarquesmadeira@dundee.ac.uk>
Mon, 13 Feb 2017 17:19:09 +0000 (17:19 +0000)
website/static/css/alternative.css [new file with mode: 0644]
website/static/css/displaytag.css [new file with mode: 0644]

diff --git a/website/static/css/alternative.css b/website/static/css/alternative.css
new file mode 100644 (file)
index 0000000..c44429b
--- /dev/null
@@ -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 (file)
index 0000000..85d2a6c
--- /dev/null
@@ -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;
+}