Skip to content

Commit 2442382

Browse files
committed
global css cleanup
1 parent 67858b5 commit 2442382

4 files changed

Lines changed: 3 additions & 13 deletions

File tree

app/assets/main.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,6 @@ body {
190190
outline: auto;
191191
}
192192

193-
input:focus {
194-
border: 1px solid var(--accent);
195-
}
196-
197-
input[type='text']:focus-visible,
198-
input[type='search']:focus-visible {
199-
outline: 2px solid color-mix(in oklch, var(--accent) 70%, transparent);
200-
}
201-
202193
/* Reset dd margin (browser default is margin-left: 40px) */
203194
dd {
204195
margin: 0;

app/components/Package/Dependencies.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const sortedOptionalDependencies = computed(() => {
7575
id="dependencies"
7676
:title="$t('package.dependencies.title', { count: sortedDependencies.length })"
7777
>
78-
<ul class="space-y-1 list-none m-0" :aria-label="$t('package.dependencies.list_label')">
78+
<ul class="space-y-1 list-none m-0 px-1" :aria-label="$t('package.dependencies.list_label')">
7979
<li
8080
v-for="[dep, version] in sortedDependencies.slice(0, depsExpanded ? undefined : 10)"
8181
:key="dep"
@@ -133,7 +133,7 @@ const sortedOptionalDependencies = computed(() => {
133133
<button
134134
v-if="sortedDependencies.length > 10 && !depsExpanded"
135135
type="button"
136-
class="my-2 ms-1 font-mono text-xs text-fg-muted hover:text-fg transition-colors duration-200 rounded focus-visible:outline-accent/70"
136+
class="my-2 ms-1 font-mono text-xs text-fg-muted hover:text-fg transition-colors duration-200 rounded focus-visible:(outline-2 outline-offset-2 outline-accent)"
137137
@click="depsExpanded = true"
138138
>
139139
{{

app/components/Package/WeeklyDownloadStats.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ const config = computed(() => {
214214
<ButtonBase
215215
type="button"
216216
@click="openChartModal"
217-
class="text-fg-subtle hover:text-fg transition-colors duration-200 inline-flex items-center justify-center min-w-6 min-h-6 -m-1 p-1 focus-visible:outline-accent/70 rounded"
218217
:title="$t('package.downloads.analyze')"
219218
classicon="i-carbon:data-analytics"
220219
>

app/pages/package/[[org]]/[name].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ onKeyStroke(
11471147
<div class="area-sidebar">
11481148
<!-- Sidebar -->
11491149
<div
1150-
class="sidebar-scroll sticky top-34 space-y-6 sm:space-y-8 min-w-0 overflow-y-auto pe-2.5 lg:(max-h-[calc(100dvh-8.5rem)] overscroll-contain) xl:(top-22 pt-2 max-h-[calc(100dvh-6rem)]) pt-1"
1150+
class="sidebar-scroll sticky top-34 space-y-6 sm:space-y-8 min-w-0 overflow-y-auto pe-2.5 lg:(max-h-[calc(100dvh-8.5rem)] overscroll-contain) xl:(top-22 pt-2 max-h-[calc(100dvh-6rem)]) pt-1 outline-none"
11511151
>
11521152
<!-- Team access controls (for scoped packages when connected) -->
11531153
<ClientOnly>

0 commit comments

Comments
 (0)