Andrea Fercia
eeefec932f
Administration: Improve the usage of the button CSS classes.
...
Introduces some consistency in the usage of the button CSS classes, fixes the
focus style for accessibility and responsiveness of the buttons.
- Adds the `button` class to all primary buttons make them responsive
- Removes all `secondary-button` classes and replaces it with button when needed. `button-secondary` shouldn't be used and exists just for backward compatibility reasons
- Replaces classes inside `submit_button()` with a shorthand for some buttons, and use an empty string for the default `button` class. Passing `button` is unnecessary
- Adjusts `get_submit_button()` to remove empty items
Props iseulde, dimchik, chris_d2d, mhowell, afercia.
Fixes #27314 , #37138 , #37448 .
Built from https://develop.svn.wordpress.org/trunk@38672
git-svn-id: http://core.svn.wordpress.org/trunk@38615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-09-28 19:54:28 +00:00
..
2016-09-27 19:01:29 +00:00
2016-08-10 23:33:30 +00:00
2016-08-10 23:33:30 +00:00
2016-08-10 23:33:30 +00:00
2016-08-10 23:33:30 +00:00
2016-05-05 17:13:26 +00:00
2016-05-05 17:13:26 +00:00
2016-05-05 17:13:26 +00:00
2016-05-05 17:13:26 +00:00
2016-03-09 19:51:26 +00:00
2016-03-09 19:51:26 +00:00
2016-03-09 19:51:26 +00:00
2016-03-09 19:51:26 +00:00
2016-09-23 22:23:30 +00:00
2016-09-23 22:23:30 +00:00
2016-09-23 22:23:30 +00:00
2016-09-23 22:23:30 +00:00
2016-09-28 19:54:28 +00:00
2016-09-23 22:23:30 +00:00
2016-09-28 19:54:28 +00:00
2016-09-23 22:23:30 +00:00
2016-09-23 22:23:30 +00:00
2016-09-23 22:23:30 +00:00
2016-09-23 22:23:30 +00:00
2016-09-23 22:23:30 +00:00
2016-09-14 16:15:29 +00:00
2016-09-14 16:15:29 +00:00
2016-09-14 16:15:29 +00:00
2016-09-14 16:15:29 +00:00
2016-06-17 18:37:28 +00:00
2016-03-09 19:51:26 +00:00
2016-06-17 18:37:28 +00:00
2016-03-09 19:51:26 +00:00
2016-06-17 18:37:28 +00:00
2016-06-17 18:37:28 +00:00
2016-06-17 18:37:28 +00:00
2016-06-17 18:37:28 +00:00
2016-09-17 15:39:30 +00:00
2016-09-17 15:39:30 +00:00
2016-09-17 15:39:30 +00:00
2016-09-17 15:39:30 +00:00
2013-11-17 16:18:11 +00:00
2016-01-18 09:57:29 +00:00
2013-11-17 16:18:11 +00:00
2016-01-18 09:57:29 +00:00
2016-09-26 16:46:33 +00:00
2016-09-26 16:46:33 +00:00
2016-09-26 16:46:33 +00:00
2016-09-26 16:46:33 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-06-17 18:37:28 +00:00
2016-06-17 18:37:28 +00:00
2016-06-17 18:37:28 +00:00
2016-06-17 18:37:28 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-07-26 16:39:30 +00:00
2016-09-26 16:46:33 +00:00
2016-07-26 16:39:30 +00:00
2016-09-26 16:46:33 +00:00
2016-09-20 02:18:30 +00:00
2016-09-20 02:18:30 +00:00
2016-09-20 02:18:30 +00:00
2016-09-20 02:18:30 +00:00
2016-09-17 15:39:30 +00:00
2016-09-17 15:39:30 +00:00
2016-09-17 15:39:30 +00:00
2016-09-17 15:39:30 +00:00
2016-07-26 16:39:30 +00:00
2016-05-05 15:22:27 +00:00
2016-07-26 16:39:30 +00:00
2016-05-04 22:07:37 +00:00
2016-07-26 16:39:30 +00:00
2016-05-05 15:22:27 +00:00
2016-07-26 16:39:30 +00:00
2016-05-04 22:07:37 +00:00
2016-06-17 18:37:28 +00:00
2016-06-17 18:37:28 +00:00
2016-06-17 18:37:28 +00:00
2016-06-17 18:37:28 +00:00
2016-07-05 12:42:27 +00:00
2016-07-05 12:42:27 +00:00
2016-07-05 12:42:27 +00:00
2016-07-05 12:42:27 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-09-28 19:54:28 +00:00
2016-06-17 18:37:28 +00:00
2016-05-05 15:22:27 +00:00
2016-06-17 18:37:28 +00:00
2016-04-28 20:40:28 +00:00
2015-06-29 12:58:25 +00:00
2016-01-18 09:57:29 +00:00
2015-06-29 12:58:25 +00:00
2016-01-18 09:57:29 +00:00