Skip to content
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

Change gradient color for snippets and remove white outline around them #152

Merged
merged 2 commits into from Apr 6, 2018

Conversation

narkq
Copy link
Contributor

@narkq narkq commented Mar 27, 2018

Should fix #147


&.c-file_container--gradient::after {
background: linear-gradient(180deg, $color-shadow-transparent, $color-base);
border-radius: 0 0 4px 4px;

Choose a reason for hiding this comment

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

Shorthands of length 4 are not allowed. Value was 0 0 4px 4px

@laCour laCour merged commit c352ba0 into laCour:master Apr 6, 2018
@laCour
Copy link
Owner

laCour commented Apr 6, 2018

Thank you for your style fixes! 🍻

@narkq narkq deleted the fix-snippet-gradient branch April 7, 2018 21:04
@FireyFly
Copy link

This seems to have re-surfaced, I believe because of upstream CSS changes from Github.

The new selector is .c-pillow_file__content--collapsed::after.

Inserting

.c-pillow_file__content--collapsed::after {
  background: linear-gradient(0deg,#000,hsla(0,0%,100%,0) 40px);
}

into the built stylesheet CSS works adequately (the current upstream Github seems to specify the above background but with #fff instead of #000).

Zoooook pushed a commit to Zoooook/slack-night-mode that referenced this pull request Jul 3, 2020
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.

White gradient + outline present on snippets
4 participants