codexmobile-relay / client /src /styles /03-styles.css
Codex
deploy: CodexMobile Relay
90f0300
Raw
History Blame Contribute Delete
4.62 kB
.thread-rename:active {
background: rgba(231, 234, 231, 0.96);
}
.thread-delete:active {
background: rgba(255, 225, 225, 0.96);
}
[data-theme="dark"] .thread-rename {
color: #d4d4d8;
background: #262626;
border-color: #343434;
}
[data-theme="dark"] .thread-delete {
color: var(--danger);
background: rgba(255, 107, 98, 0.12);
border-color: rgba(255, 107, 98, 0.24);
}
[data-theme="dark"] .thread-rename:active {
background: #303030;
}
[data-theme="dark"] .thread-delete:active {
background: rgba(255, 107, 98, 0.18);
}
.thread-row span {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 13px;
line-height: 18px;
}
.thread-row small,
.thread-empty {
color: var(--muted);
font-size: 11px;
line-height: 16px;
}
.thread-empty {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 34px;
padding: 5px 9px;
}
.settings-section {
margin-top: auto;
}
.drawer-controls {
flex: 0 0 auto;
display: grid;
gap: 8px;
margin-top: 0;
margin-bottom: 0;
padding-top: 10px;
border-top: 1px solid rgba(222, 223, 220, 0.82);
}
[data-theme="dark"] .drawer-controls {
border-top-color: rgba(48, 48, 48, 0.9);
}
.control-row,
.settings-entry {
min-height: 44px;
padding: 4px 8px;
border-radius: 8px;
background: #f5f7f4;
}
[data-theme="dark"] .control-row,
[data-theme="dark"] .settings-entry {
background: #262626;
}
.control-row {
justify-content: space-between;
}
.sync-row {
display: grid;
grid-template-columns: minmax(0, 1fr) 74px 44px;
align-items: center;
gap: 0;
padding: 4px;
}
.sync-row > span:first-child {
padding: 0 8px;
}
.control-row span,
.settings-entry span {
display: inline-flex;
align-items: center;
gap: 10px;
min-width: 0;
font-size: 14px;
font-weight: 650;
}
.sync-row .sync-spacer {
display: block;
width: 44px;
min-width: 44px;
height: 44px;
}
.settings-entry {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
border: 0;
color: var(--text);
text-align: left;
}
.setting-row {
justify-content: space-between;
padding: 10px;
}
.setting-row span {
display: inline-flex;
align-items: center;
gap: 10px;
}
.setting-row input {
width: 44px;
height: 26px;
appearance: none;
border-radius: 999px;
background: #c9cdc8;
position: relative;
transition: background 160ms ease;
}
.setting-row input::before {
content: "";
position: absolute;
top: 3px;
left: 3px;
width: 20px;
height: 20px;
border-radius: 50%;
background: #fff;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
transition: transform 160ms ease;
}
.setting-row input:checked {
background: var(--green);
}
.setting-row input:checked::before {
transform: translateX(18px);
}
.sync-button {
width: 70px;
flex: 0 0 auto;
display: inline-flex;
align-items: center;
gap: 6px;
justify-content: center;
min-width: 56px;
min-height: 44px;
margin-top: 0;
padding: 0 10px;
border: 0;
border-radius: 8px;
color: var(--text);
background: #e8ece7;
font-size: 12px;
font-weight: 650;
}
.sync-button:disabled {
opacity: 0.64;
}
[data-theme="dark"] .sync-button {
background: #303030;
}
.quota-widget {
margin-top: 0;
}
.quota-row {
display: grid;
grid-template-columns: minmax(0, 1fr) 74px 44px;
align-items: center;
min-height: 52px;
padding: 4px;
border-radius: 8px;
background: #f5f7f4;
}
[data-theme="dark"] .quota-row {
background: #262626;
}
.quota-main,
.quota-refresh,
.quota-toggle,
.quota-error,
.quota-account-message {
border: 0;
font: inherit;
}
.quota-main {
min-width: 0;
display: flex;
align-items: center;
gap: 8px;
min-height: 44px;
padding: 0 8px;
color: var(--text);
background: transparent;
text-align: left;
}
.quota-title {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 14px;
font-weight: 650;
}
.quota-kind {
flex: 0 0 auto;
color: #69717b;
font-size: 12px;
font-weight: 650;
}
[data-theme="dark"] .quota-kind {
color: var(--muted);
}
.quota-refresh {
width: 70px;
min-height: 44px;
min-width: 70px;
padding: 0 9px;
border-radius: 8px;
color: #20252b;
background: #e8ece7;
font-size: 12px;
font-weight: 650;
white-space: nowrap;
}
[data-theme="dark"] .quota-refresh {
color: var(--text);
background: #303030;
}
.quota-refresh:disabled {
opacity: 0.62;
}
.quota-toggle {
display: inline-grid;
place-items: center;
width: 44px;
min-height: 44px;
color: #818993;
background: transparent;
}