229 lines
4 KiB
CSS
229 lines
4 KiB
CSS
/* Stylesheet for all artifactview pages */
|
|
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
--color-secondary: #dedede;
|
|
--color-text: #000;
|
|
--color-text-light: #888;
|
|
--color-border: #ccc;
|
|
--color-border2: #bbb;
|
|
--color-btn: #006ed3;
|
|
--color-a: #006ed3;
|
|
--color-a-hov: #319cff;
|
|
}
|
|
body {
|
|
font-family: sans-serif;
|
|
text-rendering: optimizespeed;
|
|
background-color: #f5f5f5;
|
|
color: var(--color-text);
|
|
}
|
|
a {
|
|
color: var(--color-a);
|
|
text-decoration: none;
|
|
}
|
|
a:hover, a.selected {
|
|
color: var(--color-a-hov);
|
|
}
|
|
header, #summary, .content {
|
|
padding: 0 20px;
|
|
}
|
|
header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 1em;
|
|
padding-top: 25px;
|
|
padding-bottom: 15px;
|
|
background-color: #f2f2f2;
|
|
}
|
|
header h1 {
|
|
font-size: 20px;
|
|
font-weight: normal;
|
|
white-space: nowrap;
|
|
overflow-x: hidden;
|
|
text-overflow: ellipsis;
|
|
color: #999;
|
|
}
|
|
header h1 a {
|
|
color: var(--color-text);
|
|
}
|
|
header h1 .sep {
|
|
margin: 0 0.2em;
|
|
}
|
|
footer a:hover,
|
|
header h1 a:hover,
|
|
a.selected {
|
|
text-decoration: underline;
|
|
}
|
|
main {
|
|
display: block;
|
|
}
|
|
#summary, #summary > div {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1em;
|
|
}
|
|
.metadata {
|
|
font-size: 12px;
|
|
font-family: Verdana, sans-serif;
|
|
border-bottom: 1px solid #9c9c9c;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
}
|
|
#filter {
|
|
padding: 4px;
|
|
border: 1px solid #ccc;
|
|
}
|
|
#list {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
#list tr {
|
|
border-bottom: 1px dashed var(--color-border2);
|
|
}
|
|
#list tbody tr:hover {
|
|
background-color: #ffffec;
|
|
}
|
|
#list td,
|
|
#list th {
|
|
text-align: left;
|
|
padding: 10px 0;
|
|
}
|
|
#list th {
|
|
padding-top: 15px;
|
|
padding-bottom: 15px;
|
|
font-size: 16px;
|
|
white-space: nowrap;
|
|
}
|
|
#list th a {
|
|
color: var(--color-text);
|
|
}
|
|
#list th svg {
|
|
vertical-align: middle;
|
|
}
|
|
#list td {
|
|
white-space: nowrap;
|
|
font-size: 14px;
|
|
}
|
|
#list td:nth-child(1),
|
|
#list th:nth-child(1) {
|
|
padding-left: 20px;
|
|
width: 80%;
|
|
}
|
|
#list td:nth-child(2),
|
|
#list th:nth-child(2) {
|
|
text-align: right;
|
|
padding: 0 20px;
|
|
}
|
|
#list td:nth-child(3),
|
|
#list th:nth-child(3) {
|
|
text-align: right;
|
|
padding-right: 20px;
|
|
}
|
|
#list td:nth-child(1) svg {
|
|
position: absolute;
|
|
}
|
|
#list td .goup,
|
|
#list td .name {
|
|
margin-left: 1.75em;
|
|
word-break: break-all;
|
|
overflow-wrap: break-word;
|
|
white-space: pre-wrap;
|
|
}
|
|
.query-input {
|
|
color: inherit;
|
|
font-size: 16px;
|
|
border: 1px solid var(--color-border);
|
|
padding: 4px 8px;
|
|
}
|
|
button {
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
background-color: unset;
|
|
color: unset;
|
|
}
|
|
.btn {
|
|
background-color: var(--color-btn);
|
|
padding: 4px 8px;
|
|
}
|
|
button:hover {
|
|
filter: brightness(80%);
|
|
}
|
|
button:active {
|
|
filter: brightness(70%);
|
|
}
|
|
footer {
|
|
padding: 40px 20px;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
p {
|
|
margin: 16px 0;
|
|
}
|
|
.card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 90%;
|
|
max-width: 500px;
|
|
align-items: center;
|
|
}
|
|
.input-row {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
.center {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
.light {
|
|
color: var(--color-text-light);
|
|
}
|
|
@media (max-width: 600px) {
|
|
td:nth-child(1) {
|
|
width: auto;
|
|
}
|
|
td:nth-child(2),
|
|
th:nth-child(2) {
|
|
display: none;
|
|
}
|
|
#filter {
|
|
max-width: 100px;
|
|
}
|
|
}
|
|
.expired {
|
|
filter: grayscale(100%);
|
|
}
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
* {
|
|
--color-secondary: #082437;
|
|
--color-text: #ddd;
|
|
--color-border: #212121;
|
|
--color-border2: #333;
|
|
--color-a: #009dff;
|
|
--color-a-hov: #62b2fd;
|
|
}
|
|
body {
|
|
background-color: #101010;
|
|
}
|
|
header {
|
|
background-color: #151515;
|
|
}
|
|
.query-input {
|
|
background-color: #151515;
|
|
}
|
|
#list tbody tr:hover {
|
|
background-color: #252525;
|
|
}
|
|
#filter {
|
|
background-color: #151515;
|
|
color: #ffffff;
|
|
border: 1px solid #212121;
|
|
}
|
|
.metadata {
|
|
border-bottom: 1px solid #212121;
|
|
}
|
|
}
|