The default stays v2. A reflector that refuses that version and names the other gets one session of it, then the station announces the configured protocol again. Co-authored-by: Cursor <cursoragent@cursor.com>
202 lines
2.6 KiB
CSS
202 lines
2.6 KiB
CSS
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
background: #101418;
|
|
color: #f2f4f6;
|
|
font: 16px/1.4 system-ui, sans-serif;
|
|
}
|
|
|
|
main {
|
|
box-sizing: border-box;
|
|
height: 100%;
|
|
padding: 24px;
|
|
overflow: auto;
|
|
}
|
|
|
|
body.config-open main {
|
|
display: none;
|
|
}
|
|
|
|
.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 {
|
|
box-sizing: border-box;
|
|
height: 100%;
|
|
padding: 16px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
background: #101418;
|
|
scrollbar-color: #8b98a3 #0c1014;
|
|
scrollbar-width: auto;
|
|
}
|
|
|
|
#config::-webkit-scrollbar {
|
|
width: 12px;
|
|
}
|
|
|
|
#config::-webkit-scrollbar-track {
|
|
background: #0c1014;
|
|
}
|
|
|
|
#config::-webkit-scrollbar-thumb {
|
|
background: #8b98a3;
|
|
border: 2px solid #0c1014;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
#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,
|
|
#config select {
|
|
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;
|
|
}
|