Helen Hou-Sandí
a7f2613fc7
Buttons: Ensure active styling applies to both :active
and .active
.
...
props sayedwp, helen.
fixes #42236 .
Built from https://develop.svn.wordpress.org/trunk@41984
git-svn-id: http://core.svn.wordpress.org/trunk@41818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-23 23:34:49 +00:00
Aaron Jorbin
7f7d4ef451
Build/Test Tools: Add banner to minified CSS files
...
Patches occasionally come in on generated files. We should be kind to new contributors and give them a hint that these files are auto generated.
Props drewapicture, samuelsidler, netweb, valendesigns, kpdesign, nacin, jorbin
Fixes #30666
Built from https://develop.svn.wordpress.org/trunk@41271
git-svn-id: http://core.svn.wordpress.org/trunk@41111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-08-19 20:10:47 +00:00
Aaron Jorbin
50cb2c5e28
Update autoprefixer browser support matrix
...
WordPress no longer supports many old old browsers: https://make.wordpress.org/core/2017/04/23/target-browser-coverage/
This also removes alot of no longer necessary CSS. It served us well, but we are never getting back together with IE8,9,10.
So, in the (paraphrased) words of Taylor Swift:
I remember when we dropped support the first time
Saying, "This is it, I've had enough, " 'cause like
We hadn't seen many users in a month
When you said you needed flexbox. (What?)
Then you postMessage again and say
"IE8, I miss you and I swear I'm gonna change, trust me."
Remember how that lasted for a day?
I say, "I hate the box model, " we break up, you call me, "I love css-grids."
Ooh, we called it off again last night
But ooh, this time I'm telling you, I'm telling you
We are never ever ever supporting IE 8,9,10,
We are never ever ever supporting IE 8,9,10,
You go talk to EDGE, talk to my FIREFOX, talk to CHROME
But we are never ever ever ever getting back together
Like, ever...
Fixes #37651 .
Props stunnedbeast, netweb, jorbin.
Built from https://develop.svn.wordpress.org/trunk@41062
git-svn-id: http://core.svn.wordpress.org/trunk@40912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-16 01:15:46 +00:00
Pascal Birchler
7fd55738be
Administration: Remove unit and prefixed version from a CSS declaration.
...
The prefixed version gets added by Autoprefixer already.
Props MatheusFD.
Fixes #35358 .
Built from https://develop.svn.wordpress.org/trunk@40576
git-svn-id: http://core.svn.wordpress.org/trunk@40446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-06 14:37:44 +00:00
Helen Hou-Sandí
19bb9c2fe0
Customize: More visible focus and hover states for close and back buttons.
...
props celloexpressions, folletto.
fixes #29158 .
Built from https://develop.svn.wordpress.org/trunk@39249
git-svn-id: http://core.svn.wordpress.org/trunk@39189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-15 18:11:31 +00:00
Aaron Jorbin
53c8c68365
Administration: Ensure collapse menu is usable with a keyboard
...
Currently, the "Collapse menu" item is not focusable and keyboard users can't collapse/expand the admin menu. This aims to fix it so that screen readers no longer announce it as a clickable but it remains unfocusable and thus unusable. So it's now a button.
Quoting joedolson at WordCamp Chicago 2014:
"If it's supposed to act like a button, it should be a button."
Also includes a grunt:precommit run that picked up some postcss changes to src/wp-includes/css/customize-preview.css
Fixes #29958 .
Props ajercia, ipm-frommen for an iterative patch, valendesigns for an iterative patch, GaryJ for feedback, joedolson for feedback, helen for feedback
Built from https://develop.svn.wordpress.org/trunk@39141
git-svn-id: http://core.svn.wordpress.org/trunk@39081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-04 17:18:57 +00:00
Dominik Schilling
7627255d7e
Toolbar: Update links to the about page if current user can't access the dashboard of the current site.
...
Add missing focus styling for menu items with an icon.
Fixes #37949 .
Built from https://develop.svn.wordpress.org/trunk@38660
git-svn-id: http://core.svn.wordpress.org/trunk@38603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-09-27 19:01:29 +00:00
Andrea Fercia
d885e3cfb0
Administration: Fix the main background color for the Light color scheme.
...
Props trepmal.
Fixes #38004 .
Built from https://develop.svn.wordpress.org/trunk@38638
git-svn-id: http://core.svn.wordpress.org/trunk@38581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-09-21 17:36:31 +00:00
Helen Hou-Sandí
dd6da701b2
Customizer: Better hover/focus state for section titles and available widgets.
...
The 4px border pattern is found in a number of places across the admin, including plugins, notices, and Press This.
props celloexpressions, folletto, hugobaeta.
see #29158 .
Built from https://develop.svn.wordpress.org/trunk@38602
git-svn-id: http://core.svn.wordpress.org/trunk@38545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-09-14 16:15:29 +00:00
Aaron Jorbin
93ad7eab80
Administration: Use #fff instead of white
...
Cleans up a few places where the CSS coding standards were not being followed.
Fixes #37576 .
Props Presskopp, johnpgreen, netweb
Built from https://develop.svn.wordpress.org/trunk@38501
git-svn-id: http://core.svn.wordpress.org/trunk@38442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-09-01 18:14:31 +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
Weston Ruter
b5e18056e5
Customize: Add a user-friendly way to preview site responsiveness for desktop, tablet, and mobile.
...
Introduces `WP_Customize_Manager::get_previewable_devices()` with a `customize_previewable_devices` filter to change the default device and which devices are available for previewing. This is a feature that was first pioneered on WordPress.com.
Props celloexpressions, folletto, valendesigns, westonruter, welcher, adamsilverstein, michaelarestad, Fab1en.
Fixes #31195 .
Built from https://develop.svn.wordpress.org/trunk@36532
git-svn-id: http://core.svn.wordpress.org/trunk@36499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-16 01:57:26 +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
Aaron Jorbin
25d8f212b7
Bump grunt-sass to 1.1.0
...
This bumps the underlying version of node-sass to 3.4.0 and libsass to 3.3.0. It causes no difference in the current sass output.
Props netweb.
See #34177 .
Built from https://develop.svn.wordpress.org/trunk@35539
git-svn-id: http://core.svn.wordpress.org/trunk@35503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-11-05 17:53:43 +00:00
Andrea Fercia
579246ab4a
Multisite: Improve the Admin Bar parent menu items color on hover and focus.
...
Props Nikschavan for the initial patch.
Fixes #34040 .
Built from https://develop.svn.wordpress.org/trunk@35265
git-svn-id: http://core.svn.wordpress.org/trunk@35231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-18 16:22:24 +00:00
Helen Hou-Sandí
b23005d7c1
Revisions: Update slider handle styling.
...
This brings them in line with updated buttons as done in [34948] for #31459 . It also gives it secondary action styling as opposed to primary, as restoring is considered the primary action.
props hugobaeta.
fixes #34220 .
Built from https://develop.svn.wordpress.org/trunk@34976
git-svn-id: http://core.svn.wordpress.org/trunk@34941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-09 00:25:25 +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
Ella Iseulde Van Dorpe
3e36b24b24
Remove broken/dead colour scheme code
...
See #32152 .
Built from https://develop.svn.wordpress.org/trunk@33453
git-svn-id: http://core.svn.wordpress.org/trunk@33420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-27 23:50:25 +00:00
Konstantin Obenland
d512633588
Comments: Normalize button color on hover in alt color schemes.
...
Props iseulde.
Fixes #33086 .
Built from https://develop.svn.wordpress.org/trunk@33409
git-svn-id: http://core.svn.wordpress.org/trunk@33377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-24 17:11:24 +00:00
Ella Iseulde Van Dorpe
25a9a1873c
TinyMCE: fix visual regressions (2)
...
See #32801 .
Built from https://develop.svn.wordpress.org/trunk@33289
git-svn-id: http://core.svn.wordpress.org/trunk@33261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-15 23:35:24 +00:00
Ella Iseulde Van Dorpe
952564e84b
TinyMCE: fix visual regressions
...
See #32801 .
Built from https://develop.svn.wordpress.org/trunk@33285
git-svn-id: http://core.svn.wordpress.org/trunk@33257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-15 21:31:24 +00:00
Helen Hou-Sandí
59ad07be48
Toolbar: Ensure icons are colored correctly in alternate schemes.
...
props ryelle.
fixes #32931 . see #29906 .
Built from https://develop.svn.wordpress.org/trunk@33284
git-svn-id: http://core.svn.wordpress.org/trunk@33256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-15 20:14:25 +00:00
Konstantin Obenland
bd974d7bf2
Use a less element-specific class name for links within page titles.
...
After [32974] these links are no longer within an `h2`, making the class name
inaccurate. `add-new-h1` has the potential to expose the same problem for in a
possible future change.
Fixes #31650 .
Built from https://develop.svn.wordpress.org/trunk@33067
git-svn-id: http://core.svn.wordpress.org/trunk@33038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-03 16:42:24 +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
Helen Hou-Sandí
4e7cb5e05d
Admin menu: fix colors for focus state and in IE8.
...
props afercia.
fixes #31345 .
Built from https://develop.svn.wordpress.org/trunk@32075
git-svn-id: http://core.svn.wordpress.org/trunk@32054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 16:38:26 +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
Dominik Schilling
43352a0759
Themes: Improve focus styling of add-new-theme link.
...
props celloexpressions, mrahmadawais.
fixes #31203 .
Built from https://develop.svn.wordpress.org/trunk@31952
git-svn-id: http://core.svn.wordpress.org/trunk@31931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-01 12:22:27 +00:00
Helen Hou-Sandí
593bd1251a
Star ratings: Use a yellow color across the board. Keying these to color schemes originally turned out to be weird.
...
props hugobaeta.
fixes #31424 .
Built from https://develop.svn.wordpress.org/trunk@31747
git-svn-id: http://core.svn.wordpress.org/trunk@31728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-12 05:41:27 +00:00
Scott Taylor
6dd747f27c
Update grunt-sass
to 0.18.0
.
...
Props netweb.
Fixes #31343 .
Built from https://develop.svn.wordpress.org/trunk@31648
git-svn-id: http://core.svn.wordpress.org/trunk@31629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-06 21:05:46 +00:00
Helen Hou-Sandí
6d03323746
CSS: Move relevant #sidemenu
rules into deprecated-media.css
and remove the cruft.
...
fixes #27956 .
Built from https://develop.svn.wordpress.org/trunk@31564
git-svn-id: http://core.svn.wordpress.org/trunk@31545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-26 23:24:27 +00:00
Andrew Ozz
e8a4452f05
Color Schemes: fix the pointer UP arrow color, fixes #30460 .
...
Built from https://develop.svn.wordpress.org/trunk@30531
git-svn-id: http://core.svn.wordpress.org/trunk@30520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-23 01:26:23 +00:00
Aaron Jorbin
0a790fef4d
Don't cascade autoprefixer output
...
Autoprefixer changed the default for cascade from false to true. Our css coding standards do not include the cascade for browser prefixes.
Introduced in r30067
see #30141
Built from https://develop.svn.wordpress.org/trunk@30069
git-svn-id: http://core.svn.wordpress.org/trunk@30069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 20:45:23 +00:00
Aaron Jorbin
1ed642b276
Update grunt-sass to 0.16.0
...
Upstream changes https://github.com/sindresorhus/grunt-sass/compare/v0.14.0...v0.16.0
see #30141
Built from https://develop.svn.wordpress.org/trunk@30061
git-svn-id: http://core.svn.wordpress.org/trunk@30061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 19:27:40 +00:00
Helen Hou-Sandí
0eaa3d9088
Modals: Remove yet more cruft that was causing unwanted coloration of icons.
...
props celloexpressions.
fixes #29147 (for real this time).
Built from https://develop.svn.wordpress.org/trunk@29697
git-svn-id: http://core.svn.wordpress.org/trunk@29472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 17:06:17 +00:00
Helen Hou-Sandí
d0a37ea07c
Correct a Sass typo that somehow slipped by in [29616].
...
see #28267 .
Built from https://develop.svn.wordpress.org/trunk@29648
git-svn-id: http://core.svn.wordpress.org/trunk@29422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 06:32:15 +00:00
Helen Hou-Sandí
e51fdf9d7d
Focus styling: bring the blue glow to more places.
...
Handles color picker, theme browser, help/screen options, TinyMCE dialog buttons, jQuery UI dialog buttons, and buttons in color schemes.
props avryl, celloexpressions. fixes #28267 .
Built from https://develop.svn.wordpress.org/trunk@29616
git-svn-id: http://core.svn.wordpress.org/trunk@29390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 05:17:17 +00:00
Helen Hou-Sandí
e051fe3341
Media: Fix keying of selected attachments to color schemes.
...
props celloexpressions. see #28822 .
Built from https://develop.svn.wordpress.org/trunk@29614
git-svn-id: http://core.svn.wordpress.org/trunk@29388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 04:37:16 +00:00
Helen Hou-Sandí
cee3560f49
Align and unify (most) modal and customizer icons. fixes #29147 .
...
Built from https://develop.svn.wordpress.org/trunk@29542
git-svn-id: http://core.svn.wordpress.org/trunk@29318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-19 20:38:16 +00:00
Helen Hou-Sandí
2353c354c1
Revert [29287] based on design and core team feedback. see #29012 .
...
Built from https://develop.svn.wordpress.org/trunk@29447
git-svn-id: http://core.svn.wordpress.org/trunk@29225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-08 19:01:19 +00:00
Scott Taylor
36fb0b8148
Media Grid CSS: Media modal close icon should be consistent with other modals.
...
Props celloexpressions.
Fixes #29012 .
Built from https://develop.svn.wordpress.org/trunk@29287
git-svn-id: http://core.svn.wordpress.org/trunk@29069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-24 21:07:15 +00:00
Dominik Schilling
de8961d631
Update the versions of several devDependencies in package.json
.
...
Run `npm update` in the project root to receive updates.
props mjbanks, jorbin, netweb.
see #27340 .
Built from https://develop.svn.wordpress.org/trunk@29270
git-svn-id: http://core.svn.wordpress.org/trunk@29052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-22 20:41:44 +00:00
Dominik Schilling
5940d4527c
Themes: Don't set background color for the filter icon.
...
fixes #28860 .
Built from https://develop.svn.wordpress.org/trunk@29124
git-svn-id: http://core.svn.wordpress.org/trunk@28909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-12 19:49:14 +00:00
Helen Hou-Sandí
b90b64bf9e
More consistent icons in place of some buttons for the Customizer and theme install preview.
...
* Use a single close icon instead of a context-changing cancel/close button in the Customizer. In user testing, this small distinction in language was overlooked, and we use an AYS now instead. This also makes it consistent with the back arrow in Customizer panels.
* Use the same close icon as well as the previous/next arrows from the theme details browser in the theme install preview.
props celloexpressions. fixes #28655 .
Built from https://develop.svn.wordpress.org/trunk@29031
git-svn-id: http://core.svn.wordpress.org/trunk@28819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-08 18:19:14 +00:00
Dominik Schilling
b7c93eb3d0
Customizer: Introduce a "panel" API to organize multiple sections into a one section.
...
Create a panel via `$GLOBALS['wp_customize']->add_panel( $panel_id, $args )` and use `$panel_id` for the `panel` argument in `$GLOBALS['wp_customize']->add_section( $section_id, $args )`. That's it.
As an example all widget area sections are now summarized into one panel. Feedback appreciated.
props celloexpressions.
see #27406 .
Built from https://develop.svn.wordpress.org/trunk@28861
git-svn-id: http://core.svn.wordpress.org/trunk@28662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-26 20:17:15 +00:00
Andrew Nacin
86daa61c45
About page design, first pass.
...
props melchoyce, ryelle.
see #27713 .
Built from https://develop.svn.wordpress.org/trunk@28127
git-svn-id: http://core.svn.wordpress.org/trunk@27958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-15 01:31:14 +00:00
Andrew Nacin
77e2da21cf
Color scheme support for widget choosers.
...
props ocean90.
fixes #27793 .
Built from https://develop.svn.wordpress.org/trunk@28122
git-svn-id: http://core.svn.wordpress.org/trunk@27953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 20:22:14 +00:00
Andrew Nacin
e77dc6b97b
Fix feature pointer border when using a color scheme.
...
props ryelle.
see #27778 .
Built from https://develop.svn.wordpress.org/trunk@28098
git-svn-id: http://core.svn.wordpress.org/trunk@27929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-13 16:33:14 +00:00
Andrew Ozz
a32f0dcd4c
Fix color of disabled buttons in non-default color schemes, props ryelle, fixes #27759
...
Built from https://develop.svn.wordpress.org/trunk@28079
git-svn-id: http://core.svn.wordpress.org/trunk@27910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-11 21:35:17 +00:00
Helen Hou-Sandí
3c72ba4282
Bring keyboard accessibility to the theme install screen and theme action buttons. props jorbin. see #27521 .
...
Built from https://develop.svn.wordpress.org/trunk@27804
git-svn-id: http://core.svn.wordpress.org/trunk@27638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 03:16:15 +00:00
Andrew Nacin
999183669c
Color scheme support for the new theme installer UI.
...
props ryelle.
fixes #27522 .
Built from https://develop.svn.wordpress.org/trunk@27784
git-svn-id: http://core.svn.wordpress.org/trunk@27620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 17:56:14 +00:00