Files
codex-proxy-rs/web/src/styles/base.css
T
2026-06-15 23:31:38 +08:00

81 lines
1.5 KiB
CSS

* {
box-sizing: border-box;
}
html {
min-width: 360px;
background: var(--cp-bg-page);
color: var(--cp-text-primary);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
min-height: 100vh;
margin: 0;
background: var(--cp-bg-page);
}
input,
select,
textarea {
font: inherit;
}
button {
font-family: inherit;
cursor: pointer;
}
button:disabled {
cursor: not-allowed;
}
#app {
min-height: 100vh;
}
.cp-scrollbar {
scrollbar-color: var(--cp-scrollbar-thumb) transparent;
scrollbar-width: thin;
}
.cp-scrollbar::-webkit-scrollbar {
width: 10px;
height: 10px;
}
.cp-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.cp-scrollbar::-webkit-scrollbar-thumb {
min-height: 56px;
border: 3px solid transparent;
border-radius: 999px;
background-color: var(--cp-scrollbar-thumb);
background-clip: content-box;
}
.cp-scrollbar::-webkit-scrollbar-thumb:hover {
background-color: var(--cp-scrollbar-thumb-hover);
}
.cp-scrollbar::-webkit-scrollbar-corner {
background: transparent;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
}
}