171 lines
2.1 KiB
CSS
171 lines
2.1 KiB
CSS
body {
|
|
margin: 0;
|
|
background: #101418;
|
|
color: #f2f4f6;
|
|
font: 16px/1.4 system-ui, sans-serif;
|
|
}
|
|
|
|
main {
|
|
padding: 24px;
|
|
}
|
|
|
|
.status {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin: 0 0 16px;
|
|
}
|
|
|
|
#connection {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#gear {
|
|
width: 32px;
|
|
height: 32px;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: #f2f4f6;
|
|
font-size: 20px;
|
|
line-height: 32px;
|
|
}
|
|
|
|
#protocol {
|
|
min-height: 1.4em;
|
|
margin: 0;
|
|
}
|
|
|
|
#detail {
|
|
min-height: 1.4em;
|
|
font-size: 20px;
|
|
}
|
|
|
|
#ptt {
|
|
margin-top: 24px;
|
|
width: 100%;
|
|
height: 64px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: #2d6a4f;
|
|
color: white;
|
|
font: inherit;
|
|
font-size: 18px;
|
|
}
|
|
|
|
#ptt.down {
|
|
background: #9b2226;
|
|
}
|
|
|
|
#ptt:disabled {
|
|
background: #3a4248;
|
|
color: #9aa3ab;
|
|
}
|
|
|
|
#config {
|
|
position: fixed;
|
|
inset: 0;
|
|
box-sizing: border-box;
|
|
padding: 16px;
|
|
background: rgba(16, 20, 24, 0.82);
|
|
}
|
|
|
|
#config[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
#config form {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 16px;
|
|
border: 1px solid #2c3640;
|
|
border-radius: 8px;
|
|
background: #101418;
|
|
}
|
|
|
|
#config h1 {
|
|
margin: 0 0 12px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
#config-error {
|
|
margin: 0 0 12px;
|
|
color: #f4a261;
|
|
}
|
|
|
|
#config label {
|
|
display: block;
|
|
margin: 0 0 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#config input {
|
|
box-sizing: border-box;
|
|
display: block;
|
|
width: 100%;
|
|
margin-top: 4px;
|
|
padding: 8px;
|
|
border: 1px solid #2c3640;
|
|
border-radius: 6px;
|
|
background: #0c1014;
|
|
color: inherit;
|
|
font: inherit;
|
|
}
|
|
|
|
#config .check input {
|
|
display: inline-block;
|
|
width: auto;
|
|
margin: 0 0 0 8px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.secret {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.secret input {
|
|
flex: 1;
|
|
}
|
|
|
|
#auth-toggle,
|
|
#cancel,
|
|
#save {
|
|
height: 40px;
|
|
margin: 0;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
font: inherit;
|
|
}
|
|
|
|
#auth-toggle {
|
|
width: 72px;
|
|
background: #243038;
|
|
color: inherit;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.actions button {
|
|
flex: 1;
|
|
}
|
|
|
|
#cancel {
|
|
background: #243038;
|
|
color: inherit;
|
|
}
|
|
|
|
#save {
|
|
background: #2d6a4f;
|
|
color: white;
|
|
}
|