codexmobile-relay / client /src /styles /07-styles.css
Codex
deploy: CodexMobile Relay
90f0300
Raw
History Blame Contribute Delete
4.95 kB
.attachment-chip small {
color: var(--muted);
font-size: 10px;
}
.attachment-chip button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border: 0;
border-radius: 50%;
color: #737a83;
background: transparent;
}
.composer textarea {
display: block;
width: 100%;
min-height: 45px;
max-height: 132px;
padding: 14px 14px 6px;
resize: none;
border: 0;
outline: 0;
color: var(--text);
background: transparent;
line-height: 1.45;
font-size: 16px;
}
.composer textarea::placeholder {
color: #b1b5ba;
}
.composer-controls {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
min-width: 0;
padding: 5px 8px 8px;
}
.control-left,
.control-right {
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
}
.control-left {
flex: 1 1 auto;
}
.control-right {
flex: 0 1 auto;
justify-content: flex-end;
}
.permission-pill,
.model-select {
display: inline-flex;
align-items: center;
flex: 0 1 auto;
gap: 3px;
min-height: 44px;
border: 0;
color: #60666e;
background: transparent;
white-space: nowrap;
flex: 0 1 auto;
}
.permission-pill {
max-width: 118px;
overflow: hidden;
}
.model-select {
max-width: 128px;
overflow: hidden;
text-overflow: ellipsis;
}
.dialog-button {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
gap: 4px;
min-height: 44px;
padding: 0 9px;
border: 0;
border-radius: 999px;
color: #174eb8;
background: var(--accent-soft);
font-size: 13px;
line-height: 16px;
white-space: nowrap;
}
.dialog-button.is-active {
color: #fff;
background: var(--accent);
}
.voice-button,
.send-button {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 44px;
width: 44px;
min-width: 44px;
height: 44px;
border: 0;
border-radius: 50%;
}
.voice-button {
color: #60666e;
background: #f0f1ee;
}
.voice-button.is-listening,
.voice-button.is-recording {
color: #fff;
background: var(--green);
box-shadow: 0 0 0 4px rgba(21, 164, 107, 0.14);
}
.voice-button.is-transcribing,
.voice-button.is-sending {
color: #fff;
background: #4b5563;
}
.voice-button:disabled {
opacity: 0.74;
}
.send-button {
color: #fff;
background: #1f2328;
}
.send-button:disabled {
opacity: 0.38;
}
.send-button.is-running {
background: var(--danger);
}
.voice-popover {
position: absolute;
right: 58px;
bottom: calc(100% + 8px);
z-index: 36;
display: inline-flex;
align-items: center;
gap: 7px;
min-height: 34px;
padding: 7px 10px;
border: 1px solid rgba(21, 164, 107, 0.16);
border-radius: 10px;
color: #0f7a50;
background: rgba(255, 255, 255, 0.97);
box-shadow: 0 8px 28px rgba(20, 24, 31, 0.12);
font-size: 12px;
}
.voice-popover.is-error {
border-color: rgba(194, 65, 58, 0.18);
color: var(--danger);
}
.voice-dialog-backdrop {
position: fixed;
inset: 0;
z-index: 80;
display: flex;
align-items: flex-end;
justify-content: center;
padding: 16px 12px calc(env(safe-area-inset-bottom, 0px) + 18px);
background: rgba(17, 24, 39, 0.28);
}
.voice-dialog-panel {
width: min(100%, 390px);
padding: 12px;
border: 1px solid rgba(222, 223, 220, 0.92);
border-radius: 18px;
background: rgba(255, 255, 255, 0.98);
box-shadow: 0 18px 52px rgba(20, 24, 31, 0.2);
}
.voice-dialog-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-height: 44px;
}
.voice-dialog-header span {
display: inline-flex;
align-items: center;
gap: 7px;
min-width: 0;
color: var(--text);
font-weight: 650;
font-size: 14px;
}
.voice-dialog-header button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border: 0;
border-radius: 50%;
color: #69717c;
background: #f0f1ee;
}
.voice-dialog-orb {
display: grid;
place-items: center;
width: 76px;
height: 76px;
margin: 18px auto 10px;
border-radius: 50%;
color: #174eb8;
background: var(--accent-soft);
}
.voice-dialog-orb.is-listening {
color: #fff;
background: var(--green);
box-shadow: 0 0 0 9px rgba(21, 164, 107, 0.14);
}
.voice-dialog-orb.is-speaking {
color: #fff;
background: var(--accent);
}
.voice-dialog-orb.is-error {
color: #fff;
background: var(--danger);
}
.voice-dialog-status {
min-height: 22px;
color: #4b5563;
text-align: center;
font-size: 14px;
line-height: 20px;
}
.voice-dialog-status.is-error {
color: var(--danger);
}
.voice-dialog-meta {
margin-top: 4px;
color: #747b84;
text-align: center;
font-size: 12px;
line-height: 16px;
overflow-wrap: anywhere;
}
.voice-dialog-line {
max-height: 84px;
margin: 10px 0 0;
padding: 9px 10px;
overflow: auto;
border-radius: 10px;
background: #f5f7f4;
color: #3f4650;
font-size: 13px;
line-height: 18px;
}