Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 44 additions & 2 deletions console/apps/web-ui/src/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* CSS Reset for proper viewport handling */
html, body {
html,
body {
margin: 0;
padding: 0;
height: 100%;
Expand All @@ -10,7 +11,9 @@ html {
box-sizing: border-box;
}

*, *::before, *::after {
*,
*::before,
*::after {
box-sizing: inherit;
}

Expand Down Expand Up @@ -45,3 +48,42 @@ html[data-color-scheme="dark"] {
.lucide:not(.lucide-logo) * {
vector-effect: non-scaling-stroke;
}

:root {
--am-autofill-surface: #f7f6f5;
}

html[data-color-scheme="dark"] {
--am-autofill-surface: #26211f;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 1000px var(--am-autofill-surface) inset !important;
box-shadow: 0 0 0 1000px var(--am-autofill-surface) inset !important;
-webkit-text-fill-color: var(--oxygen-palette-text-primary) !important;
caret-color: var(--oxygen-palette-text-primary);
/* Chrome animates the autofill background in on focus; parking the
transition far in the future keeps it from flashing blue. */
transition: background-color 5000s ease-in-out 0s;
}

/* Chrome also forces its own font onto the first line of an autofilled
field, which breaks the theme typography. */
input:-webkit-autofill::first-line,
textarea:-webkit-autofill::first-line,
select:-webkit-autofill::first-line {
font-family: inherit;
font-size: inherit;
font-weight: inherit;
}