Răsfoiți Sursa

standardize focus style

Daniel Bohry 9 luni în urmă
părinte
comite
6017f5f02c
2 a modificat fișierele cu 4 adăugiri și 5 ștergeri
  1. 2 2
      src/routes/profile/+page.svelte
  2. 2 3
      src/routes/stocks/+page.svelte

+ 2 - 2
src/routes/profile/+page.svelte

@@ -36,8 +36,8 @@
 </script>
 
 <svelte:head>
-	<title>Login</title>
-	<meta name="description" content="Login page" />
+	<title>Profile</title>
+	<meta name="description" content="Profile" />
 </svelte:head>
 
 <div in:fade class="text-column">

+ 2 - 3
src/routes/stocks/+page.svelte

@@ -115,9 +115,8 @@
         transition: box-shadow 0.2s;
     }
 
-    .input-field:focus {
-        box-shadow: 0 0 0 2px #27ae60;
-        border-color: #27ae60;
+    input[type='text']:focus {
+        border-color: #007bff;
     }
 
     .result {