-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Remove miscellaneous css custom properties #4620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7e53c83
f27682a
339d832
b437c9d
33dfe4a
9bf6cac
023c0f4
f149f83
d645938
8f14c3f
6349f11
271f40c
bd044e5
68773ac
9f47bd4
62c6b4d
203bc5f
c88ef44
b4b9967
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,9 @@ $icon-size: rem(20px); | |
| position: relative; | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| min-height: control-height(); | ||
| min-width: control-height(); | ||
| color: var(--p-text-subdued); | ||
| text-decoration: none; | ||
| margin: 0; | ||
|
|
@@ -24,10 +26,6 @@ $icon-size: rem(20px); | |
|
|
||
| &:active { | ||
| background-color: var(--p-surface-pressed); | ||
|
|
||
| .ContentWrapper { | ||
| background: var(--p-override-transparent); | ||
| } | ||
|
Comment on lines
-27
to
-30
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need the HTML element with
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we need it—I can consolidate its relevant CSS into
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also along the line of consolidation I just want to note that there might be more rollback values that need to be removed in these files. Not sure if there was work done already to remove them so it’s definitely possible that they are needed overrides. I didn’t look into them in this PR to keep a narrow scope. But if it’s something important to address now or in the future I can create a ticket to look into it. |
||
| } | ||
|
|
||
| &:hover, | ||
|
|
@@ -42,9 +40,6 @@ $icon-size: rem(20px); | |
| // stylelint-disable selector-max-specificity | ||
| &:focus { | ||
| outline: none; | ||
| .ContentWrapper { | ||
| background: var(--p-override-transparent); | ||
| } | ||
| } | ||
|
|
||
| &:focus:not(:active) { | ||
|
|
@@ -53,21 +48,6 @@ $icon-size: rem(20px); | |
| // stylelint-enable selector-max-specificity | ||
| } | ||
|
|
||
| .ContentWrapper { | ||
| position: relative; | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| padding: 0; | ||
| margin-left: 0; | ||
| background: transparent; | ||
| height: control-slim-height(); | ||
| width: control-slim-height(); | ||
| border-radius: var(--p-border-radius-wide); | ||
| will-change: background; | ||
| transition: background duration() easing(); | ||
| } | ||
|
|
||
| .Content { | ||
| @include truncate; | ||
| position: relative; | ||
|
|
||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,21 +41,6 @@ $stacking-order: ( | |
| } | ||
| } | ||
|
|
||
| .placeholder { | ||
| // stylelint-disable-next-line selector-max-class | ||
| &.error .Input { | ||
| // This is the only place this color is used. | ||
| // stylelint-disable-next-line color-no-hex | ||
| color: #9c9798; | ||
| } | ||
|
|
||
| // stylelint-disable-next-line selector-max-class, selector-max-specificity | ||
| &.error .Input:-moz-focusring { | ||
| color: transparent; | ||
| text-shadow: var(--p-override-none); | ||
| } | ||
| } | ||
|
Comment on lines
-44
to
-57
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing unused class. Here's the legacy commit from when it was added
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Amazing! Thanks for the context Laura. I think it makes sense to remove this code. |
||
|
|
||
| .Content { | ||
| @include text-style-input; | ||
| position: relative; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.