2
0
mirror of https://github.com/offen/website.git synced 2024-12-23 13:30:20 +01:00

add table

This commit is contained in:
Hendrik Niefeld 2020-05-20 22:21:23 +02:00
parent 0d1875f5b9
commit 221f9ece7c
2 changed files with 172 additions and 48 deletions

View File

@ -91,6 +91,12 @@ LAYOUT
.wx24-metrics {
width: 86%;
}
.wx-table-a {
width: 20%;
}
.wx-table-b {
width: 16%;
}
.hx24 {
height: 24rem;
}
@ -101,10 +107,9 @@ LAYOUT
height: 30rem;
}
.hx-compare-c,
.hx-compare-d {
height: 100%;
}
.hx-metrics {
.hx-compare-d,
.hx-metrics,
.hx-difference {
height: 100%;
}
@media only screen and (min-width: 30em) {
@ -112,6 +117,12 @@ LAYOUT
.wx24-metrics {
width: 24rem;
}
.wx-table-a {
width: 30%;
}
.wx-table-b {
width: 20%;
}
.hx-try-user {
height: 24rem;
}
@ -123,6 +134,9 @@ LAYOUT
.wx24-metrics {
width: 100%;
}
.wx-table-b {
width: 25%;
}
.hx-compare-c,
.hx-compare-d {
height: 50rem;
@ -130,6 +144,9 @@ LAYOUT
.hx-metrics {
height: 132rem;
}
.hx-difference {
height: 33rem;
}
}
/* Margins an paddings */
@ -296,7 +313,14 @@ i {
.inner-shaddow {
box-shadow: inset 0px 0px 4px 0px rgba(0,0,0,0.75);
}
@media only screen and (max-width: 45em) {
.hscroll {
overflow-x: auto;
}
.hscroll table {
width: 46rem;
}
}
/* ---------------------------------------------------
IMAGES

View File

@ -483,65 +483,165 @@
</div>
</div>
<!-- TABLE -->
<div class="w-100">
<div class="w-100 hx-compare-c dib cclr-bg-white-fade">
<div class="w-100 hx-difference dib cclr-bg-white-fade">
<div class="h-100" id="bg-pattern">
<p class="f25 lh-solid ma0 ml0 ml5-l mt5 mb4">
<em>
Make a difference
</em>
</p>
<div class="wx24-metrics center">
<p class="f25 lh-solid ma0 ml0 ml5-l mt5 mb4">
<em>
Make a difference
</em>
</p>
</div>
<!-- BOX -->
<div class="mh5">
<div class="w-100 dib br2 pa4 mb5 mb0-l shadow-4 cclr-fnt-black-mid bg-white">
<div class="mh0 mh5-l">
<div class="w-100 dib br0 br2-l pa4 mb5 mb0-l shadow-4 cclr-fnt-black-mid bg-white">
<table class="f7 tc collapse dt--fixed mb4">
<tbody>
<div class="hscroll">
<tr>
<td class="truncate pv2 pl2 pr1"></td>
<td class="truncate pv2 pl2 pr1 gray">Google Analytics</td>
<td class="truncate pv2 pl2 pr1 gray">Matomo</td>
<td class="truncate pv2 pl2 pr1 gray">Fathom</td>
<td class="truncate pv2 pl2 pr1">Offen</td>
</tr>
<table class="f7 tc collapse dt--fixed mb3">
<tbody>
<tr class="bg-near-white">
<td class="truncate pv2 pl2 pr1">Self host option available</td>
<td class="truncate pv2 pl2 pr1"></td>
<td class="truncate pv2 pl2 pr1"></td>
<td class="truncate pv2 pl2 pr1"></td>
<td class="truncate pv2 pl2 pr1"></td>
</tr>
<tr>
<td class="wx-table-a truncate pv2 pl2 pr1"></td>
<td class="wx-table-b truncate pv2 pl2 pr1 gray">Google Analytics</td>
<td class="wx-table-b truncate pv2 pl2 pr1 gray">Matomo On-Premise</td>
<td class="wx-table-b truncate pv2 pl2 pr1 gray">Fathom</td>
<td class="wx-table-b truncate pv2 pl2 pr1">Offen</td>
</tr>
</tbody>
</table>
<tr class="bg-near-white">
<td class="tl truncate pv2 pl2 pr1">Self host option available</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#CCCCCC"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#F7BF08"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#CCCCCC"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#F7BF08"/>
</svg>
</td>
</tr>
<tr>
<td class="tl truncate pv2 pl2 pr1">Open Source code</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#CCCCCC"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#F7BF08"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#CCCCCC"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#F7BF08"/>
</svg>
</td>
</tr>
<tr class="bg-near-white">
<td class="tl truncate pv2 pl2 pr1">Data can be exported</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#F7BF08"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#F7BF08"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#F7BF08"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#CCCCCC"/>
</svg>
</td>
</tr>
<tr>
<td class="tl truncate pv2 pl2 pr1">Data collection is opt in only</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#CCCCCC"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#CCCCCC"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#CCCCCC"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#F7BF08"/>
</svg>
</td>
</tr>
<tr class="bg-near-white">
<td class="tl truncate pv2 pl2 pr1">Users can manage own data</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#CCCCCC"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#CCCCCC"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#CCCCCC"/>
</svg>
</td>
<td class="truncate pv2 pl2 pr1">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="7.5" fill="#F7BF08"/>
</svg>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>