Andrew Ozz
3bb9185496
TinyMCE, inline link: add styling for the dialog and UI Autocomplete to Press This.
...
See #33301 .
Built from https://develop.svn.wordpress.org/trunk@36849
git-svn-id: http://core.svn.wordpress.org/trunk@36816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 20:31:26 +00:00
Andrea Fercia
fcb3e5ec2f
Accessibility: Improve the color contrast ratio for the input placeholders.
...
Also, cleans up a bit the CSS removing rules for elements that don't use
placeholders any more.
Fixes #35777 .
Built from https://develop.svn.wordpress.org/trunk@36619
git-svn-id: http://core.svn.wordpress.org/trunk@36586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-22 23:29:26 +00:00
Andrea Fercia
30866ceb5d
Accessibility: Improve color contrast updating any #999
gray used for text or icons to a darker gray.
...
Fixes #35660 .
Built from https://develop.svn.wordpress.org/trunk@36587
git-svn-id: http://core.svn.wordpress.org/trunk@36554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-19 18:44:27 +00:00
Andrea Fercia
008cba0333
Accessibility: Reduce the WordPress shades of grey, first part.
...
See #35783 .
Built from https://develop.svn.wordpress.org/trunk@36537
git-svn-id: http://core.svn.wordpress.org/trunk@36504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-16 16:09:29 +00:00
Aaron Jorbin
d507b5636f
Set cssmin compatibility to ie7
...
This matches the autoprefixer setting. This changes all compiled CSS.
Fixes #34540 .
Props christophherr, peterwilsoncc, netweb
Built from https://develop.svn.wordpress.org/trunk@35684
git-svn-id: http://core.svn.wordpress.org/trunk@35648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-18 20:28:25 +00:00
Helen Hou-Sandí
ae9e173082
Buttons: Standardize on .button-link
for link-like buttons.
...
This serves as both a reset and some basic styling. The class name also aligns with parallel components in other popular projects.
props paulwilde for the initial patch.
fixes #34242 .
Built from https://develop.svn.wordpress.org/trunk@35636
git-svn-id: http://core.svn.wordpress.org/trunk@35600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-13 15:47:27 +00:00
Dominik Schilling
adc233f617
Build Tools: Update autoprefixer
to 0.6.1.
...
Release Post: https://github.com/postcss/autoprefixer/releases/tag/6.1.0
Includes changes to CSS files after `grunt precommit` because of the new transition support and a new parser for gradients (see [34637]).
See #34177 .
Built from https://develop.svn.wordpress.org/trunk@35563
git-svn-id: http://core.svn.wordpress.org/trunk@35527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-07 11:57:31 +00:00
Aaron Jorbin
627844ca34
Bump grunt-contrib-cssmin to 0.14.0
...
This updates the underlying version of cssmin
Fixes #34177
Built from https://develop.svn.wordpress.org/trunk@35541
git-svn-id: http://core.svn.wordpress.org/trunk@35505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 17:58:28 +00:00
Andrea Fercia
223afd7e04
Press This: Improve the "choose tags" button focus style.
...
Props adamholisky for the initial patch.
Fixes 34241.
Built from https://develop.svn.wordpress.org/trunk@35338
git-svn-id: http://core.svn.wordpress.org/trunk@35304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-21 18:34:26 +00:00
Helen Hou-Sandí
5b40bd827c
Buttons: Update styles and colors.
...
* Aligns with the color standards. See https://make.wordpress.org/design/handbook/foundations/colors/
* Creates a consistent interaction experience between states.
* Improves contrast and accessibility.
props hugobaeta, afercia, melchoyce, michael-arestad.
fixes #31459 .
Built from https://develop.svn.wordpress.org/trunk@34948
git-svn-id: http://core.svn.wordpress.org/trunk@34913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-08 17:31:24 +00:00
Scott Taylor
d22fbc7545
Grunt RTL CSS: swap-dashicons-left-right-arrows
in rtlcss:properties
expects double-quoted content
strings in CSS. It doesn't swap single-quoted values.
...
Props Ankit K Gupta, yoavf, netweb.
Fixes #33786 .
Built from https://develop.svn.wordpress.org/trunk@34011
git-svn-id: http://core.svn.wordpress.org/trunk@33980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-10 20:22:25 +00:00
Sergey Biryukov
b4fbbf53cf
Provide more helpful feedback than just "Cheatin' uh?" for permission errors in wp-admin/user-new.php
.
...
props ericlewis, kraftbj, lukecarbis, mrmist.
fixes #33678 . see #14530 .
Built from https://develop.svn.wordpress.org/trunk@33884
git-svn-id: http://core.svn.wordpress.org/trunk@33853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-03 08:46:52 +00:00
Andrew Ozz
b99d7d909c
Press This: make the font size in the Text editor similar to the Visual editor. Fix buttons padding.
...
Fixes #32706 .
Built from https://develop.svn.wordpress.org/trunk@33159
git-svn-id: http://core.svn.wordpress.org/trunk@33131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-10 22:37:24 +00:00
Andrew Ozz
9868325217
Press THis: do not change the split button box-shadow on hover.
...
Fixes #32757 .
Built from https://develop.svn.wordpress.org/trunk@33156
git-svn-id: http://core.svn.wordpress.org/trunk@33128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-10 22:10:25 +00:00
Andrew Ozz
b092defb17
Press This:
...
- Add support for the Text editor.
- Add auto-scrolling when the caret moves out of the viewport while the user is typing (similarly to editor-expand).
- Add auto-resize for the textarea.
See #32706 .
Built from https://develop.svn.wordpress.org/trunk@32999
git-svn-id: http://core.svn.wordpress.org/trunk@32970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-30 03:58:27 +00:00
Aaron Jorbin
c9307fc95a
Update Grunt dev-dependencies
...
grunt-browserify : minor version update
grunt-contrib-cssmin : minor version update
grunt-contrib-imagemin : patch version update
grunt-contrib-jshint : patch version update
grunt-contrib-uglify : minor version update (causes some changes to minified JS)
grunt-includes : minor version update
grunt-sass : major version update ( underlying libsass update ).
Props wonderboymusic
See #31700
Built from https://develop.svn.wordpress.org/trunk@32988
git-svn-id: http://core.svn.wordpress.org/trunk@32959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-28 14:51:30 +00:00
Andrew Ozz
275fc220ef
Press This:
...
- Save a draft before opening the standard editor window.
- While saving a post show Saving... instead of Publish for the main visible part of the split button (same as the Save Draft button before).
See #32757 .
Built from https://develop.svn.wordpress.org/trunk@32983
git-svn-id: http://core.svn.wordpress.org/trunk@32954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-28 04:59:24 +00:00
Andrew Ozz
d4f3428d5f
Press This, split button: wrap the sub-buttons in an unordered list to aid accessibility.
...
Props afercia. See #32757 .
Built from https://develop.svn.wordpress.org/trunk@32934
git-svn-id: http://core.svn.wordpress.org/trunk@32905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-25 01:55:30 +00:00
Andrew Ozz
dfaa89d853
Press This: fix spinner position relative to the split button.
...
See #32757 .
Built from https://develop.svn.wordpress.org/trunk@32922
git-svn-id: http://core.svn.wordpress.org/trunk@32893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-24 03:32:25 +00:00
Andrew Ozz
f8cf80e9b1
Press This: ensure proper tab order in the split button. Tweak padding and border color a bit.
...
See #32757 .
Built from https://develop.svn.wordpress.org/trunk@32921
git-svn-id: http://core.svn.wordpress.org/trunk@32892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-24 03:23:27 +00:00
Andrew Ozz
f4109b0c5d
Press This: convert the Preview | Save | Publish buttons to a split button.
...
See #32757 .
Built from https://develop.svn.wordpress.org/trunk@32920
git-svn-id: http://core.svn.wordpress.org/trunk@32891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-24 02:46:27 +00:00
Ella Iseulde Van Dorpe
8acda26129
Autoprefixer after autoprefixer-core 5.2 update
...
grunt-autoprefixer requires ^5.1.7, so this was automatically updated.
See #31700 .
Built from https://develop.svn.wordpress.org/trunk@32704
git-svn-id: http://core.svn.wordpress.org/trunk@32674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-07 20:08:24 +00:00
Helen Hou-Sandí
b0a5febdf2
Press This: Prevent bottom buttons from wrapping on narrow screens.
...
props Michael Arestad.
fixes #32022 .
Built from https://develop.svn.wordpress.org/trunk@32230
git-svn-id: http://core.svn.wordpress.org/trunk@32204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 21:03:26 +00:00
Andrew Ozz
ad475b3c69
Press This: check the bookmarklet version and add the update notice from PHP.
...
Fixes #31942 .
Built from https://develop.svn.wordpress.org/trunk@32106
git-svn-id: http://core.svn.wordpress.org/trunk@32085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-10 21:08:29 +00:00
Andrew Ozz
33a0022773
Press This:
...
- When saving a draft change the text of the Save Draft button to Saving...
- On success, hide the button and show Edit Post link in its place. If the user focuses the title or the editor, hide the link and show the button again.
Fixes #31923 .
Built from https://develop.svn.wordpress.org/trunk@32092
git-svn-id: http://core.svn.wordpress.org/trunk@32071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 23:14:28 +00:00
Helen Hou-Sandí
bfda508c18
Update more instances of default admin blues and grays.
...
props hugobaeta.
fixes #31234 .
Built from https://develop.svn.wordpress.org/trunk@32051
git-svn-id: http://core.svn.wordpress.org/trunk@32030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-05 21:20:27 +00:00
Helen Hou-Sandí
3ac1a19529
Spinners: Toggle a class instead of show/hide.
...
Toggling spinners also now uses visibility instead of display, so that the space is always reserved and nothing moves around unexpectedly.
props cdog, MikeHansenMe, valendesigns.
fixes #22839 . see #31875 , #30725 .
Built from https://develop.svn.wordpress.org/trunk@31996
git-svn-id: http://core.svn.wordpress.org/trunk@31975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-03 04:52:27 +00:00
Andrew Ozz
05a549723c
Press This:
...
- Show a spinner while saving a post.
- Do not redirect after saving a draft.
- Make the unidentified error message clearer.
Fixes #31875 .
Built from https://develop.svn.wordpress.org/trunk@31992
git-svn-id: http://core.svn.wordpress.org/trunk@31971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-03 01:34:26 +00:00
Andrew Ozz
6cd9c9645e
Press This: fix accessibility for the post options "sidebar". Fix size of the Add Category button.
...
Part props afercis, joedolson. Fixes #31575 .
Built from https://develop.svn.wordpress.org/trunk@31925
git-svn-id: http://core.svn.wordpress.org/trunk@31904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-30 03:09:51 +00:00
Andrew Ozz
d63cd35bde
Press This: fix editor buttons visibility on mobile.
...
Props Michael Arestad. Fixes #31622 .
Built from https://develop.svn.wordpress.org/trunk@31809
git-svn-id: http://core.svn.wordpress.org/trunk@31791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 02:25:29 +00:00
Andrew Ozz
441e1e6ab9
Press This: fix the header styling and add a logo.
...
Props Michael-Arestad. Fixes #31472 .
Built from https://develop.svn.wordpress.org/trunk@31807
git-svn-id: http://core.svn.wordpress.org/trunk@31789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 02:09:27 +00:00
Andrew Ozz
acbce27aa9
Press This: fix styling of the "Scan" button. Fixes #31444 .
...
Built from https://develop.svn.wordpress.org/trunk@31805
git-svn-id: http://core.svn.wordpress.org/trunk@31787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 01:40:27 +00:00
Andrew Ozz
c1c29782c9
Press This:
...
- Test image sizes from JS after Press This loads, before adding them to "Suggested media".
- Clean up and simplify the HTML and JS a bit.
Fixes #31561 .
Built from https://develop.svn.wordpress.org/trunk@31797
git-svn-id: http://core.svn.wordpress.org/trunk@31779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 20:51:26 +00:00
Andrew Ozz
805c530cf0
PressThis: simplify and restyle the categories drop-down, remove the checkboxes and use JS to get the selected categories on submitting the form.
...
Part prop: Michael-Arestad. Fixes #31443 .
Built from https://develop.svn.wordpress.org/trunk@31765
git-svn-id: http://core.svn.wordpress.org/trunk@31745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-13 16:57:26 +00:00
Andrew Ozz
be24bc3a97
PressThis:
...
- Filter and select the content on the PHP side. Then pass only the needed data to JS.
- Add the suggested post title and contend directly to the HTML.
- Standardise the data type names.
- Some cleanup/reduction of the code in the bookmarklet.
See #31373 .
Built from https://develop.svn.wordpress.org/trunk@31693
git-svn-id: http://core.svn.wordpress.org/trunk@31674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-09 21:49:28 +00:00
Andrew Ozz
ff5b22b872
PressThis: fix styling of wpLink.
...
Props Michael-Arestad, see #31373 .
Built from https://develop.svn.wordpress.org/trunk@31680
git-svn-id: http://core.svn.wordpress.org/trunk@31661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-08 23:23:26 +00:00
Andrew Ozz
9716d171c7
PressThis: add preview functionality. Opens the preview in a new window or a tab next to the source tab.
...
Fixes #31458 .
Built from https://develop.svn.wordpress.org/trunk@31654
git-svn-id: http://core.svn.wordpress.org/trunk@31635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-07 01:17:26 +00:00
Andrew Ozz
a27967aa05
PressThis:
...
- Close the sidebar on moving the focus outside of it (by clicking or by "tabbing").
- Fix a (weird) structural CSS problem where clicks go through the sidebar when it is open.
- Clean up the JS a bit.
Fixes #31457 .
Built from https://develop.svn.wordpress.org/trunk@31651
git-svn-id: http://core.svn.wordpress.org/trunk@31632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-06 22:57:26 +00:00
Helen Hou-Sandí
513a038159
Remove the once-placeholder-esque "tag hint", which has not worked in quite some time.
...
It's not particularly useful, and adds visual noise when in place.
props welcher.
fixes #31485 .
Built from https://develop.svn.wordpress.org/trunk@31607
git-svn-id: http://core.svn.wordpress.org/trunk@31588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-03 21:53:25 +00:00
Andrew Ozz
acc6c422e2
PressThis: fix and update buttons styles. Props Michael-Arestad. Fixes #31498 .
...
Built from https://develop.svn.wordpress.org/trunk@31598
git-svn-id: http://core.svn.wordpress.org/trunk@31579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-02 01:18:27 +00:00
Andrew Ozz
9f86b1023b
PressThis: fix selecting a post format (radio buttons) with the keyboard. Props afercia, Michael-Arestad. Fixes #31440 .
...
Built from https://develop.svn.wordpress.org/trunk@31583
git-svn-id: http://core.svn.wordpress.org/trunk@31564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 21:53:25 +00:00
Dominik Schilling
03a50ce509
Build: Let RTLCSS handle swapping the codes for right/left arrows from Dashicons.
...
Exclude `wp-includes/css/dashicons.css` from core task since we don't want/need a RTL version of it.
fixes #31478 .
Built from https://develop.svn.wordpress.org/trunk@31579
git-svn-id: http://core.svn.wordpress.org/trunk@31560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 20:19:29 +00:00
Dominik Schilling
c7dba8b015
Press This: RTL improvements.
...
* Load the RTL version of press-this-editor.css.
* Use more semantic class names for the arrows, Makes it easier to swap the arrows in RTL, see #31478 .
see #31474 .
Built from https://develop.svn.wordpress.org/trunk@31577
git-svn-id: http://core.svn.wordpress.org/trunk@31558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 19:44:24 +00:00
Dominik Schilling
d2f0abf85f
RTL CSS generation: Switch from CSSJanus to RTLCSS.
...
CSSJanus (introduced in [26107]), we had a great time with you, but sadly you don't like our fancy CSS.
RTLCSS is a framework for converting CSS from LTR to RTL, same as CSSJanus, with support for more CSS properties like `transform`, `transition` or multiple box and text shadows.
Changes:
* devDependencies: Remove `grunt-cssjanus`, add `grunt-rtlcss`.
* RTLCSS uses `/* rtl:ignore */` to ignore a rule, switch existing `/* @noflip */` to the new directive.
* RTLCSS supports the `transform` property, means we can remove some ignore rules.
* RTLCSS supports string maps for custom replace rules. This commit includes a rule `import-rtl-stylesheet` which replaces ".css" with "-rtl.css" in URLs.
Notes for core development:
* The file generation task is still `grunt rtl`.
* If you have used `grunt cssjanus` before, use `grunt rtlcss` now.
* Remember the new directive `/* rtl:ignore */`.
fixes #31332 .
Build: https://build.trac.wordpress.org/changeset/31554
Built from https://develop.svn.wordpress.org/trunk@31573
git-svn-id: http://core.svn.wordpress.org/trunk@31554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 13:41:30 +00:00
Andrew Ozz
4593319ea7
PressThis: accessibility enhancements:
...
- Add missing form labels.
- Add some screen-reader-text and aria-hidden attributes.
- Focus handling improvements.
- Change tagcloud-link into a button.
- Add missing ID attribute in tools.php.
Props afercia. Fixes #31449 .
Built from https://develop.svn.wordpress.org/trunk@31566
git-svn-id: http://core.svn.wordpress.org/trunk@31547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 02:50:25 +00:00
Andrew Ozz
dd79f77b26
PressThis: enable scrollbars in Firefox, remove overflow-x: hidden from the html element. Part props Michael-Arestad. Fixes #31455 .
...
Built from https://develop.svn.wordpress.org/trunk@31565
git-svn-id: http://core.svn.wordpress.org/trunk@31546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 01:55:26 +00:00
Andrew Ozz
c30c705ec3
Press This: add press-this.css to the list of stylesheets that are minified. Bump wp_version. See #31373 .
...
Built from https://develop.svn.wordpress.org/trunk@31547
git-svn-id: http://core.svn.wordpress.org/trunk@31528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-25 23:49:24 +00:00