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

Theme: fix upload area visual styling and cursor #11214

Merged
merged 2 commits into from Feb 8, 2017

Conversation

folletto
Copy link
Contributor

@folletto folletto commented Feb 6, 2017

Updating the styling of the theme upload drop/click area, fixes #11037.

Before:

screen shot 2017-02-06 at 21 47 39

After (with hover):

screen shot 2017-02-06 at 21 46 53

screen shot 2017-02-06 at 21 47 01

To test

  1. Open My Sites → Themes → Upload.
  2. Try to hover the form with the mouse, click to open.
  3. Make sure the hover style works and the mouse cursor is the pointer.

@folletto folletto added [Feature Group] Appearance & Themes Features related to the appearance of sites. [Type] Enhancement labels Feb 6, 2017
@folletto folletto added this to the Themes: JetPress Rally milestone Feb 6, 2017
@matticbot
Copy link
Contributor

matticbot commented Feb 6, 2017

@folletto folletto added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Feb 6, 2017
const dropText = translate(
'Drop files or click here to upload'
);
const uploadInstructionsText = translate(
"Only single .zip files are accepted."
Copy link
Contributor

Choose a reason for hiding this comment

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

This'll generate a warning and should be changed to single quotes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

facepalm you're right. I wonder why Atom didn't mark it :|

Copy link
Contributor

Choose a reason for hiding this comment

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

This'll generate a warning and should be changed to single quotes

That sounded kinda blunt, sorry about that 😄

@folletto folletto added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Feb 8, 2017
@folletto folletto merged commit 02f1d8a into master Feb 8, 2017
@folletto folletto deleted the fix/theme-upload-style branch February 8, 2017 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature Group] Appearance & Themes Features related to the appearance of sites. [Type] Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Themes: upload area cursor and styling
4 participants