Merge pull request #464 from getmaxun/ui-text

fix: remove blue auto highlight in text fields
This commit is contained in:
Karishma Shukla
2025-03-04 19:48:27 +05:30
committed by GitHub

View File

@@ -11,7 +11,19 @@ body {
padding: 0; padding: 0;
scrollbar-gutter: stable; scrollbar-gutter: stable;
overflow-y: auto; overflow-y: auto;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
-webkit-box-shadow: 0 0 0 1000px transparent inset !important;
transition: background-color 5000s ease-in-out 0s !important;
} }
html { html {
@@ -22,6 +34,7 @@ html {
a { a {
color: #ff00c3; color: #ff00c3;
&:hover { &:hover {
color: #ff00c3; color: #ff00c3;
} }
@@ -29,7 +42,7 @@ a {
code { code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace; monospace;
color: #ff00c3; color: #ff00c3;
} }
@@ -44,7 +57,6 @@ code {
align-items: center; align-items: center;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
} }
#browser-content { #browser-content {
@@ -52,13 +64,10 @@ code {
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
transform: scale(1); /* Ensure no scaling */ transform: scale(1);
transform-origin: top left; /* Keep the position fixed */ /* Ensure no scaling */
} transform-origin: top left;
/* Keep the position fixed */
#browser {
} }
#browser-window { #browser-window {
@@ -163,4 +172,4 @@ code {
height: calc(100vh - 2rem); height: calc(100vh - 2rem);
margin: 1rem 55rem; margin: 1rem 55rem;
} }
} }