mirror of
https://codeberg.org/icewind/ptouch-api.git
synced 2026-06-03 10:54:07 +02:00
96 lines
No EOL
1.5 KiB
CSS
96 lines
No EOL
1.5 KiB
CSS
:root {
|
|
--background-color: #ffffff;
|
|
--font-color: #000000;
|
|
--margin-color: #888;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--background-color: #1e1e1e;
|
|
--font-color: #fff;
|
|
color-scheme: dark;
|
|
}
|
|
}
|
|
|
|
|
|
@media (max-width: 450px) {
|
|
#elements {
|
|
thead {
|
|
display: none !important;
|
|
}
|
|
td {
|
|
display: inline-block !important;
|
|
width: auto;
|
|
}
|
|
tbody td:first-child {
|
|
width: 95%;
|
|
input[type="text"] {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
body {
|
|
margin: 1em auto;
|
|
max-width: 800px;
|
|
}
|
|
|
|
body, input {
|
|
background: var(--background-color);
|
|
color: var(--font-color);
|
|
}
|
|
|
|
input {
|
|
line-height: 24px;
|
|
}
|
|
|
|
#elements {
|
|
tr {
|
|
line-height: 42px;
|
|
}
|
|
|
|
|
|
td {
|
|
padding: 0 5px;
|
|
}
|
|
|
|
.pos input, .size input {
|
|
width: 60px;
|
|
}
|
|
|
|
.image {
|
|
input[type="file"] {
|
|
opacity: 0;
|
|
width: 0;
|
|
}
|
|
label {
|
|
line-height: 32px;
|
|
padding: 0 12px;
|
|
margin: 5px 0;
|
|
border: 1px solid var(--font-color);
|
|
border-radius: 7px;
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
.preview {
|
|
img {
|
|
height: 42px;
|
|
width: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
#tape {
|
|
display: inline-block;
|
|
width: auto;
|
|
background: var(--margin-color);
|
|
}
|
|
|
|
#autoHelp {
|
|
display: none;
|
|
&.show {
|
|
display: inline;
|
|
}
|
|
} |