-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close #5
- Loading branch information
Showing
7 changed files
with
376 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
$(document).ready(function(){ | ||
if (typeof $('[data-toggle="tooltip"]').tooltip === 'function') { | ||
$('[data-toggle="tooltip"]').tooltip(); | ||
} | ||
if ($('[data-toggle="popover"]').popover === 'function') { | ||
$('[data-toggle="popover"]').popover(); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,272 @@ | ||
/*! | ||
* lightable v0.0.1 | ||
* Copyright 2020 Hao Zhu | ||
* Licensed under MIT (https://github.com/haozhu233/kableExtra/blob/master/LICENSE) | ||
*/ | ||
|
||
.lightable-minimal { | ||
border-collapse: separate; | ||
border-spacing: 16px 1px; | ||
width: 100%; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.lightable-minimal td { | ||
margin-left: 5px; | ||
margin-right: 5px; | ||
} | ||
|
||
.lightable-minimal th { | ||
margin-left: 5px; | ||
margin-right: 5px; | ||
} | ||
|
||
.lightable-minimal thead tr:last-child th { | ||
border-bottom: 2px solid #00000050; | ||
empty-cells: hide; | ||
|
||
} | ||
|
||
.lightable-minimal tbody tr:first-child td { | ||
padding-top: 0.5em; | ||
} | ||
|
||
.lightable-minimal.lightable-hover tbody tr:hover { | ||
background-color: #f5f5f5; | ||
} | ||
|
||
.lightable-minimal.lightable-striped tbody tr:nth-child(even) { | ||
background-color: #f5f5f5; | ||
} | ||
|
||
.lightable-classic { | ||
border-top: 0.16em solid #111111; | ||
border-bottom: 0.16em solid #111111; | ||
width: 100%; | ||
margin-bottom: 10px; | ||
margin: 10px 5px; | ||
} | ||
|
||
.lightable-classic tfoot tr td { | ||
border: 0; | ||
} | ||
|
||
.lightable-classic tfoot tr:first-child td { | ||
border-top: 0.14em solid #111111; | ||
} | ||
|
||
.lightable-classic caption { | ||
color: #222222; | ||
} | ||
|
||
.lightable-classic td { | ||
padding-left: 5px; | ||
padding-right: 5px; | ||
color: #222222; | ||
} | ||
|
||
.lightable-classic th { | ||
padding-left: 5px; | ||
padding-right: 5px; | ||
font-weight: normal; | ||
color: #222222; | ||
} | ||
|
||
.lightable-classic thead tr:last-child th { | ||
border-bottom: 0.10em solid #111111; | ||
} | ||
|
||
.lightable-classic.lightable-hover tbody tr:hover { | ||
background-color: #F9EEC1; | ||
} | ||
|
||
.lightable-classic.lightable-striped tbody tr:nth-child(even) { | ||
background-color: #f5f5f5; | ||
} | ||
|
||
.lightable-classic-2 { | ||
border-top: 3px double #111111; | ||
border-bottom: 3px double #111111; | ||
width: 100%; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.lightable-classic-2 tfoot tr td { | ||
border: 0; | ||
} | ||
|
||
.lightable-classic-2 tfoot tr:first-child td { | ||
border-top: 3px double #111111; | ||
} | ||
|
||
.lightable-classic-2 caption { | ||
color: #222222; | ||
} | ||
|
||
.lightable-classic-2 td { | ||
padding-left: 5px; | ||
padding-right: 5px; | ||
color: #222222; | ||
} | ||
|
||
.lightable-classic-2 th { | ||
padding-left: 5px; | ||
padding-right: 5px; | ||
font-weight: normal; | ||
color: #222222; | ||
} | ||
|
||
.lightable-classic-2 tbody tr:last-child td { | ||
border-bottom: 3px double #111111; | ||
} | ||
|
||
.lightable-classic-2 thead tr:last-child th { | ||
border-bottom: 1px solid #111111; | ||
} | ||
|
||
.lightable-classic-2.lightable-hover tbody tr:hover { | ||
background-color: #F9EEC1; | ||
} | ||
|
||
.lightable-classic-2.lightable-striped tbody tr:nth-child(even) { | ||
background-color: #f5f5f5; | ||
} | ||
|
||
.lightable-material { | ||
min-width: 100%; | ||
white-space: nowrap; | ||
table-layout: fixed; | ||
font-family: Roboto, sans-serif; | ||
border: 1px solid #EEE; | ||
border-collapse: collapse; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.lightable-material tfoot tr td { | ||
border: 0; | ||
} | ||
|
||
.lightable-material tfoot tr:first-child td { | ||
border-top: 1px solid #EEE; | ||
} | ||
|
||
.lightable-material th { | ||
height: 56px; | ||
padding-left: 16px; | ||
padding-right: 16px; | ||
} | ||
|
||
.lightable-material td { | ||
height: 52px; | ||
padding-left: 16px; | ||
padding-right: 16px; | ||
border-top: 1px solid #eeeeee; | ||
} | ||
|
||
.lightable-material.lightable-hover tbody tr:hover { | ||
background-color: #f5f5f5; | ||
} | ||
|
||
.lightable-material.lightable-striped tbody tr:nth-child(even) { | ||
background-color: #f5f5f5; | ||
} | ||
|
||
.lightable-material.lightable-striped tbody td { | ||
border: 0; | ||
} | ||
|
||
.lightable-material.lightable-striped thead tr:last-child th { | ||
border-bottom: 1px solid #ddd; | ||
} | ||
|
||
.lightable-material-dark { | ||
min-width: 100%; | ||
white-space: nowrap; | ||
table-layout: fixed; | ||
font-family: Roboto, sans-serif; | ||
border: 1px solid #FFFFFF12; | ||
border-collapse: collapse; | ||
margin-bottom: 10px; | ||
background-color: #363640; | ||
} | ||
|
||
.lightable-material-dark tfoot tr td { | ||
border: 0; | ||
} | ||
|
||
.lightable-material-dark tfoot tr:first-child td { | ||
border-top: 1px solid #FFFFFF12; | ||
} | ||
|
||
.lightable-material-dark th { | ||
height: 56px; | ||
padding-left: 16px; | ||
padding-right: 16px; | ||
color: #FFFFFF60; | ||
} | ||
|
||
.lightable-material-dark td { | ||
height: 52px; | ||
padding-left: 16px; | ||
padding-right: 16px; | ||
color: #FFFFFF; | ||
border-top: 1px solid #FFFFFF12; | ||
} | ||
|
||
.lightable-material-dark.lightable-hover tbody tr:hover { | ||
background-color: #FFFFFF12; | ||
} | ||
|
||
.lightable-material-dark.lightable-striped tbody tr:nth-child(even) { | ||
background-color: #FFFFFF12; | ||
} | ||
|
||
.lightable-material-dark.lightable-striped tbody td { | ||
border: 0; | ||
} | ||
|
||
.lightable-material-dark.lightable-striped thead tr:last-child th { | ||
border-bottom: 1px solid #FFFFFF12; | ||
} | ||
|
||
.lightable-paper { | ||
width: 100%; | ||
margin-bottom: 10px; | ||
color: #444; | ||
} | ||
|
||
.lightable-paper tfoot tr td { | ||
border: 0; | ||
} | ||
|
||
.lightable-paper tfoot tr:first-child td { | ||
border-top: 1px solid #00000020; | ||
} | ||
|
||
.lightable-paper thead tr:last-child th { | ||
color: #666; | ||
vertical-align: bottom; | ||
border-bottom: 1px solid #00000020; | ||
line-height: 1.15em; | ||
padding: 10px 5px; | ||
} | ||
|
||
.lightable-paper td { | ||
vertical-align: middle; | ||
border-bottom: 1px solid #00000010; | ||
line-height: 1.15em; | ||
padding: 7px 5px; | ||
} | ||
|
||
.lightable-paper.lightable-hover tbody tr:hover { | ||
background-color: #F9EEC1; | ||
} | ||
|
||
.lightable-paper.lightable-striped tbody tr:nth-child(even) { | ||
background-color: #00000008; | ||
} | ||
|
||
.lightable-paper.lightable-striped tbody td { | ||
border: 0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.tabwid { | ||
font-size: initial; | ||
padding-bottom: 1em; | ||
} | ||
|
||
.tabwid table{ | ||
border-spacing:0px !important; | ||
border-collapse:collapse; | ||
line-height:1; | ||
margin-left:auto; | ||
margin-right:auto; | ||
border-width: 0; | ||
border-color: transparent; | ||
caption-side: top; | ||
} | ||
.tabwid-caption-bottom table{ | ||
caption-side: bottom; | ||
} | ||
.tabwid_left table{ | ||
margin-left:0; | ||
} | ||
.tabwid_right table{ | ||
margin-right:0; | ||
} | ||
.tabwid td, .tabwid th { | ||
padding: 0; | ||
} | ||
.tabwid a { | ||
text-decoration: none; | ||
} | ||
.tabwid thead { | ||
background-color: transparent; | ||
} | ||
.tabwid tfoot { | ||
background-color: transparent; | ||
} | ||
.tabwid table tr { | ||
background-color: transparent; | ||
} | ||
.katex-display { | ||
margin: 0 0 !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
document.addEventListener("DOMContentLoaded", function(event) { | ||
var els = document.querySelectorAll(".tabwid"); | ||
var tabwid_link = document.querySelector('link[href*="tabwid.css"]') | ||
if (tabwid_link === null) { | ||
const tabwid_styles = document.evaluate("//style[contains(., 'tabwid')]", document, null, XPathResult.ANY_TYPE, null ); | ||
tabwid_link = tabwid_styles.iterateNext(); | ||
} | ||
|
||
Array.prototype.forEach.call(els, function(template) { | ||
const dest = document.createElement("div"); | ||
template.parentNode.insertBefore(dest, template.nextSibling) | ||
dest.setAttribute("class", "flextable-shadow-host"); | ||
const fantome = dest.attachShadow({mode: 'open'}); | ||
fantome.appendChild(template); | ||
if (tabwid_link !== null) { | ||
fantome.appendChild(tabwid_link.cloneNode(true)); | ||
} | ||
}); | ||
}); | ||
|
8 changes: 5 additions & 3 deletions
8
pages/gallery/data/data_data/tbl-01-openwashdata-datasets.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
id,pkg_name,maintainer,source,difficulty,status,description,date_published,link_github,link_pkg_website | ||
1,fsmglobal,larnsce,academic,low,published,Populations of 175 countries requiring different faecal sludge emptying services.,NA,<https://github.com/openwashdata/fsmglobal>,<https://openwashdata.github.io/fsmglobal/> | ||
2,NA,NA,NA,NA,in-progress,NA,NA,NA,NA | ||
3,NA,NA,NA,NA,backlog,NA,NA,NA,NA | ||
1,wasteskipsblantyre,sebastian-loos,academic,low,published,"Data on locations of the publicly accessible waste skips in Blantyre, Malawi collected in 2021.",2023-08-02T00:00:00Z,<https://github.com/openwashdata/cbssuitabilityhaiti>,<https://openwashdata.github.io/wasteskipsblantyre/> | ||
2,fsmglobal,larnsce,academic,low,published,Populations of 175 countries requiring different faecal sludge emptying services.,2023-08-02T00:00:00Z,<https://github.com/openwashdata/fsmglobal>,<https://openwashdata.github.io/fsmglobal/> | ||
3,cbssuitabilityhaiti,sebastian-loos,ngo,low,in-progress,Spatial data to support an analysis of suitability of container-based sanitation in flood prone areas of Haiti.,NA,<https://github.com/openwashdata/cbssuitabilityhaiti>,https://openwashdata.github.io/cbssuitabilityhaiti/ | ||
4,dryingfaecal,mianzg,academic,high,in-progress,Engineering experiments related to drying of faecal sludge from on-site sanitation facilities and fresh faeces.,NA,<https://github.com/openwashdata/dryingfaecal>,<https://openwashdata.github.io/dryingfaecal/> | ||
5,climatevulnerabilitykhm,mianzg,academic,low,in-progress,"Data on Effects of Climate Vulnerability on Sanitation Access, Sanitation Infrastructure Functionality and Households’ Fecal Sludge Management Practices in Rural Cambodia.",NA,<https://github.com/openwashdata/climatevulnerabilitykhm>,<https://openwashdata.github.io/climatevulnerabilitykhm/> |
Oops, something went wrong.