Skip to content

Commit

Permalink
Underline links on hover by default
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Feb 7, 2025
1 parent 4961396 commit 5dedf4d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/web_css/lib/src/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ a {
padding: 4px 12px;
}

&:hover {
text-decoration: underline;
}

.light-theme & {
&:hover {
filter: brightness(80%);
Expand Down
1 change: 1 addition & 0 deletions pkg/web_css/lib/src/_detail_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
border-bottom: 2px solid;
border-bottom-color: transparent;
cursor: pointer;
text-decoration: none;

&:hover {
border-bottom-color: var(--pub-detail_tab-underline-color);
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_css/lib/src/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@
padding: 10px 16px;
color: inherit;
font-weight: 600;
text-decoration: none;
}
}
}
Expand Down Expand Up @@ -448,6 +449,7 @@

a {
color: var(--pub-neutral-textColor);
text-decoration: none;
}

label {
Expand Down
1 change: 1 addition & 0 deletions pkg/web_css/lib/src/_scores.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
align-items: center;

font-family: var(--pub-font-family-body);
text-decoration: none;

&:hover {
opacity: 1.0;
Expand Down
1 change: 1 addition & 0 deletions pkg/web_css/lib/src/_tags.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
text-transform: uppercase;
padding: 4px 8px;
color: var(--pub-tag_sdkbadge-text-color);
text-decoration: none;
}

> .tag-badge-main {
Expand Down

0 comments on commit 5dedf4d

Please sign in to comment.