WordPress/wp-admin/css
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
..
colors Toolbar: Update links to the about page if current user can't access the dashboard of the current site. 2016-09-27 19:01:29 +00:00
about-rtl.css About Page: Third pass for 4.6. 2016-08-10 23:33:30 +00:00
about-rtl.min.css About Page: Third pass for 4.6. 2016-08-10 23:33:30 +00:00
about.css About Page: Third pass for 4.6. 2016-08-10 23:33:30 +00:00
about.min.css About Page: Third pass for 4.6. 2016-08-10 23:33:30 +00:00
admin-menu-rtl.css Multisite: Use the admin-multisite Dashicon for sites 2016-05-05 17:13:26 +00:00
admin-menu-rtl.min.css Multisite: Use the admin-multisite Dashicon for sites 2016-05-05 17:13:26 +00:00
admin-menu.css Multisite: Use the admin-multisite Dashicon for sites 2016-05-05 17:13:26 +00:00
admin-menu.min.css Multisite: Use the admin-multisite Dashicon for sites 2016-05-05 17:13:26 +00:00
color-picker-rtl.css Accessibility: Reduce the WordPress shades of grey, Episode 3. 2016-03-09 19:51:26 +00:00
color-picker-rtl.min.css Accessibility: Reduce the WordPress shades of grey, Episode 3. 2016-03-09 19:51:26 +00:00
color-picker.css Accessibility: Reduce the WordPress shades of grey, Episode 3. 2016-03-09 19:51:26 +00:00
color-picker.min.css Accessibility: Reduce the WordPress shades of grey, Episode 3. 2016-03-09 19:51:26 +00:00
common-rtl.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
common-rtl.min.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
common.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
common.min.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
customize-controls-rtl.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
customize-controls-rtl.min.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
customize-controls.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
customize-controls.min.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
customize-nav-menus-rtl.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
customize-nav-menus-rtl.min.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
customize-nav-menus.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
customize-nav-menus.min.css Customize: Re-architect and harden panel/section UI logic. 2016-09-23 22:23:30 +00:00
customize-widgets-rtl.css Customizer: Better hover/focus state for section titles and available widgets. 2016-09-14 16:15:29 +00:00
customize-widgets-rtl.min.css Customizer: Better hover/focus state for section titles and available widgets. 2016-09-14 16:15:29 +00:00
customize-widgets.css Customizer: Better hover/focus state for section titles and available widgets. 2016-09-14 16:15:29 +00:00
customize-widgets.min.css Customizer: Better hover/focus state for section titles and available widgets. 2016-09-14 16:15:29 +00:00
dashboard-rtl.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
dashboard-rtl.min.css Accessibility: Reduce the WordPress shades of grey, Episode 3. 2016-03-09 19:51:26 +00:00
dashboard.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
dashboard.min.css Accessibility: Reduce the WordPress shades of grey, Episode 3. 2016-03-09 19:51:26 +00:00
deprecated-media-rtl.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
deprecated-media-rtl.min.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
deprecated-media.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
deprecated-media.min.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
edit-rtl.css Accessibility: Standardize the remove/delete/cancel links in the Menus screen and Publish meta boxes. 2016-09-17 15:39:30 +00:00
edit-rtl.min.css Accessibility: Standardize the remove/delete/cancel links in the Menus screen and Publish meta boxes. 2016-09-17 15:39:30 +00:00
edit.css Accessibility: Standardize the remove/delete/cancel links in the Menus screen and Publish meta boxes. 2016-09-17 15:39:30 +00:00
edit.min.css Accessibility: Standardize the remove/delete/cancel links in the Menus screen and Publish meta boxes. 2016-09-17 15:39:30 +00:00
farbtastic-rtl.css Stop using .rtl classes, instead relying on flipping LTR CSS to RTL. 2013-11-17 16:18:11 +00:00
farbtastic-rtl.min.css CSS: Stop using `wp-admin.min.css` and instead queue the individual stylesheets up through `load-styles.php`. 2016-01-18 09:57:29 +00:00
farbtastic.css Stop using .rtl classes, instead relying on flipping LTR CSS to RTL. 2013-11-17 16:18:11 +00:00
farbtastic.min.css CSS: Stop using `wp-admin.min.css` and instead queue the individual stylesheets up through `load-styles.php`. 2016-01-18 09:57:29 +00:00
forms-rtl.css Administration: Remove the `input` qualifier for the `.regular-text` class rule. This allows for other elements such as textareas to be styled with the same width as regular text inputs. 2016-09-26 16:46:33 +00:00
forms-rtl.min.css Administration: Remove the `input` qualifier for the `.regular-text` class rule. This allows for other elements such as textareas to be styled with the same width as regular text inputs. 2016-09-26 16:46:33 +00:00
forms.css Administration: Remove the `input` qualifier for the `.regular-text` class rule. This allows for other elements such as textareas to be styled with the same width as regular text inputs. 2016-09-26 16:46:33 +00:00
forms.min.css Administration: Remove the `input` qualifier for the `.regular-text` class rule. This allows for other elements such as textareas to be styled with the same width as regular text inputs. 2016-09-26 16:46:33 +00:00
ie-rtl.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
ie-rtl.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
ie.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
ie.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
install-rtl.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
install-rtl.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
install.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
install.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
l10n-rtl.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
l10n-rtl.min.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
l10n.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
l10n.min.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
list-tables-rtl.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
list-tables-rtl.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
list-tables.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
list-tables.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
login-rtl.css System fonts: Don't quote single-word font names, per our coding standards. 2016-07-26 16:39:30 +00:00
login-rtl.min.css Administration: Remove the `input` qualifier for the `.regular-text` class rule. This allows for other elements such as textareas to be styled with the same width as regular text inputs. 2016-09-26 16:46:33 +00:00
login.css System fonts: Don't quote single-word font names, per our coding standards. 2016-07-26 16:39:30 +00:00
login.min.css Administration: Remove the `input` qualifier for the `.regular-text` class rule. This allows for other elements such as textareas to be styled with the same width as regular text inputs. 2016-09-26 16:46:33 +00:00
media-rtl.css Media: Align input and button heights in attachment details. 2016-09-20 02:18:30 +00:00
media-rtl.min.css Media: Align input and button heights in attachment details. 2016-09-20 02:18:30 +00:00
media.css Media: Align input and button heights in attachment details. 2016-09-20 02:18:30 +00:00
media.min.css Media: Align input and button heights in attachment details. 2016-09-20 02:18:30 +00:00
nav-menus-rtl.css Accessibility: Standardize the remove/delete/cancel links in the Menus screen and Publish meta boxes. 2016-09-17 15:39:30 +00:00
nav-menus-rtl.min.css Accessibility: Standardize the remove/delete/cancel links in the Menus screen and Publish meta boxes. 2016-09-17 15:39:30 +00:00
nav-menus.css Accessibility: Standardize the remove/delete/cancel links in the Menus screen and Publish meta boxes. 2016-09-17 15:39:30 +00:00
nav-menus.min.css Accessibility: Standardize the remove/delete/cancel links in the Menus screen and Publish meta boxes. 2016-09-17 15:39:30 +00:00
press-this-editor-rtl.css System fonts: Don't quote single-word font names, per our coding standards. 2016-07-26 16:39:30 +00:00
press-this-editor-rtl.min.css Revive `grunt-rtlcss`, which does not appear to enjoy syntax errors. 2016-05-05 15:22:27 +00:00
press-this-editor.css System fonts: Don't quote single-word font names, per our coding standards. 2016-07-26 16:39:30 +00:00
press-this-editor.min.css Drop Open Sans in the admin in favor of system fonts. 2016-05-04 22:07:37 +00:00
press-this-rtl.css System fonts: Don't quote single-word font names, per our coding standards. 2016-07-26 16:39:30 +00:00
press-this-rtl.min.css Revive `grunt-rtlcss`, which does not appear to enjoy syntax errors. 2016-05-05 15:22:27 +00:00
press-this.css System fonts: Don't quote single-word font names, per our coding standards. 2016-07-26 16:39:30 +00:00
press-this.min.css Drop Open Sans in the admin in favor of system fonts. 2016-05-04 22:07:37 +00:00
revisions-rtl.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
revisions-rtl.min.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
revisions.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
revisions.min.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
site-icon-rtl.css Customize: Fix site icon preview in RTL. 2016-07-05 12:42:27 +00:00
site-icon-rtl.min.css Customize: Fix site icon preview in RTL. 2016-07-05 12:42:27 +00:00
site-icon.css Customize: Fix site icon preview in RTL. 2016-07-05 12:42:27 +00:00
site-icon.min.css Customize: Fix site icon preview in RTL. 2016-07-05 12:42:27 +00:00
themes-rtl.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
themes-rtl.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
themes.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
themes.min.css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
widgets-rtl.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
widgets-rtl.min.css Revive `grunt-rtlcss`, which does not appear to enjoy syntax errors. 2016-05-05 15:22:27 +00:00
widgets.css Use numeric font weights instead of keywords. 2016-06-17 18:37:28 +00:00
widgets.min.css Widgets: When the Inactive Widgets section is hidden also hide the “Clear Inactive Widgets” button description text. 2016-04-28 20:40:28 +00:00
wp-admin-rtl.css Introducing Site Icon, favicon management for WordPress. 2015-06-29 12:58:25 +00:00
wp-admin-rtl.min.css CSS: Stop using `wp-admin.min.css` and instead queue the individual stylesheets up through `load-styles.php`. 2016-01-18 09:57:29 +00:00
wp-admin.css Introducing Site Icon, favicon management for WordPress. 2015-06-29 12:58:25 +00:00
wp-admin.min.css CSS: Stop using `wp-admin.min.css` and instead queue the individual stylesheets up through `load-styles.php`. 2016-01-18 09:57:29 +00:00