mirror of
https://github.com/arx-research/libhalo.git
synced 2026-01-11 06:08:01 -05:00
178 lines
2.7 KiB
CSS
178 lines
2.7 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
line-height: 1.6;
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
font-size: 14px;
|
|
color: #0c0c0c;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
background: #f2f2f2;
|
|
}
|
|
|
|
input,
|
|
button,
|
|
select,
|
|
textarea {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
-ms-appearance: none;
|
|
-o-appearance: none;
|
|
border: none;
|
|
background: transparent;
|
|
appearance: none;
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.container {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
max-width: 500px;
|
|
width: calc(100% - 40px);
|
|
width: 100%;
|
|
}
|
|
|
|
.container-lg {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
max-width: 1000px;
|
|
width: calc(100% - 40px);
|
|
width: 100%;
|
|
}
|
|
|
|
.box {
|
|
background: #fcfcfc;
|
|
border-radius: 8px;
|
|
box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.1);
|
|
max-height: calc(100vh - 40px);
|
|
overflow-y: auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
svg {
|
|
max-width: 50px;
|
|
display: block;
|
|
margin: 20px auto 0;
|
|
}
|
|
|
|
.box h1 {
|
|
font-size: 21px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.box p + p {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
.container {
|
|
width: calc(100% - 80px);
|
|
}
|
|
|
|
.box {
|
|
padding: 32px;
|
|
}
|
|
}
|
|
|
|
.log-box {
|
|
background: #ededed;
|
|
border: 1px solid #e3e3e3;
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
font-family: monospace;
|
|
font-size: 14px;
|
|
margin-top: 20px;
|
|
max-height: 300px;
|
|
overflow: auto;
|
|
text-wrap: wrap;
|
|
}
|
|
|
|
.button {
|
|
line-height: 44px;
|
|
border-radius: 4px;
|
|
padding: 0 24px;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
font-size: 15px;
|
|
transition: 0.2s background-color, 0.2s opacity;
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.button--success {
|
|
background: #0c0c0c;
|
|
color: #f2f2f2;
|
|
}
|
|
|
|
.button--success:hover {
|
|
background: #262626;
|
|
color: #f2f2f2;
|
|
}
|
|
|
|
.button--danger {
|
|
background: #e83030;
|
|
color: #f2f2f2;
|
|
}
|
|
|
|
.button--danger:hover {
|
|
background: #fa4141;
|
|
color: #f2f2f2;
|
|
}
|
|
|
|
.button:disabled {
|
|
opacity: 0.5;
|
|
cursor: default;
|
|
pointer-events: none;
|
|
transition: 0.2s opacity;
|
|
}
|
|
|
|
.flex-buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.flex-buttons .button {
|
|
flex: 1;
|
|
}
|
|
|
|
.margin-top-20px {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
td, th {
|
|
border: 1px solid #dddddd;
|
|
text-align: left;
|
|
padding: 8px;
|
|
}
|
|
|
|
tr:nth-child(even) {
|
|
background-color: #dddddd;
|
|
}
|