Compare commits

..

46 Commits
4.8.6 ... 4.6

Author SHA1 Message Date
Dominik Schilling
fe47e6139d Tag 4.6
Built from https://develop.svn.wordpress.org/tags/4.6@38270


git-svn-id: http://core.svn.wordpress.org/tags/4.6@38211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-16 20:36:10 +00:00
Dominik Schilling
854cbe7cf1 WordPress 4.6.
Built from https://develop.svn.wordpress.org/branches/4.6@38269


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-16 18:19:30 +00:00
Dominik Schilling
73d78fbe90 About Page: Add release video and move images to CDN.
Merge of [38267] to the 4.6 branch.

Props JerrySarcastic, rosso99, petya, hugobaeta, RoseAppleMedia.
See #37246.
Built from https://develop.svn.wordpress.org/branches/4.6@38268


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-16 18:02:01 +00:00
Dominik Schilling
a560559c37 Post WordPress 4.6 RC 4 version bump.
Built from https://develop.svn.wordpress.org/branches/4.6@38266


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-15 19:30:30 +00:00
Dominik Schilling
9c4763f8c4 WordPress 4.6 RC 4.
Built from https://develop.svn.wordpress.org/branches/4.6@38265


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-15 19:22:30 +00:00
Dominik Schilling
329a17f59a Post Thumbnails: Restore thumbnail support for media files.
* Allow to add/remove a featured image to `attachment:audio` and `attachment:video` post types, see [27657].
* Change conditionals to check for theme OR post type support.
* Add tests for #12922.

Broken in [37658].

Merge of [38263] to the 4.6 branch.

Props flixos90, joemcgill, DrewAPicture, wonderboymusic.
See #12922.
See #37658.
Built from https://develop.svn.wordpress.org/branches/4.6@38264


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-15 19:18:30 +00:00
Aaron Jorbin
58e1032e13 External Libraries: Update Masonry shim to prevent error using isAnimated option
Merges [38261] to the 4.6 branch.

The isAnimated option throws an error and causes Masonry to stop functioning. Masonry.prototype.options is no longer defined in 3.3.2, this.options is and does the same. Masonry was updated to 3.3.2 in [37891].

Reported upstream: https://github.com/desandro/masonry-v2-3-shim/pull/1

Props stephenharris, ocean90, azaozz for testing and second sign off.
Fixes #37666.
See #32802.

Built from https://develop.svn.wordpress.org/branches/4.6@38262


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-15 18:22:30 +00:00
Dominik Schilling
d0b90431df Post WordPress 4.6 RC 3 version bump.
Built from https://develop.svn.wordpress.org/branches/4.6@38260


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-13 19:55:29 +00:00
Dominik Schilling
8742490da7 WordPress 4.6 RC 3.
Built from https://develop.svn.wordpress.org/branches/4.6@38259


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-13 19:49:29 +00:00
Dominik Schilling
9652a4916b About Page: Enhance responsive images.
* Add `srcset` and `sizes` to the mobile image for streamlined updates.
* Modify the order of image candidate strings in each `srcset` to address a bug in iOS8 where the first candidate will always be selected when using `w` descriptors, see #35030.

Merge of [38257] to the 4.6 branch.

Props joemcgill.
See #37246.
Built from https://develop.svn.wordpress.org/branches/4.6@38258


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-13 19:33:31 +00:00
Dominik Schilling
9a51ff0799 Script Loader: Fix protocol-relative URLs for the preconnect relation type.
`wp_resource_hints()` parses the URL for the `preconnect` and `dns-prefetch` relation types to ensure correct values for both. While protocol-relative URLs are supported for `dns-prefetch`, the double slash was lost for `preconnect`.

Merge of [38255] to the 4.6 branch.

Props swissspidy, peterwilsoncc.
Props azaozz for review.
See #37652.
Built from https://develop.svn.wordpress.org/branches/4.6@38256


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-13 18:40:34 +00:00
Aaron Jorbin
4d1a6af1ba Bootstrap/Load: Revert Plugin Global restoration around advance-cache.php.
Merges [38251] to the 4.6 branch.

First added in [37588] and later modified in [38224], the idea was to ensure that filters/actions added before `advance-cache.php` would not disappear if `advance-cache.php` overloaded the filters/actions with code such as `$wp_filter = array()`. This is an edge case and one that there is no documented case of existing.

This restores the behavior from WordPress 4.5 and before. It is strongly encouraged that developers using `advance-cache.php` to use the Plugins API that is available before the loading of `advance-cache.php` rather than directly interacting with any of the globals.

Props azaozz, jorbin, dd32 for review, pento for review, westi for investigation, ipstenu for research.

See #36819.


Built from https://develop.svn.wordpress.org/branches/4.6@38252


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-13 16:02:31 +00:00
Dominik Schilling
05eb0237ce About Page: Fix punctuation errors in two strings.
Merge of [38248] to the 4.6 branch.

See #37246.
Built from https://develop.svn.wordpress.org/branches/4.6@38249


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-11 20:54:54 +00:00
Dominik Schilling
a1e4485b61 Post WordPress 4.6 RC 2 version bump.
Built from https://develop.svn.wordpress.org/branches/4.6@38247


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-11 00:22:30 +00:00
Dominik Schilling
6818f62d6a WordPress 4.6 RC 2.
Built from https://develop.svn.wordpress.org/branches/4.6@38246


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-11 00:16:29 +00:00
Dominik Schilling
73f3896134 About Page: Updates for 4.6.
Merge of [38213], [38215], [38234], and [38244] to the 4.6 branch.

Props hugobaeta, Ipstenu, SergeyBiryukov, Presskopp, jeremyfelt, afragen, helen, Clorith, macmanx, DrewAPicture, voldemortensen, jorbin, joemcgill, MattyRob, ocean90.
Fixes #37246.
Built from https://develop.svn.wordpress.org/branches/4.6@38245


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-10 23:57:30 +00:00
Dominik Schilling
7fec14f382 Upgrader: Rename class-wp-automatic-upgrader.php to class-wp-automatic-updater.php.
The class is named `WP_Automatic_Updater` not `WP_Automatic_Upgrader` like all the other upgrader classes. 

Introduced in [37409].

Merge of [38242] to the 4.6 branch.

Props DrewAPicture for review.
Fixes #37628.
Built from https://develop.svn.wordpress.org/branches/4.6@38243


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-10 19:57:30 +00:00
Andrew Ozz
ae8722f109 Update/Install error messages: do not escape from the template, escape the error message string before inserting it.
Props swissspidy, ocean90.
Fixes #37623 for 4.6.
Built from https://develop.svn.wordpress.org/branches/4.6@38241


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-10 19:06:31 +00:00
Drew Jaynes
444cb81b45 Update/Install: Provide basic back-compat styling for the .update-message CSS class in the plugins list table.
This change restores only the margin and padding styles for the `.update-message` class when used by plugins in the context of adding arbitrary rows to the list table. The inline-update colors and icon styles were not restored, expressly with a wide variety of plugin use-cases in mind.

Merge of [38237] to the 4.6 branch.

Props ovann86, rahulsprajapati, ocean90, DrewAPicture.
Props helen for review.
Fixes #37504. 

Built from https://develop.svn.wordpress.org/branches/4.6@38238


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-09 22:49:33 +00:00
Dominik Schilling
dd5cb26de2 Media: In _wp_handle_upload() use call_user_func_array() to call the upload error handler.
The default error handler `wp_handle_upload_error()` expects a reference for the first parameter but `call_user_func()` doesn't pass parameters by reference. The current code didn't produce any issues until now. PHP 7.0.9 (and PHP 7.1) is now stricter and prevents calling the error handler with a warning:
> PHP Warning:  Parameter 1 to wp_handle_upload_error() expected to be a reference, value given.

To restore the error handler `_wp_handle_upload()` now uses `call_user_func_array()`.

Merge of [38235] to the 4.6 branch.

Props jbrinley.
Props jorbin for review.
See #37570.
Built from https://develop.svn.wordpress.org/branches/4.6@38236


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-09 21:56:30 +00:00
Jeremy Felt
88c32598af Multisite: Remove unnecessary reference parameters.
There is no advantage to passing parameters by reference to `get_site()`, `get_network()`, and `update_site_cache()`.

Merge of [38232] to the 4.6 branch.

Props flixos90, ocean90 for review.
Fixes #37615.

Built from https://develop.svn.wordpress.org/branches/4.6@38233


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-09 18:13:31 +00:00
Jeremy Felt
902420b294 Multisite: Use get_current_blog_id() in get_site() for current site.
The global `$current_blog` is not switched in `switch_to_blog()` and can
not be used to properly retrieve current switched site information.

Merge of [38217] to the 4.6 branch.

Props ocean90 for review.
Fixes #37607.

Built from https://develop.svn.wordpress.org/branches/4.6@38231


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-09 16:20:31 +00:00
Dominik Schilling
9c0dfce2ac Updates: Add visual feedback when deleting themes/plugins.
This corrects the selector for the delete link in `wp.updates.deletePlugin()` so the text can be changed to 'Deleting…'. `wp.updates.deleteTheme()` already worked on wp-admin/themes.php but not on wp-admin/network/themes.php because the network screen is similar to the plugins list table, this is now fixed too.
The `credential-modal-cancel` handler has been updated to support canceled delete jobs.

Merge of [38227] to the 4.6 branch.

Props swissspidy.
Props jorbin for review.
See #37603.
Built from https://develop.svn.wordpress.org/branches/4.6@38228


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-09 10:41:36 +00:00
Dominik Schilling
8631cb86cf Dashboard: Don't escape widget titles in screen reader text.
Introduced in [37972]. The title for the Quick Draft widget contains HTML to provide a JS/no-JS version.

Merge of [38225] to the 4.6 branch.

Props SergeyBiryukov for review.
See #37595.
See #37594.
Built from https://develop.svn.wordpress.org/branches/4.6@38226


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-09 09:09:32 +00:00
Gary Pendergast
1bbe957cc3 Boostrap/Load: Improve forward compatiblity of plugin global backup methods.
[37588] added methods to backup the plugin globals, for ensuring that advanced cache drop-ins don't overwrite hooks that've been added earlier in the load process.

The method for restoring the plugin globals wasn't compatible with the implementation of `WP_Hook` in #17817. `WP_Hook` implements `ArrayAccess`, so `_restore_plugin_globals()` was treating it as an array, and inadvertantly overwriting the `WP_Hook` object with a plain array.

To avoid having to re-write this code as part of #17817, we now use `add_filter()` to restore any hooks that were added by cache drop-ins, which `WP_Hook` correctly supports.

Merge of [38223] with the 4.6 branch.

Props pento, jorbin.
Fixes #36819.


Built from https://develop.svn.wordpress.org/branches/4.6@38224


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-09 01:51:29 +00:00
Aaron Jorbin
c63e673361 Updates: Improve experience for Bulk Actions when FTP is dismissed.
Merges [38221] to the 4.6 branch.

Before this change, when a bulk update was canceled due dismissing the FTP credentials modal, part of the actions didn't get canceled. This meant the "There is a new version of…” notices become blank and the updates you had checked became unchecked. Now, the notices remain and you are essentially returned to the screen you had before. Strings are also updated to improve ARIA usage.

Fixes #37563.
Props ocean90, swissspidy, obenland, afercia.


Built from https://develop.svn.wordpress.org/branches/4.6@38222


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-09 01:15:29 +00:00
Boone Gorges
14fa6a89ca Improve category check in redirect_canonical() when permastruct contains category slug.
[37262] changed a check in `redirect_canonical()` so that it checked
categories in the object cache rather than querying the database. However,
the check was based on the identity of `WP_Term` objects, which in
certain cases can be augmented by the main WP query routine, causing
failures of the `in_array()` check. This caused unnecessary redirects
for URLs where `is_single()` is true, but the URL is different from the
post permalink, such as the `embed` endpoint.

`has_term()` also checks the cache, but does not sufer from this bug.

Merges [38216] to the 4.6 branch.

Props cmillerdev.
Fixes #36602.

Built from https://develop.svn.wordpress.org/branches/4.6@38220


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-09 00:13:31 +00:00
Aaron Jorbin
dcf9711226 Updates: Standardize JS Custom Event Names
Merges [38218] in to 4.6 branch.

Custom JS events are triggered on the document in order for plugins to have something to hook into. The standard began in #31819 is dash separated and begins with wp to signify the namespace, followed by the subject of our action ( "theme", "plugin", etc.) followed by the action and an optional indicator of status ( "install-success", "deleting" ).

This brings some of the theme hooks in line with the standard. As of now, all plugin actions in src/wp-admin/js/updates.js have an equal corresponding theme action.

Fixes #37598.
See #37512, #37216, #31819.
Props olarmarius, ocean90.

Built from https://develop.svn.wordpress.org/branches/4.6@38219


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-08 22:52:29 +00:00
Dominik Schilling
c959c32860 Taxononmy: Set WP_Term_Query::terms when returning terms from the cache in WP_Term_Query::get_terms().
Merge of [38211] and [38212] to the 4.6 branch.

Props wonderboymusic.
Props boonebgorges for review.
Fixes #37591.
Built from https://develop.svn.wordpress.org/branches/4.6@38214


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-08 13:14:37 +00:00
Dominik Schilling
f6cbf30494 Update/Install: Remove the .notice-error class before adding classes for the update process.
Prevents displaying an update message with error styling.

Merge of [38209] to the 4.6 branch.

Props obenland.
Props SergeyBiryukov for review.
See #37550.
Built from https://develop.svn.wordpress.org/branches/4.6@38210


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-05 23:01:29 +00:00
Dominik Schilling
621f4f97e5 Customize: Increase the target size of the 'Edit Menu' button.
Merge of [38207] to the 4.6 branch.

Props celloexpressions.
Props afercia, helen for review.
See #36795.
Built from https://develop.svn.wordpress.org/branches/4.6@38208


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-05 22:40:30 +00:00
Dominik Schilling
b5de2df420 Update/Install: Replace "error" and "-1" failure messages with a more meaningful one.
* "-1" is an invalid nonce error, show 'An error has occurred. Please reload the page and try again.'.
* "error" means that the connection to the server was lost, show 'Connection lost or the server is busy. Please try again later.'.
* Escape the message in `wp-updates-admin-notice` because the response may include HTML.
* Remove HTML tags in `wp.updates.isValidResponse()` to make PHP's error messages more readable.

Merge of [38205] to the 4.6 branch.

Props azaozz for review.
See #37583.
Built from https://develop.svn.wordpress.org/branches/4.6@38206


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-05 19:30:31 +00:00
Gary Pendergast
0a65e04101 MediaElement: Remove translated string from a plugin WP doesn't bundle.
Merge of [38203] to the 4.6 branch.

Props nacin.
Fixes #37394.


Built from https://develop.svn.wordpress.org/branches/4.6@38204


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-05 05:00:32 +00:00
John Blackbourn
4ca40b65ec Docs: Correct and clarify various @since docs.
Fixes #37562

Merges [38201] to the 4.6 branch.

Built from https://develop.svn.wordpress.org/branches/4.6@38202


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-04 22:56:41 +00:00
Dominik Schilling
9501efd09f Upgrade/Install: Make some install/update failures more verbose.
An upgrader class is used in conjunction with an upgrader skin class. A skin class handles the logging for an upgrade and informs a user about the progress and failures.
The current Ajax install/update handlers are using the `Automatic_Upgrader_Skin` class because during an Ajax request no output is intended. The difference between Ajax updates and automatic updates is that you will see the full log (usually by email) while Ajax updates focus only on success or failure. For that `Automatic_Upgrader_Skin` has one disadvantage: It doesn't provide a way to retrieve failure messages which were passed through `WP_Upgrader_Skin::error()` by the upgrader.
To solve this issue a new skin `WP_Ajax_Upgrader_Skin` has been introduced. The skin extends `Automatic_Upgrader_Skin` and overrides the `error()` and `feedback()` methods to intercept all errors, which can be a `WP_Error` object or a string.

This updates all four Ajax handler for installing/updating themes/plugins to use the new skin. They now also check the skin for any intercepted errors and pass them on to the user.

Merge of [38199] to the 4.6 branch.

Props flixos90, obenland, ocean90.
Props DrewAPicture, pento for review.
See #37531.
Built from https://develop.svn.wordpress.org/branches/4.6@38200


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-04 22:23:39 +00:00
Dominik Schilling
6ece312820 Plugins: Also update aria-labels when a plugin update fails.
Previously the label was stuck at "Updating…".

Merge of [38196] to the 4.6 branch.

Props afercia, ocean90.
Props DrewAPicture for review.
See #37556.
Built from https://develop.svn.wordpress.org/branches/4.6@38197


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-04 21:07:35 +00:00
Dominik Schilling
6b9501b9c7 Emoji: Update the Twemoji loader to include the rainbow flag.
[38179] added support for the rainbow flag to core, but platform compatibility is a bit strange, because the flag was defined out of sync with the usual Unicode release cycle. For example Android N supports all Unicode 9.0 emoji, but doesn't support the rainbow flag thus the rainbow flag isn't rendered.
The Twemoji loader already has an exception for flags - it'll load if the browser supports everything but flags, and then only replace flag emoji, leaving everything else as native rendering. To provide a seamless experience for all flags the loader now uses the rainbow flag to test flag support.

Merge of [38194] to the 4.6 branch.

Props pento.
See #37543.
See #37566.
Built from https://develop.svn.wordpress.org/branches/4.6@38195


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-04 20:53:32 +00:00
Dion Hulse
a72eb16e91 Requests: Merge handling for custom HTTP methods.
This merges the latest changes to Requests from upstream to add support for custom HTTP methods.
See 1b5ffd8501

Props Ipstenu, ocean90.
Merges [38191] to the 4.6 branch.
Fixes #37503 for 4.6.

Built from https://develop.svn.wordpress.org/branches/4.6@38192


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-04 07:22:35 +00:00
Dominik Schilling
1a6b25088a Customize: Make the menu edit button look like a link.
The button was introduced in [37901] to allow users switching to the selected menu for further edits. A link makes it more clear that the user is taken away from the current view.
This also adds an aria label and makes the button label more verbose, 'Edit Menu'.

Merge of [38189] to the 4.6 branch.

Props afercia.
Props helen for review.
See #36795.
Built from https://develop.svn.wordpress.org/branches/4.6@38190


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-03 22:47:31 +00:00
Aaron Jorbin
b4cc5d511b Updates: Clean up debug statements.
Merge of [38186] to the 4.6 branch

Removing some `console.error` calls leftover from development and wrapping the `console.log` call in a check to ensure `console.log` exists.

Fixes #37514.
Props ocean90, obenland


Built from https://develop.svn.wordpress.org/branches/4.6@38188


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-03 22:34:29 +00:00
Aaron Jorbin
7eccc12e97 Updates: Improve bulk update failure notice
Merge of [38185] to the 4.6 branch

When doing a bulk update, if there are failures the user needs to know about that. This makes it clearer that you can click on the notification to see more details, especially for screen reader users.

Fixes #37510.
Props juhise, Ankit K Gupta, afercia, jorbin, ocean90. 


Built from https://develop.svn.wordpress.org/branches/4.6@38187


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-03 22:33:30 +00:00
Dominik Schilling
cf2852b778 About Page: First pass for 4.6 with strings (not yet translatable) and images (not CDN).
Merge of [38183] to the 4.6 branch.

Props macmanx, jorbin, hugobaeta, DrewAPicture, peterwilsoncc, iamfriendly, rahulsprajapati, vishalkakadiya, petya, celloexpressions, westonruter, mikeschroder, zetaraffix, mapk, boonebgorges, adamsilverstein, jeremyfelt, rosso99, karmatosed, swissspidy, michael-arestad, ramiy, ocean90.
See #37246.
Built from https://develop.svn.wordpress.org/branches/4.6@38184


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-03 19:58:38 +00:00
Boone Gorges
15bf460317 In WP_Term_Query, accept a string value for taxonomy.
Merges [38181] to the 4.6 branch.

Props endocreative.
Props ocean90 for review.
Fixes #37545.

Built from https://develop.svn.wordpress.org/branches/4.6@38182


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-03 13:54:30 +00:00
Gary Pendergast
beded541a7 Emoji: Add support for the Rainbow and Pirate flag emoji.
Twemoji recently added images for the Rainbow and Pirate flags, and the latest iOS 10 beta added support for the Rainbow flag. Never let it be said that WordPress is at anything less than the cutting edge of emoji research and development.

Merge of [38179] to the 4.6 branch.

Props ocean90 for the code review.
Fixes #37543.


Built from https://develop.svn.wordpress.org/branches/4.6@38180


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-03 00:13:32 +00:00
Aaron Jorbin
8664f9f88b Build/Test Tools: Add npm-shrinkwrap.json to 4.5.
By shrinkwraping our dependencies, the same versions of everything will be installed no matter what rules the dependency package.json has specified.

fixes #37541.

Built from https://develop.svn.wordpress.org/branches/4.6@38177


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-01 19:44:09 +00:00
Dominik Schilling
b42ec35de7 Branch 4.6
Built from https://develop.svn.wordpress.org/branches/4.6@38176


git-svn-id: http://core.svn.wordpress.org/branches/4.6@38117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-01 19:30:12 +00:00
801 changed files with 31030 additions and 89889 deletions

View File

@@ -1,6 +1,6 @@
WordPress - Web publishing software
Copyright 2011-2018 by the contributors
Copyright 2011-2016 by the contributors
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@@ -9,6 +9,7 @@
<body>
<h1 id="logo">
<a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
<br /> Version 4.6
</h1>
<p style="text-align: center">Semantic Personal Publishing Platform</p>
@@ -58,10 +59,9 @@
<h3>Recommendations</h3>
<ul>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7</strong> or higher.</li>
<li><a href="https://secure.php.net/">PHP</a> version <strong>5.6</strong> or higher.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.6</strong> or higher.</li>
<li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
<li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li>
<li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li>
</ul>

View File

@@ -125,7 +125,7 @@ get_header( 'wp-activate' );
<?php
}
} else {
$url = isset( $result['blog_id'] ) ? get_home_url( (int) $result['blog_id'] ) : '';
$url = isset( $result['blog_id'] ) ? get_blogaddress_by_id( (int) $result['blog_id'] ) : '';
$user = get_userdata( (int) $result['user_id'] );
?>
<h2><?php _e('Your account is now active!'); ?></h2>

View File

@@ -18,23 +18,38 @@ if ( ! wp_is_mobile() ) {
) );
}
$video_url = 'https://videopress.com/embed/AHz0Ca46?hd=true';
$lang_code = str_replace( '_', '-', get_user_locale() );
list( $lang_code ) = explode( '-', $lang_code );
if ( 'en' !== $lang_code ) {
$video_url = add_query_arg( 'defaultLangCode', $lang_code, $video_url );
/**
* Replaces the height and width attributes with values for full size.
*
* wp_video_shortcode() limits the width to 640px.
*
* @since 4.6.0
* @ignore
*
* @param $output Video shortcode HTML output.
* @return string Filtered HTML content to display video.
*/
function _wp_override_admin_video_width_limit( $output ) {
return str_replace( array( '640', '384' ), array( '1050', '630' ), $output );
}
$video_url = 'https://videopress.com/embed/GbdhpGF3?hd=true';
$locale = str_replace( '_', '-', get_locale() );
list( $locale ) = explode( '-', $locale );
if ( 'en' !== $locale ) {
$video_url = add_query_arg( 'defaultLangCode', $locale, $video_url );
}
$title = __( 'About' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
list( $display_version ) = explode( '-', $wp_version );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div class="wrap about-wrap">
<h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s adds more ways for you to express yourself and represent your brand.' ), $display_version ); ?></p>
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version. WordPress %s changes a lot behind the scenes to make your WordPress experience even better!' ), $display_version ); ?></p>
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
<h2 class="nav-tab-wrapper wp-clearfix">
@@ -43,194 +58,138 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
</h2>
<div class="changelog point-releases">
<h3><?php _e( 'Maintenance and Security Releases' ); ?></h3>
<p><?php printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.8.6' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.8.6' ); ?>
</p>
<p><?php printf( __( '<strong>Version %s</strong> addressed one security issue.' ), '4.8.5' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.8.5' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 1 ), '4.8.4', number_format_i18n( 1 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.8.4' ); ?>
</p>
<p><?php printf( __( '<strong>Version %s</strong> addressed one security issue.' ), '4.8.3' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.8.3' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', 5 ), '4.8.2', number_format_i18n( 5 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.8.2' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.', 29 ), '4.8.1', number_format_i18n( 29 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.8.1' ); ?>
</p>
<div class="headline-feature feature-video">
<iframe width="1050" height="591" src="<?php echo esc_url( $video_url ); ?>" frameborder="0" allowfullscreen></iframe>
<script src="https://videopress.com/videopress-iframe.js"></script>
</div>
<div class="feature-section one-col">
<div class="col">
<h2><?php _e( 'An Update with You in Mind' ); ?></h2>
<p class="lead-description"><?php _e( 'WordPress 4.8 adds some great new features. Gear up for a more intuitive WordPress!' ); ?></p>
<p><?php _e( 'Though some updates seem minor, they&#8217;ve been built by hundreds of contributors with <em>you</em> in mind. Get ready for new features you&#8217;ll welcome like an old friend: link improvements, <em>three</em> new media widgets covering images, audio, and video, an updated text widget that supports visual editing, and an upgraded news section in your dashboard which brings in nearby and upcoming WordPress events.' ); ?></p>
</div>
</div>
<hr>
<hr />
<h2><?php _e( 'Exciting Widget Updates' ); ?></h2>
<div class="headline-feature one-col">
<div class="col">
<picture>
<!-- Large image -->
<source media="( min-width: 1050px )"
srcset="
https://s.w.org/images/core/4.8/widgets-with-all-four-widescreen_w_810.png 810w,
https://s.w.org/images/core/4.8/widgets-with-all-four-widescreen_w_1054.png 1054w,
https://s.w.org/images/core/4.8/widgets-with-all-four-widescreen_w_1266.png 1266w,
https://s.w.org/images/core/4.8/widgets-with-all-four-widescreen_w_1458.png 1458w,
https://s.w.org/images/core/4.8/widgets-with-all-four-widescreen_w_1633.png 1633w,
https://s.w.org/images/core/4.8/widgets-with-all-four-widescreen_w_1797.png 1797w,
https://s.w.org/images/core/4.8/widgets-with-all-four-widescreen_w_1955.png 1955w,
https://s.w.org/images/core/4.8/widgets-with-all-four-widescreen_w_2100.png 2100w"
sizes="( max-width: 1290px ) calc( 100vw - 240px ), 1050px" />
<!-- Medium image -->
<source media="( min-width: 601px )"
srcset="
https://s.w.org/images/core/4.8/widgets-with-all-four_w_531.png 531w,
https://s.w.org/images/core/4.8/widgets-with-all-four_w_745.png 745w,
https://s.w.org/images/core/4.8/widgets-with-all-four_w_927.png 927w,
https://s.w.org/images/core/4.8/widgets-with-all-four_w_1089.png 1089w,
https://s.w.org/images/core/4.8/widgets-with-all-four_w_1236.png 1236w,
https://s.w.org/images/core/4.8/widgets-with-all-four_w_1370.png 1370w,
https://s.w.org/images/core/4.8/widgets-with-all-four_w_1498.png 1498w,
https://s.w.org/images/core/4.8/widgets-with-all-four_w_1620.png 1620w"
sizes="( max-width: 782px ) calc( 100vw - 70px ), ( max-width: 960px ) calc( 100vw - 116px ), calc( 100vw - 240px )" />
<!-- Small image -->
<img src="https://s.w.org/images/core/4.8/widgets-with-all-four-mobile_w_685.png"
srcset="
https://s.w.org/images/core/4.8/widgets-with-all-four-mobile_w_300.png 300w,
https://s.w.org/images/core/4.8/widgets-with-all-four-mobile_w_451.png 451w,
https://s.w.org/images/core/4.8/widgets-with-all-four-mobile_w_575.png 575w,
https://s.w.org/images/core/4.8/widgets-with-all-four-mobile_w_685.png 685w,
https://s.w.org/images/core/4.8/widgets-with-all-four-mobile_w_784.png 784w,
https://s.w.org/images/core/4.8/widgets-with-all-four-mobile_w_873.png 873w,
https://s.w.org/images/core/4.8/widgets-with-all-four-mobile_w_959.png 959w,
https://s.w.org/images/core/4.8/widgets-with-all-four-mobile_w_1040.png 1040w"
sizes="( max-width: 500px ) calc( 100vw - 40px ), calc( 100vw - 70px )"
alt="" />
</picture>
</div>
</div>
<div class="feature-section two-col">
<div class="col">
<h3><?php _e( 'Image Widget' ); ?></h3>
<p><?php _e( 'Adding an image to a widget is now a simple task that is achievable for any WordPress user without needing to know code. Simply insert your image right within the widget settings. Try adding something like a headshot or a photo of your latest weekend adventure &mdash; and see it appear automatically.' ); ?></p>
</div>
<div class="col">
<h3><?php _e( 'Video Widget' ); ?></h3>
<p><?php _e( 'A welcome video is a great way to humanize the branding of your website. You can now add any video from the Media Library to a sidebar on your site with the new Video widget. Use this to showcase a welcome video to introduce visitors to your site or promote your latest and greatest content.' ); ?></p>
</div>
<div class="col">
<h3><?php _e( 'Audio Widget' ); ?></h3>
<p><?php _e( 'Are you a podcaster, musician, or avid blogger? Adding a widget with your audio file has never been easier. Upload your audio file to the Media Library, go to the widget settings, select your file, and you&#8217;re ready for listeners. This would be a easy way to add a more personal welcome message, too!' );?></p>
</div>
<div class="col">
<h3><?php _e( 'Rich Text Widget' ); ?></h3>
<p><?php _e( 'This feature deserves a parade down the center of town! Rich-text editing capabilities are now native for Text widgets. Add a widget anywhere and format away. Create lists, add emphasis, and quickly and easily insert links. Have fun with your newfound formatting powers, and watch what you can accomplish in a short amount of time.' ); ?></p>
</div>
</div>
<hr />
<div class="feature-section two-col">
<div class="col">
<h3><?php _e( 'Link Boundaries' ); ?></h3>
<p><?php _e( 'Have you ever tried updating a link, or the text around a link, and found you can&#8217;t seem to edit it correctly? When you edit the text after the link, your new text also ends up linked. Or you edit the text in the link, but your text ends up outside of it. This can be frustrating! With link boundaries, a great new feature, the process is streamlined and your links will work well. Youll be happier. We promise.' ); ?></p>
</div>
<div class="col">
<?php
<div class="streamlined-updates feature-section one-col">
<h2><?php _e( 'Streamlined Updates' ); ?></h2>
<p><?php _e( 'Don&#8217;t lose your place: stay on the same page while you update, install, and delete your plugins and themes.' ); ?></p>
<?php
if ( ! wp_is_mobile() ) {
add_filter( 'wp_video_shortcode', '_wp_override_admin_video_width_limit' );
echo wp_video_shortcode( array(
'mp4' => 'https://s.w.org/images/core/4.8/link-boundaries.mp4',
'poster' => 'https://s.w.org/images/core/4.8/link-boundaries.png',
'width' => 1140,
'height' => 624,
// 'class' => 'wp-video-shortcode feature-video',
'mp4' => 'https://s.w.org/images/core/4.6/streamlined-updates.mp4',
'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm',
'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1',
'loop' => true,
'autoplay' => true,
'width' => 1050,
'height' => 630,
'class' => 'wp-video-shortcode feature-video',
) );
?>
</div>
remove_filter( 'wp_video_shortcode', '_wp_override_admin_video_width_limit' );
} else {
echo '<img src="https://s.w.org/images/core/4.6/streamlined-updates-1057.png?v1" alt="" srcset="https://s.w.org/images/core/4.6/streamlined-updates-1664.png?v1 1664w, https://s.w.org/images/core/4.6/streamlined-updates-200.png?v1 200w, https://s.w.org/images/core/4.6/streamlined-updates-1057.png?v1 1057w, https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1 2000w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px" />';
}
?>
</div>
<hr />
<div class="native-fonts feature-section one-col">
<h2><?php _e( 'Native Fonts' ); ?></h2>
<p><?php _e( 'The WordPress dashboard now takes advantage of the fonts you already have, making it load faster and letting you feel more at home on whatever device you use.' ); ?></p>
<img src="https://s.w.org/images/core/4.6/native-fonts-992.png?v1" alt="" srcset="https://cldup.com/Hqmo5VLb-E.png?v1 922w, https://s.w.org/images/core/4.6/native-fonts-200.png?v1 200w,https://s.w.org/images/core/4.6/native-fonts-371.png?v1 371w,https://s.w.org/images/core/4.6/native-fonts-510.png?v1 510w, https://s.w.org/images/core/4.6/native-fonts-560.png?v1 560w, https://s.w.org/images/core/4.6/native-fonts-781.png?v1 781w, https://s.w.org/images/core/4.6/native-fonts-2000.png?v1 2000w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px"/>
</div>
<hr />
<div class="feature-section two-col">
<h2><?php _e( 'Editor Improvements' ); ?></h2>
<div class="col">
<h3><?php _e( 'Nearby WordPress Events' ); ?></h3>
<p><?php _e( 'Did you know that WordPress has a thriving offline community with groups meeting regularly in more than 400 cities around the world? WordPress now draws your attention to the events that help you continue improving your WordPress skills, meet friends, and, of course, publish!' ); ?></p>
<p><?php _e( 'This is quickly becoming one of our favorite features. While you are in the dashboard (because you&#8217;re running updates and writing posts, right?) all upcoming WordCamps and WordPress Meetups &mdash; local to you &mdash; will be displayed.' ); ?>
<p><?php _e( 'Being part of the community can help you improve your WordPress skills and network with people you wouldn&#8217;t otherwise meet. Now you can easily find your local events just by logging in to your dashboard and looking at the new Events and News dashboard widget.' ); ?>
<img src="https://s.w.org/images/core/4.6/inline-link-checker-608.png?v1" alt="" srcset="https://s.w.org/images/core/4.6/inline-link-checker-789.png?v1 789w, https://s.w.org/images/core/4.6/inline-link-checker-200.png?v1 200w, https://s.w.org/images/core/4.6/inline-link-checker-384.png?v1 384w, https://s.w.org/images/core/4.6/inline-link-checker-608.png?v1 608w, https://s.w.org/images/core/4.6/inline-link-checker-992.png?v1 992w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/>
<h3><?php _e( 'Inline Link Checker' ); ?></h3>
<p><?php
printf(
/* translators: %s: Home URL appended with 'wordpress.org' */
__( 'Ever accidentally made a link to %s? Now WordPress automatically checks to make sure you didn&#8217;t.' ),
home_url( 'wordpress.org' )
);
?></p>
</div>
<div class="col">
<img
src="https://s.w.org/images/core/4.8/events-widget_w_732.png"
srcset="
https://s.w.org/images/core/4.8/events-widget_w_280.png 280w,
https://s.w.org/images/core/4.8/events-widget_w_420.png 420w,
https://s.w.org/images/core/4.8/events-widget_w_529.png 529w,
https://s.w.org/images/core/4.8/events-widget_w_638.png 638w,
https://s.w.org/images/core/4.8/events-widget_w_732.png 732w,
https://s.w.org/images/core/4.8/events-widget_w_827.png 827w,
https://s.w.org/images/core/4.8/events-widget_w_992.png 992w"
sizes="
( max-width: 500px ) calc( 100vw - 40px ),
( max-width: 782px ) calc( 48vw - 33px ),
( max-width: 960px ) calc( 47vw - 54px ),
( max-width: 1290px ) calc( 47vw - 112px ),
496px"
alt="" />
<img src="https://s.w.org/images/core/4.6/content-recovery-561.png?v1" alt="" srcset="https://s.w.org/images/core/4.6/content-recovery-701.png?v1 701w, https://s.w.org/images/core/4.6/content-recovery-200.png?v1 200w, https://s.w.org/images/core/4.6/content-recovery-400.png?v1 400w, https://s.w.org/images/core/4.6/content-recovery-561.png?v1 561w, https://s.w.org/images/core/4.6/content-recovery-992.png?v1 992w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/>
<h3><?php _e( 'Content Recovery' ); ?></h3>
<p><?php _e( 'As you type, WordPress saves your content to the browser. Recovering saved content is even easier with WordPress 4.6.' ); ?></p>
</div>
</div>
<hr />
<div class="changelog">
<h2><?php
printf(
/* translators: %s: smiling face with smiling eyes emoji */
__( 'Even More Developer Happiness %s' ),
'&#x1F60A'
);
?></h2>
<h2><?php _e( 'Under the Hood' ); ?></h2>
<div class="under-the-hood three-col">
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/05/17/cleaner-headings-in-the-admin-screens/"><?php _e( 'More Accessible Admin Panel Headings' ); ?></a></h3>
<p><?php _e( 'New CSS rules mean extraneous content (like &ldquo;Add New&rdquo; links) no longer need to be included in admin-area headings. These panel headings improve the experience for people using assistive technologies.' ); ?></p>
<h3><?php _e( 'Resource Hints' ); ?></h3>
<p><?php
printf(
/* translators: %s: https://make.wordpress.org/core/2016/07/06/resource-hints-in-4-6/ */
__( '<a href="%s">Resource hints help browsers</a> decide which resources to fetch and preprocess. WordPress 4.6 adds them automatically for your styles and scripts making your site even faster.' ),
'https://make.wordpress.org/core/2016/07/06/resource-hints-in-4-6/'
);
?></p>
</div>
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/05/22/removal-of-core-embedding-support-for-wmv-and-wma-file-formats/"><?php _e( 'Removal of Core Support for WMV and WMA Files' ); ?></a></h3>
<p><?php _e( 'As fewer and fewer browsers support Silverlight, file formats which require the presence of the Silverlight plugin are being removed from core support. Files will still display as a download link, but will no longer be embedded automatically.' ); ?></p>
<h3><?php _e( 'Robust Requests' ); ?></h3>
<p><?php _e( 'The HTTP API now leverages the Requests library, improving HTTP standard support and adding case-insensitive headers, parallel HTTP requests, and support for Internationalized Domain Names.' ); ?></p>
</div>
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/05/22/multisite-focused-changes-in-4-8/"><?php _e( 'Multisite Updates' ); ?></a></h3>
<p><?php _e( 'New capabilities have been introduced to 4.8 with an eye towards removing calls to <code>is_super_admin()</code>. Additionally, new hooks and tweaks to more granularly control site and user counts per network have been added.' ); ?></p>
<h3><?php
/* translators: 1: WP_Term_Query, 2: WP_Post_Type */
printf( __( '%1$s and %2$s' ), '<code>WP_Term_Query</code>', '<code>WP_Post_Type</code>' );
?></h3>
<p><?php
printf(
/* translators: 1: WP_Term_Query, 2: WP_Post_Type */
__( 'A new %1$s class adds flexibility to query term information while a new %2$s object makes interacting with post types more predictable.' ),
'<code>WP_Term_Query</code>',
'<code>WP_Post_Type</code>'
);
?></p>
</div>
</div>
<div class="under-the-hood three-col">
<div class="col">
<h3><?php _e( 'Meta Registration API' ); ?></h3>
<p><?php
printf(
/* translators: %s: https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/ */
__( 'The Meta Registration API <a href="%s">has been expanded</a> to support types, descriptions, and REST API visibility.' ),
'https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/'
);
?></p>
</div>
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/05/23/addition-of-tinymce-to-the-text-widget/"><?php _e( 'Text-Editor JavaScript API' ); ?></a></h3>
<p><?php _e( 'With the addition of TinyMCE to the text widget in 4.8 comes a new JavaScript API for instantiating the editor after page load. This can be used to add an editor instance to any text area, and customize it with buttons and functions. Great for plugin authors!' ); ?></p>
<h3><?php _e( 'Translations On Demand' ); ?></h3>
<p><?php _e( 'WordPress will install and use the newest language packs for your plugins and themes as soon as they&#8217;re available from <a href="https://translate.wordpress.org/">WordPress.org&#8217;s community of translators</a>.' ); ?></p>
</div>
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/05/26/media-widgets-for-images-video-and-audio/"><?php _e( 'Media Widgets API' ); ?></a></h3>
<p><?php _e( 'The introduction of a new base media widget REST API schema to 4.8 opens up possibilities for even more media widgets (like galleries or playlists) in the future. The three new media widgets are powered by a shared base class that covers most of the interactions with the media modal. That class also makes it easier to create new media widgets and paves the way for more to come.' ); ?></p>
<h3><?php _e( 'JavaScript Library Updates' ); ?></h3>
<p><?php _e( 'Masonry 3.3.2, imagesLoaded 3.2.0, MediaElement.js 2.22.0, TinyMCE 4.4.1, and Backbone.js 1.3.3 are bundled.' ); ?></p>
</div>
</div>
<div class="under-the-hood two-col">
<div class="col">
<h3><?php _e( 'Customizer APIs for Setting Validation and Notifications' ); ?></h3>
<p><?php _e( 'Settings now have an <a href="https://make.wordpress.org/core/2016/07/05/customizer-apis-in-4-6-for-setting-validation-and-notifications/">API for enforcing validation constraints</a>. Likewise, customizer controls now support notifications, which are used to display validation errors instead of failing silently.' ); ?></p>
</div>
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/05/16/customizer-sidebar-width-is-now-variable/"><?php _e( 'Customizer Width Variable' ); ?></a></h3>
<p><?php _e( 'Rejoice! New responsive breakpoints have been added to the customizer sidebar to make it wider on high-resolution screens. Customizer controls should use percentage-based widths instead of pixels.' ); ?></p>
<h3><?php _e( 'Multisite, now faster than ever' ); ?></h3>
<p><?php
printf(
/* translators: 1: WP_Site_Query, 2: WP_Network_Query */
__( 'Cached and comprehensive site queries improve your network admin experience. The addition of %1$s and %2$s help craft advanced queries with less effort.' ),
'<code>WP_Site_Query</code>',
'<code>WP_Network_Query</code>'
);
?></p>
</div>
</div>
</div>

View File

@@ -64,7 +64,7 @@ $core_actions_post = array(
'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'press-this-save-post',
'press-this-add-category', 'crop-image', 'generate-password', 'save-wporg-username', 'delete-plugin',
'search-plugins', 'search-install-plugins', 'activate-plugin', 'update-theme', 'delete-theme',
'install-theme', 'get-post-thumbnail-html', 'get-community-events',
'install-theme', 'get-post-thumbnail-html',
);
// Deprecated

View File

@@ -78,8 +78,12 @@ do_action( 'admin_footer', '' );
* refers to the global hook suffix of the current page.
*
* @since 4.6.0
*
* @global string $hook_suffix
*
* @param string $hook_suffix The current admin page.
*/
do_action( "admin_print_footer_scripts-{$hook_suffix}" );
do_action( "admin_print_footer_scripts-$hook_suffix" );
/**
* Prints any scripts and data queued for the footer.
@@ -95,8 +99,11 @@ do_action( 'admin_print_footer_scripts' );
* refers to the global hook suffix of the current page.
*
* @since 2.8.0
*
* @global string $hook_suffix
* @param string $hook_suffix The current admin page.
*/
do_action( "admin_footer-{$hook_suffix}" );
do_action( "admin_footer-$hook_suffix" );
// get_site_option() won't exist when auto upgrading from <= 2.7
if ( function_exists('get_site_option') ) {

View File

@@ -18,11 +18,12 @@ if ( ! defined( 'WP_ADMIN' ) )
* @global WP_Screen $current_screen
* @global WP_Locale $wp_locale
* @global string $pagenow
* @global string $wp_version
* @global string $update_title
* @global int $total_update_count
* @global string $parent_file
*/
global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow,
global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version,
$update_title, $total_update_count, $parent_file;
// Catch plugins that include admin-header.php before admin.php completes.
@@ -32,23 +33,17 @@ if ( empty( $current_screen ) )
get_admin_page_title();
$title = esc_html( strip_tags( $title ) );
if ( is_network_admin() ) {
/* translators: Network admin screen title. 1: Network name */
$admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_network()->site_name ) );
} elseif ( is_user_admin() ) {
/* translators: User dashboard screen title. 1: Network name */
$admin_title = sprintf( __( 'User Dashboard: %s' ), esc_html( get_network()->site_name ) );
} else {
if ( is_network_admin() )
$admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_current_site()->site_name ) );
elseif ( is_user_admin() )
$admin_title = sprintf( __( 'User Dashboard: %s' ), esc_html( get_current_site()->site_name ) );
else
$admin_title = get_bloginfo( 'name' );
}
if ( $admin_title == $title ) {
/* translators: Admin screen title. 1: Admin screen name */
if ( $admin_title == $title )
$admin_title = sprintf( __( '%1$s &#8212; WordPress' ), $title );
} else {
/* translators: Admin screen title. 1: Admin screen name, 2: Network or site name */
else
$admin_title = sprintf( __( '%1$s &lsaquo; %2$s &#8212; WordPress' ), $title, $admin_title );
}
/**
* Filters the title tag content for an admin page.
@@ -101,7 +96,7 @@ do_action( 'admin_enqueue_scripts', $hook_suffix );
*
* @since 2.6.0
*/
do_action( "admin_print_styles-{$hook_suffix}" );
do_action( "admin_print_styles-$hook_suffix" );
/**
* Fires when styles are printed for all admin pages.
@@ -115,7 +110,7 @@ do_action( 'admin_print_styles' );
*
* @since 2.1.0
*/
do_action( "admin_print_scripts-{$hook_suffix}" );
do_action( "admin_print_scripts-$hook_suffix" );
/**
* Fires when scripts are printed for all admin pages.
@@ -132,7 +127,7 @@ do_action( 'admin_print_scripts' );
*
* @since 2.1.0
*/
do_action( "admin_head-{$hook_suffix}" );
do_action( "admin_head-$hook_suffix" );
/**
* Fires in head section for all admin pages.
@@ -159,10 +154,10 @@ if ( $current_screen->post_type )
if ( $current_screen->taxonomy )
$admin_body_class .= ' taxonomy-' . $current_screen->taxonomy;
$admin_body_class .= ' branch-' . str_replace( array( '.', ',' ), '-', floatval( get_bloginfo( 'version' ) ) );
$admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', get_bloginfo( 'version' ) ) );
$admin_body_class .= ' branch-' . str_replace( array( '.', ',' ), '-', floatval( $wp_version ) );
$admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', $wp_version ) );
$admin_body_class .= ' admin-color-' . sanitize_html_class( get_user_option( 'admin_color' ), 'fresh' );
$admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_user_locale() ) ) );
$admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) );
if ( wp_is_mobile() )
$admin_body_class .= ' mobile';

View File

@@ -209,7 +209,7 @@ if ( isset($plugin_page) ) {
*
* @since 2.1.0
*/
do_action( "load-{$page_hook}" );
do_action( 'load-' . $page_hook );
if (! isset($_GET['noheader']))
require_once(ABSPATH . 'wp-admin/admin-header.php');
@@ -221,9 +221,8 @@ if ( isset($plugin_page) ) {
*/
do_action( $page_hook );
} else {
if ( validate_file( $plugin_page ) ) {
wp_die( __( 'Invalid plugin page.' ) );
}
if ( validate_file($plugin_page) )
wp_die(__('Invalid plugin page'));
if ( !( file_exists(WP_PLUGIN_DIR . "/$plugin_page") && is_file(WP_PLUGIN_DIR . "/$plugin_page") ) && !( file_exists(WPMU_PLUGIN_DIR . "/$plugin_page") && is_file(WPMU_PLUGIN_DIR . "/$plugin_page") ) )
wp_die(sprintf(__('Cannot load %s.'), htmlentities($plugin_page)));
@@ -240,7 +239,7 @@ if ( isset($plugin_page) ) {
*
* @since 1.5.0
*/
do_action( "load-{$plugin_page}" );
do_action( 'load-' . $plugin_page );
if ( !isset($_GET['noheader']))
require_once(ABSPATH . 'wp-admin/admin-header.php');
@@ -279,7 +278,7 @@ if ( isset($plugin_page) ) {
*
* @since 3.5.0
*/
do_action( "load-importer-{$importer}" );
do_action( 'load-importer-' . $importer );
$parent_file = 'tools.php';
$submenu_file = 'import.php';
@@ -327,7 +326,7 @@ if ( isset($plugin_page) ) {
*
* @since 2.1.0
*/
do_action( "load-{$pagenow}" );
do_action( 'load-' . $pagenow );
/*
* The following hooks are fired to ensure backward compatibility.

View File

@@ -52,7 +52,7 @@ if ( ! current_user_can( 'upload_files' ) ) {
if ( isset($_REQUEST['attachment_id']) && ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
$post = get_post( $id );
if ( 'attachment' != $post->post_type )
wp_die( __( 'Invalid post type.' ) );
wp_die( __( 'Unknown post type.' ) );
if ( ! current_user_can( 'edit_post', $id ) )
wp_die( __( 'Sorry, you are not allowed to edit this item.' ) );

View File

@@ -48,8 +48,8 @@ case 'editcomment' :
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://codex.wordpress.org/Administration_Screens#Comments">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>'
'<p>' . __( '<a href="https://codex.wordpress.org/Administration_Screens#Comments" target="_blank">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
);
wp_enqueue_script('comment');
@@ -213,7 +213,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
<th scope="row"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>
<td class="comment-content">
<?php comment_text( $comment ); ?>
<p class="edit-comment"><a href="<?php echo admin_url( "comment.php?action=editcomment&amp;c={$comment->comment_ID}" ); ?>"><?php esc_html_e( 'Edit' ); ?></a></p>
<p class="edit-comment"><a href="<?php echo admin_url( "comment.php?action=editcomment&amp;c={$comment->comment_ID}" ); ?>"><?php esc_attr_e( 'Edit' ); ?></a></p>
</td>
</tr>
</table>
@@ -222,7 +222,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
<p>
<?php submit_button( $button, 'primary', 'submit', false ); ?>
<a href="<?php echo admin_url('edit-comments.php'); ?>" class="button-cancel"><?php esc_html_e( 'Cancel' ); ?></a>
<a href="<?php echo admin_url('edit-comments.php'); ?>" class="button-cancel"><?php esc_attr_e( 'Cancel' ); ?></a>
</p>
<?php wp_nonce_field( $nonce_action ); ?>

View File

@@ -12,7 +12,7 @@ require_once( dirname( __FILE__ ) . '/includes/credits.php' );
$title = __( 'Credits' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
list( $display_version ) = explode( '-', $wp_version );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
@@ -20,7 +20,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s adds more ways for you to express yourself and represent your brand.' ), $display_version ); ?></p>
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version. WordPress %s changes a lot behind the scenes to make your WordPress experience even better!' ), $display_version ); ?></p>
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>

View File

@@ -93,7 +93,7 @@
}
.about-wrap .feature-section p {
max-width: 55em;
max-width: 38em;
margin-right: auto;
margin-left: auto;
}
@@ -108,8 +108,8 @@
}
.about-wrap h2 {
margin: 40px 0 .6em;
font-size: 2.7em;
margin: 50px 0 1em;
font-size: 1.8em;
line-height: 1.3;
font-weight: 300;
text-align: center;
@@ -117,7 +117,7 @@
.about-wrap h3 {
margin: 1.25em 0 .6em;
font-size: 1.4em;
font-size: 1.25em;
line-height: 1.5;
}
@@ -125,12 +125,6 @@
color: #23282d;
}
.about-wrap .changelog h2 {
font-size: 1.4em;
font-weight: 600;
text-align: right;
}
.about-wrap .changelog h3 {
margin: 1.33em 0;
font-size: 1em;
@@ -160,57 +154,50 @@
/* 1.2 - Structure */
.about-wrap [class$="-col"] {
display: -ms-flexbox;
display: -webkit-flex;
display: -webkit-box;
display: -moz-box;
display: flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-moz-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.about-wrap .feature-section.one-col {
margin: 0 auto;
max-width: 700px;
}
.about-wrap [class$="-col"] .col {
-webkit-flex: 1;
-ms-flex: 1;
-webkit-box-flex: 1;
-moz-box-flex: 1;
flex: 1;
.about-wrap [class$=col] .col {
float: right;
position: relative;
}
.about-wrap .two-col .col {
min-width: 47%;
max-width: 47%;
}
.about-wrap .three-col .col {
-webkit-align-self: flex-start;
-ms-flex-item-align: start;
align-self: flex-start;
min-width: 31%;
max-width: 31%;
margin-left: 4.799999999%;
width: 47.6%;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
.about-wrap .feature-section.two-col .col {
display: inline-block;
float: none;
margin-top: 1em;
margin-left: 4.799999999%;
width: -webkit-calc( 47.6% - 4px );
width: calc( 47.6% - 4px );
vertical-align: top;
}
.about-wrap .three-col .col {
margin-left: 4.999999999%;
width: 29.95%;
}
.about-wrap .two-col .col:nth-of-type(2n),
.about-wrap .three-col .col:nth-of-type(3n) {
margin-left: 0;
}
.about-wrap .under-the-hood {
clear: both;
overflow: hidden;
}
.about-wrap .under-the-hood:nth-of-type(2n),
.about-wrap .under-the-hood:nth-of-type(3n) {
margin-top: 3em;
}
.about-wrap .feature-video .mejs-controls {
display: none !important;
}
@@ -240,6 +227,19 @@
/* 2.1 - Typography */
.about-wrap .headline-feature h2 {
margin: 30px 0 30px;
font-size: 2.2em;
font-weight: 300;
line-height: 1.3;
text-align: center;
}
.about-wrap .headline-feature h3 {
margin-top: 0;
text-align: right;
}
.about-wrap .feature-section.two-col h3 {
margin-top: 0;
}
@@ -253,11 +253,6 @@
margin-top: 0.6em;
}
.about-wrap .lead-description {
font-size: 1.5em;
text-align: center;
}
.about-wrap .two-col-text {
-webkit-column-count: 2;
-moz-column-count: 2;
@@ -305,18 +300,15 @@
padding: 0 0 40px;
}
.about-wrap .feature-section.no-heading {
padding-top: 35px;
.about-wrap .headline-feature {
margin: 0 auto;
max-width: 80%;
}
.about-wrap .feature-section .media-container {
overflow: hidden;
}
.about-wrap .feature-section img {
margin-bottom: 1em;
}
.about-wrap .embed-container {
text-align: center;
}
@@ -452,11 +444,6 @@
column-count: 1;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col {
min-width: 48% !important;
}
.about-wrap .three-col img {
display: block;
margin: 0 auto;
@@ -486,7 +473,8 @@
.about-wrap .two-col .col,
.about-wrap .three-col .col {
min-width: 100% !important;
width: 100% !important;
float: none !important;
}
.about-wrap .under-the-hood.three-col .col,

File diff suppressed because one or more lines are too long

View File

@@ -93,7 +93,7 @@
}
.about-wrap .feature-section p {
max-width: 55em;
max-width: 38em;
margin-left: auto;
margin-right: auto;
}
@@ -108,8 +108,8 @@
}
.about-wrap h2 {
margin: 40px 0 .6em;
font-size: 2.7em;
margin: 50px 0 1em;
font-size: 1.8em;
line-height: 1.3;
font-weight: 300;
text-align: center;
@@ -117,7 +117,7 @@
.about-wrap h3 {
margin: 1.25em 0 .6em;
font-size: 1.4em;
font-size: 1.25em;
line-height: 1.5;
}
@@ -125,12 +125,6 @@
color: #23282d;
}
.about-wrap .changelog h2 {
font-size: 1.4em;
font-weight: 600;
text-align: left;
}
.about-wrap .changelog h3 {
margin: 1.33em 0;
font-size: 1em;
@@ -160,57 +154,50 @@
/* 1.2 - Structure */
.about-wrap [class$="-col"] {
display: -ms-flexbox;
display: -webkit-flex;
display: -webkit-box;
display: -moz-box;
display: flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-moz-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.about-wrap .feature-section.one-col {
margin: 0 auto;
max-width: 700px;
}
.about-wrap [class$="-col"] .col {
-webkit-flex: 1;
-ms-flex: 1;
-webkit-box-flex: 1;
-moz-box-flex: 1;
flex: 1;
.about-wrap [class$=col] .col {
float: left;
position: relative;
}
.about-wrap .two-col .col {
min-width: 47%;
max-width: 47%;
}
.about-wrap .three-col .col {
-webkit-align-self: flex-start;
-ms-flex-item-align: start;
align-self: flex-start;
min-width: 31%;
max-width: 31%;
margin-right: 4.799999999%;
width: 47.6%;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
.about-wrap .feature-section.two-col .col {
display: inline-block;
float: none;
margin-top: 1em;
margin-right: 4.799999999%;
width: -webkit-calc( 47.6% - 4px );
width: calc( 47.6% - 4px );
vertical-align: top;
}
.about-wrap .three-col .col {
margin-right: 4.999999999%;
width: 29.95%;
}
.about-wrap .two-col .col:nth-of-type(2n),
.about-wrap .three-col .col:nth-of-type(3n) {
margin-right: 0;
}
.about-wrap .under-the-hood {
clear: both;
overflow: hidden;
}
.about-wrap .under-the-hood:nth-of-type(2n),
.about-wrap .under-the-hood:nth-of-type(3n) {
margin-top: 3em;
}
.about-wrap .feature-video .mejs-controls {
display: none !important;
}
@@ -240,6 +227,19 @@
/* 2.1 - Typography */
.about-wrap .headline-feature h2 {
margin: 30px 0 30px;
font-size: 2.2em;
font-weight: 300;
line-height: 1.3;
text-align: center;
}
.about-wrap .headline-feature h3 {
margin-top: 0;
text-align: left;
}
.about-wrap .feature-section.two-col h3 {
margin-top: 0;
}
@@ -253,11 +253,6 @@
margin-top: 0.6em;
}
.about-wrap .lead-description {
font-size: 1.5em;
text-align: center;
}
.about-wrap .two-col-text {
-webkit-column-count: 2;
-moz-column-count: 2;
@@ -305,18 +300,15 @@
padding: 0 0 40px;
}
.about-wrap .feature-section.no-heading {
padding-top: 35px;
.about-wrap .headline-feature {
margin: 0 auto;
max-width: 80%;
}
.about-wrap .feature-section .media-container {
overflow: hidden;
}
.about-wrap .feature-section img {
margin-bottom: 1em;
}
.about-wrap .embed-container {
text-align: center;
}
@@ -452,11 +444,6 @@
column-count: 1;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col {
min-width: 48% !important;
}
.about-wrap .three-col img {
display: block;
margin: 0 auto;
@@ -486,7 +473,8 @@
.about-wrap .two-col .col,
.about-wrap .three-col .col {
min-width: 100% !important;
width: 100% !important;
float: none !important;
}
.about-wrap .under-the-hood.three-col .col,

File diff suppressed because one or more lines are too long

View File

@@ -264,7 +264,7 @@
.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu a.menu-top:focus + .wp-submenu,
.folded #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu,
.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu {
.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu {
top: 0;
right: 36px;
}
@@ -547,82 +547,79 @@ ul#adminmenu > li.current > a.current:after {
display: none;
}
#collapse-button {
display: block;
width: 100%;
height: 34px;
margin: 0;
border: none;
padding: 0;
position: relative;
overflow: visible;
#collapse-menu {
font-size: 13px;
line-height: 34px;
background: none;
color: #aaa;
cursor: pointer;
outline: 0;
margin-top: 10px;
color: #a0a5aa;
color: rgba(240,245,250,0.6);
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
#collapse-button:hover,
#collapse-button:focus {
#collapse-menu:hover,
#collapse-menu:hover #collapse-button div:after {
color: #00b9eb;
}
#collapse-button .collapse-button-icon,
#collapse-button .collapse-button-label {
/* absolutely positioned to avoid 1px shift in IE when button is pressed */
display: block;
position: absolute;
top: 0;
right: 0;
line-height: 34px;
}
#collapse-button .collapse-button-icon {
width: 36px;
height: 34px;
}
#collapse-button .collapse-button-label {
padding: 0 36px 0 0;
}
.folded #collapse-button .collapse-button-label {
.folded #collapse-menu span {
display: none;
}
#collapse-button .collapse-button-icon:after {
#collapse-button,
#collapse-button div {
width: 15px;
height: 15px;
}
#collapse-button {
float: right;
height: 15px;
margin: 10px 11px 10px 8px;
width: 15px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
#wpwrap #collapse-button div {
padding: 0;
}
#collapse-button div:after {
content: "\f148";
display: block;
position: relative;
top: 7px;
text-align: center;
line-height: 15px;
right: -3px;
top: -3px;
color: #a0a5aa;
color: rgba(240,245,250,0.6);
font: normal 20px/1 dashicons !important;
speak: none;
margin: 0 auto;
padding: 0 !important;
position: relative;
text-align: center;
width: 20px;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* rtl:ignore */
.folded #collapse-button .collapse-button-icon:after,
.rtl #collapse-button .collapse-button-icon:after {
.folded #collapse-button div:after,
.rtl #collapse-button div:after {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.folded #collapse-button .collapse-button-icon:after {
.rtl.folded #collapse-button div:after {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
#collapse-button .collapse-button-icon:after,
#collapse-button .collapse-button-label {
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
/**
* Toolbar menu toggle
*/
@@ -655,7 +652,7 @@ li#wp-admin-bar-menu-toggle {
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.auto-fold #adminmenu a.menu-top:focus + .wp-submenu,
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
top: 0px;
right: 36px;
}
@@ -734,18 +731,22 @@ li#wp-admin-bar-menu-toggle {
z-index: 10000;
}
.auto-fold #collapse-menu .collapse-button-label {
.auto-fold #collapse-menu span {
display: none;
}
.auto-fold #collapse-button div {
background: none;
}
/* rtl:ignore */
.auto-fold #collapse-button .collapse-button-icon:after {
.auto-fold #collapse-button div:after {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.auto-fold #collapse-button .collapse-button-icon:after {
.rtl.auto-fold #collapse-button div:after {
-webkit-transform: none;
-ms-transform: none;
transform: none;

File diff suppressed because one or more lines are too long

View File

@@ -264,7 +264,7 @@
.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.folded #adminmenu a.menu-top:focus + .wp-submenu,
.folded #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu,
.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu {
.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu {
top: 0;
left: 36px;
}
@@ -547,82 +547,79 @@ ul#adminmenu > li.current > a.current:after {
display: none;
}
#collapse-button {
display: block;
width: 100%;
height: 34px;
margin: 0;
border: none;
padding: 0;
position: relative;
overflow: visible;
#collapse-menu {
font-size: 13px;
line-height: 34px;
background: none;
color: #aaa;
cursor: pointer;
outline: 0;
margin-top: 10px;
color: #a0a5aa;
color: rgba(240,245,250,0.6);
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
#collapse-button:hover,
#collapse-button:focus {
#collapse-menu:hover,
#collapse-menu:hover #collapse-button div:after {
color: #00b9eb;
}
#collapse-button .collapse-button-icon,
#collapse-button .collapse-button-label {
/* absolutely positioned to avoid 1px shift in IE when button is pressed */
display: block;
position: absolute;
top: 0;
left: 0;
line-height: 34px;
}
#collapse-button .collapse-button-icon {
width: 36px;
height: 34px;
}
#collapse-button .collapse-button-label {
padding: 0 0 0 36px;
}
.folded #collapse-button .collapse-button-label {
.folded #collapse-menu span {
display: none;
}
#collapse-button .collapse-button-icon:after {
#collapse-button,
#collapse-button div {
width: 15px;
height: 15px;
}
#collapse-button {
float: left;
height: 15px;
margin: 10px 8px 10px 11px;
width: 15px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
#wpwrap #collapse-button div {
padding: 0;
}
#collapse-button div:after {
content: "\f148";
display: block;
position: relative;
top: 7px;
text-align: center;
line-height: 15px;
left: -3px;
top: -3px;
color: #a0a5aa;
color: rgba(240,245,250,0.6);
font: normal 20px/1 dashicons !important;
speak: none;
margin: 0 auto;
padding: 0 !important;
position: relative;
text-align: center;
width: 20px;
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* rtl:ignore */
.folded #collapse-button .collapse-button-icon:after,
.rtl #collapse-button .collapse-button-icon:after {
.folded #collapse-button div:after,
.rtl #collapse-button div:after {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.folded #collapse-button .collapse-button-icon:after {
.rtl.folded #collapse-button div:after {
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
#collapse-button .collapse-button-icon:after,
#collapse-button .collapse-button-label {
-webkit-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
/**
* Toolbar menu toggle
*/
@@ -655,7 +652,7 @@ li#wp-admin-bar-menu-toggle {
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
.auto-fold #adminmenu a.menu-top:focus + .wp-submenu,
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
top: 0px;
left: 36px;
}
@@ -734,18 +731,22 @@ li#wp-admin-bar-menu-toggle {
z-index: 10000;
}
.auto-fold #collapse-menu .collapse-button-label {
.auto-fold #collapse-menu span {
display: none;
}
.auto-fold #collapse-button div {
background: none;
}
/* rtl:ignore */
.auto-fold #collapse-button .collapse-button-icon:after {
.auto-fold #collapse-button div:after {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.auto-fold #collapse-button .collapse-button-icon:after {
.rtl.auto-fold #collapse-button div:after {
-webkit-transform: none;
-ms-transform: none;
transform: none;

File diff suppressed because one or more lines are too long

View File

@@ -124,20 +124,3 @@
border-color: #c00;
color: #000;
}
.iris-picker .ui-square-handle:focus,
.iris-picker .iris-strip .ui-slider-handle:focus {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
@media screen and ( max-width: 782px ) {
.wp-picker-container input[type="text"].wp-color-picker {
margin-left: 6px;
padding: 3px 5px;
}
}

View File

@@ -1 +1 @@
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 0 6px 6px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;left:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{margin-left:6px;padding:3px 5px}}
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 0 6px 6px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;left:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}

View File

@@ -124,20 +124,3 @@
border-color: #c00;
color: #000;
}
.iris-picker .ui-square-handle:focus,
.iris-picker .iris-strip .ui-slider-handle:focus {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
@media screen and ( max-width: 782px ) {
.wp-picker-container input[type="text"].wp-color-picker {
margin-right: 6px;
padding: 3px 5px;
}
}

View File

@@ -1 +1 @@
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 6px 6px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{margin-right:6px;padding:3px 5px}}
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 6px 6px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}

View File

@@ -3,7 +3,7 @@
@import 'mixins';
body {
html {
background: $body-background;
}
@@ -227,15 +227,23 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: $menu-collapse-text;
}
#collapse-button:hover,
#collapse-button:focus {
color: $menu-submenu-focus-text;
#collapse-menu:hover {
color: $menu-collapse-focus-text;
}
#collapse-button div:after {
color: $menu-collapse-icon;
}
#collapse-menu:hover #collapse-button div:after {
color: $menu-collapse-focus-icon;
}
/* Admin Bar */
#wpadminbar {
@@ -316,7 +324,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -408,7 +415,12 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px $highlight-color;
-webkit-box-shadow:
0px 0px 0px 1px #fff,
0px 0px 0px 3px $highlight-color;
box-shadow:
0px 0px 0px 1px #fff,
0px 0px 0px 3px $highlight-color;
}
@@ -462,6 +474,17 @@ body.more-filters-opened .more-filters:focus:before {
color: $menu-highlight-text;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: $menu-highlight-background;
color: $menu-highlight-text;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: $highlight-color;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
@mixin button( $button-color, $text-color: #fff ) {
@mixin button( $button-color, $text-color: white ) {
background: $button-color;
border-color: darken( $button-color, 10% ) darken( $button-color, 15% ) darken( $button-color, 15% );
color: $text-color;

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #e1a948;
border-color: #d39323 #bd831f #bd831f;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f;
text-shadow: 0 -1px 1px #bd831f, -1px 0 1px #bd831f, 0 1px 1px #bd831f, 1px 0 1px #bd831f;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e3af55;
border-color: #bd831f;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f;
}
@@ -259,12 +259,19 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #e5f8ff;
}
#collapse-button:hover,
#collapse-button:focus {
#collapse-menu:hover {
color: #fff;
}
#collapse-button div:after {
color: #e5f8ff;
}
#collapse-menu:hover #collapse-button div:after {
color: #fff;
}
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #096484;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #096484;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #e5f8ff;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #e1a948;
border-color: #d39323 #bd831f #bd831f;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f;
text-shadow: 0 -1px 1px #bd831f, 1px 0 1px #bd831f, 0 1px 1px #bd831f, -1px 0 1px #bd831f;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e3af55;
border-color: #bd831f;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #bd831f;
box-shadow: 0 1px 0 #bd831f;
}
@@ -259,12 +259,19 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #e5f8ff;
}
#collapse-button:hover,
#collapse-button:focus {
#collapse-menu:hover {
color: #fff;
}
#collapse-button div:after {
color: #e5f8ff;
}
#collapse-menu:hover #collapse-button div:after {
color: #fff;
}
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #096484;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #096484;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #e5f8ff;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #c7a589;
border-color: #b78b66 #ae7d55 #ae7d55;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55;
text-shadow: 0 -1px 1px #ae7d55, -1px 0 1px #ae7d55, 0 1px 1px #ae7d55, 1px 0 1px #ae7d55;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #ccad93;
border-color: #ae7d55;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55;
}
@@ -259,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #f3f2f1;
}
#collapse-button:hover,
#collapse-button:focus {
color: #c7a589;
#collapse-menu:hover {
color: #fff;
}
#collapse-button div:after {
color: #f3f2f1;
}
#collapse-menu:hover #collapse-button div:after {
color: #fff;
}
/* Admin Bar */
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #c7a589;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #c7a589;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #f3f2f1;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #c7a589;
border-color: #b78b66 #ae7d55 #ae7d55;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55;
text-shadow: 0 -1px 1px #ae7d55, 1px 0 1px #ae7d55, 0 1px 1px #ae7d55, -1px 0 1px #ae7d55;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #ccad93;
border-color: #ae7d55;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #ae7d55;
box-shadow: 0 1px 0 #ae7d55;
}
@@ -259,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #f3f2f1;
}
#collapse-button:hover,
#collapse-button:focus {
color: #c7a589;
#collapse-menu:hover {
color: #fff;
}
#collapse-button div:after {
color: #f3f2f1;
}
#collapse-menu:hover #collapse-button div:after {
color: #fff;
}
/* Admin Bar */
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #c7a589;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #c7a589;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #f3f2f1;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #a3b745;
border-color: #829237 #727f30 #727f30;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30;
text-shadow: 0 -1px 1px #727f30, -1px 0 1px #727f30, 0 1px 1px #727f30, 1px 0 1px #727f30;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a9bd4f;
border-color: #727f30;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30;
}
@@ -259,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #ece6f6;
}
#collapse-button:hover,
#collapse-button:focus {
color: #a3b745;
#collapse-menu:hover {
color: #fff;
}
#collapse-button div:after {
color: #ece6f6;
}
#collapse-menu:hover #collapse-button div:after {
color: #fff;
}
/* Admin Bar */
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #a3b745;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #a3b745;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #ece6f6;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #a3b745;
border-color: #829237 #727f30 #727f30;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30;
text-shadow: 0 -1px 1px #727f30, 1px 0 1px #727f30, 0 1px 1px #727f30, -1px 0 1px #727f30;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a9bd4f;
border-color: #727f30;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #727f30;
box-shadow: 0 1px 0 #727f30;
}
@@ -259,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #ece6f6;
}
#collapse-button:hover,
#collapse-button:focus {
color: #a3b745;
#collapse-menu:hover {
color: #fff;
}
#collapse-button div:after {
color: #ece6f6;
}
#collapse-menu:hover #collapse-button div:after {
color: #fff;
}
/* Admin Bar */
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #a3b745;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #a3b745;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #ece6f6;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f5f5f5;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #04a4cc;
border-color: #037c9a #036881 #036881;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881;
text-shadow: 0 -1px 1px #036881, -1px 0 1px #036881, 0 1px 1px #036881, 1px 0 1px #036881;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #04b0db;
border-color: #036881;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881;
}
@@ -259,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #777;
}
#collapse-button:hover,
#collapse-button:focus {
color: #04a4cc;
#collapse-menu:hover {
color: #333;
}
#collapse-button div:after {
color: #999;
}
#collapse-menu:hover #collapse-button div:after {
color: #555;
}
/* Admin Bar */
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #888;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #04a4cc;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #999;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f5f5f5;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #04a4cc;
border-color: #037c9a #036881 #036881;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881;
text-shadow: 0 -1px 1px #036881, 1px 0 1px #036881, 0 1px 1px #036881, -1px 0 1px #036881;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #04b0db;
border-color: #036881;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #036881;
box-shadow: 0 1px 0 #036881;
}
@@ -259,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #777;
}
#collapse-button:hover,
#collapse-button:focus {
color: #04a4cc;
#collapse-menu:hover {
color: #333;
}
#collapse-button div:after {
color: #999;
}
#collapse-menu:hover #collapse-button div:after {
color: #555;
}
/* Admin Bar */
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #888;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #04a4cc;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #999;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #e14d43;
border-color: #d02c21 #ba281e #ba281e;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e;
text-shadow: 0 -1px 1px #ba281e, -1px 0 1px #ba281e, 0 1px 1px #ba281e, 1px 0 1px #ba281e;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e35950;
border-color: #ba281e;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e;
}
@@ -259,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #f1f2f3;
}
#collapse-button:hover,
#collapse-button:focus {
color: #e14d43;
#collapse-menu:hover {
color: #fff;
}
#collapse-button div:after {
color: #f1f2f3;
}
#collapse-menu:hover #collapse-button div:after {
color: #fff;
}
/* Admin Bar */
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #e14d43;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #e14d43;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #f1f2f3;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #e14d43;
border-color: #d02c21 #ba281e #ba281e;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e;
text-shadow: 0 -1px 1px #ba281e, 1px 0 1px #ba281e, 0 1px 1px #ba281e, -1px 0 1px #ba281e;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e35950;
border-color: #ba281e;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #ba281e;
box-shadow: 0 1px 0 #ba281e;
}
@@ -259,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #f1f2f3;
}
#collapse-button:hover,
#collapse-button:focus {
color: #e14d43;
#collapse-menu:hover {
color: #fff;
}
#collapse-button div:after {
color: #f1f2f3;
}
#collapse-menu:hover #collapse-button div:after {
color: #fff;
}
/* Admin Bar */
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #e14d43;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #e14d43;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #f1f2f3;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #9ebaa0;
border-color: #80a583 #719a74 #719a74;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74;
text-shadow: 0 -1px 1px #719a74, -1px 0 1px #719a74, 0 1px 1px #719a74, 1px 0 1px #719a74;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a7c0a9;
border-color: #719a74;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74;
}
@@ -259,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #f2fcff;
}
#collapse-button:hover,
#collapse-button:focus {
color: #9ebaa0;
#collapse-menu:hover {
color: #fff;
}
#collapse-button div:after {
color: #f2fcff;
}
#collapse-menu:hover #collapse-button div:after {
color: #fff;
}
/* Admin Bar */
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #9ebaa0;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #9ebaa0;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #f2fcff;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #9ebaa0;
border-color: #80a583 #719a74 #719a74;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74;
text-shadow: 0 -1px 1px #719a74, 1px 0 1px #719a74, 0 1px 1px #719a74, -1px 0 1px #719a74;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a7c0a9;
border-color: #719a74;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #719a74;
box-shadow: 0 1px 0 #719a74;
}
@@ -259,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #f2fcff;
}
#collapse-button:hover,
#collapse-button:focus {
color: #9ebaa0;
#collapse-menu:hover {
color: #fff;
}
#collapse-button div:after {
color: #f2fcff;
}
#collapse-menu:hover #collapse-button div:after {
color: #fff;
}
/* Admin Bar */
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #9ebaa0;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #9ebaa0;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #f2fcff;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #dd823b;
border-color: #c36922 #ad5d1e #ad5d1e;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e;
text-shadow: 0 -1px 1px #ad5d1e, -1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, 1px 0 1px #ad5d1e;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #df8a48;
border-color: #ad5d1e;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e;
}
@@ -259,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #f3f1f1;
}
#collapse-button:hover,
#collapse-button:focus {
color: #f7e3d3;
#collapse-menu:hover {
color: #fff;
}
#collapse-button div:after {
color: #f3f1f1;
}
#collapse-menu:hover #collapse-button div:after {
color: #fff;
}
/* Admin Bar */
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #dd823b;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #dd823b;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #f3f1f1;

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
@@ -40,7 +40,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary {
background: #dd823b;
border-color: #c36922 #ad5d1e #ad5d1e;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e;
text-shadow: 0 -1px 1px #ad5d1e, 1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, -1px 0 1px #ad5d1e;
@@ -49,7 +49,7 @@ input[type=radio]:checked:before {
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #df8a48;
border-color: #ad5d1e;
color: #fff;
color: white;
-webkit-box-shadow: 0 1px 0 #ad5d1e;
box-shadow: 0 1px 0 #ad5d1e;
}
@@ -259,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: collapse button */
#collapse-button {
#collapse-menu {
color: #f3f1f1;
}
#collapse-button:hover,
#collapse-button:focus {
color: #f7e3d3;
#collapse-menu:hover {
color: #fff;
}
#collapse-button div:after {
color: #f3f1f1;
}
#collapse-menu:hover #collapse-button div:after {
color: #fff;
}
/* Admin Bar */
@@ -345,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li:hover .ab-item:before,
#wpadminbar li a:focus .ab-icon:before,
#wpadminbar li .ab-item:focus:before,
#wpadminbar li .ab-item:focus .ab-icon:before,
#wpadminbar li.hover .ab-icon:before,
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
@@ -430,8 +436,8 @@ ul#adminmenu > li.current > a.current:after {
}
.media-selection .attachment.selection.details .thumbnail {
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b;
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b;
}
/* Themes */
@@ -482,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Customize */
#customize-theme-controls .widget-area-select .selected {
background-color: #dd823b;
color: #fff;
}
#customize-footer-actions .devices button:focus {
border-bottom-color: #dd823b;
}
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: #f3f1f1;

File diff suppressed because one or more lines are too long

View File

@@ -244,7 +244,6 @@ td {
line-height: inherit;
}
/* Any change to the default link style must be applied to button-link too. */
a {
color: #0073aa;
-webkit-transition-property: border, background, color;
@@ -465,8 +464,7 @@ code {
word-wrap: break-word;
}
.widefat a,
.widefat button.button-link {
.widefat a {
text-decoration: none;
}
@@ -574,20 +572,10 @@ code {
font-size: 23px;
font-weight: 400;
margin: 0;
padding: 9px 0 4px 0;
padding: 9px 0 4px 15px;
line-height: 29px;
}
.wrap h1.wp-heading-inline {
display: inline-block;
margin-left: 5px;
}
.wp-header-end {
visibility: hidden;
margin: -2px 0 0;
}
.subtitle {
margin: 0;
padding-right: 25px;
@@ -620,10 +608,6 @@ code {
outline: 0;
}
.wrap .wp-heading-inline + .page-title-action {
margin-right: 0;
}
.wrap .add-new-h2:hover, /* deprecated */
.wrap .page-title-action:hover {
border-color: #008EC2;
@@ -696,7 +680,7 @@ ul.striped > :nth-child(odd),
}
.wp-ui-highlight {
color: #fff;
color: white;
background-color: #1e8cbe;
}
.wp-ui-text-highlight {
@@ -775,11 +759,11 @@ img.emoji {
/* @todo can we combine these into a class or use an existing dashicon one? */
.welcome-panel .welcome-panel-close:before,
.tagchecklist .ntdelbutton .remove-tag-icon:before,
.tagchecklist span a:before,
#bulk-titles div a:before,
.notice-dismiss:before {
background: none;
color: #72777c;
color: #b4b9be;
content: "\f153";
display: block;
font: normal 16px/20px dashicons;
@@ -795,41 +779,18 @@ img.emoji {
margin: 0;
}
.tagchecklist span a:before,
#bulk-titles div a:before {
margin: 1px 0;
}
.tagchecklist .ntdelbutton .remove-tag-icon:before {
margin-right: 2px;
-webkit-border-radius: 50%;
border-radius: 50%;
color: #0073aa;
/* vertically center the icon cross browsers */
line-height: 1.28;
}
.tagchecklist .ntdelbutton:focus {
outline: 0;
}
.welcome-panel .welcome-panel-close:hover:before,
.welcome-panel .welcome-panel-close:focus:before,
.tagchecklist .ntdelbutton:hover .remove-tag-icon:before,
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,
#bulk-titles div a:hover:before,
#bulk-titles div a:focus:before {
.tagchecklist span a:hover:before,
#bulk-titles div a:hover:before {
color: #c00;
}
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
.key-labels label {
line-height: 24px;
}
@@ -874,14 +835,14 @@ hr {
.submitbox .submitdelete,
#media-items a.delete,
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete,
#delete-link a.delete {
#nav-menu-footer .menu-delete {
color: #a00;
}
abbr.required,
span.required,
.file-error,
.widget-control-remove:hover,
.row-actions .delete a:hover,
.row-actions .trash a:hover,
.row-actions .spam a:hover,
@@ -891,9 +852,9 @@ span.required,
.submitbox .submitdelete:hover,
#media-items a.delete:hover,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover {
color: #dc3232;
#nav-menu-footer .menu-delete:hover {
color: #f00;
text-decoration: none;
border: none;
}
@@ -909,19 +870,10 @@ span.required,
}
#delete-action {
float: right;
line-height: 28px;
}
#delete-link {
line-height: 28px;
vertical-align: middle;
text-align: right;
margin-right: 8px;
}
#delete-link a {
text-decoration: none;
float: right;
}
#publishing-action {
@@ -1091,88 +1043,88 @@ th.action-links {
display: inline-block;
}
.wp-filter .button.drawer-toggle {
margin: 10px 9px 0;
padding: 0 6px 0 10px;
border-color: transparent;
background-color: transparent;
.wp-filter .drawer-toggle {
display: inline-block;
margin: 0 10px;
padding: 4px 6px;
color: #666;
vertical-align: baseline;
-webkit-box-shadow: none;
box-shadow: none;
cursor: pointer;
}
.wp-filter .drawer-toggle:before {
display: inline-block;
vertical-align: top;
content: "\f111";
margin: 0 0 0 5px;
width: 16px;
height: 16px;
color: #72777c;
font: normal 16px/1 dashicons;
vertical-align: text-bottom;
-webkit-transition: color .1s ease-in 0;
transition: color .1s ease-in 0;
font-family: dashicons;
font-size: 16px;
line-height: 1;
text-align: center;
text-decoration: inherit;
font-weight: 400;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.wp-filter .button.drawer-toggle:hover,
.wp-filter .drawer-toggle:hover:before,
.wp-filter .button.drawer-toggle:focus,
.wp-filter .drawer-toggle:focus:before {
background-color: transparent;
.wp-filter .drawer-toggle:hover,
.wp-filter .drawer-toggle:hover:before {
color: #00a0d2;
}
.wp-filter .button.drawer-toggle:hover,
.wp-filter .button.drawer-toggle:focus:active {
border-color: transparent;
}
.wp-filter .button.drawer-toggle:focus {
border-color: #5b9dd9;
}
.wp-filter .button.drawer-toggle:active {
background: transparent;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
.wp-filter .drawer-toggle.current:before {
color: #fff;
}
.filter-drawer,
.wp-filter .favorites-form {
display: none;
margin: 0 -20px 0 -10px;
margin: 0 -20px;
padding: 20px;
border-top: 1px solid #eee;
background: #fafafa;
overflow: hidden;
width: 100%;
}
.show-filters .filter-drawer,
.show-favorites-form .favorites-form {
.show-favorites-form .wp-filter .favorites-form {
display: block;
}
.filter-drawer {
display: none;
margin: 0 -20px;
padding: 20px;
border-top: 1px solid #eee;
background: #fafafa;
}
.show-filters .filter-drawer {
display: block;
overflow: hidden;
width: 100%;
}
.show-filters .wp-filter .drawer-toggle:hover,
.show-filters .wp-filter .drawer-toggle:focus {
background: rgb(46, 162, 204);
}
.show-filters .filter-links a.current {
border-bottom: none;
}
.show-filters .wp-filter .button.drawer-toggle {
.show-filters .wp-filter .drawer-toggle {
-webkit-border-radius: 2px;
border-radius: 2px;
border: none;
background: #72777c;
color: #fff;
}
.show-filters .wp-filter .drawer-toggle:hover,
.show-filters .wp-filter .drawer-toggle:focus {
background: rgb(46, 162, 204);
}
.show-filters .wp-filter .drawer-toggle:before {
color: #fff;
}
@@ -1216,15 +1168,9 @@ th.action-links {
}
.filter-drawer .buttons {
clear: both;
margin-bottom: 20px;
}
.filter-drawer .filter-group + .buttons {
margin-bottom: 0;
padding-top: 20px;
}
.filter-drawer .buttons .button span {
display: inline-block;
opacity: 0.8;
@@ -1237,11 +1183,6 @@ th.action-links {
margin-right: 10px;
}
.wp-filter .button-link.edit-filters {
padding: 0 5px;
line-height: 28px;
}
.filtered-by {
display: none;
margin: 0;
@@ -1283,7 +1224,6 @@ th.action-links {
padding: 20px;
}
.show-filters .favorites-form,
.show-filters .content-filterable,
.show-filters.filters-applied.loading-content .content-filterable,
.loading-content .content-filterable,
@@ -1417,7 +1357,7 @@ div.error p,
margin: 0;
padding: 9px;
background: none;
color: #72777c;
color: #b4b9be;
cursor: pointer;
}
@@ -1593,7 +1533,8 @@ form.upgrade .hint {
color: #66c6e4;
}
.button.updated-message {
.button.updated-message,
.notice .button-link {
-webkit-transition-property: border, background, color;
transition-property: border, background, color;
-webkit-transition-duration: .05s;
@@ -1602,6 +1543,15 @@ form.upgrade .hint {
transition-timing-function: ease-in-out;
}
.notice .button-link {
color: #0073aa;
}
.notice .button-link:hover,
.notice .button-link:active {
color: #00a0d2;
}
@media aural {
.wrap .notice p:before,
.button.installing:before,
@@ -2040,11 +1990,7 @@ html.wp-toolbar {
float: left;
width: 36px;
height: 36px;
margin: 0;
padding: 0;
border: 0;
background: none;
cursor: pointer;
}
.js .postbox .handlediv {
@@ -2152,6 +2098,14 @@ html.wp-toolbar {
font-style: italic;
}
#wpfooter a {
text-decoration: none;
}
#wpfooter a:hover {
text-decoration: underline;
}
/*------------------------------------------------------------------------------
25.0 - Tabbed Admin Screen Interface (Experimental)
------------------------------------------------------------------------------*/
@@ -2206,7 +2160,7 @@ h3 .nav-tab, /* Back-compat for pre-4.4 */
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
.nav-tab-wrapper {
h3.nav-tab-wrapper {
border-bottom: 1px solid #ccc;
margin: 0;
padding-top: 9px;
@@ -2522,18 +2476,25 @@ div.action-links {
}
#plugin-information-title {
padding: 0 26px;
padding: 0 20px;
background: #f5f5f5;
font-size: 22px;
font-weight: 600;
line-height: 56px;
position: relative;
top: 0;
left: 0;
right: 0;
height: 56px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#plugin-information-title.with-banner {
margin-left: 0;
height: 250px;
bottom: 250px;
-webkit-background-size: cover;
background-size: cover;
}
@@ -2543,23 +2504,19 @@ div.action-links {
font-weight: 600;
padding: 0;
margin: 0;
max-width: 680px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#plugin-information-title.with-banner h2 {
position: relative;
font-family: "Helvetica Neue", sans-serif;
display: inline-block;
font-size: 30px;
line-height: 50px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
max-width: 100%;
padding: 0 15px;
margin-top: 174px;
margin: 174px 10px 0 0;
color: #fff;
background: rgba( 30, 30, 30, 0.9 );
text-shadow: 0 1px 3px rgba( 0, 0, 0, 0.4 );
@@ -2574,12 +2531,12 @@ div.action-links {
}
#plugin-information-title.with-banner div.vignette {
position: absolute;
display: block;
float: left;
top: 0;
right: 0;
height: 250px;
width: 100%;
width: 772px;
margin: 0 -20px;
background: transparent;
-webkit-box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 );
box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 );
@@ -2814,14 +2771,6 @@ div.action-links {
border: 1px solid #ccc;
}
#plugin-information blockquote {
border-right: 2px solid #ddd;
color: #666;
font-style: italic;
margin: 1em 0;
padding: 0 1em 0 0;
}
/* rtl:ignore */
#plugin-information .review {
overflow: hidden; /* clearfix */
@@ -2874,14 +2823,10 @@ div.action-links {
font-size: 13px;
}
/* For non-js plugin installation screen ticket #36430. */
.update-php .button.button-primary {
margin-left: 1em;
}
@media screen and ( max-width: 771px ) {
#plugin-information-title.with-banner {
height: 100px;
bottom: 100px;
}
#plugin-information-title.with-banner h2 {
@@ -2893,6 +2838,8 @@ div.action-links {
#plugin-information-title.with-banner div.vignette {
height: 100px;
bottom: 100px;
width: 800%;
}
#plugin-information-tabs {
@@ -2918,7 +2865,7 @@ div.action-links {
#section-holder {
position: static;
margin: 0;
padding-bottom: 70px; /* reset from the two column height fix, plus accommodate footer */
padding-bottom: 70px; /* reset from the two column height fix, plus accomodate footer */
}
#plugin-information .fyi h3,
@@ -3160,9 +3107,7 @@ img {
font-size: 13px;
width: 97%;
background: #f9f9f9;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
outline: none;
}
/* rtl:ignore */
@@ -3240,26 +3185,26 @@ img {
/* @todo: can we use a common class for these? */
.nav-menus-php .item-edit:before,
.widget-top .widget-action .toggle-indicator:before,
.widget-top a.widget-action:after,
.control-section .accordion-section-title:after,
.accordion-section-title:after {
left: 0;
content: "\f140";
border: none;
background: none;
font: normal 20px/1 dashicons;
speak: none;
display: block;
padding: 0;
text-indent: 0;
text-align: center;
position: relative;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
}
.widget-top .widget-action .toggle-indicator:before {
padding: 1px 0px 1px 2px;
-webkit-border-radius: 50%;
border-radius: 50%;
}
.handlediv,
.postbox .handlediv.button-link,
.item-edit,
.sidebar-name-arrow,
.accordion-section-title:after {
@@ -3274,8 +3219,6 @@ img {
.widget-action:focus,
.handlediv:hover,
.handlediv:focus,
.postbox .handlediv.button-link:hover,
.postbox .handlediv.button-link:focus,
.item-edit:hover,
.item-edit:focus,
.sidebar-name:hover .sidebar-name-arrow,
@@ -3283,7 +3226,15 @@ img {
color: #23282d;
}
.widget-top .widget-action:focus .toggle-indicator:before {
.widget-top a.widget-action:after {
padding: 1px 0px 1px 2px;
margin-top: 10px;
margin-left: 10px;
-webkit-border-radius: 50%;
border-radius: 50%;
}
.widget-top a.widget-action:focus:after {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30,140,190,.8);
@@ -3302,7 +3253,7 @@ img {
.control-section.open .accordion-section-title:after,
#customize-info.open .accordion-section-title:after,
.nav-menus-php .menu-item-edit-active .item-edit:before,
.widget.open .widget-top .widget-action .toggle-indicator:before {
.widget.open .widget-top a.widget-action:after {
content: "\f142";
}
@@ -3382,8 +3333,7 @@ img {
display: none;
}
.control-section .accordion-section-title,
.customize-pane-child .accordion-section-title {
.control-section .accordion-section-title {
border-right: none;
border-left: none;
padding: 10px 14px 11px 10px;
@@ -3391,8 +3341,7 @@ img {
background: #fff;
}
.control-section .accordion-section-title:after,
.customize-pane-child .accordion-section-title:after {
.control-section .accordion-section-title:after {
top: 11px;
}
@@ -3581,12 +3530,14 @@ img {
/* @todo: evaluate - most of these were likely replaced by dashicons */
.curtime #timestamp,
#screen-meta-links a.show-settings,
.widget-top .widget-action,
.widget-top .widget-action:hover,
.widget-top a.widget-action,
.widget-top a.widget-action:hover,
.sidebar-name-arrow,
.sidebar-name:hover .sidebar-name-arrow,
.meta-box-sortables .postbox:hover .handlediv,
.tagchecklist span a,
#bulk-titles div a,
.tagchecklist span a:hover,
#bulk-titles div a:hover {
background: none !important;
}
@@ -3646,10 +3597,6 @@ img {
display: none !important;
}
.wrap h1.wp-heading-inline {
margin-bottom: 0.5em;
}
.wrap .add-new-h2, /* deprecated */
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
@@ -3775,12 +3722,6 @@ img {
.filter-drawer .filter-group-feature label {
line-height: 25px;
}
.wp-filter .button.drawer-toggle {
font-size: 13px;
line-height: 26px;
height: 28px;
}
}
/* Smartphone */
@@ -3806,7 +3747,7 @@ img {
h1.nav-tab-wrapper,
.wrap h2.nav-tab-wrapper,
.nav-tab-wrapper {
h3.nav-tab-wrapper {
border-bottom: 0;
}

File diff suppressed because one or more lines are too long

View File

@@ -244,7 +244,6 @@ td {
line-height: inherit;
}
/* Any change to the default link style must be applied to button-link too. */
a {
color: #0073aa;
-webkit-transition-property: border, background, color;
@@ -465,8 +464,7 @@ code {
word-wrap: break-word;
}
.widefat a,
.widefat button.button-link {
.widefat a {
text-decoration: none;
}
@@ -574,20 +572,10 @@ code {
font-size: 23px;
font-weight: 400;
margin: 0;
padding: 9px 0 4px 0;
padding: 9px 15px 4px 0;
line-height: 29px;
}
.wrap h1.wp-heading-inline {
display: inline-block;
margin-right: 5px;
}
.wp-header-end {
visibility: hidden;
margin: -2px 0 0;
}
.subtitle {
margin: 0;
padding-left: 25px;
@@ -620,10 +608,6 @@ code {
outline: 0;
}
.wrap .wp-heading-inline + .page-title-action {
margin-left: 0;
}
.wrap .add-new-h2:hover, /* deprecated */
.wrap .page-title-action:hover {
border-color: #008EC2;
@@ -696,7 +680,7 @@ ul.striped > :nth-child(odd),
}
.wp-ui-highlight {
color: #fff;
color: white;
background-color: #1e8cbe;
}
.wp-ui-text-highlight {
@@ -775,11 +759,11 @@ img.emoji {
/* @todo can we combine these into a class or use an existing dashicon one? */
.welcome-panel .welcome-panel-close:before,
.tagchecklist .ntdelbutton .remove-tag-icon:before,
.tagchecklist span a:before,
#bulk-titles div a:before,
.notice-dismiss:before {
background: none;
color: #72777c;
color: #b4b9be;
content: "\f153";
display: block;
font: normal 16px/20px dashicons;
@@ -795,41 +779,18 @@ img.emoji {
margin: 0;
}
.tagchecklist span a:before,
#bulk-titles div a:before {
margin: 1px 0;
}
.tagchecklist .ntdelbutton .remove-tag-icon:before {
margin-left: 2px;
-webkit-border-radius: 50%;
border-radius: 50%;
color: #0073aa;
/* vertically center the icon cross browsers */
line-height: 1.28;
}
.tagchecklist .ntdelbutton:focus {
outline: 0;
}
.welcome-panel .welcome-panel-close:hover:before,
.welcome-panel .welcome-panel-close:focus:before,
.tagchecklist .ntdelbutton:hover .remove-tag-icon:before,
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,
#bulk-titles div a:hover:before,
#bulk-titles div a:focus:before {
.tagchecklist span a:hover:before,
#bulk-titles div a:hover:before {
color: #c00;
}
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
.key-labels label {
line-height: 24px;
}
@@ -874,14 +835,14 @@ hr {
.submitbox .submitdelete,
#media-items a.delete,
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete,
#delete-link a.delete {
#nav-menu-footer .menu-delete {
color: #a00;
}
abbr.required,
span.required,
.file-error,
.widget-control-remove:hover,
.row-actions .delete a:hover,
.row-actions .trash a:hover,
.row-actions .spam a:hover,
@@ -891,9 +852,9 @@ span.required,
.submitbox .submitdelete:hover,
#media-items a.delete:hover,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover {
color: #dc3232;
#nav-menu-footer .menu-delete:hover {
color: #f00;
text-decoration: none;
border: none;
}
@@ -909,19 +870,10 @@ span.required,
}
#delete-action {
float: left;
line-height: 28px;
}
#delete-link {
line-height: 28px;
vertical-align: middle;
text-align: left;
margin-left: 8px;
}
#delete-link a {
text-decoration: none;
float: left;
}
#publishing-action {
@@ -1091,88 +1043,88 @@ th.action-links {
display: inline-block;
}
.wp-filter .button.drawer-toggle {
margin: 10px 9px 0;
padding: 0 10px 0 6px;
border-color: transparent;
background-color: transparent;
.wp-filter .drawer-toggle {
display: inline-block;
margin: 0 10px;
padding: 4px 6px;
color: #666;
vertical-align: baseline;
-webkit-box-shadow: none;
box-shadow: none;
cursor: pointer;
}
.wp-filter .drawer-toggle:before {
display: inline-block;
vertical-align: top;
content: "\f111";
margin: 0 5px 0 0;
width: 16px;
height: 16px;
color: #72777c;
font: normal 16px/1 dashicons;
vertical-align: text-bottom;
-webkit-transition: color .1s ease-in 0;
transition: color .1s ease-in 0;
font-family: dashicons;
font-size: 16px;
line-height: 1;
text-align: center;
text-decoration: inherit;
font-weight: 400;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.wp-filter .button.drawer-toggle:hover,
.wp-filter .drawer-toggle:hover:before,
.wp-filter .button.drawer-toggle:focus,
.wp-filter .drawer-toggle:focus:before {
background-color: transparent;
.wp-filter .drawer-toggle:hover,
.wp-filter .drawer-toggle:hover:before {
color: #00a0d2;
}
.wp-filter .button.drawer-toggle:hover,
.wp-filter .button.drawer-toggle:focus:active {
border-color: transparent;
}
.wp-filter .button.drawer-toggle:focus {
border-color: #5b9dd9;
}
.wp-filter .button.drawer-toggle:active {
background: transparent;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
.wp-filter .drawer-toggle.current:before {
color: #fff;
}
.filter-drawer,
.wp-filter .favorites-form {
display: none;
margin: 0 -10px 0 -20px;
margin: 0 -20px;
padding: 20px;
border-top: 1px solid #eee;
background: #fafafa;
overflow: hidden;
width: 100%;
}
.show-filters .filter-drawer,
.show-favorites-form .favorites-form {
.show-favorites-form .wp-filter .favorites-form {
display: block;
}
.filter-drawer {
display: none;
margin: 0 -20px;
padding: 20px;
border-top: 1px solid #eee;
background: #fafafa;
}
.show-filters .filter-drawer {
display: block;
overflow: hidden;
width: 100%;
}
.show-filters .wp-filter .drawer-toggle:hover,
.show-filters .wp-filter .drawer-toggle:focus {
background: rgb(46, 162, 204);
}
.show-filters .filter-links a.current {
border-bottom: none;
}
.show-filters .wp-filter .button.drawer-toggle {
.show-filters .wp-filter .drawer-toggle {
-webkit-border-radius: 2px;
border-radius: 2px;
border: none;
background: #72777c;
color: #fff;
}
.show-filters .wp-filter .drawer-toggle:hover,
.show-filters .wp-filter .drawer-toggle:focus {
background: rgb(46, 162, 204);
}
.show-filters .wp-filter .drawer-toggle:before {
color: #fff;
}
@@ -1216,15 +1168,9 @@ th.action-links {
}
.filter-drawer .buttons {
clear: both;
margin-bottom: 20px;
}
.filter-drawer .filter-group + .buttons {
margin-bottom: 0;
padding-top: 20px;
}
.filter-drawer .buttons .button span {
display: inline-block;
opacity: 0.8;
@@ -1237,11 +1183,6 @@ th.action-links {
margin-left: 10px;
}
.wp-filter .button-link.edit-filters {
padding: 0 5px;
line-height: 28px;
}
.filtered-by {
display: none;
margin: 0;
@@ -1283,7 +1224,6 @@ th.action-links {
padding: 20px;
}
.show-filters .favorites-form,
.show-filters .content-filterable,
.show-filters.filters-applied.loading-content .content-filterable,
.loading-content .content-filterable,
@@ -1417,7 +1357,7 @@ div.error p,
margin: 0;
padding: 9px;
background: none;
color: #72777c;
color: #b4b9be;
cursor: pointer;
}
@@ -1593,7 +1533,8 @@ form.upgrade .hint {
color: #66c6e4;
}
.button.updated-message {
.button.updated-message,
.notice .button-link {
-webkit-transition-property: border, background, color;
transition-property: border, background, color;
-webkit-transition-duration: .05s;
@@ -1602,6 +1543,15 @@ form.upgrade .hint {
transition-timing-function: ease-in-out;
}
.notice .button-link {
color: #0073aa;
}
.notice .button-link:hover,
.notice .button-link:active {
color: #00a0d2;
}
@media aural {
.wrap .notice p:before,
.button.installing:before,
@@ -2040,11 +1990,7 @@ html.wp-toolbar {
float: right;
width: 36px;
height: 36px;
margin: 0;
padding: 0;
border: 0;
background: none;
cursor: pointer;
}
.js .postbox .handlediv {
@@ -2152,6 +2098,14 @@ html.wp-toolbar {
font-style: italic;
}
#wpfooter a {
text-decoration: none;
}
#wpfooter a:hover {
text-decoration: underline;
}
/*------------------------------------------------------------------------------
25.0 - Tabbed Admin Screen Interface (Experimental)
------------------------------------------------------------------------------*/
@@ -2206,7 +2160,7 @@ h3 .nav-tab, /* Back-compat for pre-4.4 */
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
.nav-tab-wrapper {
h3.nav-tab-wrapper {
border-bottom: 1px solid #ccc;
margin: 0;
padding-top: 9px;
@@ -2522,18 +2476,25 @@ div.action-links {
}
#plugin-information-title {
padding: 0 26px;
padding: 0 20px;
background: #f5f5f5;
font-size: 22px;
font-weight: 600;
line-height: 56px;
position: relative;
top: 0;
right: 0;
left: 0;
height: 56px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#plugin-information-title.with-banner {
margin-right: 0;
height: 250px;
bottom: 250px;
-webkit-background-size: cover;
background-size: cover;
}
@@ -2543,23 +2504,19 @@ div.action-links {
font-weight: 600;
padding: 0;
margin: 0;
max-width: 680px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#plugin-information-title.with-banner h2 {
position: relative;
font-family: "Helvetica Neue", sans-serif;
display: inline-block;
font-size: 30px;
line-height: 50px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
max-width: 100%;
padding: 0 15px;
margin-top: 174px;
margin: 174px 0 0 10px;
color: #fff;
background: rgba( 30, 30, 30, 0.9 );
text-shadow: 0 1px 3px rgba( 0, 0, 0, 0.4 );
@@ -2574,12 +2531,12 @@ div.action-links {
}
#plugin-information-title.with-banner div.vignette {
position: absolute;
display: block;
float: right;
top: 0;
left: 0;
height: 250px;
width: 100%;
width: 772px;
margin: 0 -20px;
background: transparent;
-webkit-box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 );
box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 );
@@ -2814,14 +2771,6 @@ div.action-links {
border: 1px solid #ccc;
}
#plugin-information blockquote {
border-left: 2px solid #ddd;
color: #666;
font-style: italic;
margin: 1em 0;
padding: 0 0 0 1em;
}
/* rtl:ignore */
#plugin-information .review {
overflow: hidden; /* clearfix */
@@ -2874,14 +2823,10 @@ div.action-links {
font-size: 13px;
}
/* For non-js plugin installation screen ticket #36430. */
.update-php .button.button-primary {
margin-right: 1em;
}
@media screen and ( max-width: 771px ) {
#plugin-information-title.with-banner {
height: 100px;
bottom: 100px;
}
#plugin-information-title.with-banner h2 {
@@ -2893,6 +2838,8 @@ div.action-links {
#plugin-information-title.with-banner div.vignette {
height: 100px;
bottom: 100px;
width: 800%;
}
#plugin-information-tabs {
@@ -2918,7 +2865,7 @@ div.action-links {
#section-holder {
position: static;
margin: 0;
padding-bottom: 70px; /* reset from the two column height fix, plus accommodate footer */
padding-bottom: 70px; /* reset from the two column height fix, plus accomodate footer */
}
#plugin-information .fyi h3,
@@ -3160,9 +3107,7 @@ img {
font-size: 13px;
width: 97%;
background: #f9f9f9;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
outline: none;
}
/* rtl:ignore */
@@ -3240,26 +3185,26 @@ img {
/* @todo: can we use a common class for these? */
.nav-menus-php .item-edit:before,
.widget-top .widget-action .toggle-indicator:before,
.widget-top a.widget-action:after,
.control-section .accordion-section-title:after,
.accordion-section-title:after {
right: 0;
content: "\f140";
border: none;
background: none;
font: normal 20px/1 dashicons;
speak: none;
display: block;
padding: 0;
text-indent: 0;
text-align: center;
position: relative;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
}
.widget-top .widget-action .toggle-indicator:before {
padding: 1px 2px 1px 0px;
-webkit-border-radius: 50%;
border-radius: 50%;
}
.handlediv,
.postbox .handlediv.button-link,
.item-edit,
.sidebar-name-arrow,
.accordion-section-title:after {
@@ -3274,8 +3219,6 @@ img {
.widget-action:focus,
.handlediv:hover,
.handlediv:focus,
.postbox .handlediv.button-link:hover,
.postbox .handlediv.button-link:focus,
.item-edit:hover,
.item-edit:focus,
.sidebar-name:hover .sidebar-name-arrow,
@@ -3283,7 +3226,15 @@ img {
color: #23282d;
}
.widget-top .widget-action:focus .toggle-indicator:before {
.widget-top a.widget-action:after {
padding: 1px 2px 1px 0px;
margin-top: 10px;
margin-right: 10px;
-webkit-border-radius: 50%;
border-radius: 50%;
}
.widget-top a.widget-action:focus:after {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30,140,190,.8);
@@ -3302,7 +3253,7 @@ img {
.control-section.open .accordion-section-title:after,
#customize-info.open .accordion-section-title:after,
.nav-menus-php .menu-item-edit-active .item-edit:before,
.widget.open .widget-top .widget-action .toggle-indicator:before {
.widget.open .widget-top a.widget-action:after {
content: "\f142";
}
@@ -3382,8 +3333,7 @@ img {
display: none;
}
.control-section .accordion-section-title,
.customize-pane-child .accordion-section-title {
.control-section .accordion-section-title {
border-left: none;
border-right: none;
padding: 10px 10px 11px 14px;
@@ -3391,8 +3341,7 @@ img {
background: #fff;
}
.control-section .accordion-section-title:after,
.customize-pane-child .accordion-section-title:after {
.control-section .accordion-section-title:after {
top: 11px;
}
@@ -3581,12 +3530,14 @@ img {
/* @todo: evaluate - most of these were likely replaced by dashicons */
.curtime #timestamp,
#screen-meta-links a.show-settings,
.widget-top .widget-action,
.widget-top .widget-action:hover,
.widget-top a.widget-action,
.widget-top a.widget-action:hover,
.sidebar-name-arrow,
.sidebar-name:hover .sidebar-name-arrow,
.meta-box-sortables .postbox:hover .handlediv,
.tagchecklist span a,
#bulk-titles div a,
.tagchecklist span a:hover,
#bulk-titles div a:hover {
background: none !important;
}
@@ -3646,10 +3597,6 @@ img {
display: none !important;
}
.wrap h1.wp-heading-inline {
margin-bottom: 0.5em;
}
.wrap .add-new-h2, /* deprecated */
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
@@ -3775,12 +3722,6 @@ img {
.filter-drawer .filter-group-feature label {
line-height: 25px;
}
.wp-filter .button.drawer-toggle {
font-size: 13px;
line-height: 26px;
height: 28px;
}
}
/* Smartphone */
@@ -3806,7 +3747,7 @@ img {
h1.nav-tab-wrapper,
.wrap h2.nav-tab-wrapper,
.nav-tab-wrapper {
h3.nav-tab-wrapper {
border-bottom: 0;
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -1,12 +1,8 @@
#customize-theme-controls #accordion-section-menu_locations {
#accordion-section-menu_locations {
position: relative;
margin-bottom: 15px;
}
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
border-bottom-color: #ddd;
}
.menu-in-location,
.menu-in-locations {
display: block;
@@ -25,6 +21,17 @@
margin-right: 6px;
vertical-align: middle;
line-height: 28px;
color: #0073aa;
text-decoration: underline;
}
.customize-control-nav_menu_location .edit-menu:hover,
.customize-control-nav_menu_location .edit-menu:active {
color: #00a0d2;
}
.customize-control-nav_menu_location .edit-menu:focus {
color: #124964;
}
.wp-customizer .menu-item-bar .menu-item-handle,
@@ -54,18 +61,9 @@
text-align: left;
}
.wp-customizer .menu-item-handle:hover {
z-index: 8;
}
.customize-control-nav_menu_item.has-notifications .menu-item-handle {
border-right: 4px solid #00a0d2;
}
.wp-customizer .menu-item-settings {
max-width: 100%;
overflow: hidden;
z-index: 8;
padding: 10px;
background: #eee;
border: 1px solid #999;
@@ -150,10 +148,9 @@
outline: none;
overflow: hidden;
cursor: pointer;
text-align: center;
}
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before {
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after {
content: "\f142";
}
@@ -271,18 +268,17 @@
display: inline-block;
font-size: 20px;
line-height: 1;
text-indent: -1px; /* account for the dashicon alignment */
}
.rtl .wp-customizer .toggle-indicator {
text-indent: 1px; /* account for the dashicon alignment */
}
.wp-customizer .menu-item .item-edit .toggle-indicator:before,
#available-menu-items .accordion-section-title .toggle-indicator:before {
.wp-customizer .toggle-indicator:after {
content: "\f140";
display: block;
padding: 1px 0px 1px 2px;
speak: none;
vertical-align: top;
-webkit-border-radius: 50%;
border-radius: 50%;
color: #72777c;
@@ -292,19 +288,19 @@
text-decoration: none !important;
}
.control-section-nav_menu .field-link-target,
.control-section-nav_menu .field-title-attribute,
.control-section-nav_menu .field-css-classes,
.control-section-nav_menu .field-xfn,
.control-section-nav_menu .field-description {
#accordion-panel-nav_menus .field-link-target,
#accordion-panel-nav_menus .field-title-attribute,
#accordion-panel-nav_menus .field-css-classes,
#accordion-panel-nav_menus .field-xfn,
#accordion-panel-nav_menus .field-description {
display: none;
}
.control-section-nav_menu.field-link-target-active .field-link-target,
.control-section-nav_menu.field-title-attribute-active .field-title-attribute,
.control-section-nav_menu.field-css-classes-active .field-css-classes,
.control-section-nav_menu.field-xfn-active .field-xfn,
.control-section-nav_menu.field-description-active .field-description {
#accordion-panel-nav_menus.field-link-target-active .field-link-target,
#accordion-panel-nav_menus.field-title-attribute-active .field-title-attribute,
#accordion-panel-nav_menus.field-css-classes-active .field-css-classes,
#accordion-panel-nav_menus.field-xfn-active .field-xfn,
#accordion-panel-nav_menus.field-description-active .field-description {
display: block;
}
@@ -377,15 +373,15 @@
.reordering .menu-item-depth-10 > .menu-item-bar { margin-left: 150px; }
.reordering .menu-item-depth-11 > .menu-item-bar { margin-left: 165px; }
.control-section-nav_menu.menu .menu-item-edit-active {
.control-section-nav_menu .menu .menu-item-edit-active {
margin-right: 0;
}
.control-section-nav_menu.menu .menu-item-edit-active .menu-item-bar {
.control-section-nav_menu .menu .menu-item-edit-active .menu-item-bar {
margin-left: 0;
}
.control-section-nav_menu.menu .sortable-placeholder {
.control-section-nav_menu .menu .sortable-placeholder {
margin-top: 0;
margin-bottom: 1px;
max-width: -webkit-calc(100% - 2px);
@@ -399,7 +395,7 @@
float: none;
}
.control-section-nav_menu.menu ul.menu-item-transport .menu-item-bar {
.control-section-nav_menu .menu ul.menu-item-transport .menu-item-bar {
margin-top: 0;
}
@@ -478,11 +474,6 @@
background: #fff;
-webkit-transition: background-color 0.15s;
transition: background-color 0.15s;
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
-webkit-user-select: auto;
-moz-user-select: auto;
-ms-user-select: auto;
user-select: auto;
}
#available-menu-items .open .accordion-section-title,
@@ -495,18 +486,18 @@
content: none !important;
}
#available-menu-items .accordion-section-title:hover .toggle-indicator:before,
#available-menu-items .button-link:hover .toggle-indicator:before,
#available-menu-items .button-link:focus .toggle-indicator:before {
#available-menu-items .accordion-section-title:hover .toggle-indicator:after,
#available-menu-items .button-link:hover .toggle-indicator:after,
#available-menu-items .button-link:focus .toggle-indicator:after {
color: #23282d;
}
#available-menu-items .open .accordion-section-title .toggle-indicator:before {
#available-menu-items .open .accordion-section-title .toggle-indicator:after {
content: "\f142";
color: #23282d;
}
#available-menu-items .available-menu-items-list {
#available-menu-items .accordion-section-content {
overflow-y: auto;
max-height: 200px; /* This gets set in JS to fit the screen size, and based on # of sections. */
background: transparent;
@@ -523,7 +514,6 @@
box-shadow: none;
outline: none;
cursor: pointer;
text-align: center;
}
#available-menu-items .accordion-section-title .no-items,
@@ -544,24 +534,9 @@
}
#available-menu-items .accordion-section-content {
max-height: 290px;
margin: 0;
padding: 0;
position: relative;
background: transparent;
}
#available-menu-items .accordion-section-content .available-menu-items-list {
margin: 0 0 45px 0;
padding: 1px 15px 15px 15px;
}
#available-menu-items .accordion-section-content .available-menu-items-list:only-child { /* Types that do not support new items for the current user */
margin-bottom: 0;
}
#new-custom-menu-item .accordion-section-content {
padding: 0 15px 15px 15px;
margin: 0;
max-height: 290px;
}
#available-menu-items .menu-item-tpl {
@@ -571,9 +546,7 @@
#custom-menu-item-name.invalid,
#custom-menu-item-url.invalid,
.menu-name-field.invalid,
.menu-name-field.invalid:focus,
#available-menu-items .new-content-item .create-item-input.invalid,
#available-menu-items .new-content-item .create-item-input.invalid:focus {
.menu-name-field.invalid:focus {
border: 1px solid #f00;
}
@@ -615,7 +588,6 @@
box-shadow: none;
outline: none;
cursor: pointer;
text-align: center;
}
#available-menu-items .menu-item-handle .item-add:focus {
@@ -651,17 +623,58 @@
margin: 0 20px;
}
#available-menu-items-search .clear-results {
position: absolute;
top: 18px; /* 12 container padding +1 input margin +1 input border +4 ( 4 is ( 28 input height - 20 button height ) / 2 ) */
left: 20px;
width: 20px;
height: 20px;
padding: 0;
border: 0;
cursor: pointer;
background: none;
color: #a00;
text-decoration: none;
outline: 0;
}
#available-menu-items-search .clear-results,
#available-menu-items-search.loading .clear-results.is-visible {
display: none;
}
#available-menu-items-search .clear-results.is-visible {
display: block;
}
.ie8 #available-menu-items-search.loading .clear-results:before {
content: ""; /* help IE8 redraw the pseudo element */
}
#available-menu-items-search .clear-results:before {
content: "\f335";
font: normal 20px/1 dashicons;
vertical-align: middle;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#available-menu-items-search .clear-results:hover,
#available-menu-items-search .clear-results:focus {
color: #f00;
}
#available-menu-items-search .spinner {
position: absolute;
top: 20px; /* 13 container padding +1 input margin +6 ( ( 32 input height - 20 spinner height ) / 2 ) */
left: 21px;
top: 18px; /* 12 container padding +1 input margin +1 input border +4 ( ( 28 input height - 20 button height ) / 2 ) */
left: 20px;
margin: 0 !important;
}
/* search results list */
#available-menu-items #available-menu-items-search .accordion-section-content {
position: absolute;
right: 0;
right: 1px;
top: 60px; /* below title div / search input */
bottom: 0px; /* 100% height that still triggers lazy load */
max-height: none;
@@ -672,11 +685,6 @@
box-sizing: border-box;
}
#available-menu-items-search .nothing-found {
/* Compensate the 1px top padding of the container. */
margin-top: -1px;
}
#available-menu-items-search .accordion-section-title:after {
display: none;
}
@@ -712,10 +720,6 @@ body.adding-menu-items #customize-preview {
opacity: 0.4;
}
body.adding-menu-items #customize-preview iframe {
pointer-events: none;
}
.menu-item-handle .spinner {
display: none;
float: right;
@@ -750,14 +754,9 @@ body.adding-menu-items #customize-preview iframe {
/* Add/delete Menus */
#customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title {
border-bottom-color: #ddd;
}
/* @todo update selector */
#accordion-section-add_menu {
margin: 15px 12px;
overflow: hidden;
}
.new-menu-section-content {
@@ -799,6 +798,18 @@ li.assigned-to-menu-location .add-new-menu-item {
margin-bottom: 1em;
}
.menu-delete {
color: #a00;
cursor: pointer;
text-decoration: underline;
}
.menu-delete:hover,
.menu-delete:focus {
color: #f00;
text-decoration: none;
}
.menu-item-handle {
margin-top: -1px;
}
@@ -838,7 +849,8 @@ li.assigned-to-menu-location .add-new-menu-item {
.wp-customizer .menu-item .submitbox .submitdelete:focus,
.customize-screen-options-toggle:focus:before,
#customize-controls .customize-info .customize-help-toggle:focus:before,
.wp-customizer button:focus .toggle-indicator:before,
.wp-customizer button:focus .toggle-indicator:after,
#available-menu-items-search .clear-results:focus,
.menu-delete:focus,
.menu-item-bar .item-delete:focus:before,
#available-menu-items .item-add:focus:before {
@@ -855,10 +867,19 @@ li.assigned-to-menu-location .add-new-menu-item {
#available-menu-items #available-menu-items-search .accordion-section-content {
top: 63px;
}
#available-menu-items-search .spinner,
#available-menu-items-search .clear-results {
top: 20px; /* 12 container padding +1 input margin +1 input border +5.5 ( 5.5 rounded to 6 is ( 31 input height - 20 button height ) / 2 ) */
}
}
@media screen and ( max-width: 640px ) {
#available-menu-items #available-menu-items-search .accordion-section-content {
top: 130px;
top: 133px;
}
#available-menu-items-search .clear-results {
top: 90px; /* 70 section title height + 12 container padding +1 input margin +1 input border +5.5 ( 5.5 rounded to 6 is ( 31 input height - 20 button height ) / 2 ) */
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,12 +1,8 @@
#customize-theme-controls #accordion-section-menu_locations {
#accordion-section-menu_locations {
position: relative;
margin-bottom: 15px;
}
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
border-bottom-color: #ddd;
}
.menu-in-location,
.menu-in-locations {
display: block;
@@ -25,6 +21,17 @@
margin-left: 6px;
vertical-align: middle;
line-height: 28px;
color: #0073aa;
text-decoration: underline;
}
.customize-control-nav_menu_location .edit-menu:hover,
.customize-control-nav_menu_location .edit-menu:active {
color: #00a0d2;
}
.customize-control-nav_menu_location .edit-menu:focus {
color: #124964;
}
.wp-customizer .menu-item-bar .menu-item-handle,
@@ -54,18 +61,9 @@
text-align: right;
}
.wp-customizer .menu-item-handle:hover {
z-index: 8;
}
.customize-control-nav_menu_item.has-notifications .menu-item-handle {
border-left: 4px solid #00a0d2;
}
.wp-customizer .menu-item-settings {
max-width: 100%;
overflow: hidden;
z-index: 8;
padding: 10px;
background: #eee;
border: 1px solid #999;
@@ -150,10 +148,9 @@
outline: none;
overflow: hidden;
cursor: pointer;
text-align: center;
}
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before {
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after {
content: "\f142";
}
@@ -271,18 +268,17 @@
display: inline-block;
font-size: 20px;
line-height: 1;
text-indent: -1px; /* account for the dashicon alignment */
}
.rtl .wp-customizer .toggle-indicator {
text-indent: 1px; /* account for the dashicon alignment */
}
.wp-customizer .menu-item .item-edit .toggle-indicator:before,
#available-menu-items .accordion-section-title .toggle-indicator:before {
.wp-customizer .toggle-indicator:after {
content: "\f140";
display: block;
padding: 1px 2px 1px 0px;
speak: none;
vertical-align: top;
-webkit-border-radius: 50%;
border-radius: 50%;
color: #72777c;
@@ -292,19 +288,19 @@
text-decoration: none !important;
}
.control-section-nav_menu .field-link-target,
.control-section-nav_menu .field-title-attribute,
.control-section-nav_menu .field-css-classes,
.control-section-nav_menu .field-xfn,
.control-section-nav_menu .field-description {
#accordion-panel-nav_menus .field-link-target,
#accordion-panel-nav_menus .field-title-attribute,
#accordion-panel-nav_menus .field-css-classes,
#accordion-panel-nav_menus .field-xfn,
#accordion-panel-nav_menus .field-description {
display: none;
}
.control-section-nav_menu.field-link-target-active .field-link-target,
.control-section-nav_menu.field-title-attribute-active .field-title-attribute,
.control-section-nav_menu.field-css-classes-active .field-css-classes,
.control-section-nav_menu.field-xfn-active .field-xfn,
.control-section-nav_menu.field-description-active .field-description {
#accordion-panel-nav_menus.field-link-target-active .field-link-target,
#accordion-panel-nav_menus.field-title-attribute-active .field-title-attribute,
#accordion-panel-nav_menus.field-css-classes-active .field-css-classes,
#accordion-panel-nav_menus.field-xfn-active .field-xfn,
#accordion-panel-nav_menus.field-description-active .field-description {
display: block;
}
@@ -377,15 +373,15 @@
.reordering .menu-item-depth-10 > .menu-item-bar { margin-right: 150px; }
.reordering .menu-item-depth-11 > .menu-item-bar { margin-right: 165px; }
.control-section-nav_menu.menu .menu-item-edit-active {
.control-section-nav_menu .menu .menu-item-edit-active {
margin-left: 0;
}
.control-section-nav_menu.menu .menu-item-edit-active .menu-item-bar {
.control-section-nav_menu .menu .menu-item-edit-active .menu-item-bar {
margin-right: 0;
}
.control-section-nav_menu.menu .sortable-placeholder {
.control-section-nav_menu .menu .sortable-placeholder {
margin-top: 0;
margin-bottom: 1px;
max-width: -webkit-calc(100% - 2px);
@@ -399,7 +395,7 @@
float: none;
}
.control-section-nav_menu.menu ul.menu-item-transport .menu-item-bar {
.control-section-nav_menu .menu ul.menu-item-transport .menu-item-bar {
margin-top: 0;
}
@@ -478,11 +474,6 @@
background: #fff;
-webkit-transition: background-color 0.15s;
transition: background-color 0.15s;
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
-webkit-user-select: auto;
-moz-user-select: auto;
-ms-user-select: auto;
user-select: auto;
}
#available-menu-items .open .accordion-section-title,
@@ -495,18 +486,18 @@
content: none !important;
}
#available-menu-items .accordion-section-title:hover .toggle-indicator:before,
#available-menu-items .button-link:hover .toggle-indicator:before,
#available-menu-items .button-link:focus .toggle-indicator:before {
#available-menu-items .accordion-section-title:hover .toggle-indicator:after,
#available-menu-items .button-link:hover .toggle-indicator:after,
#available-menu-items .button-link:focus .toggle-indicator:after {
color: #23282d;
}
#available-menu-items .open .accordion-section-title .toggle-indicator:before {
#available-menu-items .open .accordion-section-title .toggle-indicator:after {
content: "\f142";
color: #23282d;
}
#available-menu-items .available-menu-items-list {
#available-menu-items .accordion-section-content {
overflow-y: auto;
max-height: 200px; /* This gets set in JS to fit the screen size, and based on # of sections. */
background: transparent;
@@ -523,7 +514,6 @@
box-shadow: none;
outline: none;
cursor: pointer;
text-align: center;
}
#available-menu-items .accordion-section-title .no-items,
@@ -544,24 +534,9 @@
}
#available-menu-items .accordion-section-content {
max-height: 290px;
margin: 0;
padding: 0;
position: relative;
background: transparent;
}
#available-menu-items .accordion-section-content .available-menu-items-list {
margin: 0 0 45px 0;
padding: 1px 15px 15px 15px;
}
#available-menu-items .accordion-section-content .available-menu-items-list:only-child { /* Types that do not support new items for the current user */
margin-bottom: 0;
}
#new-custom-menu-item .accordion-section-content {
padding: 0 15px 15px 15px;
margin: 0;
max-height: 290px;
}
#available-menu-items .menu-item-tpl {
@@ -571,9 +546,7 @@
#custom-menu-item-name.invalid,
#custom-menu-item-url.invalid,
.menu-name-field.invalid,
.menu-name-field.invalid:focus,
#available-menu-items .new-content-item .create-item-input.invalid,
#available-menu-items .new-content-item .create-item-input.invalid:focus {
.menu-name-field.invalid:focus {
border: 1px solid #f00;
}
@@ -615,7 +588,6 @@
box-shadow: none;
outline: none;
cursor: pointer;
text-align: center;
}
#available-menu-items .menu-item-handle .item-add:focus {
@@ -651,17 +623,58 @@
margin: 0 20px;
}
#available-menu-items-search .clear-results {
position: absolute;
top: 18px; /* 12 container padding +1 input margin +1 input border +4 ( 4 is ( 28 input height - 20 button height ) / 2 ) */
right: 20px;
width: 20px;
height: 20px;
padding: 0;
border: 0;
cursor: pointer;
background: none;
color: #a00;
text-decoration: none;
outline: 0;
}
#available-menu-items-search .clear-results,
#available-menu-items-search.loading .clear-results.is-visible {
display: none;
}
#available-menu-items-search .clear-results.is-visible {
display: block;
}
.ie8 #available-menu-items-search.loading .clear-results:before {
content: ""; /* help IE8 redraw the pseudo element */
}
#available-menu-items-search .clear-results:before {
content: "\f335";
font: normal 20px/1 dashicons;
vertical-align: middle;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#available-menu-items-search .clear-results:hover,
#available-menu-items-search .clear-results:focus {
color: #f00;
}
#available-menu-items-search .spinner {
position: absolute;
top: 20px; /* 13 container padding +1 input margin +6 ( ( 32 input height - 20 spinner height ) / 2 ) */
right: 21px;
top: 18px; /* 12 container padding +1 input margin +1 input border +4 ( ( 28 input height - 20 button height ) / 2 ) */
right: 20px;
margin: 0 !important;
}
/* search results list */
#available-menu-items #available-menu-items-search .accordion-section-content {
position: absolute;
left: 0;
left: 1px;
top: 60px; /* below title div / search input */
bottom: 0px; /* 100% height that still triggers lazy load */
max-height: none;
@@ -672,11 +685,6 @@
box-sizing: border-box;
}
#available-menu-items-search .nothing-found {
/* Compensate the 1px top padding of the container. */
margin-top: -1px;
}
#available-menu-items-search .accordion-section-title:after {
display: none;
}
@@ -712,10 +720,6 @@ body.adding-menu-items #customize-preview {
opacity: 0.4;
}
body.adding-menu-items #customize-preview iframe {
pointer-events: none;
}
.menu-item-handle .spinner {
display: none;
float: left;
@@ -750,14 +754,9 @@ body.adding-menu-items #customize-preview iframe {
/* Add/delete Menus */
#customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title {
border-bottom-color: #ddd;
}
/* @todo update selector */
#accordion-section-add_menu {
margin: 15px 12px;
overflow: hidden;
}
.new-menu-section-content {
@@ -799,6 +798,18 @@ li.assigned-to-menu-location .add-new-menu-item {
margin-bottom: 1em;
}
.menu-delete {
color: #a00;
cursor: pointer;
text-decoration: underline;
}
.menu-delete:hover,
.menu-delete:focus {
color: #f00;
text-decoration: none;
}
.menu-item-handle {
margin-top: -1px;
}
@@ -838,7 +849,8 @@ li.assigned-to-menu-location .add-new-menu-item {
.wp-customizer .menu-item .submitbox .submitdelete:focus,
.customize-screen-options-toggle:focus:before,
#customize-controls .customize-info .customize-help-toggle:focus:before,
.wp-customizer button:focus .toggle-indicator:before,
.wp-customizer button:focus .toggle-indicator:after,
#available-menu-items-search .clear-results:focus,
.menu-delete:focus,
.menu-item-bar .item-delete:focus:before,
#available-menu-items .item-add:focus:before {
@@ -855,10 +867,19 @@ li.assigned-to-menu-location .add-new-menu-item {
#available-menu-items #available-menu-items-search .accordion-section-content {
top: 63px;
}
#available-menu-items-search .spinner,
#available-menu-items-search .clear-results {
top: 20px; /* 12 container padding +1 input margin +1 input border +5.5 ( 5.5 rounded to 6 is ( 31 input height - 20 button height ) / 2 ) */
}
}
@media screen and ( max-width: 640px ) {
#available-menu-items #available-menu-items-search .accordion-section-content {
top: 130px;
top: 133px;
}
#available-menu-items-search .clear-results {
top: 90px; /* 70 section title height + 12 container padding +1 input margin +1 input border +5.5 ( 5.5 rounded to 6 is ( 31 input height - 20 button height ) / 2 ) */
}
}

File diff suppressed because one or more lines are too long

View File

@@ -18,7 +18,6 @@
overflow: visible;
}
/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
.customize-control-widget_form .widget-top {
background: #fff;
-webkit-transition: opacity 0.5s;
@@ -90,15 +89,15 @@
line-height: 16px;
}
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
.customize-control-widget_form.expanded a.widget-action:after {
content: "\f142";
}
.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before {
.customize-control-widget_form.wide-widget-control a.widget-action:after {
content: "\f141";
}
.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before {
.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after {
content: "\f139";
}
@@ -213,21 +212,6 @@
display: block;
}
/* Text Widget */
.wp-customizer div.mce-inline-toolbar-grp,
.wp-customizer div.mce-tooltip {
z-index: 500100 !important;
}
.wp-customizer .ui-autocomplete.wplink-autocomplete {
z-index: 500110; /* originally 100110, but z-index of .wp-full-overlay is 500000 */
}
.wp-customizer #wp-link-backdrop {
z-index: 500100; /* originally 100100, but z-index of .wp-full-overlay is 500000 */
}
.wp-customizer #wp-link-wrap {
z-index: 500105; /* originally 100105, but z-index of .wp-full-overlay is 500000 */
}
/**
* Styles for new widget addition panel
*/
@@ -245,10 +229,8 @@
#available-widgets .widget-tpl:hover,
#available-widgets .widget-tpl.selected {
background: #f3f3f5;
background: #eee;
border-bottom-color: #ccc;
color: #0073aa;
border-right: 4px solid #0073aa;
}
#customize-controls .widget-title h3 {
@@ -439,47 +421,33 @@ body.adding-widget #customize-preview {
#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
@media screen and (max-height: 700px) and (min-width: 981px) {
/* Compact widget-tops on smaller laptops, but not tablets. See ticket #27112#comment:4 */
.customize-control-widget_form {
.customize-control-widget {
margin-bottom: 0;
}
.widget-top {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
.widget-top:hover {
position: relative;
z-index: 1;
}
.last-widget {
margin-bottom: 15px;
}
.widget-title h3 {
padding: 13px 15px;
}
.widget-top .widget-action {
padding: 8px 10px;
}
.widget-reorder-nav span {
height: 39px;
}
.widget-reorder-nav span:before {
line-height: 39px;
}
/* Compact the move widget areas. */
#customize-theme-controls .widget-area-select li {
padding: 9px 42px 11px 15px;
}
#customize-theme-controls .widget-area-select li:before {
top: 8px;
}

File diff suppressed because one or more lines are too long

View File

@@ -18,7 +18,6 @@
overflow: visible;
}
/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
.customize-control-widget_form .widget-top {
background: #fff;
-webkit-transition: opacity 0.5s;
@@ -90,15 +89,15 @@
line-height: 16px;
}
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
.customize-control-widget_form.expanded a.widget-action:after {
content: "\f142";
}
.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before {
.customize-control-widget_form.wide-widget-control a.widget-action:after {
content: "\f139";
}
.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before {
.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after {
content: "\f141";
}
@@ -213,21 +212,6 @@
display: block;
}
/* Text Widget */
.wp-customizer div.mce-inline-toolbar-grp,
.wp-customizer div.mce-tooltip {
z-index: 500100 !important;
}
.wp-customizer .ui-autocomplete.wplink-autocomplete {
z-index: 500110; /* originally 100110, but z-index of .wp-full-overlay is 500000 */
}
.wp-customizer #wp-link-backdrop {
z-index: 500100; /* originally 100100, but z-index of .wp-full-overlay is 500000 */
}
.wp-customizer #wp-link-wrap {
z-index: 500105; /* originally 100105, but z-index of .wp-full-overlay is 500000 */
}
/**
* Styles for new widget addition panel
*/
@@ -245,10 +229,8 @@
#available-widgets .widget-tpl:hover,
#available-widgets .widget-tpl.selected {
background: #f3f3f5;
background: #eee;
border-bottom-color: #ccc;
color: #0073aa;
border-left: 4px solid #0073aa;
}
#customize-controls .widget-title h3 {
@@ -439,47 +421,33 @@ body.adding-widget #customize-preview {
#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
@media screen and (max-height: 700px) and (min-width: 981px) {
/* Compact widget-tops on smaller laptops, but not tablets. See ticket #27112#comment:4 */
.customize-control-widget_form {
.customize-control-widget {
margin-bottom: 0;
}
.widget-top {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
.widget-top:hover {
position: relative;
z-index: 1;
}
.last-widget {
margin-bottom: 15px;
}
.widget-title h3 {
padding: 13px 15px;
}
.widget-top .widget-action {
padding: 8px 10px;
}
.widget-reorder-nav span {
height: 39px;
}
.widget-reorder-nav span:before {
line-height: 39px;
}
/* Compact the move widget areas. */
#customize-theme-controls .widget-area-select li {
padding: 9px 15px 11px 42px;
}
#customize-theme-controls .widget-area-select li:before {
top: 8px;
}

File diff suppressed because one or more lines are too long

View File

@@ -301,158 +301,6 @@
content: "\f153";
}
/* Dashboard WordPress events */
.community-events-errors {
margin: 0;
}
.community-events-loading {
padding: 10px 12px 8px;
}
.community-events {
margin-bottom: 6px;
padding: 0 12px;
}
.community-events .spinner {
float: none;
margin: 5px 2px 0;
vertical-align: top;
}
.community-events-errors[aria-hidden="true"],
.community-events-errors [aria-hidden="true"],
.community-events-loading[aria-hidden="true"],
.community-events[aria-hidden="true"],
.community-events [aria-hidden="true"] {
display: none;
}
.community-events .activity-block:first-child,
.community-events h2 {
padding-top: 12px;
padding-bottom: 10px;
}
.community-events-form {
margin: 15px 0 5px;
}
.community-events-form .regular-text {
width: 40%;
height: 29px;
margin: 0;
vertical-align: top;
}
.community-events li.event-none {
border-right: 4px solid #00a0d2;
}
.community-events-form label {
display: inline-block;
vertical-align: top;
line-height: 28px;
height: 28px;
}
.community-events .activity-block > p {
margin-bottom: 0;
display: inline;
}
.community-events-toggle-location {
vertical-align: middle;
}
#community-events-submit {
margin-right: 3px;
margin-left: 3px;
}
/* Needs higher specificity than #dashboard-widgets .button-link */
#dashboard-widgets .community-events-cancel.button-link {
vertical-align: top;
/* Same properties as the submit button for cross-browsers alignment. */
line-height: 26px;
height: 28px;
text-decoration: underline;
}
.community-events ul {
background-color: #fafafa;
padding-right: 0;
padding-left: 0;
padding-bottom: 0;
}
.community-events li {
margin: 0;
padding: 8px 12px;
color: #72777c;
}
.community-events li:first-child {
border-top: 1px solid #eee;
}
.community-events li ~ li {
border-top: 1px solid #eee;
}
.community-events .activity-block.last {
border-bottom: 1px solid #eee;
padding-top: 0;
margin-top: -1px;
}
.community-events .event-info {
display: block;
}
.event-icon {
height: 18px;
padding-left: 10px;
width: 18px;
display: none; /* Hide on smaller screens */
}
.event-icon:before {
color: #82878C;
font-size: 18px;
}
.event-meetup .event-icon:before {
content: "\f484";
}
.event-wordcamp .event-icon:before {
content: "\f486";
}
.community-events .event-title {
font-weight: 600;
display: block;
}
.community-events .event-date,
.community-events .event-time {
display: block;
}
.community-events-footer {
margin-top: 0;
margin-bottom: 0;
padding: 12px;
border-top: 1px solid #eee;
color: #ddd;
}
/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */
.community-events-footer .screen-reader-text {
height: inherit;
white-space: nowrap;
}
/* Dashboard WordPress news */
#dashboard_primary .inside {
@@ -460,21 +308,19 @@
padding: 0;
}
#dashboard_primary .widget-loading {
#dashboard_primary .widget-loading,
#dashboard_primary .dashboard-widget-control-form {
padding: 12px 12px 0;
margin-bottom: 1em !important; /* Needs to override `.postbox .inside > p:last-child` in common.css */
}
/* Notice when JS is off. */
#dashboard_primary .inside .notice {
margin: 0;
}
body #dashboard-widgets .postbox form .submit {
margin: 0;
}
/* Used only for configurable widgets. */
.dashboard-widget-control-form {
overflow: hidden;
}
.dashboard-widget-control-form p {
margin-top: 0;
}
@@ -485,8 +331,9 @@ body #dashboard-widgets .postbox form .submit {
}
#dashboard_primary .rss-widget {
border-bottom: 1px solid #eee;
font-size: 13px;
padding: 0 12px 0;
padding: 8px 12px 10px;
}
#dashboard_primary .rss-widget:last-child {
@@ -508,8 +355,7 @@ body #dashboard-widgets .postbox form .submit {
}
#dashboard_primary .rss-widget ul li {
padding: 4px 0;
margin: 0;
margin-bottom: 8px;
}
/* Dashboard right now */
@@ -925,8 +771,7 @@ form.initial-form.quickpress-open input#title {
min-width: 0;
}
#dashboard-widgets a,
#dashboard-widgets .button-link {
#dashboard-widgets a {
text-decoration: none;
}
@@ -1026,9 +871,9 @@ form.initial-form.quickpress-open input#title {
}
a.rsswidget {
font-size: 13px;
font-size: 14px;
font-weight: 600;
line-height: 1.4em;
line-height: 1.7em;
}
.rss-widget ul li {
@@ -1239,35 +1084,6 @@ a.rsswidget {
width: 30px;
margin: 4px 0 5px 10px;
}
.community-events-toggle-location {
height: 38px;
vertical-align: baseline;
}
.community-events-form .regular-text {
height: 32px;
}
#community-events-submit {
margin-bottom: 0;
/* Override .wp-core-ui .button */
vertical-align: top;
}
.community-events-form label,
#dashboard-widgets .community-events-cancel.button-link {
/* Same properties as the submit button for cross-browsers alignment. */
font-size: 14px;
line-height: normal;
height: auto;
padding: 6px 0;
border: 1px solid transparent;
}
.community-events .spinner {
margin-top: 7px;
}
}
/* Smartphone */
@@ -1291,30 +1107,3 @@ a.rsswidget {
right: -35px;
}
}
@media screen and (min-width: 355px) {
.community-events .event-info {
display: table-row;
float: right;
max-width: 59%;
}
.event-icon,
.event-icon[aria-hidden="true"] {
display: table-cell;
}
.event-info-inner {
display: table-cell;
}
.community-events .event-date-time {
float: left;
max-width: 39%;
}
.community-events .event-date,
.community-events .event-time {
text-align: left;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -301,158 +301,6 @@
content: "\f153";
}
/* Dashboard WordPress events */
.community-events-errors {
margin: 0;
}
.community-events-loading {
padding: 10px 12px 8px;
}
.community-events {
margin-bottom: 6px;
padding: 0 12px;
}
.community-events .spinner {
float: none;
margin: 5px 2px 0;
vertical-align: top;
}
.community-events-errors[aria-hidden="true"],
.community-events-errors [aria-hidden="true"],
.community-events-loading[aria-hidden="true"],
.community-events[aria-hidden="true"],
.community-events [aria-hidden="true"] {
display: none;
}
.community-events .activity-block:first-child,
.community-events h2 {
padding-top: 12px;
padding-bottom: 10px;
}
.community-events-form {
margin: 15px 0 5px;
}
.community-events-form .regular-text {
width: 40%;
height: 29px;
margin: 0;
vertical-align: top;
}
.community-events li.event-none {
border-left: 4px solid #00a0d2;
}
.community-events-form label {
display: inline-block;
vertical-align: top;
line-height: 28px;
height: 28px;
}
.community-events .activity-block > p {
margin-bottom: 0;
display: inline;
}
.community-events-toggle-location {
vertical-align: middle;
}
#community-events-submit {
margin-left: 3px;
margin-right: 3px;
}
/* Needs higher specificity than #dashboard-widgets .button-link */
#dashboard-widgets .community-events-cancel.button-link {
vertical-align: top;
/* Same properties as the submit button for cross-browsers alignment. */
line-height: 26px;
height: 28px;
text-decoration: underline;
}
.community-events ul {
background-color: #fafafa;
padding-left: 0;
padding-right: 0;
padding-bottom: 0;
}
.community-events li {
margin: 0;
padding: 8px 12px;
color: #72777c;
}
.community-events li:first-child {
border-top: 1px solid #eee;
}
.community-events li ~ li {
border-top: 1px solid #eee;
}
.community-events .activity-block.last {
border-bottom: 1px solid #eee;
padding-top: 0;
margin-top: -1px;
}
.community-events .event-info {
display: block;
}
.event-icon {
height: 18px;
padding-right: 10px;
width: 18px;
display: none; /* Hide on smaller screens */
}
.event-icon:before {
color: #82878C;
font-size: 18px;
}
.event-meetup .event-icon:before {
content: "\f484";
}
.event-wordcamp .event-icon:before {
content: "\f486";
}
.community-events .event-title {
font-weight: 600;
display: block;
}
.community-events .event-date,
.community-events .event-time {
display: block;
}
.community-events-footer {
margin-top: 0;
margin-bottom: 0;
padding: 12px;
border-top: 1px solid #eee;
color: #ddd;
}
/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */
.community-events-footer .screen-reader-text {
height: inherit;
white-space: nowrap;
}
/* Dashboard WordPress news */
#dashboard_primary .inside {
@@ -460,21 +308,19 @@
padding: 0;
}
#dashboard_primary .widget-loading {
#dashboard_primary .widget-loading,
#dashboard_primary .dashboard-widget-control-form {
padding: 12px 12px 0;
margin-bottom: 1em !important; /* Needs to override `.postbox .inside > p:last-child` in common.css */
}
/* Notice when JS is off. */
#dashboard_primary .inside .notice {
margin: 0;
}
body #dashboard-widgets .postbox form .submit {
margin: 0;
}
/* Used only for configurable widgets. */
.dashboard-widget-control-form {
overflow: hidden;
}
.dashboard-widget-control-form p {
margin-top: 0;
}
@@ -485,8 +331,9 @@ body #dashboard-widgets .postbox form .submit {
}
#dashboard_primary .rss-widget {
border-bottom: 1px solid #eee;
font-size: 13px;
padding: 0 12px 0;
padding: 8px 12px 10px;
}
#dashboard_primary .rss-widget:last-child {
@@ -508,8 +355,7 @@ body #dashboard-widgets .postbox form .submit {
}
#dashboard_primary .rss-widget ul li {
padding: 4px 0;
margin: 0;
margin-bottom: 8px;
}
/* Dashboard right now */
@@ -925,8 +771,7 @@ form.initial-form.quickpress-open input#title {
min-width: 0;
}
#dashboard-widgets a,
#dashboard-widgets .button-link {
#dashboard-widgets a {
text-decoration: none;
}
@@ -1026,9 +871,9 @@ form.initial-form.quickpress-open input#title {
}
a.rsswidget {
font-size: 13px;
font-size: 14px;
font-weight: 600;
line-height: 1.4em;
line-height: 1.7em;
}
.rss-widget ul li {
@@ -1239,35 +1084,6 @@ a.rsswidget {
width: 30px;
margin: 4px 10px 5px 0;
}
.community-events-toggle-location {
height: 38px;
vertical-align: baseline;
}
.community-events-form .regular-text {
height: 32px;
}
#community-events-submit {
margin-bottom: 0;
/* Override .wp-core-ui .button */
vertical-align: top;
}
.community-events-form label,
#dashboard-widgets .community-events-cancel.button-link {
/* Same properties as the submit button for cross-browsers alignment. */
font-size: 14px;
line-height: normal;
height: auto;
padding: 6px 0;
border: 1px solid transparent;
}
.community-events .spinner {
margin-top: 7px;
}
}
/* Smartphone */
@@ -1291,30 +1107,3 @@ a.rsswidget {
left: -35px;
}
}
@media screen and (min-width: 355px) {
.community-events .event-info {
display: table-row;
float: left;
max-width: 59%;
}
.event-icon,
.event-icon[aria-hidden="true"] {
display: table-cell;
}
.event-info-inner {
display: table-cell;
}
.community-events .event-date-time {
float: right;
max-width: 39%;
}
.community-events .event-date,
.community-events .event-time {
text-align: right;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -100,6 +100,8 @@ input#link_url {
margin-left: 10px;
padding: 0;
font-size: 11px;
text-decoration: underline;
color: #0073aa;
}
#comment-link-box {
@@ -118,7 +120,7 @@ input#link_url {
#editable-post-name input {
font-size: 13px;
font-weight: 400;
height: 24px;
height: 22px;
margin: 0;
width: 16em;
}
@@ -127,10 +129,23 @@ input#link_url {
float: right;
}
.submitbox .submitdelete {
text-decoration: none;
padding: 1px 2px;
}
body.post-new-php .submitbox .submitdelete {
display: none;
}
/* @todo: do we really need this? word on the street is we don't and this
stray rule may actually be compensated for elsewhere. */
#normal-sortables .submitbox .submitdelete:hover {
color: #000;
background-color: #f00;
border-bottom-color: #f00;
}
.submitbox .submit a:hover {
text-decoration: underline;
}
@@ -334,7 +349,7 @@ form#tags-filter {
}
#content-resize-handle {
background: transparent url(../images/resize.gif) no-repeat scroll left bottom;
background: transparent url(../images/resize.gif) no-repeat scroll right bottom;
width: 12px;
cursor: row-resize;
}
@@ -449,7 +464,7 @@ form#tags-filter {
height: auto !important;
}
#post-body .misc-pub-post-status:before,
#misc-publishing-actions label[for="post_status"]:before,
#post-body #visibility:before,
.curtime #timestamp:before,
#post-body .misc-pub-revisions:before,
@@ -457,22 +472,20 @@ span.wp-media-buttons-icon:before {
color: #82878c;
}
#post-body .misc-pub-post-status:before,
#post-body #visibility:before,
.curtime #timestamp:before,
#post-body .misc-pub-revisions:before {
font: normal 20px/1 dashicons;
speak: none;
display: inline-block;
margin-right: -1px;
padding-left: 3px;
padding: 0 0 0 2px;
top: 0;
right: -1px;
position: relative;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#post-body .misc-pub-post-status:before {
content: "\f173";
text-decoration: none !important;
}
#post-body #visibility:before {
@@ -481,7 +494,6 @@ span.wp-media-buttons-icon:before {
.curtime #timestamp:before {
content: "\f145";
position: relative;
top: -1px;
}
@@ -580,9 +592,10 @@ span.wp-media-buttons-icon:before {
position: absolute;
}
.tagchecklist > span {
float: right;
.tagchecklist span {
margin-left: 25px;
display: block;
float: right;
font-size: 13px;
line-height: 1.8em;
cursor: default;
@@ -591,16 +604,16 @@ span.wp-media-buttons-icon:before {
text-overflow: ellipsis;
}
.tagchecklist .ntdelbutton {
position: absolute;
width: 24px;
height: 24px;
border: none;
margin: 0 -19px 0 0;
padding: 0;
background: none;
.tagchecklist span a {
margin: 1px -17px 0 0;
cursor: pointer;
width: 20px;
height: 20px;
display: block;
float: right;
text-indent: 0;
overflow: hidden;
position: absolute;
}
#poststuff h3.hndle, /* Back-compat for pre-4.4 */
@@ -626,21 +639,11 @@ span.wp-media-buttons-icon:before {
width: 250px;
}
.post-attributes-label-wrapper {
margin-bottom: 0.5em;
}
.post-attributes-label {
vertical-align: baseline;
font-weight: 600;
}
#post-visibility-select {
line-height: 1.5em;
margin-top: 3px;
}
#linksubmitdiv .inside, /* Old Link Manager back-compat. */
#poststuff #submitdiv .inside {
margin: 0;
padding: 0;
@@ -1058,7 +1061,6 @@ p.popular-tags a {
margin: 2px 0 12px;
}
/* Suggest.js autocomplete, no more used by core. */
.ac_results {
display: none;
margin: -1px 0 0;
@@ -1092,17 +1094,6 @@ p.popular-tags a {
text-decoration: underline;
}
#edittag {
max-width: 800px;
}
.edit-tag-actions {
margin-top: 20px;
overflow: hidden;
padding: 10px;
margin-left: 10px;
}
/* Comments */
.comment-php .wp-editor-area {
@@ -1219,7 +1210,6 @@ table.links-table {
}
.focus-on .wrap > h1,
.focus-on .page-title-action,
.focus-on #wpfooter,
.focus-on .postbox-container > *,
.focus-on div.updated,
@@ -1243,7 +1233,6 @@ table.links-table {
}
.focus-off .wrap > h1,
.focus-off .page-title-action,
.focus-off #wpfooter,
.focus-off .postbox-container > *,
.focus-off div.updated,
@@ -1311,7 +1300,7 @@ table.links-table {
(min-resolution: 120dpi) {
#content-resize-handle,
#post-body .wp_themeSkin .mceStatusbar a.mceResize {
background: transparent url(../images/resize-2x.gif) no-repeat scroll left bottom;
background: transparent url(../images/resize-2x.gif) no-repeat scroll right bottom;
-webkit-background-size: 11px 11px;
background-size: 11px 11px;
}
@@ -1359,10 +1348,6 @@ table.links-table {
}
@media screen and ( max-width: 782px ) {
.wp-core-ui .edit-tag-actions .button-primary {
margin-bottom: 0;
}
#post-body-content {
min-width: 0;
}
@@ -1462,7 +1447,7 @@ table.links-table {
margin: 25px 10px;
}
.tagchecklist > span {
.tagchecklist span {
font-size: 16px;
line-height: 1.4;
}

File diff suppressed because one or more lines are too long

View File

@@ -100,6 +100,8 @@ input#link_url {
margin-right: 10px;
padding: 0;
font-size: 11px;
text-decoration: underline;
color: #0073aa;
}
#comment-link-box {
@@ -118,7 +120,7 @@ input#link_url {
#editable-post-name input {
font-size: 13px;
font-weight: 400;
height: 24px;
height: 22px;
margin: 0;
width: 16em;
}
@@ -127,10 +129,23 @@ input#link_url {
float: left;
}
.submitbox .submitdelete {
text-decoration: none;
padding: 1px 2px;
}
body.post-new-php .submitbox .submitdelete {
display: none;
}
/* @todo: do we really need this? word on the street is we don't and this
stray rule may actually be compensated for elsewhere. */
#normal-sortables .submitbox .submitdelete:hover {
color: #000;
background-color: #f00;
border-bottom-color: #f00;
}
.submitbox .submit a:hover {
text-decoration: underline;
}
@@ -449,7 +464,7 @@ form#tags-filter {
height: auto !important;
}
#post-body .misc-pub-post-status:before,
#misc-publishing-actions label[for="post_status"]:before,
#post-body #visibility:before,
.curtime #timestamp:before,
#post-body .misc-pub-revisions:before,
@@ -457,22 +472,20 @@ span.wp-media-buttons-icon:before {
color: #82878c;
}
#post-body .misc-pub-post-status:before,
#post-body #visibility:before,
.curtime #timestamp:before,
#post-body .misc-pub-revisions:before {
font: normal 20px/1 dashicons;
speak: none;
display: inline-block;
margin-left: -1px;
padding-right: 3px;
padding: 0 2px 0 0;
top: 0;
left: -1px;
position: relative;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#post-body .misc-pub-post-status:before {
content: "\f173";
text-decoration: none !important;
}
#post-body #visibility:before {
@@ -481,7 +494,6 @@ span.wp-media-buttons-icon:before {
.curtime #timestamp:before {
content: "\f145";
position: relative;
top: -1px;
}
@@ -580,9 +592,10 @@ span.wp-media-buttons-icon:before {
position: absolute;
}
.tagchecklist > span {
float: left;
.tagchecklist span {
margin-right: 25px;
display: block;
float: left;
font-size: 13px;
line-height: 1.8em;
cursor: default;
@@ -591,16 +604,16 @@ span.wp-media-buttons-icon:before {
text-overflow: ellipsis;
}
.tagchecklist .ntdelbutton {
position: absolute;
width: 24px;
height: 24px;
border: none;
margin: 0 0 0 -19px;
padding: 0;
background: none;
.tagchecklist span a {
margin: 1px 0 0 -17px;
cursor: pointer;
width: 20px;
height: 20px;
display: block;
float: left;
text-indent: 0;
overflow: hidden;
position: absolute;
}
#poststuff h3.hndle, /* Back-compat for pre-4.4 */
@@ -626,21 +639,11 @@ span.wp-media-buttons-icon:before {
width: 250px;
}
.post-attributes-label-wrapper {
margin-bottom: 0.5em;
}
.post-attributes-label {
vertical-align: baseline;
font-weight: 600;
}
#post-visibility-select {
line-height: 1.5em;
margin-top: 3px;
}
#linksubmitdiv .inside, /* Old Link Manager back-compat. */
#poststuff #submitdiv .inside {
margin: 0;
padding: 0;
@@ -1058,7 +1061,6 @@ p.popular-tags a {
margin: 2px 0 12px;
}
/* Suggest.js autocomplete, no more used by core. */
.ac_results {
display: none;
margin: -1px 0 0;
@@ -1092,17 +1094,6 @@ p.popular-tags a {
text-decoration: underline;
}
#edittag {
max-width: 800px;
}
.edit-tag-actions {
margin-top: 20px;
overflow: hidden;
padding: 10px;
margin-right: 10px;
}
/* Comments */
.comment-php .wp-editor-area {
@@ -1219,7 +1210,6 @@ table.links-table {
}
.focus-on .wrap > h1,
.focus-on .page-title-action,
.focus-on #wpfooter,
.focus-on .postbox-container > *,
.focus-on div.updated,
@@ -1243,7 +1233,6 @@ table.links-table {
}
.focus-off .wrap > h1,
.focus-off .page-title-action,
.focus-off #wpfooter,
.focus-off .postbox-container > *,
.focus-off div.updated,
@@ -1359,10 +1348,6 @@ table.links-table {
}
@media screen and ( max-width: 782px ) {
.wp-core-ui .edit-tag-actions .button-primary {
margin-bottom: 0;
}
#post-body-content {
min-width: 0;
}
@@ -1462,7 +1447,7 @@ table.links-table {
margin: 25px 10px;
}
.tagchecklist > span {
.tagchecklist span {
font-size: 16px;
line-height: 1.4;
}

File diff suppressed because one or more lines are too long

View File

@@ -204,7 +204,6 @@ textarea {
.wp-admin input[type="file"] {
padding: 3px 0;
cursor: pointer;
}
label {
@@ -298,7 +297,6 @@ input[type="range"].disabled {
background: none;
-webkit-box-shadow: none;
box-shadow: none;
cursor: default;
}
input[type="checkbox"]:disabled,
@@ -386,7 +384,7 @@ textarea.large-text {
width: 99%;
}
.regular-text {
input.regular-text {
width: 25em;
}
@@ -458,6 +456,21 @@ fieldset label,
vertical-align: baseline;
}
#misc-publishing-actions label[for="post_status"]:before {
content: "\f173";
display: inline-block;
font: normal 20px/1 dashicons;
speak: none;
right: -1px;
padding: 0 0 0 5px;
position: relative;
top: 0;
text-decoration: none !important;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#pass-strength-result {
background-color: #eee;
border: 1px solid #ddd;
@@ -594,18 +607,11 @@ ul#add-to-blog-users {
padding: 4px 10px;
white-space: nowrap;
text-align: right;
cursor: pointer;
}
/* Colors for the wplink toolbar autocomplete. */
.ui-autocomplete .ui-state-focus {
.ui-autocomplete li.ui-state-focus {
background-color: #ddd;
}
/* Colors for the tags autocomplete. */
.wp-tags-autocomplete .ui-state-focus {
background-color: #0073aa;
color: #fff;
cursor: pointer;
}
/*------------------------------------------------------------------------------
@@ -650,10 +656,8 @@ ul#add-to-blog-users {
font-weight: 600;
}
.form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */
.form-table .td-full {
.form-table th.th-full {
width: auto;
padding: 20px 0 20px 10px;
font-weight: 400;
}

File diff suppressed because one or more lines are too long

View File

@@ -204,7 +204,6 @@ textarea {
.wp-admin input[type="file"] {
padding: 3px 0;
cursor: pointer;
}
label {
@@ -298,7 +297,6 @@ input[type="range"].disabled {
background: none;
-webkit-box-shadow: none;
box-shadow: none;
cursor: default;
}
input[type="checkbox"]:disabled,
@@ -386,7 +384,7 @@ textarea.large-text {
width: 99%;
}
.regular-text {
input.regular-text {
width: 25em;
}
@@ -458,6 +456,21 @@ fieldset label,
vertical-align: baseline;
}
#misc-publishing-actions label[for="post_status"]:before {
content: "\f173";
display: inline-block;
font: normal 20px/1 dashicons;
speak: none;
left: -1px;
padding: 0 5px 0 0;
position: relative;
top: 0;
text-decoration: none !important;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#pass-strength-result {
background-color: #eee;
border: 1px solid #ddd;
@@ -594,18 +607,11 @@ ul#add-to-blog-users {
padding: 4px 10px;
white-space: nowrap;
text-align: left;
cursor: pointer;
}
/* Colors for the wplink toolbar autocomplete. */
.ui-autocomplete .ui-state-focus {
.ui-autocomplete li.ui-state-focus {
background-color: #ddd;
}
/* Colors for the tags autocomplete. */
.wp-tags-autocomplete .ui-state-focus {
background-color: #0073aa;
color: #fff;
cursor: pointer;
}
/*------------------------------------------------------------------------------
@@ -650,10 +656,8 @@ ul#add-to-blog-users {
font-weight: 600;
}
.form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */
.form-table .td-full {
.form-table th.th-full {
width: auto;
padding: 20px 10px 20px 0;
font-weight: 400;
}

File diff suppressed because one or more lines are too long

View File

@@ -221,7 +221,8 @@ table.fixed td {
}
#wpbody-content input.button,
#wpbody-content input.button-primary {
#wpbody-content input.button-primary,
#wpbody-content input.button-secondary {
overflow: visible;
}
@@ -441,17 +442,13 @@ div#dashboard-widgets {
padding-left: 1px;
}
.tagchecklist > span, .tagchecklist .ntdelbutton {
.tagchecklist span, .tagchecklist span a {
display: inline-block;
display: block;
}
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
outline: 1px solid #5b9dd9;
}
.tablenav .button,
.nav .button {
.tablenav .button-secondary,
.nav .button-secondary {
padding-top: 2px;
padding-bottom: 2px;
}
@@ -510,7 +507,7 @@ table.ie-fixed {
border-collapse: collapse;
}
.tablenav a.button {
.tablenav a.button-secondary {
display: inline-block;
padding: 2px 5px;
}

File diff suppressed because one or more lines are too long

View File

@@ -221,7 +221,8 @@ table.fixed td {
}
#wpbody-content input.button,
#wpbody-content input.button-primary {
#wpbody-content input.button-primary,
#wpbody-content input.button-secondary {
overflow: visible;
}
@@ -441,17 +442,13 @@ div#dashboard-widgets {
padding-right: 1px;
}
.tagchecklist > span, .tagchecklist .ntdelbutton {
.tagchecklist span, .tagchecklist span a {
display: inline-block;
display: block;
}
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
outline: 1px solid #5b9dd9;
}
.tablenav .button,
.nav .button {
.tablenav .button-secondary,
.nav .button-secondary {
padding-top: 2px;
padding-bottom: 2px;
}
@@ -510,7 +507,7 @@ table.ie-fixed {
border-collapse: collapse;
}
.tablenav a.button {
.tablenav a.button-secondary {
display: inline-block;
padding: 2px 5px;
}

File diff suppressed because one or more lines are too long

View File

@@ -443,7 +443,7 @@ body.language-chooser {
margin-left: 15px;
}
.button.hide-if-no-js,
.button-secondary.hide-if-no-js,
.hide-if-no-js {
display: none;
}

File diff suppressed because one or more lines are too long

View File

@@ -443,7 +443,7 @@ body.language-chooser {
margin-right: 15px;
}
.button.hide-if-no-js,
.button-secondary.hide-if-no-js,
.hide-if-no-js {
display: none;
}

File diff suppressed because one or more lines are too long

View File

@@ -555,13 +555,15 @@ tr.wp-locked .locked-indicator {
width: 16px;
}
tr.wp-locked .locked-indicator-icon:before {
tr.wp-locked .locked-indicator:before {
color: #82878c;
content: "\f160";
display: inline-block;
float: right;
font: normal 20px/1 dashicons;
speak: none;
vertical-align: middle;
margin-right: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@@ -579,7 +581,7 @@ tr .locked-info {
}
tr.wp-locked .locked-info {
margin-top: 4px;
margin-top: 8px;
height: auto;
opacity: 1;
}
@@ -654,7 +656,6 @@ th.asc a:focus span.sorting-indicator {
margin-right: 2px;
}
.tablenav a.button,
.tablenav a.button-secondary {
display: block;
margin: 3px 0 0 8px;

File diff suppressed because one or more lines are too long

View File

@@ -555,13 +555,15 @@ tr.wp-locked .locked-indicator {
width: 16px;
}
tr.wp-locked .locked-indicator-icon:before {
tr.wp-locked .locked-indicator:before {
color: #82878c;
content: "\f160";
display: inline-block;
float: left;
font: normal 20px/1 dashicons;
speak: none;
vertical-align: middle;
margin-left: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@@ -579,7 +581,7 @@ tr .locked-info {
}
tr.wp-locked .locked-info {
margin-top: 4px;
margin-top: 8px;
height: auto;
opacity: 1;
}
@@ -654,7 +656,6 @@ th.asc a:focus span.sorting-indicator {
margin-left: 2px;
}
.tablenav a.button,
.tablenav a.button-secondary {
display: block;
margin: 3px 8px 0 0;

File diff suppressed because one or more lines are too long

View File

@@ -59,7 +59,6 @@ p {
border-right: 4px solid #00a0d2;
padding: 12px;
margin-right: 0;
margin-bottom: 20px;
background-color: #fff;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
@@ -217,6 +216,19 @@ p {
width: 100%;
}
.mobile #login {
padding: 20px 0;
}
.mobile #login form {
margin-right: 0;
}
.mobile #login #nav,
.mobile #login #backtoblog {
margin-right: 8px;
}
body.interim-login {
height: auto;
}
@@ -243,12 +255,6 @@ body.interim-login {
width: device-width;
}
@media screen and ( max-height: 550px ) {
#login {
padding: 20px 0;
}
}
@media screen and ( max-width: 782px ) {
.interim-login input[type=checkbox] {
height: 16px;

File diff suppressed because one or more lines are too long

View File

@@ -59,7 +59,6 @@ p {
border-left: 4px solid #00a0d2;
padding: 12px;
margin-left: 0;
margin-bottom: 20px;
background-color: #fff;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
@@ -217,6 +216,19 @@ p {
width: 100%;
}
.mobile #login {
padding: 20px 0;
}
.mobile #login form {
margin-left: 0;
}
.mobile #login #nav,
.mobile #login #backtoblog {
margin-left: 8px;
}
body.interim-login {
height: auto;
}
@@ -243,12 +255,6 @@ body.interim-login {
width: device-width;
}
@media screen and ( max-height: 550px ) {
#login {
padding: 20px 0;
}
}
@media screen and ( max-width: 782px ) {
.interim-login input[type=checkbox] {
height: 16px;

File diff suppressed because one or more lines are too long

View File

@@ -469,7 +469,7 @@ border color while dragging a file over the uploader drop area */
.upload-php .mode-grid .media-sidebar {
position: relative;
width: auto;
margin-top: 12px;
margin-bottom: 16px;
padding: 0 16px;
border-right: 4px solid #dd3d36;
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
@@ -506,7 +506,7 @@ border color while dragging a file over the uploader drop area */
content: "\f153";
display: block;
font: normal 16px/1 dashicons;
color: #72777c;
color: #b4b9be;
}
.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,
@@ -526,7 +526,7 @@ border color while dragging a file over the uploader drop area */
right: auto;
bottom: auto;
padding-top: 0;
margin-top: 20px;
margin-top: 0;
border: 4px dashed #b4b9be;
}
@@ -769,17 +769,13 @@ border color while dragging a file over the uploader drop area */
.edit-attachment-frame .attachment-media-view .details-image {
display: block;
margin: 0 auto 16px;
margin-bottom: 16px;
max-width: 100%;
max-height: 90%;
max-height: -webkit-calc( 100% - 42px );
max-height: calc( 100% - 42px ); /* leave space for actions underneath */
}
.edit-attachment-frame .attachment-media-view .attachment-actions {
text-align: center;
}
.edit-attachment-frame .wp-media-wrapper {
margin-bottom: 12px;
}
@@ -1066,9 +1062,9 @@ border color while dragging a file over the uploader drop area */
line-height: 1.4;
}
#poststuff .imgedit-group-top .button-link {
.imgedit-group-top h3 a, /* Back-compat for pre-4.4 */
.imgedit-group-top h2 a {
text-decoration: none;
color: #23282d;
}
.imgedit-applyto .imgedit-label {
@@ -1148,7 +1144,7 @@ span.imgedit-scale-warn {
.imgedit-settings .imgedit-crop-sel input[type="text"] {
width: 50px;
font-size: 14px;
padding: 5px 8px;
padding: 3px 5px;
}
.imgedit-separator {

File diff suppressed because one or more lines are too long

View File

@@ -469,7 +469,7 @@ border color while dragging a file over the uploader drop area */
.upload-php .mode-grid .media-sidebar {
position: relative;
width: auto;
margin-top: 12px;
margin-bottom: 16px;
padding: 0 16px;
border-left: 4px solid #dd3d36;
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
@@ -506,7 +506,7 @@ border color while dragging a file over the uploader drop area */
content: "\f153";
display: block;
font: normal 16px/1 dashicons;
color: #72777c;
color: #b4b9be;
}
.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,
@@ -526,7 +526,7 @@ border color while dragging a file over the uploader drop area */
left: auto;
bottom: auto;
padding-top: 0;
margin-top: 20px;
margin-top: 0;
border: 4px dashed #b4b9be;
}
@@ -769,17 +769,13 @@ border color while dragging a file over the uploader drop area */
.edit-attachment-frame .attachment-media-view .details-image {
display: block;
margin: 0 auto 16px;
margin-bottom: 16px;
max-width: 100%;
max-height: 90%;
max-height: -webkit-calc( 100% - 42px );
max-height: calc( 100% - 42px ); /* leave space for actions underneath */
}
.edit-attachment-frame .attachment-media-view .attachment-actions {
text-align: center;
}
.edit-attachment-frame .wp-media-wrapper {
margin-bottom: 12px;
}
@@ -1066,9 +1062,9 @@ border color while dragging a file over the uploader drop area */
line-height: 1.4;
}
#poststuff .imgedit-group-top .button-link {
.imgedit-group-top h3 a, /* Back-compat for pre-4.4 */
.imgedit-group-top h2 a {
text-decoration: none;
color: #23282d;
}
.imgedit-applyto .imgedit-label {
@@ -1148,7 +1144,7 @@ span.imgedit-scale-warn {
.imgedit-settings .imgedit-crop-sel input[type="text"] {
width: 50px;
font-size: 14px;
padding: 5px 8px;
padding: 3px 5px;
}
.imgedit-separator {

Some files were not shown because too many files have changed in this diff Show More