mirror of
https://github.com/pcvolkmer/onco-analytics-monitor.git
synced 2025-04-19 19:16:52 +00:00
chore: extract stylesheet into css file
This commit is contained in:
parent
b0eb783247
commit
b35f6972a6
98
src/main/resources/static/css/style.css
Normal file
98
src/main/resources/static/css/style.css
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
margin: 1em 0 6em 0;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.statistics table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
margin: 3em auto 0;
|
||||||
|
background-color: white;
|
||||||
|
|
||||||
|
font-size: smaller;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
td, th {
|
||||||
|
text-align: left;
|
||||||
|
padding: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr th {
|
||||||
|
background-color: #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr:nth-child(even) td {
|
||||||
|
background-color: #eee
|
||||||
|
}
|
||||||
|
|
||||||
|
tr > td:last-of-type {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
width: fit-content;
|
||||||
|
height: 100vh;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 1em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step {
|
||||||
|
display: inline-block;
|
||||||
|
width: fit-content;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step > .item {
|
||||||
|
display: inline-block;
|
||||||
|
min-width: 6em;
|
||||||
|
padding: .4em .4em 2em;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step .item:has(.statistics) {
|
||||||
|
width: 14em;
|
||||||
|
|
||||||
|
background: white;
|
||||||
|
border-radius: 2em 2em .4em .4em;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
box-shadow: 1px 1px 2px #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step:before, .step:after {
|
||||||
|
content: "";
|
||||||
|
margin: 2em 0;
|
||||||
|
width: 1em;
|
||||||
|
height: 2px;
|
||||||
|
background: black;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step:first-of-type:before, .step:last-of-type:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step .logo {
|
||||||
|
display: block;
|
||||||
|
width: 3em;
|
||||||
|
height: 3em;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step .description {
|
||||||
|
font-size: small;
|
||||||
|
font-weight: bold;
|
||||||
|
display: block;
|
||||||
|
text-align: center;
|
||||||
|
}
|
@ -3,113 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>onco-analytics-monitor</title>
|
<title>onco-analytics-monitor</title>
|
||||||
<style>
|
<link rel="stylesheet" th:href="@{/css/style.css}" />
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
}
|
|
||||||
|
|
||||||
header {
|
|
||||||
margin: 1em 0 6em 0;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.statistics table {
|
|
||||||
border-collapse: collapse;
|
|
||||||
margin: 3em auto 0;
|
|
||||||
background-color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
td, th {
|
|
||||||
text-align: left;
|
|
||||||
padding: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr {
|
|
||||||
border-collapse: collapse;
|
|
||||||
border-spacing: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr th {
|
|
||||||
background-color: #ccc;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:nth-child(even) td {
|
|
||||||
background-color: #eee
|
|
||||||
}
|
|
||||||
|
|
||||||
tr > td:last-of-type {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
width: fit-content;
|
|
||||||
height: 100vh;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 1em;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.step {
|
|
||||||
display: inline-block;
|
|
||||||
width: fit-content;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.step > .item {
|
|
||||||
display: inline-block;
|
|
||||||
min-width: 6em;
|
|
||||||
padding: .4em .4em 2em;
|
|
||||||
border: 1px solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.step .item:has(.statistics) {
|
|
||||||
width: 14em;
|
|
||||||
|
|
||||||
background: white;
|
|
||||||
border-radius: 6em 6em 1em 1em;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
box-shadow: 1px 1px 2px #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.step:before, .step:after {
|
|
||||||
content: "";
|
|
||||||
margin: 2em 0;
|
|
||||||
width: 1em;
|
|
||||||
height: 2px;
|
|
||||||
background: black;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.step:first-of-type:before, .step:last-of-type:after {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.step .logo {
|
|
||||||
display: block;
|
|
||||||
width: 3em;
|
|
||||||
height: 3em;
|
|
||||||
vertical-align: middle;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.step .description {
|
|
||||||
font-size: small;
|
|
||||||
font-weight: bold;
|
|
||||||
display: block;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.step > .statistics {
|
|
||||||
display: block;
|
|
||||||
vertical-align: middle;
|
|
||||||
font-family: monospace;
|
|
||||||
border: 1px solid gray;
|
|
||||||
border-left: none;
|
|
||||||
border-radius: 1em;
|
|
||||||
padding: 1em;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user