8000 Match form input/option element background colours to the overall the… by jsarasin · Pull Request #518 · picturepan2/spectre · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Match form input/option element background colours to the overall the… #518

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

Merged
merged 1 commit into from
Nov 3, 2018

Conversation

jsarasin
Copy link
Contributor

I'm a total CSS n00b, however there was a hardcoded #fff for a background colour and an absent background: specifier which made my darker theme impossible to read the text inside of a form.

…me. Hardcoded #fff and absent background colour make dark contrast themes unreadable
@@ -128,7 +128,7 @@ textarea.form-input {
}
}
&:not([multiple]):not([size]) {
background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='%23667189'%20d='M2%200L0%202h4zm0%205L0%203h4z'/%3E%3C/svg%3E") no-repeat right .35rem center/.4rem .5rem;
background: $bg-color-light url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='%23667189'%20d='M2%200L0%202h4zm0%205L0%203h4z'/%3E%3C/svg%3E") no-repeat right .35rem center/.4rem .5rem;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

center/.4rem should be written with a single space on each side of the operator: center / .4rem

@@ -118,7 +118,7 @@ textarea.form-input {
padding: $control-padding-y $control-padding-x;
vertical-align: middle;
width: 100%;

background: $bg-color-light;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains trailing whitespace

@picturepan2 picturepan2 changed the base branch from master to 0.5.4 November 3, 2018 08:19
@picturepan2 picturepan2 merged commit 37faba2 into picturepan2:0.5.4 Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0