Skip to content

Commit

Permalink
Remove box-shadow from buttons and links
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillplatonov committed Oct 28, 2021
1 parent 5359412 commit 6bbead4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions app/assets/stylesheets/polaris_view_components.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions app/assets/stylesheets/polaris_view_components/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@ a.Polaris-Tag__Button {
.Polaris-TextStyle--sizeSmall {
font-size: 1.25rem;
}

/* Remove box-shadow from buttons and links */
.Polaris-Button::after, .Polaris-Button:focus::after, .Polaris-Breadcrumbs__Breadcrumb::after {
box-shadow: none !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@
border-bottom: .3rem solid var(--p-action-primary)
}

.shp-Navigation_Link:focus {
box-shadow: inset 0 0 2px 0 rgba(92, 106, 196, .8), 0 0 2px 0 rgba(92, 106, 196, .8)
}

.shp-Navigation_Link:focus .shp-Navigation_LinkText {
font-weight: 400;
color: var(--p-text)
Expand Down

0 comments on commit 6bbead4

Please sign in to comment.