Skip to content

Commit 4912dd4

Browse files
committed
fix: input rings
1 parent 797e0b1 commit 4912dd4

6 files changed

Lines changed: 5 additions & 9 deletions

File tree

app/assets/main.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,6 @@ select:focus-visible {
222222
border-radius: 4px;
223223
}
224224

225-
input[type='text']:focus-visible {
226-
outline: 2px solid var(--accent);
227-
}
228-
229225
/* Selection */
230226
::selection {
231227
background-color: var(--fg-muted);

app/components/Header/SearchBox.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ defineExpose({ focus })
122122
name="q"
123123
:placeholder="$t('search.placeholder')"
124124
v-bind="noCorrect"
125-
class="w-full min-w-25 bg-bg-subtle border border-border rounded-md ps-7 pe-3 py-1.5 font-mono text-sm text-fg placeholder:text-fg-subtle transition-border-color duration-300 motion-reduce:transition-none focus:border-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/70"
125+
class="w-full min-w-25 bg-bg-subtle border border-border rounded-md ps-7 pe-3 py-1.5 font-mono text-sm text-fg placeholder:text-fg-subtle transition-border-color duration-300 motion-reduce:transition-none focus:border-accent focus-visible:(outline-2 outline-accent/70)"
126126
@focus="handleSearchFocus"
127127
@blur="handleSearchBlur"
128128
/>

app/components/Org/MembersPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ watch(lastExecutionTime, () => {
324324
name="members-search"
325325
:placeholder="$t('org.members.filter_placeholder')"
326326
v-bind="noCorrect"
327-
class="w-full ps-7 pe-2 py-1.5 font-mono text-sm bg-bg-subtle border border-border rounded text-fg placeholder:text-fg-subtle transition-colors duration-200 focus:border-border-hover"
327+
class="w-full ps-7 pe-2 py-1.5 font-mono text-sm bg-bg-subtle border border-border rounded text-fg placeholder:text-fg-subtle transition-colors duration-200 focus:border-accent focus-visible:(outline-2 outline-accent/70)"
328328
/>
329329
</div>
330330
<div

app/components/Org/TeamsPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ watch(lastExecutionTime, () => {
294294
name="teams-search"
295295
:placeholder="$t('org.teams.filter_placeholder')"
296296
v-bind="noCorrect"
297-
class="w-full ps-7 pe-2 py-1.5 font-mono text-sm bg-bg-subtle border border-border rounded text-fg placeholder:text-fg-subtle transition-colors duration-200 focus:border-border-hover focus-visible:outline-accent/70"
297+
class="w-full ps-7 pe-2 py-1.5 font-mono text-sm bg-bg-subtle border border-border rounded text-fg placeholder:text-fg-subtle transition-colors duration-200 focus:border-accent focus-visible:(outline-2 outline-accent/70)"
298298
/>
299299
</div>
300300
<div

app/components/Package/ListControls.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const showFilteredCount = computed(() => {
6767
type="search"
6868
:placeholder="placeholder ?? $t('package.list.filter_placeholder')"
6969
v-bind="noCorrect"
70-
class="w-full bg-bg-subtle border border-border rounded-lg ps-10 pe-4 py-2 font-mono text-sm text-fg placeholder:text-fg-subtle transition-colors duration-200 focus:(border-border-hover outline-none)"
70+
class="w-full bg-bg-subtle border border-border rounded-lg ps-10 pe-4 py-2 font-mono text-sm text-fg placeholder:text-fg-subtle transition-colors duration-200 focus:border-accent focus-visible:(outline-2 outline-accent/70)"
7171
/>
7272
</div>
7373

app/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ defineOgImageComponent('Default', {
107107
autofocus
108108
:placeholder="$t('search.placeholder')"
109109
v-bind="noCorrect"
110-
class="w-full bg-bg-subtle border border-border rounded-lg ps-8 pe-24 py-4 font-mono text-base text-fg placeholder:text-fg-subtle transition-border-color duration-300 focus:border-accent"
110+
class="w-full bg-bg-subtle border border-border rounded-lg ps-8 pe-24 py-4 font-mono text-base text-fg placeholder:text-fg-subtle transition-border-color duration-300 focus:border-accent focus-visible:(outline-2 outline-accent/70)"
111111
@input="handleInput"
112112
/>
113113

0 commit comments

Comments
 (0)