Skip to content

Commit 968e9f3

Browse files
committed
fix: input rings
1 parent b4746f1 commit 968e9f3

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
@@ -230,10 +230,6 @@ select:focus-visible {
230230
border-radius: 4px;
231231
}
232232

233-
input[type='text']:focus-visible {
234-
outline: 2px solid var(--accent);
235-
}
236-
237233
/* Selection */
238234
::selection {
239235
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
@@ -102,7 +102,7 @@ defineOgImageComponent('Default', {
102102
autofocus
103103
:placeholder="$t('search.placeholder')"
104104
v-bind="noCorrect"
105-
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"
105+
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)"
106106
@input="handleInput"
107107
/>
108108

0 commit comments

Comments
 (0)