Compare commits

..

220 Commits

Author SHA1 Message Date
Sergey Biryukov
ef384571c7 Tag 3.8.32
Built from https://develop.svn.wordpress.org/tags/3.8.32@46954


git-svn-id: http://core.svn.wordpress.org/tags/3.8.32@46753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 23:03:29 +00:00
Sergey Biryukov
e4e88c57ce WordPress 3.8.32
Built from https://develop.svn.wordpress.org/branches/3.8@46935


git-svn-id: http://core.svn.wordpress.org/branches/3.8@46735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 20:35:22 +00:00
Sergey Biryukov
85b11b56f8 Update wp_kses_bad_protocol() to recognize : on uri attributes,
`wp_kses_bad_protocol()` makes sure to validate that uri attributes don’t contain invalid/or not allowed protocols. While this works fine in most cases, there’s a risk that by using the colon html5 named entity, one is able to bypass this function.

Brings r46895 to the 3.8 branch.

Props: xknown, nickdaugherty, peterwilsoncc.
Built from https://develop.svn.wordpress.org/branches/3.8@46904


git-svn-id: http://core.svn.wordpress.org/branches/3.8@46704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 18:28:10 +00:00
desrosj
8fc9d4e0c5 WordPress 3.8.31.
Built from https://develop.svn.wordpress.org/branches/3.8@46522


git-svn-id: http://core.svn.wordpress.org/branches/3.8@46319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-14 20:20:10 +00:00
whyisjake
cf8ee66ea1 Backporting several bug fixes.
- Query: Remove the static query property.
- HTTP API: Protect against hex interpretation.
- Filesystem API: Prevent directory travelersals when creating new folders.
- Administration: Ensure that admin referer nonce is valid.
- REST API: Send a Vary: Origin header on GET requests.
- Customizer: Properly sanitize background images.

Backports [46474], [46475], [46476], [46477], [46478], [46483], [46485] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@46504


git-svn-id: http://core.svn.wordpress.org/branches/3.8@46301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-14 19:30:19 +00:00
desrosj
08a544ca5f WordPress 3.8.30.
Built from https://develop.svn.wordpress.org/branches/3.8@46032


git-svn-id: http://core.svn.wordpress.org/branches/3.8@45844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 22:02:18 +00:00
desrosj
9cda3c2df5 Fix for URL sanitization in wp_kses_bad_protocol_once().
Merges [45997] to the 3.8 branch.

Props irsdl, sstoqnov, whyisjake.
Built from https://develop.svn.wordpress.org/branches/3.8@46018


git-svn-id: http://core.svn.wordpress.org/branches/3.8@45829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 21:44:12 +00:00
Sergey Biryukov
c3db6f196e Improve URL validation in wp_validate_redirect().
Merges [45971] to the 3.8 branch.
Props vortfu, whyisjake, peterwilsoncc.
Built from https://develop.svn.wordpress.org/branches/3.8@45987


git-svn-id: http://core.svn.wordpress.org/branches/3.8@45798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 17:18:10 +00:00
whyisjake
b192965fd9 Remove _convert_urlencoded_to_entities() from the get_the_content() callback.
Merges [45937] to the 3.8 branch.

Props vortfu, whyisjake, peterwilsoncc

Built from https://develop.svn.wordpress.org/branches/3.8@45968


git-svn-id: http://core.svn.wordpress.org/branches/3.8@45779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 16:48:44 +00:00
Sergey Biryukov
c44939292f Escape the output in wp_ajax_upload_attachment().
Merges [45936] to the 3.8 branch.
Props whyisjake, sstoqnov.
Built from https://develop.svn.wordpress.org/branches/3.8@45967


git-svn-id: http://core.svn.wordpress.org/branches/3.8@45778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 16:48:33 +00:00
Gary Pendergast
3398ca7371 WordPress 3.8.29
Built from https://develop.svn.wordpress.org/branches/3.8@44890


git-svn-id: http://core.svn.wordpress.org/branches/3.8@44721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-13 03:11:11 +00:00
Sergey Biryukov
5a03d23f2c Comments: Improve comment content filtering.
Merges [44842] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@44856


git-svn-id: http://core.svn.wordpress.org/branches/3.8@44688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-12 22:51:11 +00:00
Jeremy Felt
9aa6e875dd Bump 3.8 branch to version 3.8.28.
Built from https://develop.svn.wordpress.org/branches/3.8@44089


git-svn-id: http://core.svn.wordpress.org/branches/3.8@43919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 02:17:10 +00:00
Gary Pendergast
7137770fd8 Editor: Remove unwanted fields before saving posts.
The `meta_input`, `file`, and `guid` fields are not intended to be updated through user input.

Merges [44047] to the 3.8 branch.


Built from https://develop.svn.wordpress.org/branches/3.8@44074


git-svn-id: http://core.svn.wordpress.org/branches/3.8@43904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 02:01:20 +00:00
Peter Wilson
bd6d0791d8 Multisite: Validate activation links.
Merges [44048] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@44073


git-svn-id: http://core.svn.wordpress.org/branches/3.8@43903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 02:01:10 +00:00
iandunn
69b32184c6 KSES: Make the URI attributes DRY.
This commit introduces the `wp_kses_uri_attributes` function and filter. The function centralizes the list of attributes, in order to prevent inconsistency, and the filter provides a way for plugins to customize the attributes.

Merges [44014] and [44017] to the `3.8` branch.

Built from https://develop.svn.wordpress.org/branches/3.8@44046


git-svn-id: http://core.svn.wordpress.org/branches/3.8@43876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:23:10 +00:00
Peter Wilson
b28a90ffb0 Multisite: Improve messaging for previously activated users.
Ensure activation of a site is not attempted multiple times and users are shown the correct message if they follow the link a second time.

Merges [44021] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@44039


git-svn-id: http://core.svn.wordpress.org/branches/3.8@43869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:11:10 +00:00
Gary Pendergast
0482e663b3 KSES: Conditionally remove the <form> element from $allowedposttags.
To avoid backwards compatibility issues, `<form>` is re-added if a custom filter has added the `<input>` or `<select>` elements to `$allowedposttags`.

Merges [43994] to the 3.8 branch.


Built from https://develop.svn.wordpress.org/branches/3.8@44018


git-svn-id: http://core.svn.wordpress.org/branches/3.8@43848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 00:02:10 +00:00
Jeremy Felt
40b1bdf6eb Media: Improve verification of MIME file types.
Merges [43988] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@44011


git-svn-id: http://core.svn.wordpress.org/branches/3.8@43841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-12 23:46:11 +00:00
Aaron Campbell
20f65b3365 Bump 3.8 branch to version 3.8.27
Built from https://develop.svn.wordpress.org/branches/3.8@43418


git-svn-id: http://core.svn.wordpress.org/branches/3.8@43246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-05 16:14:21 +00:00
John Blackbourn
ef1be9ab82 Media: Limit thumbnail file deletions to the same directory as the original file.
Merges [43393] into the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@43404


git-svn-id: http://core.svn.wordpress.org/branches/3.8@43232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-05 15:16:11 +00:00
Aaron Campbell
3b5b5eb1c6 Bump 3.8 branch to version 3.8.26
Built from https://develop.svn.wordpress.org/branches/3.8@42944


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 20:32:35 +00:00
Dominik Schilling
4fe01b7a00 Template: Make sure the version string is correctly escaped for use in attributes.
Merge of [42893] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@42928


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 16:11:34 +00:00
Dominik Schilling
34e08327d5 Login: Use wp_safe_redirect() when redirecting the login page if forced to use HTTPS.
Merge of [42892] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@42906


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 15:34:38 +00:00
Sergey Biryukov
48b8d8182b General: Update copyright year to 2018 in license.txt.
Props rachelbaker.
Merges [42424] to the 3.8 branch.
Fixes #43007.
Built from https://develop.svn.wordpress.org/branches/3.8@42563


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-23 11:30:39 +00:00
Dion Hulse
f9536953ce Bump the 3.8 branch to 3.8.25.
Built from https://develop.svn.wordpress.org/branches/3.8@42505


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-16 21:47:26 +00:00
Dion Hulse
4eed4b89be External Libraries: Remove unnecessary / obsoleted MediaElement.js files.
Merges [42478] to the 3.8 branch.
Fixes #42720 for 3.8.

Built from https://develop.svn.wordpress.org/branches/3.8@42488


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-16 08:15:30 +00:00
Dion Hulse
3f66a144ff Upgrade: When deleting old files, if deletion fails attempt to empty the file instead.
Props joemcgill, dd32.
Merges [42434] to the 3.8 branch.
Fixes #42963 for 3.8.

Built from https://develop.svn.wordpress.org/branches/3.8@42476


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-16 06:59:26 +00:00
John Blackbourn
f97197c469 Bump 3.8 branch to version 3.8.24.
Built from https://develop.svn.wordpress.org/branches/3.8@42327


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-29 19:05:14 +00:00
John Blackbourn
e622c23123 Hardening: Remove the ability to upload JavaScript files for users who do not have the unfiltered_html capability.
Merges [42261] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@42311


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-29 16:47:13 +00:00
John Blackbourn
41b3ec0571 Hardening: Ensure the attributes of enclosures are correctly escaped in RSS and Atom feeds.
Merges [42260] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@42310


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-29 16:46:13 +00:00
John Blackbourn
fe26bcc178 Hardening: Add escaping to the language attributes used on html elements.
Merges [42259] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@42309


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-29 16:43:25 +00:00
John Blackbourn
186eae2357 Hardening: Use a properly generated hash for the newbloguser key instead of a determinate substring.
Merges [42258] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@42308


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-29 16:43:14 +00:00
Dion Hulse
c2a62a9286 WPDB: Check that AUTH_SALT is not empty, Fix a PHP notice when AUTH_SALT is undefined.
Props jsonfry, mkomar, pento.
Merges [42119] and [42120] to the 3.8 branch.
Fixes #42431 and #42401 for 3.8.

Built from https://develop.svn.wordpress.org/branches/3.8@42240


git-svn-id: http://core.svn.wordpress.org/branches/3.8@42069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-27 01:14:44 +00:00
John Blackbourn
4d1fdffa9a General: Remove the version number from the readme file in the 3.8 branch.
See #42386

Built from https://develop.svn.wordpress.org/branches/3.8@42098


git-svn-id: http://core.svn.wordpress.org/branches/3.8@41927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-31 18:04:13 +00:00
Gary Pendergast
caa91e1948 Bump 3.8 branch to version 3.8.23.
Built from https://develop.svn.wordpress.org/branches/3.8@42079


git-svn-id: http://core.svn.wordpress.org/branches/3.8@41908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-31 13:46:13 +00:00
Gary Pendergast
79e3cacd3a Database: Restore numbered placeholders in wpdb::prepare().
[41496] removed support for numbered placeholders in queries send through `wpdb::prepare()`, which, despite being undocumented, were quite commonly used.

This change restores support for numbered placeholders (as well as a subset of placeholder formatting), while also adding extra checks to ensure the correct number of arguments are being passed to `wpdb::prepare()`, given the number of placeholders.

Merges [41662], [42056] to the 3.8 branch.
See #41925.


Built from https://develop.svn.wordpress.org/branches/3.8@42067


git-svn-id: http://core.svn.wordpress.org/branches/3.8@41896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-31 13:00:13 +00:00
Dominik Schilling
e53ddbb7f2 Users: Use correct escaping function for URLs.
Merge of [41522] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@41533


git-svn-id: http://core.svn.wordpress.org/branches/3.8@41366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 21:40:26 +00:00
Aaron Campbell
a5171cfedf Bump 3.8 branch to version 3.8.22.
Built from https://develop.svn.wordpress.org/branches/3.8@41520


git-svn-id: http://core.svn.wordpress.org/branches/3.8@41353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 20:14:12 +00:00
Aaron Campbell
3f0e1ca8ad Database: Hardening to bring wpdb::prepare() inline with documentation.
`wpdb::prepare()` supports %s, %d, and %F as placeholders in the query string. Any other non-escaped % will be escaped.

Merges [41496] to 3.8 branch.


Built from https://develop.svn.wordpress.org/branches/3.8@41507


git-svn-id: http://core.svn.wordpress.org/branches/3.8@41340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 18:44:12 +00:00
Aaron Campbell
4ae09206d7 Database: Don’t trigger _doing_it_wrong() for null values in wpdb::prepare().
While `wpdb::prepare()` does not support null values (see #12819) they still appear in the wild like in the WordPress Importer and other plugins.

Merges [41483] to 3.8 branch.


Built from https://develop.svn.wordpress.org/branches/3.8@41494


git-svn-id: http://core.svn.wordpress.org/branches/3.8@41327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 16:30:13 +00:00
Aaron Campbell
171ae5f1f0 Database: Hardening for wpdb::prepare()
Previously if you passed an array of values for placeholders, additional values could be passed as well. Now additional values will be ignored.

Merges [41470] to 3.8 branch.


Built from https://develop.svn.wordpress.org/branches/3.8@41481


git-svn-id: http://core.svn.wordpress.org/branches/3.8@41314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 15:04:44 +00:00
John Blackbourn
23f8dc29a5 Filesystem API: Ensure filenames are valid before attempting to unzip them to ensure malformed file paths don't cause issues.
Merges [41457] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@41468


git-svn-id: http://core.svn.wordpress.org/branches/3.8@41301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 14:45:26 +00:00
John Blackbourn
c0cb9fb504 General: Add missing URL-encoding and add extra hardening to plugin and template names when they're displayed in the admin area.
Merges [41434] with changes to the 3.8 branch.

See #13377

Built from https://develop.svn.wordpress.org/branches/3.8@41452


git-svn-id: http://core.svn.wordpress.org/branches/3.8@41285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 13:49:13 +00:00
Dominik Schilling
eac5a47c36 Users: Provide a fallback for incorrect HTTP referrers.
Merge of [41398] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@41427


git-svn-id: http://core.svn.wordpress.org/branches/3.8@41260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 11:15:42 +00:00
Dominik Schilling
15001b0081 Editor: Prevent adding javascript: and data: URLs through the inline link dialog.
Merge of [41393] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@41410


git-svn-id: http://core.svn.wordpress.org/branches/3.8@41243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 10:20:36 +00:00
Aaron Campbell
454a0edba6 Bump 3.8 branch to version 3.8.21.
Built from https://develop.svn.wordpress.org/branches/3.8@40757


git-svn-id: http://core.svn.wordpress.org/branches/3.8@40615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-16 21:54:06 +00:00
Pascal Birchler
37cfad6e28 Media: Simplify upload error message construction.
Merges [40736] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@40746


git-svn-id: http://core.svn.wordpress.org/branches/3.8@40604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-16 18:05:43 +00:00
Aaron Campbell
3be68f60c2 Add nonce for updating file system credentials.
Merges [40723] to 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@40733


git-svn-id: http://core.svn.wordpress.org/branches/3.8@40591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-16 14:57:43 +00:00
Dominik Schilling
6c83d5e3c5 Customize: Ignore invalid customization sessions.
Merge of [40704] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@40714


git-svn-id: http://core.svn.wordpress.org/branches/3.8@40577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-16 12:22:12 +00:00
Pascal Birchler
0115a247b3 Adjust post meta checks
Merges [40692] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@40702


git-svn-id: http://core.svn.wordpress.org/branches/3.8@40565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-16 08:54:26 +00:00
Pascal Birchler
4aab4591ff Whitelist post arguments in XML-RPC
Merges [40677] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@40687


git-svn-id: http://core.svn.wordpress.org/branches/3.8@40550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-16 08:30:14 +00:00
Pascal Birchler
35d92fd6ad Bump 3.8 branch to version 3.8.20.
Built from https://develop.svn.wordpress.org/branches/3.8@40496


git-svn-id: http://core.svn.wordpress.org/branches/3.8@40372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-04-20 16:29:13 +00:00
Pascal Birchler
70566ddb8d Fix broken audio/video functions when sanitizing ID3 data
This fixes a bug where running `wp_kses_post_deep()` on all the ID3
tag data corrupted blob data.

See #40075, #40085.

Merges [40400] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@40469


git-svn-id: http://core.svn.wordpress.org/branches/3.8@40345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-04-17 13:44:13 +00:00
James Nylen
36d019a209 Bump 3.8 branch to version 3.8.19.
Built from https://develop.svn.wordpress.org/branches/3.8@40211


git-svn-id: http://core.svn.wordpress.org/branches/3.8@40150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-03-06 16:47:12 +00:00
Aaron Campbell
44f0839610 Strip control characters before validating redirect.
Merges [40183] to 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@40193


git-svn-id: http://core.svn.wordpress.org/branches/3.8@40132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-03-06 13:46:12 +00:00
Aaron Campbell
86030b9a10 Plugins: Add file check to plugin deletions.
Merges [40169] to 3.8 branch.


Built from https://develop.svn.wordpress.org/branches/3.8@40179


git-svn-id: http://core.svn.wordpress.org/branches/3.8@40118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-03-06 13:05:26 +00:00
Jeremy Felt
d3dda7134b Validate video and audio metadata.
Merge of [40148] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@40158


git-svn-id: http://core.svn.wordpress.org/branches/3.8@40097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-03-06 08:13:13 +00:00
Aaron Campbell
095894746a Bump 3.8 branch to version 3.8.18.
Built from https://develop.svn.wordpress.org/branches/3.8@40005


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-26 18:30:15 +00:00
John Blackbourn
a4a900c2d5 Posts, Post Types: When using Excerpt mode on the Posts list table, ensure the excerpt output matches what was manually entered into the Excerpt field.
Merges [39956] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@39988


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-26 14:22:12 +00:00
Dominik Schilling
163e5d1759 Press This: Do not show Categories & Tags UI for users who cannot assign terms to posts anyways.
Merge of [39968] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@39981


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-26 14:16:12 +00:00
Dominik Schilling
f3a21e789a Query: Ensure that queries work correctly with post type names with special characters.
Merge of [39952] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@39965


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-26 13:53:13 +00:00
Aaron Campbell
33ff9ebd58 Bump 3.8 branch to version 3.8.17.
Built from https://develop.svn.wordpress.org/branches/3.8@39869


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-11 17:00:14 +00:00
Joe McGill
58094a53d4 Media: Fix exif_imagetype check in wp_get_image_mime
This is a follow up to [39831].

Merges [39850] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@39860


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-11 16:46:13 +00:00
Joe McGill
3aaa559785 Media: Improve image filetype checking.
This adds a new function `wp_get_image_mime()` which is used by
`wp_check_filetype_and_ext()` to validate image files using
`exif_imagetype()` if available instead of `getimagesize()`.

`getimagesize()` is less performant than `exif_imagetype()` and is
dependent on GD. If `exif_imagetype()` is not available, it falls back to
`getimagesize()` as before.

If `wp_check_filetype_and_ext()` can't validate the filetype, we now return
`false` for ext/MIME values.

Merges [39831] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@39841


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-11 13:20:26 +00:00
Dominik Schilling
629289cdfc Updates: Translate plugin data on the Updates screen.
Merge of [39808] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@39829


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-11 11:43:34 +00:00
Dominik Schilling
da5862aba9 Themes: Fix markup for theme name fallbacks.
Merge of [39807] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@39818


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-11 11:13:05 +00:00
Jeremy Felt
bc842883f9 Multisite: Use wp_rand() in signup key creation.
Merges [39795] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@39805


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-11 05:36:43 +00:00
Dion Hulse
d970573179 Update PHPMailer to 5.2.22.
The full list of changes is available here:
https://github.com/PHPMailer/PHPMailer/compare/v5.2.21...v5.2.22

Merges [39759] to the 3.8 branch.
Fixes #37210 for 3.8.

Built from https://develop.svn.wordpress.org/branches/3.8@39793


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-11 05:27:12 +00:00
Jeremy Felt
9c787c79bc Mail: Disable wp-mail.php when mailserver_url is mail.example.com.
Merges [39772] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@39782


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-11 05:21:26 +00:00
Aaron Campbell
a14953582a Add nonce for widget accessibility mode.
Props vortfu.

See #23328.

Merges [39765] to 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@39770


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-11 01:52:27 +00:00
Dion Hulse
6c336f5205 Mail: Upgrade PHPMailer to 5.2.21.
Merges [39645], [36083], [33142], [33124], [29783], [27385] to the 3.8 branch.
See #37210.

Built from https://develop.svn.wordpress.org/branches/3.8@39730


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-06 22:07:06 +00:00
Joe McGill
782e3451c1 Media: Improved media titles when created from filename.
Preserves spaces and generally creates more accurate, cleaner titles from filenames of uploaded media.

Merge of [38615] to the 3.8 branch.

Fixes #37989.

Built from https://develop.svn.wordpress.org/branches/3.8@39718


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-06 22:02:09 +00:00
Dion Hulse
4ecc963755 General: Update copyright year to 2017 in license.txt.
Props Nikschavan.
Merges [39659] to the 3.8 branch.
Fixes #39433.

Built from https://develop.svn.wordpress.org/branches/3.8@39706


git-svn-id: http://core.svn.wordpress.org/branches/3.8@39646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-01-06 21:55:39 +00:00
Jeremy Felt
86c36d0e72 Bump 3.8 branch to 3.8.16.
Built from https://develop.svn.wordpress.org/branches/3.8@38557


git-svn-id: http://core.svn.wordpress.org/branches/3.8@38500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-09-07 15:02:28 +00:00
Jeremy Felt
f229de6fb2 Media: Sanitize upload filename.
Merge of [38538] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@38547


git-svn-id: http://core.svn.wordpress.org/branches/3.8@38490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-09-07 14:00:44 +00:00
Pascal Birchler
b42c9261b6 Upgrade/Install: Sanitize file name in File_Upload_Upgrader.
Merge of [38524] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@38533


git-svn-id: http://core.svn.wordpress.org/branches/3.8@38474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-09-06 18:04:12 +00:00
Boone Gorges
06c510f23b Bump 3.8 branch to 3.8.15.
Built from https://develop.svn.wordpress.org/branches/3.8@37835


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-21 16:49:09 +00:00
Joe McGill
f65775fd46 Media: Improve handling of extensionless filenames.
Merge of [37756] to the 3.8 branch.

See #37111.
Built from https://develop.svn.wordpress.org/branches/3.8@37824


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-21 15:00:19 +00:00
Nikolay Bachiyski
d0ad7b828e Admin: escape URL-encoded permalinks
Merge of [37801] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@37821


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-21 14:59:10 +00:00
Rachel Baker
3b59453453 Revisions: Change the capability needed to view revision diffs to edit_post.
Merge of [37779] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@37805


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-21 14:49:36 +00:00
Nikolay Bachiyski
dea46f4d1c Admin: Escape attachment name in case it contains special characters
Merge of [37774] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@37794


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-21 14:29:11 +00:00
Boone Gorges
7f00fb5298 Taxonomy: More specific cap check when processing category data on post save.
Ports [37691] to the 3.8 branch.

Props dlh.
Fixes #36379.
Built from https://develop.svn.wordpress.org/branches/3.8@37787


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-21 14:25:33 +00:00
Dominik Schilling
40ad99fab7 Customize: Make sure that preview and return URLs are URLs.
Merge of [37527] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@37778


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-21 14:21:59 +00:00
Jeremy Felt
bea4197fb1 Admin: Allow for the consistent filtering of auth_redirect_scheme
Merge of [37651] to the 3.8 branch.

See #37047.

Built from https://develop.svn.wordpress.org/branches/3.8@37765


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-21 14:14:01 +00:00
Dominik Schilling
00de4f6c3c Bump 3.8 branch to 3.8.14.
Built from https://develop.svn.wordpress.org/branches/3.8@37391


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-06 18:16:09 +00:00
Nikolay Bachiyski
c3120b8be8 External Libraries: Disable Flash backend for Plupload
Built from https://develop.svn.wordpress.org/branches/3.8@37373


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-06 17:54:10 +00:00
Nikolay Bachiyski
27290d9a33 Taxonomies: make sure taxonomy functions work correctly with taxonomy names with special characters
The codex says that taxonomy names "should only contain lowercase letters and the underscore character", but that's not enforced. It's too late to enforce it, since some plugins haven't been following it and the official phpdoc doesn't mention this restriction.

Merge of [37133] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@37141


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 17:41:10 +00:00
Jeremy Felt
41e2e17277 Multisite: Improve escaping in network settings.
Merge of [37124] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@37131


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 16:07:10 +00:00
Dominik Schilling
6a6a02e76e HTTP: Improve detection of valid IP addresses.
Merge of [37115] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@37122


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 15:53:10 +00:00
Dominik Schilling
6ebee04c9a Multisite: Validate new email address confirmations.
Merge of [37103] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@37110


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 14:51:24 +00:00
Nikolay Bachiyski
33c549723e Snoopy: use escapeshellarg instead of escapeshellcmd
We are escaping arguments, not commands, so we'd better use the semantically correct function, even though they are similar.

Merges [37094] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@37101


git-svn-id: http://core.svn.wordpress.org/branches/3.8@37068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 14:14:10 +00:00
Dominik Schilling
51f81f7262 Bump 3.8 branch to 3.8.13.
Built from https://develop.svn.wordpress.org/branches/3.8@36461


git-svn-id: http://core.svn.wordpress.org/branches/3.8@36428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-02 17:30:23 +00:00
Dominik Schilling
00190002da Better validation of the URL used in HTTP redirects.
Merges [36444] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@36453


git-svn-id: http://core.svn.wordpress.org/branches/3.8@36420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-02 17:01:28 +00:00
Dominik Schilling
cd14a4ddd0 HTTP: 0.1.2.3 is not a valid IP.
Merges [36435] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@36442


git-svn-id: http://core.svn.wordpress.org/branches/3.8@36409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-02 13:06:11 +00:00
Dominik Schilling
d1b04bbaff Bump 3.8 branch to 3.8.12.
Built from https://develop.svn.wordpress.org/branches/3.8@36202


git-svn-id: http://core.svn.wordpress.org/branches/3.8@36169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-06 18:51:23 +00:00
Aaron Jorbin
e8765983bf Theme: Escape error messages
[36185] for 3.8 branch

Built from https://develop.svn.wordpress.org/branches/3.8@36192


git-svn-id: http://core.svn.wordpress.org/branches/3.8@36159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-06 17:29:10 +00:00
Dion Hulse
25f17b93f4 Background Updates: Remove the 7am/7pm background update check.
This changeset is a more basic version of [36180], clearing the extra now redundant schedule.
As the functionality for this was introduced in 3.9, [28129] has been backported to 3.7/3.8, allowing the API TTL to be respected by those versions.

See #27772.
Fixes #35323.

Built from https://develop.svn.wordpress.org/trunk@36184


git-svn-id: http://core.svn.wordpress.org/branches/3.8@36151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-06 13:24:33 +00:00
Dion Hulse
e1cc3b4567 Update Akismet externals
git-svn-id: http://core.svn.wordpress.org/branches/3.8@35107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-13 17:19:01 +00:00
Dominik Schilling
22bac7afad Finish bumping the 3.8 branch to 3.8.11.
Built from https://develop.svn.wordpress.org/branches/3.8@34195


git-svn-id: http://core.svn.wordpress.org/branches/3.8@34162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-15 14:52:44 +00:00
Helen Hou-Sandí
772523fac7 Bump 3.8 branch to 3.8.11.
Built from https://develop.svn.wordpress.org/branches/3.8@34186


git-svn-id: http://core.svn.wordpress.org/branches/3.8@34154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-15 14:29:57 +00:00
Dominik Schilling
16ea036050 XMLRPC: Don't allow private posts to be sticky.
Merge of [33325], [33612], and [34135] to the 3.8 branch.

See #20662.
Built from https://develop.svn.wordpress.org/branches/3.8@34156


git-svn-id: http://core.svn.wordpress.org/branches/3.8@34124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-14 23:03:09 +00:00
Nikolay Bachiyski
f062575157 Shortcodes: don't allow unclosed HTML elements in attributes
Merges [34134] for 3.8 branch

Built from https://develop.svn.wordpress.org/branches/3.8@34149


git-svn-id: http://core.svn.wordpress.org/branches/3.8@34117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-14 22:49:39 +00:00
Nikolay Bachiyski
0c6eeb9ad1 List tables: escape user e-mails
Merges [34133] for 3.8 branch

Built from https://develop.svn.wordpress.org/branches/3.8@34142


git-svn-id: http://core.svn.wordpress.org/branches/3.8@34110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-14 22:45:11 +00:00
Gary Pendergast
9699996c49 WPDB: get_table_from_query() didn't find table names with hyphens in them.
Merge of [33718] to the 3.8 branch.

Props dustinbolton, pento.

See #33470.


Built from https://develop.svn.wordpress.org/branches/3.8@33996


git-svn-id: http://core.svn.wordpress.org/branches/3.8@33965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-10 07:14:10 +00:00
Gary Pendergast
22068b9926 Capabilities: Fall back to the edit_posts capability for orphaned comments.
Merge of the `capabilities.php` part of [33614] to the 3.8 branch.

Props pento, dd32.

See #33154.


Built from https://develop.svn.wordpress.org/branches/3.8@33976


git-svn-id: http://core.svn.wordpress.org/branches/3.8@33945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-09 06:22:10 +00:00
Dominik Schilling
09a38682f8 Bump 3.8 branch to version 3.8.10.
Built from https://develop.svn.wordpress.org/branches/3.8@33576


git-svn-id: http://core.svn.wordpress.org/branches/3.8@33543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 11:52:44 +00:00
Dion Hulse
32274112c6 Fix do_shortcode('<[shortcode]') edge case.
Props miqrogroove.

Merges [33499] to the 3.8 branch.
See #33116.

Built from https://develop.svn.wordpress.org/branches/3.8@33567


git-svn-id: http://core.svn.wordpress.org/branches/3.8@33534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 07:18:54 +00:00
Dominik Schilling
0128210d88 Comments: IDs are integers.
Merge of [33555] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@33560


git-svn-id: http://core.svn.wordpress.org/branches/3.8@33527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 05:00:15 +00:00
Dominik Schilling
6d3a23c410 Themes: Fix some broken links in the legacy theme preview.
Merge of [33549] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@33553


git-svn-id: http://core.svn.wordpress.org/branches/3.8@33520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 04:58:04 +00:00
Dominik Schilling
ebe4779cea Heartbeat: Ensure post locks are released.
Merge of [33542] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@33547


git-svn-id: http://core.svn.wordpress.org/branches/3.8@33514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 04:56:15 +00:00
Dominik Schilling
7641da2980 Nav menus: Consistent titles in widgets.
Merge of [33529] to the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@33533


git-svn-id: http://core.svn.wordpress.org/branches/3.8@33500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-03 20:58:59 +00:00
Andrew Ozz
53f980d4be Backport r33469 and r33470 to 3.8.
See #33106.
Built from https://develop.svn.wordpress.org/branches/3.8@33524


git-svn-id: http://core.svn.wordpress.org/branches/3.8@33491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-31 01:45:23 +00:00
Gary Pendergast
b796308091 Bump 3.9 branch to version 3.8.9.
Built from https://develop.svn.wordpress.org/branches/3.8@33399


git-svn-id: http://core.svn.wordpress.org/branches/3.8@33367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-23 11:09:09 +00:00
Gary Pendergast
fbc90de16c Shortcodes: Improve the reliablity of shortcodes inside HTML tags.
Merge of [33359] to the 3.8 branch.

Props miqrogroove.

See #15694.


Built from https://develop.svn.wordpress.org/branches/3.8@33388


git-svn-id: http://core.svn.wordpress.org/branches/3.8@33356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-23 05:09:09 +00:00
Gary Pendergast
9a0402d634 Capabilities: When creating an auto-draft, ensure that the current user still has permission to do so.
Merge of [33357] to the 3.8 branch.


Built from https://develop.svn.wordpress.org/branches/3.8@33378


git-svn-id: http://core.svn.wordpress.org/branches/3.8@33349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-23 04:19:10 +00:00
Dominik Schilling
c56e499391 3.8.8 version bumps.
Built from https://develop.svn.wordpress.org/branches/3.8@32438


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 23:34:10 +00:00
Michael Adams
74417f8f5c Upgrade: $wpdb->get_col_length() sanity check: bail on unexpected return value.
Merges [32429] for the 3.8 branch.

See #32165.

Built from https://develop.svn.wordpress.org/branches/3.8@32434


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 23:14:25 +00:00
Michael Adams
d342b4c478 Upgrade: Ensure unintelligible DB schemas don't result in content loss.
Merge of [32417] to the 3.8 branch.

See #32165.

Props ocean90.

Built from https://develop.svn.wordpress.org/branches/3.8@32422


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 21:53:25 +00:00
John Blackbourn
d4c9ce4bda WPDB: Allow queries to reference tables in the dbname.tablename format, and allow table names to contain any valid character, rather than just ASCII.
Merge of [32368] to the 3.8 branch.

Props pento, willstedt for the initial patch.

See #32090.

Built from https://develop.svn.wordpress.org/branches/3.8@32415


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 21:13:11 +00:00
Aaron Jorbin
84c27f1b42 When upgrading WordPress remove genericons example.html files
[32385] for 3.8 branch

Props @dd32, @boonebgorges, @johnjamesjacoby, @drewapicture, @jorbin


Built from https://develop.svn.wordpress.org/branches/3.8@32410


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 20:40:10 +00:00
Dominik Schilling
1695bed869 WPDB: When sanity checking query character sets, there's no need to check queries that don't return user data.
Merges [32374] to the 3.8 branch.

props pento.
see #32104.
Built from https://develop.svn.wordpress.org/branches/3.8@32406


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 20:07:10 +00:00
Helen Hou-Sandí
75b1ce17ad The UTF-8 regex can occasionally fail on very low memory machines. Reduce the amount of memory it uses.
Merges [32375] to the 3.8 branch.

props pento.
See #32204.

Built from https://develop.svn.wordpress.org/branches/3.8@32399


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 19:44:11 +00:00
Michael Adams
b9558b5c68 WPDB: When checking that a string can be sent to MySQL, we shouldn't use mb_convert_encoding(), as it behaves differently to MySQL's character encoding conversion.
Merge of [32364] to the 3.8 branch.

Props mdawaffe, pento, nbachiyski, jorbin, johnjamesjacoby, jeremyfelt.

See #32165.

Built from https://develop.svn.wordpress.org/branches/3.8@32390


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-06 19:15:10 +00:00
Michael Adams
b6bdb208dd 3.8:
- WPDB: Sanity check that any strings being stored in the DB are not too long to store correctly.
- When upgrading, remove any suspicious comments.

Built from https://develop.svn.wordpress.org/branches/3.8@32317


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-27 18:34:10 +00:00
Gary Pendergast
d6c009f72c 3.8 branch is now 3.8.8.
Built from https://develop.svn.wordpress.org/branches/3.8@32304


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-27 14:12:24 +00:00
Helen Hou-Sandí
da9b7a3b48 The 3.8 branch is now 3.8.7.
Built from https://develop.svn.wordpress.org/branches/3.8@32285


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-23 21:36:02 +00:00
Gary Pendergast
1975036fc4 WPDB: When sanity checking a string by sending it to MySQL for conversion checks, the incorrect data structure was being returned from wpdb::strip_invalid_text(), causing all write queries to fail for some character sets when the query contained non-ASCII characters.
Merge of [32261] to the 3.8 branch.

See #32051.


Built from https://develop.svn.wordpress.org/branches/3.8@32274


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-23 11:52:11 +00:00
Gary Pendergast
b93fea1bbb WPDB: When deciding if a query needs extra sanity checking based on collation, return early when we can. Merges [32232] and [32233] to the 3.8 branch.
See #32029.


Built from https://develop.svn.wordpress.org/branches/3.8@32240


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-21 07:01:10 +00:00
Gary Pendergast
983bd76658 Bump 3.8 branch to 3.8.6.
Built from https://develop.svn.wordpress.org/branches/3.8@32215


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 17:36:11 +00:00
Gary Pendergast
4427438a56 3.8: Update about.php.
Built from https://develop.svn.wordpress.org/branches/3.8@32214


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 17:34:09 +00:00
Gary Pendergast
46b1d12a64 Ensure post titles are correctly escaped on the Dashboard. Merge of [32175] to the 3.8 branch.
Props helen, ocean90, dd32, pento.


Built from https://develop.svn.wordpress.org/branches/3.8@32205


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 13:42:10 +00:00
Gary Pendergast
67b4625791 In Multisite, prevent plugins from unintentionally switching sites. Merge of [32173] to the 3.8 branch.
Props mdawaffe, pento.


Built from https://develop.svn.wordpress.org/branches/3.8@32201


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 13:26:10 +00:00
Gary Pendergast
7bf1b6ce40 Remove some old backwards compatibility code from TinyMCE. Merge of [32166] to the 3.8 branch.
Props azaozz.


Built from https://develop.svn.wordpress.org/branches/3.8@32195


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 12:55:11 +00:00
Gary Pendergast
049740b854 Clean up some edge cases in sanitize_sql_orderby(). Merge of [32164] to the 3.8 branch.
Props vortfu, dd32.


Built from https://develop.svn.wordpress.org/branches/3.8@32191


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 12:38:10 +00:00
Gary Pendergast
e5706783f0 Merge the query sanity checks from #21212 to the 3.8 branch.
Props pento, nacin, mdawaffe, DrewAPicture.


Built from https://develop.svn.wordpress.org/branches/3.8@32186


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 11:32:11 +00:00
Gary Pendergast
2671c3eb8f 3.8: Bump package.json, readme.html and license.txt.
Built from https://develop.svn.wordpress.org/branches/3.8@32158


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 03:48:09 +00:00
Gary Pendergast
37d6092e6c The 3.8 branch is now 3.8.6-alpha.
Built from https://develop.svn.wordpress.org/branches/3.8@32157


git-svn-id: http://core.svn.wordpress.org/branches/3.8@32132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 03:46:10 +00:00
Andrew Nacin
86dbc0e9f7 3.8.5 version bumps.
Built from https://develop.svn.wordpress.org/branches/3.8@30473


git-svn-id: http://core.svn.wordpress.org/branches/3.8@30464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 16:26:19 +00:00
Andrew Nacin
81a07d58df Prevent high resource usage when hashing large passwords. props mdawaffe, pento
Merges [30466] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@30469


git-svn-id: http://core.svn.wordpress.org/branches/3.8@30460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 16:07:10 +00:00
Andrew Nacin
a8ee34c745 Validate image data.
Merges [30458] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@30464


git-svn-id: http://core.svn.wordpress.org/branches/3.8@30455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 15:59:10 +00:00
Andrew Nacin
e8613eb44a Anchor texturize to shortcodes to improve regex efficiency.
Merges [30452] to the 3.8 branch.

props miqrogroove.
see #29557 for segfault issues.

Built from https://develop.svn.wordpress.org/branches/3.8@30455


git-svn-id: http://core.svn.wordpress.org/branches/3.8@30446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 14:37:10 +00:00
Andrew Nacin
10f8d67e1b Better validation of the URL used in core HTTP requests.
Merges [30443] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@30446


git-svn-id: http://core.svn.wordpress.org/branches/3.8@30441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 14:02:23 +00:00
Andrew Nacin
b8f2bbf7d3 Press This: Ensure the error message is printed. props johnbillion
Merges [30438] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@30441


git-svn-id: http://core.svn.wordpress.org/branches/3.8@30436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 14:00:10 +00:00
Andrew Nacin
916509ecd6 Invalidate password keys when a user's email changes.
Merges [30430] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@30433


git-svn-id: http://core.svn.wordpress.org/branches/3.8@30428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 13:42:25 +00:00
Andrew Nacin
41c66d64fb Fix typo in style filter. props miqrogroove
Merges [30425] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@30428


git-svn-id: http://core.svn.wordpress.org/branches/3.8@30423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 13:16:52 +00:00
Andrew Nacin
fb7b89a23d Form validation for password resets.
Merges [30417] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@30420


git-svn-id: http://core.svn.wordpress.org/branches/3.8@30415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 12:25:11 +00:00
Andrew Nacin
2a05a279fd Use hash_equals() for old md5 hashes.
Merges [30412] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@30415


git-svn-id: http://core.svn.wordpress.org/branches/3.8@30410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 12:05:11 +00:00
Andrew Nacin
57e6b6e116 Password resets: Use network_site_url() for form actions.
Merges [29631] to the 3.8 branch.

props mdawaffe.
fixes #29156.

Built from https://develop.svn.wordpress.org/branches/3.8@29639


git-svn-id: http://core.svn.wordpress.org/branches/3.8@29413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 03:05:10 +00:00
Andrew Nacin
78d0ddfa36 3.8.4
Built from https://develop.svn.wordpress.org/branches/3.8@29412


git-svn-id: http://core.svn.wordpress.org/branches/3.8@29190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-06 18:27:27 +00:00
Andrew Nacin
fafada01b7 Use delimiters when building nonce hashes. Part two of [29386].
Built from https://develop.svn.wordpress.org/branches/3.8@29409


git-svn-id: http://core.svn.wordpress.org/branches/3.8@29187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-06 17:58:11 +00:00
Andrew Nacin
7f5fcb184b Ignore entities in XML-RPC requests.
Merges [29404] to the 3.8 branch.

props mdawaffe, nacin.

Built from https://develop.svn.wordpress.org/branches/3.8@29406


git-svn-id: http://core.svn.wordpress.org/branches/3.8@29184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-06 17:51:11 +00:00
Andrew Nacin
8905d8bda9 Escape late in get_avatar().
Merges [29397] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@29399


git-svn-id: http://core.svn.wordpress.org/branches/3.8@29177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-06 07:51:25 +00:00
Andrew Nacin
1282f9b034 Don't pass around the password reset key.
Merges [29327] and [29381] to the 3.9 branch.

props mdawaffe.
fixes #29060.

Built from https://develop.svn.wordpress.org/branches/3.8@29395


git-svn-id: http://core.svn.wordpress.org/branches/3.8@29173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-06 06:38:13 +00:00
Andrew Nacin
1f14360fe8 Disable external entities in ID3.
Merges [29378] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@29391


git-svn-id: http://core.svn.wordpress.org/branches/3.8@29169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-06 05:58:10 +00:00
Andrew Nacin
72d44b2fce Constant time for wp_verify_nonce().
Merges [29384] to the 3.8 branch.

Built from https://develop.svn.wordpress.org/branches/3.8@29386


git-svn-id: http://core.svn.wordpress.org/branches/3.8@29164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-06 05:43:22 +00:00
Andrew Nacin
f9bf8f0886 3.8.4-alpha
Built from https://develop.svn.wordpress.org/branches/3.8@29385


git-svn-id: http://core.svn.wordpress.org/branches/3.8@29163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-06 05:43:12 +00:00
Andrew Nacin
a12cfb6179 3.8.3
Built from https://develop.svn.wordpress.org/branches/3.8@28118


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 19:04:11 +00:00
Andrew Nacin
0afc974ff2 Avoid stomping of bulk postdata inside the bulk_edit_posts() loop.
Merge [28113] to the 3.8 branch.

Reverts [27991] which did not fix it for authors and comment/ping status.

props dd32, DrewAPicture.
fixes #27792.

Built from https://develop.svn.wordpress.org/branches/3.8@28114


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 08:11:11 +00:00
Andrew Nacin
16f887b203 3.8.3-RC1
Built from https://develop.svn.wordpress.org/branches/3.8@28076


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-11 16:56:11 +00:00
Andrew Nacin
3067ceb31a Recover auto-drafts lost via Quick Draft.
For the 3.8 branch. See [28074].

see #27734.

Built from https://develop.svn.wordpress.org/branches/3.8@28075


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-11 16:55:11 +00:00
Andrew Nacin
e635b17840 Ensure edit_post() promotes an auto-draft to draft. Fixes Quick Draft.
For the 3.8 branch. Regression from [27976] that does not affect trunk.

props dd32.
see #27734.

Built from https://develop.svn.wordpress.org/branches/3.8@28073


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-11 04:34:13 +00:00
Andrew Nacin
bf71d64b32 3.8.2
Built from https://develop.svn.wordpress.org/branches/3.8@28057


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 18:14:12 +00:00
Andrew Nacin
4b48ad6142 Bump Akismet external in the 3.8 branch to 2.6.0.
git-svn-id: http://core.svn.wordpress.org/branches/3.8@27887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 18:11:22 +00:00
Andrew Nacin
78a915e0e5 Harden HMAC verification. props duck_. [28053] for 3.8.
Built from https://develop.svn.wordpress.org/branches/3.8@28054


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 18:07:11 +00:00
Andrew Nacin
ab6a888483 3.8.2-RC1
Built from https://develop.svn.wordpress.org/branches/3.8@27994


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 19:40:20 +00:00
Andrew Nacin
4150ceb4e5 Avoid stomping of bulk postdata inside the bulk_edit_posts() loop.
Merges [27990] to the 3.8 branch.

props kovshenin.
see [27964], see #27452.

Built from https://develop.svn.wordpress.org/branches/3.8@27991


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 19:36:12 +00:00
Andrew Nacin
b514c5b4f7 Better checks for contributors when saving posts.
Merges [27964] and [27975] to the 3.8 branch.

props dd32, kovshenin, plocha.
see #27452.

Built from https://develop.svn.wordpress.org/branches/3.8@27976


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-06 22:16:12 +00:00
Dion Hulse
9bdfc8debc Background Updates: Fix a PHP Warning caused by a Upgrader instance being passed into the Theme & Plugin $extra_stats parameter.
Background Updates: Fix two variable typos in r27905

Merges [27906], [27928] to the 3.8 branch.
Fixes #27633.

Built from https://develop.svn.wordpress.org/branches/3.8@27929


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 05:40:12 +00:00
Andrew Nacin
8126b3edf9 Background Updates: Record plugin & theme update statistics like we do for core updates.
Pass plugin/theme update objects into the Background updater for consistency with core & translations.

Merges [27905] to the 3.8 branch.

props dd32.
fixes #27633.

Built from https://develop.svn.wordpress.org/branches/3.8@27923


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 03:59:11 +00:00
Andrew Nacin
4cd181f75c Update Plupload Silverlight binary to 1.5.8 in the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@27920


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 03:34:11 +00:00
Andrew Nacin
7e19af8b0e Remove links_recently_updated_time (hardening).
Merges some of [27916] to the 3.8 branch.

props Tom Adams.
see #27649.

Built from https://develop.svn.wordpress.org/branches/3.8@27917


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 03:15:12 +00:00
Andrew Nacin
1cda6d1e1a Revert [27609] from the 3.8 branch, as it should have been applied to trunk. see #27453.
Built from https://develop.svn.wordpress.org/branches/3.8@27889


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 08:16:11 +00:00
Andrew Nacin
0ccfe99e03 Fix two CSS issues in the 3.8 branch.
* Comments dashboard widget: Use the proper class to avoid stretched "unapproved" red lines. [27564]
 * Fix the tags input in small viewports and make it a more reasonable size. (Was unusable in Firefox.) [27254]

fixes #26910, #27082.

Built from https://develop.svn.wordpress.org/branches/3.8@27877


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-31 21:22:12 +00:00
Andrew Nacin
f5009dccb2 Themes screen: Use a normal error for WP_Theme errors.
Merges [27760] to the 3.8 branch.

fixes #27235.

Built from https://develop.svn.wordpress.org/branches/3.8@27876


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-31 21:13:10 +00:00
Andrew Nacin
2cca791a3e Use .screen-reader-text class instead of an alt attribute for overlay button labels on Themes screen.
Merges [27119] to the 3.8 branch.

props bramd.
fixes #26603.

Built from https://develop.svn.wordpress.org/branches/3.8@27875


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-31 20:52:10 +00:00
Andrew Nacin
236ea231f3 Fix validation issue in get_the_password_form() caused by wpautop().
Merges [27134] to the 3.8 branch.

props andykeith.
fixes #27071.

Built from https://develop.svn.wordpress.org/branches/3.8@27874


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-31 20:49:10 +00:00
Andrew Nacin
b1aac3577f Forward pingback IP during pingback verification.
Merges [27872] to the 3.8 branch.

props tellyworth, nacin.
fixes #27613.

Built from https://develop.svn.wordpress.org/branches/3.8@27873


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-31 20:45:12 +00:00
Andrew Nacin
5ca428459f In WP_Query::get_queried_object(), account for pre_get_posts by checking for tag when tag_id isn't present.
Merges [27511] to the 3.8 branch.

props mattonomics, wonderboymusic.
fixes #27362.

Built from https://develop.svn.wordpress.org/branches/3.8@27647


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-21 17:21:11 +00:00
Andrew Nacin
7db85ec323 Add context to a string new to the admin.
Previously this string was used in TinyMCE on the frontend.

see #27453.

Built from https://develop.svn.wordpress.org/branches/3.8@27609


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:38:13 +00:00
Andrew Nacin
53a150cabb Default Themes: Update POT files for the 3.8 branch.
Built from https://develop.svn.wordpress.org/branches/3.8@27591


git-svn-id: http://core.svn.wordpress.org/branches/3.8@27434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 19:20:22 +00:00
Andrew Nacin
831b3ca50d 3.8.1
Built from https://develop.svn.wordpress.org/branches/3.8@27024


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-23 20:17:11 +00:00
Andrew Nacin
4c3e2026dc 3.8 branch: Undo the colors.css changes in [26938] and move the rules to wp-admin.css.
This will prevent us from shipping a full re-build of the color schemes in 3.8.1.

see #26699.

Built from https://develop.svn.wordpress.org/branches/3.8@27023


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-23 18:25:11 +00:00
Andrew Nacin
d8f63b7c5d Properly detect line height of Quick Draft textarea.
Merges [27021] to the 3.8 branch. Half was committed in [27013].

props batmoo.
fixes #26915.

Built from https://develop.svn.wordpress.org/branches/3.8@27022


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-23 18:09:11 +00:00
Andrew Nacin
14a732d42a 3.8.1-RC1
Built from https://develop.svn.wordpress.org/branches/3.8@27014


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 21:08:11 +00:00
Andrew Nacin
4ac004127d Themes screen: Add aria-describedby attributes to provide better information to screen readers.
Merges [27012] to the 3.8 branch.

props joedolson for initial patch.
fixes #26602.

Built from https://develop.svn.wordpress.org/branches/3.8@27013


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 21:01:10 +00:00
Andrew Ozz
01057aaa58 Improve keyboard accessibility for the admin menu when in responsive mode, props SergeyBiryukov, fixes #26639 for 3.8.1.
Built from https://develop.svn.wordpress.org/branches/3.8@27010


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 20:03:11 +00:00
Andrew Nacin
709b498b20 Responsive improvements to submenus in the toolbar.
Merges [27006] to the 3.8 branch.

 * Remove .ab-sub-wrapper rules in the 782px media query, as they're duplicates of the rules set on line 161.
 * Reposition the arrows for submenus at responsive sizes where the menus are taller.
 * Set the submenu position to static at smartphone sizes, so it's not positioned outside of its parent (and thus offscreen).

props undergroundnetwork, iammattthomas.
fixes #26720.

Built from https://develop.svn.wordpress.org/branches/3.8@27009


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 19:01:11 +00:00
Andrew Nacin
8b28841993 Themes screen: Various IE8 adjustments and fixes.
Merges [27007] to the 3.8 branch.

props morganestes, matveb.
fixes #26541.

Built from https://develop.svn.wordpress.org/branches/3.8@27008


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 18:58:11 +00:00
Andrew Nacin
d5130fde52 3.8.1-beta1
Built from https://develop.svn.wordpress.org/branches/3.8@27002


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 17:54:11 +00:00
Andrew Nacin
990ac85f6d Dashboard widgets: Don't link to Pages or Posts for Authors or Contributors respectively.
Merges [26999] to the 3.8 branch.

props mattheu.
fixes #26574.

Built from https://develop.svn.wordpress.org/branches/3.8@27001


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 17:18:10 +00:00
Andrew Nacin
73af6045ba Eliminate the 1px padding adjustment on active buttons because it creates an un-clickable dead zone 1px high and spanning the entire width of the button.
Merges half of [26993] to the 3.8 branch.

props johnbillion.
see #26700.

Built from https://develop.svn.wordpress.org/branches/3.8@26998


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 16:45:11 +00:00
Andrew Nacin
7dc690486a Copy media modal colors out of colors.css and into media-views.css, as the modal can be triggered on the front end.
Merges part of [26929] to the 3.8 branch.

props avryl.
props collinsinternet for the initial patch.
fixes #26677.

Built from https://develop.svn.wordpress.org/branches/3.8@26992


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-21 18:05:13 +00:00
Andrew Nacin
44f715b3e7 Add a contrasting border to admin feature pointers.
Merges [26970] to the 3.8 branch.

props iammattthomas.
fixes #26689.

Built from https://develop.svn.wordpress.org/branches/3.8@26971


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 04:14:10 +00:00
Andrew Nacin
b3680fc0b2 Switch Twitter oEmbed to SSL due to a Twitter API change that broke embedding across all WordPress sites.
Merges [26967] to the 3.8 branch.

props yurivictor, cojennin.
fixes #26844.

Built from https://develop.svn.wordpress.org/branches/3.8@26969


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 03:30:10 +00:00
Andrew Nacin
c366307aee Dashicons: Update to the latest dashicons files.
Merges [26925] to the 3.8 branch.

props empireoflight, melchoyce.
fixes #26518.

Built from https://develop.svn.wordpress.org/branches/3.8@26965


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-16 22:13:10 +00:00
Andrew Ozz
8c614b689b Widgets: fix scaling of extra-wide widgets on 480px and 320px devices, fixes #26701 for 3.8.1.
Built from https://develop.svn.wordpress.org/branches/3.8@26964


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-16 22:00:11 +00:00
Andrew Nacin
32d8f24bc2 The comment screen hides the author column at narrow screen sizes; this adds back the author info above the comment content.
Merges [26961] to the 3.8 branch.

props SergeyBiryukov.
fixes #26618.

Built from https://develop.svn.wordpress.org/branches/3.8@26962


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-16 21:36:10 +00:00
Andrew Nacin
d9b3d8d571 Don't let Quick Draft ignore default comment_status and ping_status.
Merges [26959] to the 3.8 branch.

props kovshenin.
fixes #26722.

Built from https://develop.svn.wordpress.org/branches/3.8@26960


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-16 20:27:12 +00:00
Andrew Nacin
deb9f45605 Themes: Search the theme's slug too.
Merges [26921] to the 3.8 branch.

props matveb.
see #26730.

Built from https://develop.svn.wordpress.org/branches/3.8@26957


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 08:29:25 +00:00
Andrew Nacin
9a60d7c96f Keyboard navigation friendliness for themes.php.
Merges [26922] to the 3.8 branch.

props matveb, azaozz, jorbin.
fixes #26527.

Built from https://develop.svn.wordpress.org/branches/3.8@26956


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 08:29:11 +00:00
Andrew Nacin
b339f0306e Change 'Width' to 'Layout' to match the hard-coded list of translatable theme features in get_theme_feature_list().
Merges [26905] to the 3.8 branch.

props janrenn.
fixes #26777.

Built from https://develop.svn.wordpress.org/branches/3.8@26955


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 08:24:11 +00:00
Andrew Nacin
948efce330 Force LTR direction for code and plugin/theme editors.
Merges [26888] to the 3.8 branch.

props SergeyBiryukov, nivijah.
fixes #26666.

Built from https://develop.svn.wordpress.org/branches/3.8@26954


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 08:22:12 +00:00
Andrew Nacin
0784fea1a3 RTL: Flip half-star star ratings.
Merges [26952] to the 3.8 branch.

props SergeyBiryukov.
fixes #26814.

Built from https://develop.svn.wordpress.org/branches/3.8@26953


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 08:20:10 +00:00
Andrew Nacin
efa6b65c76 Avoid a fatal error in wp_reset_postdata() if $wp_query global is not set.
Merges [25932] to the 3.9 branch.

props SergeyBiryukov.
fixes #26775.

Built from https://develop.svn.wordpress.org/branches/3.8@26951


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 08:17:11 +00:00
Andrew Nacin
38e13206b5 Fix CSS clashes on the Network Themes page.
Merges [26919] [26923] to the 3.8 branch.

props SergeyBiryukov.
fixes #26513, #26517.

Built from https://develop.svn.wordpress.org/branches/3.8@26950


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 08:13:12 +00:00
Andrew Nacin
4ac653520b Adjust widths of toolbar items at mobile sizes for better fitting on narrow screens. Fixes toolbar wrapping when using multisite.
Merges [26920] to the 3.8 branch.

props iammattthomas.
fixes #26537.

Built from https://develop.svn.wordpress.org/branches/3.8@26949


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 07:58:11 +00:00
Andrew Nacin
e67f7a5d38 Break long words in Quick Draft content to prevent ugly overflow, as was previously done.
Merges [26928] to the 3.8 branch.

props aubreypwd, SergeyBiryukov.
fixes #26658.

Built from https://develop.svn.wordpress.org/branches/3.8@26948


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 07:50:11 +00:00
Andrew Nacin
72e139cc9c Fix incorrect -mox prefixes in CSS.
Merges [26887] to the 3.8 branch.

props morganestes.
fixes #26702.

Built from https://develop.svn.wordpress.org/branches/3.8@26947


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 07:46:12 +00:00
Andrew Nacin
44b3801d2f Query: Fix category handling in pre_get_posts when pretty permalinks are in use (category_name query variable).
Merges [26864] [26874] [26875] to the 3.8 branch.

props wonderboymusic, SergeyBiryukov.
fixes #26627.

Built from https://develop.svn.wordpress.org/branches/3.8@26946


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 07:34:13 +00:00
Andrew Nacin
047f9c7e46 Update versions in the 3.8 branch. see #26629.
Built from https://develop.svn.wordpress.org/branches/3.8@26939


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-13 18:16:11 +00:00
Helen Hou-Sandí
0a8375b03b Fix alignment and borders of plugin/theme updates on the Updates screen.
Merges [26935] to the 3.8 branch.

props morganestes, ocean90.
see #26699.

Built from https://develop.svn.wordpress.org/branches/3.8@26938


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-13 17:24:13 +00:00
Andrew Nacin
023e4da0e8 Pass the $user_id to the admin_color_scheme_picker hook for context.
Prevents the admin color scheme from changing when editing another user.

Merges [26924] to the 3.8 branch.
see #26607.

Built from https://develop.svn.wordpress.org/branches/3.8@26937


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-13 16:28:11 +00:00
Andrew Nacin
a1201ee5cf Add missing id attribute to "Search Installed Themes" input.
Merges [26885] to the 3.8 branch.

props SergeyBiryukov.
fixes #26599.

Built from https://develop.svn.wordpress.org/branches/3.8@26936


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-13 16:24:12 +00:00
Dion Hulse
3d7d844c5f Uploads: Fix the Order of Operations for wp_mkdir_p() which caused this branch to never be hit. Props fboender. Fixes #26781 for 3.8.1. See #25822
Built from https://develop.svn.wordpress.org/branches/3.8@26927


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 23:18:13 +00:00
Andrew Nacin
bcef561b53 The 3.8 branch is now 3.8.1-alpha.
Built from https://develop.svn.wordpress.org/branches/3.8@26862


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-12 19:45:13 +00:00
Andrew Nacin
23bc5da134 Twenty Fourteen POT update.
Built from https://develop.svn.wordpress.org/branches/3.8@26859


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-12 05:31:11 +00:00
Andrew Nacin
9c17470b3e Version bump.
Built from https://develop.svn.wordpress.org/branches/3.8@26856


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 23:58:39 +00:00
Andrew Nacin
ed26a60fdb Remove temporary hooks from the 3.8 branch.
fixes #25656 for 3.8.

Built from https://develop.svn.wordpress.org/branches/3.8@26855


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 23:58:28 +00:00
Andrew Nacin
7bee7fa3df Branch 3.8
Built from https://develop.svn.wordpress.org/@26854


git-svn-id: http://core.svn.wordpress.org/branches/3.8@26741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 23:03:50 +00:00
1727 changed files with 130642 additions and 386151 deletions

View File

@@ -1,6 +1,6 @@
WordPress - Web publishing software
Copyright 2011-2018 by the contributors
Copyright 2018 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
@@ -382,4 +382,4 @@ WRITTEN OFFER
The source code for any program binaries or compressed scripts that are
included with WordPress can be freely obtained at the following URL:
https://wordpress.org/download/source/
http://wordpress.org/download/source/

View File

@@ -8,15 +8,15 @@
</head>
<body>
<h1 id="logo">
<a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
<a href="http://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
</h1>
<p style="text-align: center">Semantic Personal Publishing Platform</p>
<h2>First Things First</h2>
<h1>First Things First</h1>
<p>Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I&#8217;m proud to be a part of. Thousands of hours have gone into WordPress, and we&#8217;re dedicated to making it better every day. Thank you for making it part of your world.</p>
<p style="text-align: right">&#8212; Matt Mullenweg</p>
<h2>Installation: Famous 5-minute install</h2>
<h1>Installation: Famous 5-minute install</h1>
<ol>
<li>Unzip the package in an empty directory and upload everything.</li>
<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser. It will take you through the process to set up a <code>wp-config.php</code> file with your database connection details.
@@ -26,20 +26,20 @@
<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser.</li>
</ol>
</li>
<li>Once the configuration file is set up, the installer will set up the tables needed for your blog. If there is an error, double check your <code>wp-config.php</code> file, and try again. If it fails again, please go to the <a href="https://wordpress.org/support/" title="WordPress support">support forums</a> with as much data as you can gather.</li>
<li>Once the configuration file is set up, the installer will set up the tables needed for your blog. If there is an error, double check your <code>wp-config.php</code> file, and try again. If it fails again, please go to the <a href="http://wordpress.org/support/" title="WordPress support">support forums</a> with as much data as you can gather.</li>
<li><strong>If you did not enter a password, note the password given to you.</strong> If you did not provide a username, it will be <code>admin</code>.</li>
<li>The installer should then send you to the <a href="wp-login.php">login page</a>. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on &#8220;Profile&#8221; to change the password.</li>
</ol>
<h2>Updating</h2>
<h3>Using the Automatic Updater</h3>
<h1>Updating</h1>
<h2>Using the Automatic Updater</h2>
<p>If you are updating from version 2.7 or higher, you can use the automatic updater:</p>
<ol>
<li>Open <span class="file"><a href="wp-admin/update-core.php">wp-admin/update-core.php</a></span> in your browser and follow the instructions.</li>
<li>You wanted more, perhaps? That&#8217;s it!</li>
</ol>
<h3>Updating Manually</h3>
<h2>Updating Manually</h2>
<ol>
<li>Before you update anything, make sure you have backup copies of any files you may have modified such as <code>index.php</code>.</li>
<li>Delete your old WordPress files, saving ones you&#8217;ve modified.</li>
@@ -47,51 +47,48 @@
<li>Point your browser to <span class="file"><a href="wp-admin/upgrade.php">/wp-admin/upgrade.php</a>.</span></li>
</ol>
<h2>Migrating from other systems</h2>
<p>WordPress can <a href="https://codex.wordpress.org/Importing_Content">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php" title="Import to WordPress">our import tools</a>.</p>
<h1>Migrating from other systems</h1>
<p>WordPress can <a href="http://codex.wordpress.org/Importing_Content">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php" title="Import to WordPress">our import tools</a>.</p>
<h2>System Requirements</h2>
<h1>System Requirements</h1>
<ul>
<li><a href="https://secure.php.net/">PHP</a> version <strong>5.2.4</strong> or higher.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or higher.</li>
<li><a href="http://php.net/">PHP</a> version <strong>5.2.4</strong> or higher.</li>
<li><a href="http://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or higher.</li>
</ul>
<h3>Recommendations</h3>
<h2>System Recommendations</h2>
<ul>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.2</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>
<li>The <a href="http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
<li>A link to <a href="http://wordpress.org/">http://wordpress.org</a> on your site.</li>
</ul>
<h2>Online Resources</h2>
<h1>Online Resources</h1>
<p>If you have any questions that aren&#8217;t addressed in this document, please take advantage of WordPress&#8217; numerous online resources:</p>
<dl>
<dt><a href="https://codex.wordpress.org/">The WordPress Codex</a></dt>
<dt><a href="http://codex.wordpress.org/">The WordPress Codex</a></dt>
<dd>The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.</dd>
<dt><a href="https://wordpress.org/news/">The WordPress Blog</a></dt>
<dt><a href="http://wordpress.org/news/">The WordPress Blog</a></dt>
<dd>This is where you&#8217;ll find the latest updates and news related to WordPress. Recent WordPress news appears in your administrative dashboard by default.</dd>
<dt><a href="https://planet.wordpress.org/">WordPress Planet</a></dt>
<dt><a href="http://planet.wordpress.org/">WordPress Planet</a></dt>
<dd>The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.</dd>
<dt><a href="https://wordpress.org/support/">WordPress Support Forums</a></dt>
<dt><a href="http://wordpress.org/support/">WordPress Support Forums</a></dt>
<dd>If you&#8217;ve looked everywhere and still can&#8217;t find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.</dd>
<dt><a href="https://codex.wordpress.org/IRC">WordPress <abbr title="Internet Relay Chat">IRC</abbr> Channel</a></dt>
<dt><a href="http://codex.wordpress.org/IRC">WordPress <abbr title="Internet Relay Chat">IRC</abbr> Channel</a></dt>
<dd>There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (<a href="irc://irc.freenode.net/wordpress">irc.freenode.net #wordpress</a>)</dd>
</dl>
<h2>Final Notes</h2>
<h1>Final Notes</h1>
<ul>
<li>If you have any suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the <a href="https://wordpress.org/support/">Support Forums</a>.</li>
<li>WordPress has a robust plugin <abbr title="application programming interface">API</abbr> that makes extending the code easy. If you are a developer interested in utilizing this, see the <a href="https://developer.wordpress.org/plugins/">Plugin Developer Handbook</a>. You shouldn&#8217;t modify any of the core code.</li>
<li>If you have any suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the <a href="http://wordpress.org/support/">Support Forums</a>.</li>
<li>WordPress has a robust plugin <abbr title="application programming interface">API</abbr> that makes extending the code easy. If you are a developer interested in utilizing this, see the <a href="http://codex.wordpress.org/Plugin_API" title="WordPress plugin API">plugin documentation in the Codex</a>. You shouldn&#8217;t modify any of the core code.</li>
</ul>
<h2>Share the Love</h2>
<h1>Share the Love</h1>
<p>WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better&#8212;you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgable than yourself, or writing the author of a media article that overlooks us.</p>
<p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/caf&#233;log</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/" title="Donate to WordPress">donating</a>.</p>
<p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/caf&#233;log</a>, which came from Michel V. The work has been continued by the <a href="http://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="http://wordpress.org/donate/" title="Donate to WordPress">donating</a>.</p>
<h2>License</h2>
<h1>License</h1>
<p>WordPress is free software, and is released under the terms of the <abbr title="GNU General Public License">GPL</abbr> version 2 or (at your option) any later version. See <a href="license.txt">license.txt</a>.</p>
</body>

View File

@@ -1,7 +1,7 @@
<?php
/**
* Confirms that the activation key that is sent in an email after a user signs
* up for a new site matches the key for that user and then displays confirmation.
* up for a new blog matches the key for that user and then displays confirmation.
*
* @package WordPress
*/
@@ -14,10 +14,54 @@ require( dirname(__FILE__) . '/wp-load.php' );
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
if ( !is_multisite() ) {
wp_redirect( wp_registration_url() );
wp_redirect( site_url( '/wp-login.php?action=register' ) );
die();
}
$valid_error_codes = array( 'already_active', 'blog_taken' );
list( $activate_path ) = explode( '?', wp_unslash( $_SERVER['REQUEST_URI'] ) );
$activate_cookie = 'wp-activate-' . COOKIEHASH;
$key = '';
$result = null;
if ( isset( $_GET['key'] ) && isset( $_POST['key'] ) && $_GET['key'] !== $_POST['key'] ) {
wp_die( __( 'A key value mismatch has been detected. Please follow the link provided in your activation email.' ), __( 'An error occurred during the activation' ), 400 );
} elseif ( ! empty( $_GET['key'] ) ) {
$key = $_GET['key'];
} elseif ( ! empty( $_POST['key'] ) ) {
$key = $_POST['key'];
}
if ( $key ) {
$redirect_url = remove_query_arg( 'key' );
if ( $redirect_url !== remove_query_arg( false ) ) {
setcookie( $activate_cookie, $key, 0, $activate_path, COOKIE_DOMAIN, is_ssl(), true );
wp_safe_redirect( $redirect_url );
exit;
} else {
$result = wpmu_activate_signup( $key );
}
}
if ( $result === null && isset( $_COOKIE[ $activate_cookie ] ) ) {
$key = $_COOKIE[ $activate_cookie ];
$result = wpmu_activate_signup( $key );
setcookie( $activate_cookie, ' ', time() - YEAR_IN_SECONDS, $activate_path, COOKIE_DOMAIN, is_ssl(), true );
}
if ( $result === null || ( is_wp_error( $result ) && 'invalid_key' === $result->get_error_code() ) ) {
status_header( 404 );
} elseif ( is_wp_error( $result ) ) {
$error_code = $result->get_error_code();
if ( ! in_array( $error_code, $valid_error_codes ) ) {
status_header( 400 );
}
}
if ( is_object( $wp_object_cache ) )
$wp_object_cache->cache_enabled = false;
@@ -27,24 +71,20 @@ $wp_query->is_404 = false;
/**
* Fires before the Site Activation page is loaded.
*
* @since 3.0.0
* @since 3.0
*/
do_action( 'activate_header' );
/**
* Adds an action hook specific to this page.
* Adds an action hook specific to this page that fires on wp_head
*
* Fires on {@see 'wp_head'}.
*
* @since MU (3.0.0)
* @since MU
*/
function do_activate_header() {
/**
* Fires before the Site Activation page is loaded.
*
* Fires on the {@see 'wp_head'} action.
/**
* Fires before the Site Activation page is loaded, but on the wp_head action.
*
* @since 3.0.0
* @since 3.0
*/
do_action( 'activate_wp_head' );
}
@@ -53,7 +93,7 @@ add_action( 'wp_head', 'do_activate_header' );
/**
* Loads styles specific to this page.
*
* @since MU (3.0.0)
* @since MU
*/
function wpmu_activate_stylesheet() {
?>
@@ -62,18 +102,18 @@ function wpmu_activate_stylesheet() {
#submit, #key { width: 90%; font-size: 24px; }
#language { margin-top: .5em; }
.error { background: #f66; }
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: bold; }
span.h3 { padding: 0 8px; font-size: 1.3em; font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; font-weight: bold; color: #333; }
</style>
<?php
}
add_action( 'wp_head', 'wpmu_activate_stylesheet' );
add_action( 'wp_head', 'wp_sensitive_page_meta' );
get_header( 'wp-activate' );
get_header();
?>
<div id="signup-content" class="widecolumn">
<div class="wp-activate-container">
<?php if ( empty($_GET['key']) && empty($_POST['key']) ) { ?>
<div id="content" class="widecolumn">
<?php if ( ! $key ) { ?>
<h2><?php _e('Activation Key Required') ?></h2>
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url('wp-activate.php'); ?>">
@@ -87,75 +127,48 @@ get_header( 'wp-activate' );
</form>
<?php } else {
$key = !empty($_GET['key']) ? $_GET['key'] : $_POST['key'];
$result = wpmu_activate_signup( $key );
if ( is_wp_error($result) ) {
if ( 'already_active' == $result->get_error_code() || 'blog_taken' == $result->get_error_code() ) {
$signup = $result->get_error_data();
?>
<h2><?php _e('Your account is now active!'); ?></h2>
<?php
echo '<p class="lead-in">';
if ( $signup->domain . $signup->path == '' ) {
printf(
/* translators: 1: login URL, 2: username, 3: user email, 4: lost password URL */
__( 'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
network_site_url( 'wp-login.php', 'login' ),
$signup->user_login,
$signup->user_email,
wp_lostpassword_url()
);
} else {
printf(
/* translators: 1: site URL, 2: username, 3: user email, 4: lost password URL */
__( 'Your site at %1$s is active. You may now log in to your site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
sprintf( '<a href="http://%1$s">%1$s</a>', $signup->domain ),
$signup->user_login,
$signup->user_email,
wp_lostpassword_url()
);
}
echo '</p>';
if ( is_wp_error( $result ) && in_array( $result->get_error_code(), $valid_error_codes ) ) {
$signup = $result->get_error_data();
?>
<h2><?php _e('Your account is now active!'); ?></h2>
<?php
echo '<p class="lead-in">';
if ( $signup->domain . $signup->path == '' ) {
printf( __('Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.'), network_site_url( 'wp-login.php', 'login' ), $signup->user_login, $signup->user_email, wp_lostpassword_url() );
} else {
?>
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
<p><?php echo $result->get_error_message(); ?></p>
<?php
printf( __('Your site at <a href="%1$s">%2$s</a> is active. You may now log in to your site using your chosen username of &#8220;%3$s&#8221;. Please check your email inbox at %4$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%5$s">reset your password</a>.'), 'http://' . $signup->domain, $signup->domain, $signup->user_login, $signup->user_email, wp_lostpassword_url() );
}
echo '</p>';
} elseif ( $result === null || is_wp_error( $result ) ) {
?>
<h2><?php _e('An error occurred during the activation'); ?></h2>
<?php if ( is_wp_error( $result ) ) {
echo '<p>' . $result->get_error_message() . '</p>';
} ?>
<?php
} else {
$url = isset( $result['blog_id'] ) ? get_home_url( (int) $result['blog_id'] ) : '';
$user = get_userdata( (int) $result['user_id'] );
extract($result);
$url = get_blogaddress_by_id( (int) $blog_id);
$user = get_userdata( (int) $user_id);
?>
<h2><?php _e('Your account is now active!'); ?></h2>
<div id="signup-welcome">
<p><span class="h3"><?php _e('Username:'); ?></span> <?php echo $user->user_login ?></p>
<p><span class="h3"><?php _e('Password:'); ?></span> <?php echo $result['password']; ?></p>
<p><span class="h3"><?php _e('Password:'); ?></span> <?php echo $password; ?></p>
</div>
<?php if ( $url && $url != network_home_url( '', 'http' ) ) :
switch_to_blog( (int) $result['blog_id'] );
$login_url = wp_login_url();
restore_current_blog();
?>
<p class="view"><?php
/* translators: 1: site URL, 2: login URL */
printf( __( 'Your account is now activated. <a href="%1$s">View your site</a> or <a href="%2$s">Log in</a>' ), $url, esc_url( $login_url ) );
?></p>
<?php if ( $url != network_home_url('', 'http') ) : ?>
<p class="view"><?php printf( __('Your account is now activated. <a href="%1$s">View your site</a> or <a href="%2$s">Log in</a>'), $url, $url . 'wp-login.php' ); ?></p>
<?php else: ?>
<p class="view"><?php
/* translators: 1: login URL, 2: network home URL */
printf( __( 'Your account is now activated. <a href="%1$s">Log in</a> or go back to the <a href="%2$s">homepage</a>.' ), network_site_url( 'wp-login.php', 'login' ), network_home_url() );
?></p>
<p class="view"><?php printf( __('Your account is now activated. <a href="%1$s">Log in</a> or go back to the <a href="%2$s">homepage</a>.' ), network_site_url('wp-login.php', 'login'), network_home_url() ); ?></p>
<?php endif;
}
}
?>
</div>
</div>
<script type="text/javascript">
var key_input = document.getElementById('key');
key_input && key_input.focus();
</script>
<?php get_footer( 'wp-activate' );
<?php get_footer(); ?>

View File

@@ -9,421 +9,342 @@
/** WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
wp_enqueue_script( 'underscore' );
$title = __( 'About' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
list( $display_version ) = explode( '-', $wp_version );
// Temporary 3.8 hack: We want to use user-profile for the color schemes but don't need the heavy zxcvbn.
wp_deregister_script( 'zxcvbn-async' );
wp_register_script( 'zxcvbn-async', false );
wp_enqueue_script( 'user-profile' );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div class="wrap about-wrap full-width-layout">
<h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
<div class="wrap about-wrap">
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p>
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
<h1><?php printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version ); ?></h1>
<h2 class="nav-tab-wrapper wp-clearfix">
<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</h2>
<div class="about-text"><?php printf( __( 'Thank you for updating to WordPress %s, the most beautiful WordPress&nbsp;yet.' ), $display_version ); ?></div>
<div class="changelog point-releases">
<h3><?php _e( 'Maintenance and Security Releases' ); ?></h3>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_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.',
28
),
'4.9.5',
number_format_i18n( 28 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.5' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
1
),
'4.9.4',
number_format_i18n( 1 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.4' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
34
),
'4.9.3',
number_format_i18n( 34 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.3' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_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.',
22
),
'4.9.2',
number_format_i18n( 22 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.2' );
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_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.',
11
),
'4.9.1',
number_format_i18n( 11 )
);
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.1' );
?>
</p>
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
<h2 class="nav-tab-wrapper">
<a href="about.php" class="nav-tab nav-tab-active">
<?php _e( 'What&#8217;s New' ); ?>
</a><a href="credits.php" class="nav-tab">
<?php _e( 'Credits' ); ?>
</a><a href="freedoms.php" class="nav-tab">
<?php _e( 'Freedoms' ); ?>
</a>
</h2>
<div class="changelog point-releases">
<h3><?php echo _n( 'Maintenance and Security Release', 'Maintenance and Security Releases', 31 ); ?></h3>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed one security issue.' ),
'3.8.32'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '3.8.32' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'3.8.31'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '3.8.31' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'3.8.30'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '3.8.30' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed a security issue.' ),
'3.8.29'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '3.8.29' )
)
);
?>
</p>
<p>
<?php
/* translators: %s: WordPress version number */
printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '3.8.28' );
?>
<?php
/* translators: %s: Codex URL */
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.28' );
?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 1 ), '3.8.27' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.27' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 2 ), '3.8.26' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.26' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 1 ), '3.8.25' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.25' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 4 ), '3.8.24' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.24' ); ?>
</p>
<p><?php printf( __( '<strong>Version %s</strong> addressed one security issue.' ), '3.8.23' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.23' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 7 ), '3.8.22' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.22' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 5 ), '3.8.21' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.21' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.', 1 ), '3.8.20', number_format_i18n( 1 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.20' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 5 ), '3.8.19' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.19' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 3 ), '3.8.18' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.18' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 8 ), '3.8.17' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.17' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 2 ), '3.8.16' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.16' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 9 ), '3.8.15' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.15' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 6 ), '3.8.14' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.14' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 2 ), '3.8.13' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.13' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 1 ), '3.8.12' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.12' ); ?>
</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.', 2 ), '3.8.11', number_format_i18n( 2 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.11' ); ?>
</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.', 2 ), '3.8.10', number_format_i18n( 2 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.10' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 2 ), '3.8.9' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.9' ); ?>
</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.', 3 ), '3.8.8', number_format_i18n( 3 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.8' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.', 1 ), '3.8.7', number_format_i18n( 1 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.7' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 8 ), '3.8.6' ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.6' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 8 ), '3.8.5', number_format_i18n( 8 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.5' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.', 5 ), '3.8.4', number_format_i18n( 5 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.4' ); ?>
</p>
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.', 2 ), '3.8.3', number_format_i18n( 2 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.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.', 9 ), '3.8.2', number_format_i18n( 9 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.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.', 31 ), '3.8.1', number_format_i18n( 31 ) ); ?>
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_3.8.1' ); ?>
</p>
</div>
<div class="changelog">
<h2 class="about-headline-callout"><?php _e( 'Introducing a modern new&nbsp;design' ); ?></h2>
<img class="about-overview-img" src="<?php echo is_ssl() ? 'https://' : '//s.'; ?>wordpress.org/images/core/3.8/overview.png?1" />
<div class="feature-section col three-col about-updates">
<div class="col-1">
<img src="<?php echo is_ssl() ? 'https://' : '//s.'; ?>wordpress.org/images/core/3.8/aesthetics.png?1" />
<h3><?php _e( 'Modern aesthetic' ); ?></h3>
<p><?php _e( 'The new WordPress dashboard has a fresh, uncluttered design that embraces clarity and simplicity.' ); ?></p>
</div>
<div class="feature-section one-col">
<div class="col">
<h2>
<?php
printf(
/* translators: %s: party popper emoji */
__( 'Major Customizer Improvements, Code Error Checking, and More! %s' ),
'&#x1F389'
);
?>
</h2>
<p><?php _e( 'Welcome to an improved Customizer workflow with design drafts, locking, scheduling, and preview links. What&#8217;s more, code syntax highlighting and error checking will make for a clean and smooth site building experience. Finally, if all that wasn&#8217;t pretty great, we&#8217;ve got a great new Gallery widget and improvements to theme browsing and switching.' ); ?></p>
</div>
<div class="col-2">
<img src="<?php echo is_ssl() ? 'https://' : '//s.'; ?>wordpress.org/images/core/3.8/typography.png?1" />
<h3><?php _e( 'Clean typography' ); ?></h3>
<p><?php _e( 'The Open Sans typeface provides simple, friendly text that is optimized for both desktop and mobile viewing. It&#8217;s even open source, just like WordPress.' ); ?></p>
</div>
<div class="inline-svg full-width">
<picture>
<source media="(max-width: 500px)" srcset="<?php echo 'https://s.w.org/images/core/4.9/banner-mobile.svg'; ?>">
<img src="https://s.w.org/images/core/4.9/banner.svg" alt="">
</picture>
</div>
<div class="floating-header-section">
<div class="section-header">
<h2><?php _e( 'Customizer Workflow Improved' ); ?></h2>
</div>
<div class="section-content">
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/draft-and-schedule.svg" alt="">
</div>
<h3><?php _e( 'Draft and Schedule Site Design Customizations' ); ?></h3>
<p><?php _e( 'Yes, you read that right. Just like you can draft and revise posts and schedule them to go live on the date and time you choose, you can now tinker with your site&#8217;s design and schedule those design changes to go live as you please.' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/design-preview-links.svg" alt="">
</div>
<h3><?php _e( 'Collaborate with Design Preview Links' ); ?></h3>
<p><?php _e( 'Need to get some feedback on proposed site design changes? WordPress 4.9 gives you a preview link you can send to your team and customers so that you can collect and integrate feedback before you schedule the changes to go live. Can we say collaboration&#43;&#43;?' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/locking.svg" alt="">
</div>
<h3><?php _e( 'Design Locking To Guard Your Changes' ); ?></h3>
<p><?php _e( 'Ever encounter a scenario where two designers walk into a project and designer A overrides designer B&#8217;s beautiful changes? WordPress 4.9&#8217;s design lock feature (similar to post locking) secures your draft design so that no one can make changes to it or erase all your hard work.' );?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/prompt.svg" alt="">
</div>
<h3><?php _e( 'A Prompt to Protect Your Work' ); ?></h3>
<p><?php _e( 'Were you lured away from your desk before you saved your new draft design? Fear not, when you return, WordPress 4.9 will politely ask whether or not you&#8217;d like to save your unsaved changes.' ); ?></p>
</div>
</div>
</div>
<div class="floating-header-section">
<div class="section-header">
<h2><?php _e( 'Coding Enhancements' ); ?></h2>
</div>
<div class="section-content">
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/syntax-highlighting.svg" alt="">
</div>
<h3><?php _e( 'Syntax Highlighting and Error Checking? Yes, Please!' ); ?></h3>
<p><?php _e( 'You&#8217;ve got a display problem but can&#8217;t quite figure out exactly what went wrong in the CSS you lovingly wrote. With syntax highlighting and error checking for CSS editing and the Custom HTML widget introduced in WordPress 4.8.1, you&#8217;ll pinpoint coding errors quickly. Practically guaranteed to help you scan code more easily and suss out and fix code errors quickly.' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/sandbox.svg" alt="">
</div>
<h3><?php _e( 'Sandbox for Safety' ); ?></h3>
<p><?php _e( 'The dreaded white screen. You&#8217;ll avoid it when working on themes and plugin code because WordPress 4.9 will warn you about saving an error. You&#8217;ll sleep better at night.' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/warning.svg" alt="">
</div>
<h3><?php _e( 'Warning: Potential Danger Ahead!' ); ?></h3>
<p><?php _e( 'When you edit themes and plugins directly, WordPress 4.9 will politely warn you that this is a dangerous practice. It will recommend that you backup your files before saving, so they don&#8217;t get overwritten by the next update. Take the safe route: your future self will thank you. Your team and customers will thank you.' );?></p>
</div>
</div>
</div>
<div class="floating-header-section">
<div class="section-header">
<h2><?php _e( 'Even More Widget Updates' ); ?></h2>
</div>
<div class="section-content">
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/gallery-widget.svg" alt="">
</div>
<h3><?php _e( 'The New Gallery Widget' ); ?></h3>
<p><?php _e( 'An incremental improvement to the media changes hatched in WordPress 4.8, you can now add a gallery via widget. Yes!' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/media-button.svg" alt="">
</div>
<h3><?php _e( 'Press a Button, Add Media' ); ?></h3>
<p><?php _e( 'Want to add media to your text widget? Embed images, video, and audio directly into the widget along with your text, with our simple but useful Add Media button. Woo!' ); ?></p>
</div>
</div>
</div>
<div class="floating-header-section">
<div class="section-header">
<h2><?php _e( 'Site Building Improvements' ); ?></h2>
</div>
<div class="section-content">
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/theme-switching.svg" alt="">
</div>
<h3><?php _e( 'More Reliable Theme Switching' ); ?></h3>
<p><?php _e( 'When you switch themes, widgets sometimes think they can just up and move location. Improvements in WordPress 4.9 offer more persistent menu and widget placement when you decide it&#8217;s time for a new theme. Additionally, you can preview installed themes or download, install, and preview new themes right. Nothing says handy like being able to preview before you deploy. ' ); ?></p>
</div>
<div class="section-item">
<div class="inline-svg">
<img src="https://s.w.org/images/core/4.9/menu-flow.svg" alt="">
</div>
<h3><?php _e( 'Better Menu Instructions = Less Confusion' ); ?></h3>
<p><?php _e( 'Were you confused by the steps to create a new menu? Perhaps no longer! We&#8217;ve ironed out the UX for a smoother menu creation process. Newly updated copy will guide you.' ); ?></p>
</div>
</div>
</div>
<div class="inline-svg">
<picture>
<source media="(max-width: 500px)" srcset="<?php echo 'https://s.w.org/images/core/4.9/gutenberg-mobile.svg'; ?>">
<img src="https://s.w.org/images/core/4.9/gutenberg.svg" alt="">
</picture>
</div>
<div class="feature-section">
<h2>
<?php
printf(
/* translators: %s: handshake emoji */
__( 'Lend a Hand with Gutenberg %s' ),
'&#x1F91D'
);
?>
</h2>
<p><?php printf(
__( 'WordPress is working on a new way to create and control your content and we&#8217;d love to have your help. Interested in being an <a href="%s">early tester</a> or getting involved with the Gutenberg project? <a href="%s">Contribute on GitHub</a>.' ),
__( 'https://wordpress.org/plugins/gutenberg/' ),
'https://github.com/WordPress/gutenberg' ); ?></p>
</div>
<hr />
<div class="changelog">
<h2><?php
printf(
/* translators: %s: smiling face with smiling eyes emoji */
__( 'Developer Happiness %s' ),
'&#x1F60A'
);
?></h2>
<div class="under-the-hood two-col">
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/"><?php _e( 'Customizer JS API Improvements' ); ?></a></h3>
<p><?php
printf(
/* translators: %s: https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/ */
__( 'We&#8217;ve made numerous improvements to the Customizer JS API in WordPress 4.9, eliminating many pain points and making it just as easy to work with as the PHP API. There are also new base control templates, a date/time control, and section/panel/global notifications to name a few. <a href="%s">Check out the full list.</a>' ),
'https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/'
);
?></p>
</div>
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/10/22/code-editing-improvements-in-wordpress-4-9/"><?php _e( 'CodeMirror available for use in your themes and plugins' ); ?></a></h3>
<p><?php _e( 'We&#8217;ve introduced a new code editing library, CodeMirror, for use within core. Use it to improve any code writing or editing experiences within your plugins, like CSS or JavaScript include fields.' ); ?></p>
</div>
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/10/30/mediaelement-upgrades-in-wordpress-4-9/"><?php _e( 'MediaElement.js upgraded to 4.2.6' ); ?></a></h3>
<p><?php _e( 'WordPress 4.9 includes an upgraded version of MediaElement.js, which removes dependencies on jQuery, improves accessibility, modernizes the UI, and fixes many bugs.' ); ?></p>
</div>
<div class="col">
<h3><a href="https://make.wordpress.org/core/2017/10/15/improvements-for-roles-and-capabilities-in-4-9/"><?php _e( 'Improvements to Roles and Capabilities' ); ?></a></h3>
<p><?php _e( 'New capabilities have been introduced that allow granular management of plugins and translation files. In addition, the site switching process in multisite has been fine-tuned to update the available roles and capabilities in a more reliable and coherent way.' ); ?></p>
</div>
</div>
</div>
<hr />
<div class="return-to-dashboard">
<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' ); ?>
</a> |
<?php endif; ?>
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
<div class="col-3 last-feature">
<img src="<?php echo is_ssl() ? 'https://' : '//s.'; ?>wordpress.org/images/core/3.8/contrast.png?1" />
<h3><?php _e( 'Refined contrast' ); ?></h3>
<p><?php _e( 'We think beautiful design should never sacrifice legibility. With superior contrast and large, comfortable type, the new design is easy to read and a pleasure to navigate.' ); ?></p>
</div>
</div>
</div>
<script>
(function( $ ) {
$( function() {
var $window = $( window );
var $adminbar = $( '#wpadminbar' );
var $sections = $( '.floating-header-section' );
var offset = 0;
<hr>
// Account for Admin bar.
if ( $adminbar.length ) {
offset += $adminbar.height();
}
<div class="changelog">
<div class="feature-section col two-col">
<div>
<h3><?php _e( 'WordPress on every&nbsp;device' ); ?></h3>
<p><?php _e( 'We all access the internet in different ways. Smartphone, tablet, notebook, desktop &mdash; no matter what you use, WordPress will adapt and you&#8217;ll feel right at home.' ); ?></p>
<h4><?php _e( 'High definition at high&nbsp;speed' ); ?></h4>
<p><?php _e( 'WordPress is sharper than ever with new vector-based icons that scale to your screen. By ditching pixels, pages load significantly faster, too.' ); ?></p>
</div>
<div class="last-feature about-colors-img">
<img src="<?php echo is_ssl() ? 'https://' : '//s.'; ?>wordpress.org/images/core/3.8/colors.png?1" />
</div>
</div>
</div>
function setup() {
$sections.each( function( i, section ) {
var $section = $( section );
// If the title is long, switch the layout
var $title = $section.find( 'h2' );
if ( $title.innerWidth() > 300 ) {
$section.addClass( 'has-long-title' );
}
} );
}
<hr>
var adjustScrollPosition = _.throttle( function adjustScrollPosition() {
$sections.each( function( i, section ) {
var $section = $( section );
var $header = $section.find( 'h2' );
var width = $header.innerWidth();
var height = $header.innerHeight();
<?php
global $_wp_admin_css_colors;
$new_colors = array( 'fresh', 'light', 'blue', 'midnight', 'sunrise', 'ectoplasm', 'ocean', 'coffee' );
$_wp_admin_css_colors = array_intersect_key( $_wp_admin_css_colors, array_fill_keys( $new_colors, true ) );
if ( $section.hasClass( 'has-long-title' ) ) {
return;
}
if ( count( $_wp_admin_css_colors ) > 1 && has_action( 'admin_color_scheme_picker' ) ) : ?>
<div class="changelog about-colors">
<div class="feature-section col one-col">
<div>
<h3><?php _e( 'Pick a color' ); ?></h3>
<p><?php _e( 'We&#8217;ve included eight color schemes so you can pick your favorite. Choose from any of them below to change it instantly.' ); ?>
<?php
/** This action is documented in wp-admin/user-edit.php */
do_action( 'admin_color_scheme_picker' );
?>
<p><?php printf( __( 'To change your color scheme later, just <a href="%1$s">visit your profile</a>.' ), get_edit_profile_url( get_current_user_id() ) ); ?></p>
</div>
</div>
</div>
var sectionStart = $section.offset().top - offset;
var sectionEnd = sectionStart + $section.innerHeight();
var scrollPos = $window.scrollTop();
<hr>
<?php endif; ?>
// If we're scrolled into a section, stick the header
if ( scrollPos >= sectionStart && scrollPos < sectionEnd - height ) {
$header.css( {
position: 'fixed',
top: offset + 'px',
bottom: 'auto',
width: width + 'px'
} );
// If we're at the end of the section, stick the header to the bottom
} else if ( scrollPos >= sectionEnd - height && scrollPos < sectionEnd ) {
$header.css( {
position: 'absolute',
top: 'auto',
bottom: 0,
width: width + 'px'
} );
// Unstick the header
} else {
$header.css( {
position: 'static',
top: 'auto',
bottom: 'auto',
width: 'auto'
} );
}
} );
}, 100 );
<div class="changelog">
<div class="feature-section col two-col">
<div>
<h3><?php _e( 'Refined theme management' ); ?></h3>
<p><?php _e( 'The new themes screen lets you survey your themes at a glance. Or want more information? Click to discover more. Then sit back and use your keyboard&#8217;s navigation arrows to flip through every theme you&#8217;ve got.' ); ?></p>
<h4><?php _e( 'Smoother widget experience' ); ?></h4>
<p><?php _e( 'Drag-drag-drag. Scroll-scroll-scroll. Widget management can be complicated. With the new design, we&#8217;ve worked to streamline the widgets&nbsp;screen.' ); ?></p>
<p><?php _e( 'Have a large monitor? Multiple widget areas stack side-by-side to use the available space. Using a tablet? Just tap a widget to add it.' ); ?></p>
</div>
<div class="last-feature about-themes-img">
<img src="<?php echo is_ssl() ? 'https://' : '//s.'; ?>wordpress.org/images/core/3.8/themes.png?1" />
</div>
</div>
</div>
function enableFixedHeaders() {
if ( $window.width() > 782 ) {
setup();
adjustScrollPosition();
$window.on( 'scroll', adjustScrollPosition );
} else {
$window.off( 'scroll', adjustScrollPosition );
$sections.find( '.section-header' )
.css( {
width: 'auto'
} );
$sections.find( 'h2' )
.css( {
position: 'static',
top: 'auto',
bottom: 'auto',
width: 'auto'
} );
}
}
$( window ).resize( enableFixedHeaders );
enableFixedHeaders();
} );
})( jQuery );
</script>
<hr>
<div class="changelog about-twentyfourteen">
<h2 class="about-headline-callout"><?php _e( 'Twenty Fourteen, a sleek new magazine&nbsp;theme' ); ?></h2>
<img src="<?php echo is_ssl() ? 'https://' : '//s.'; ?>wordpress.org/images/core/3.8/twentyfourteen.jpg?1" />
<div class="feature-section col one-col center-col">
<div>
<h3><?php _e( 'Turn your blog into a&nbsp;magazine' ); ?></h3>
<p><?php _e( 'Create a beautiful magazine-style site with WordPress and Twenty Fourteen. Choose a grid or a slider to display featured content on your homepage. Customize your site with three widget areas or change your layout with two page templates.' ); ?></p>
<p><?php _e( 'With a striking design that does not compromise our trademark simplicity, Twenty Fourteen is our most intrepid default theme yet.' ); ?></p>
</div>
</div>
</div>
<hr>
<div class="return-to-dashboard">
<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php
is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' );
?></a> |
<?php endif; ?>
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
</div>
</div>
<?php
include( ABSPATH . 'wp-admin/admin-footer.php' );
@@ -431,19 +352,13 @@ include( ABSPATH . 'wp-admin/admin-footer.php' );
// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
return;
__( 'Maintenance Release' );
__( 'Maintenance Releases' );
_n_noop( 'Maintenance Release', 'Maintenance Releases' );
_n_noop( 'Security Release', 'Security Releases' );
_n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' );
__( 'Security Release' );
__( 'Security Releases' );
__( 'Maintenance and Security Release' );
__( 'Maintenance and Security Releases' );
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed one security issue.' );
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed some security issues.' );
/* translators: 1: WordPress version number. */
_n_noop( '<strong>Version %1$s</strong> addressed a security issue.',
'<strong>Version %1$s</strong> addressed some security issues.' );
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.',
@@ -457,5 +372,4 @@ _n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$
_n_noop( '<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.' );
/* translators: %s: Codex URL */
__( 'For more information, see <a href="%s">the release notes</a>.' );

View File

@@ -1,32 +1,30 @@
<?php
/**
* WordPress Ajax Process Execution
* WordPress AJAX Process Execution.
*
* @package WordPress
* @subpackage Administration
*
* @link https://codex.wordpress.org/AJAX_in_Plugins
* @link http://codex.wordpress.org/AJAX_in_Plugins
*/
/**
* Executing Ajax process.
* Executing AJAX process.
*
* @since 2.1.0
*/
define( 'DOING_AJAX', true );
if ( ! defined( 'WP_ADMIN' ) ) {
define( 'WP_ADMIN', true );
}
define( 'WP_ADMIN', true );
/** Load WordPress Bootstrap */
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
/** Allow for cross-domain requests (from the front end). */
/** Allow for cross-domain requests (from the frontend). */
send_origin_headers();
// Require an action parameter
if ( empty( $_REQUEST['action'] ) )
wp_die( '0', 400 );
die( '0' );
/** Load WordPress Administration APIs */
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
@@ -34,7 +32,7 @@ require_once( ABSPATH . 'wp-admin/includes/admin.php' );
/** Load Ajax Handlers for WordPress Core */
require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
@header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
@header( 'Content-Type: text/plain; charset=' . get_option( 'blog_charset' ) );
@header( 'X-Robots-Tag: noindex' );
send_nosniff_header();
@@ -52,25 +50,17 @@ $core_actions_post = array(
'oembed-cache', 'image-editor', 'delete-comment', 'delete-tag', 'delete-link',
'delete-meta', 'delete-post', 'trash-post', 'untrash-post', 'delete-page', 'dim-comment',
'add-link-category', 'add-tag', 'get-tagcloud', 'get-comments', 'replyto-comment',
'edit-comment', 'add-menu-item', 'add-meta', 'add-user', 'closed-postboxes',
'edit-comment', 'add-menu-item', 'add-meta', 'add-user', 'autosave', 'closed-postboxes',
'hidden-columns', 'update-welcome-panel', 'menu-get-metabox', 'wp-link-ajax',
'menu-locations-save', 'menu-quick-search', 'meta-box-order', 'get-permalink',
'sample-permalink', 'inline-save', 'inline-save-tax', 'find_posts', 'widgets-order',
'save-widget', 'delete-inactive-widgets', 'set-post-thumbnail', 'date_format', 'time_format',
'save-widget', 'set-post-thumbnail', 'date_format', 'time_format', 'wp-fullscreen-save-post',
'wp-remove-post-lock', 'dismiss-wp-pointer', 'upload-attachment', 'get-attachment',
'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor',
'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',
'save-user-color-scheme', 'update-widget', 'query-themes', 'parse-embed', 'set-attachment-thumbnail',
'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', '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', 'edit-theme-plugin-file',
'save-user-color-scheme',
);
// Deprecated
$core_actions_post_deprecated = array( 'wp-fullscreen-save-post', 'press-this-save-post', 'press-this-add-category' );
$core_actions_post = array_merge( $core_actions_post, $core_actions_post_deprecated );
// Register core Ajax calls.
if ( ! empty( $_GET['action'] ) && in_array( $_GET['action'], $core_actions_get ) )
add_action( 'wp_ajax_' . $_GET['action'], 'wp_ajax_' . str_replace( '-', '_', $_GET['action'] ), 1 );
@@ -81,35 +71,25 @@ if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $core_actions_po
add_action( 'wp_ajax_nopriv_heartbeat', 'wp_ajax_nopriv_heartbeat', 1 );
if ( is_user_logged_in() ) {
// If no action is registered, return a Bad Request response.
if ( ! has_action( 'wp_ajax_' . $_REQUEST['action'] ) ) {
wp_die( '0', 400 );
}
/**
* Fires authenticated Ajax actions for logged-in users.
* Fires authenticated AJAX actions for logged-in users.
*
* The dynamic portion of the hook name, `$_REQUEST['action']`,
* refers to the name of the Ajax action callback being fired.
* The dynamic portion of the hook name, $_REQUEST['action'],
* refers to the name of the AJAX action callback being fired.
*
* @since 2.1.0
*/
do_action( 'wp_ajax_' . $_REQUEST['action'] );
} else {
// If no action is registered, return a Bad Request response.
if ( ! has_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] ) ) {
wp_die( '0', 400 );
}
/**
* Fires non-authenticated Ajax actions for logged-out users.
* Fires non-authenticated AJAX actions for logged-out users.
*
* The dynamic portion of the hook name, `$_REQUEST['action']`,
* refers to the name of the Ajax action callback being fired.
* The dynamic portion of the hook name, $_REQUEST['action'],
* refers to the name of the AJAX action callback being fired.
*
* @since 2.8.0
*/
do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] );
}
// Default status
wp_die( '0' );
die( '0' );

View File

@@ -9,18 +9,13 @@
// don't load directly
if ( !defined('ABSPATH') )
die('-1');
/**
* @global string $hook_suffix
*/
global $hook_suffix;
?>
<div class="clear"></div></div><!-- wpbody-content -->
<div class="clear"></div></div><!-- wpbody -->
<div class="clear"></div></div><!-- wpcontent -->
<div id="wpfooter" role="contentinfo">
<div id="wpfooter">
<?php
/**
* Fires after the opening tag for the admin footer.
@@ -31,30 +26,25 @@ global $hook_suffix;
?>
<p id="footer-left" class="alignleft">
<?php
$text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) );
/**
* Filters the "Thank you" text displayed in the admin footer.
* Filter the "Thank you" text displayed in the admin footer.
*
* @since 2.8.0
*
* @param string $text The content that will be printed.
* @param string The content that will be printed.
*/
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . $text . '</span>' );
echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' );
?>
</p>
<p id="footer-upgrade" class="alignright">
<?php
/**
* Filters the version/update text displayed in the admin footer.
* Filter the version/update text displayed in the admin footer.
*
* WordPress prints the current version and update information,
* using core_update_footer() at priority 10.
* @see core_update_footer() WordPress prints the current version and update information,
* using core_update_footer() at priority 10.
*
* @since 2.3.0
*
* @see core_update_footer()
*
* @param string $content The content that will be printed.
* @param string The content that will be printed.
*/
echo apply_filters( 'update_footer', '' );
?>
@@ -63,40 +53,28 @@ global $hook_suffix;
</div>
<?php
/**
* Prints scripts or data before the default footer scripts.
* Print scripts or data before the default footer scripts.
*
* @since 1.2.0
*
* @param string $data The data to print.
* @param string The data to print.
*/
do_action( 'admin_footer', '' );
/**
* Prints scripts and data queued for the footer.
*
* The dynamic portion of the hook name, `$hook_suffix`,
* refers to the global hook suffix of the current page.
*
* @since 4.6.0
*/
do_action( "admin_print_footer_scripts-{$hook_suffix}" );
do_action('admin_footer', '');
/**
* Prints any scripts and data queued for the footer.
*
* @since 2.8.0
*/
do_action( 'admin_print_footer_scripts' );
do_action('admin_print_footer_scripts');
/**
* Prints scripts or data after the default footer scripts.
*
* The dynamic portion of the hook name, `$hook_suffix`,
* refers to the global hook suffix of the current page.
* Print scripts or data after the default footer scripts.
*
* @since 2.8.0
*
* @param string $GLOBALS['hook_suffix'] The current admin page.
*/
do_action( "admin_footer-{$hook_suffix}" );
do_action("admin_footer-" . $GLOBALS['hook_suffix']);
// get_site_option() won't exist when auto upgrading from <= 2.7
if ( function_exists('get_site_option') ) {

View File

@@ -4,12 +4,12 @@
*
* This file is deprecated, use 'wp-admin/includes/admin.php' instead.
*
* @deprecated 2.5.0
* @deprecated 2.5
* @package WordPress
* @subpackage Administration
*/
_deprecated_file( basename(__FILE__), '2.5.0', 'wp-admin/includes/admin.php' );
_deprecated_file( basename(__FILE__), '2.5', 'wp-admin/includes/admin.php' );
/** WordPress Administration API: Includes all Administration functions. */
require_once(ABSPATH . 'wp-admin/includes/admin.php');

View File

@@ -10,19 +10,8 @@
if ( ! defined( 'WP_ADMIN' ) )
require_once( dirname( __FILE__ ) . '/admin.php' );
/**
* In case admin-header.php is included in a function.
*
* @global string $title
* @global string $hook_suffix
* @global WP_Screen $current_screen
* @global WP_Locale $wp_locale
* @global string $pagenow
* @global string $update_title
* @global int $total_update_count
* @global string $parent_file
*/
global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow,
// In case admin-header.php is included in a function.
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,26 +21,20 @@ 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( __( 'Global 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.
* Filter the <title> content for an admin page.
*
* @since 3.1.0
*
@@ -97,45 +80,42 @@ var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>',
do_action( 'admin_enqueue_scripts', $hook_suffix );
/**
* Fires when styles are printed for a specific admin page based on $hook_suffix.
* Print styles for a specific admin page based on $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.
* Print styles for all admin pages.
*
* @since 2.6.0
*/
do_action( 'admin_print_styles' );
/**
* Fires when scripts are printed for a specific admin page based on $hook_suffix.
* Print scripts for a specific admin page based on $hook_suffix.
*
* @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.
* Print scripts for all admin pages.
*
* @since 2.1.0
*/
do_action( 'admin_print_scripts' );
/**
* Fires in head section for a specific admin page.
*
* The dynamic portion of the hook, `$hook_suffix`, refers to the hook suffix
* for the admin page.
* Fires in <head> for a specific admin page based on $hook_suffix.
*
* @since 2.1.0
*/
do_action( "admin_head-{$hook_suffix}" );
do_action( "admin_head-$hook_suffix" );
/**
* Fires in head section for all admin pages.
* Fires in <head> for all admin pages.
*
* @since 2.1.0
*/
@@ -159,10 +139,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';
@@ -179,34 +159,30 @@ $admin_body_class .= ' no-customize-support no-svg';
</head>
<?php
/**
* Filters the CSS classes for the body tag in the admin.
* Filter the admin <body> CSS classes.
*
* This filter differs from the {@see 'post_class'} and {@see 'body_class'} filters
* in two important ways:
*
* 1. `$classes` is a space-separated string of class names instead of an array.
* 2. Not all core admin classes are filterable, notably: wp-admin, wp-core-ui,
* and no-js cannot be removed.
* This filter differs from the post_class or body_class filters in two important ways:
* 1. $classes is a space-separated string of class names instead of an array.
* 2. Not all core admin classes are filterable, notably: wp-admin, wp-core-ui, and no-js cannot be removed.
*
* @since 2.3.0
*
* @param string $classes Space-separated list of CSS classes.
* @param string $classes Space-separated string of CSS classes.
*/
$admin_body_classes = apply_filters( 'admin_body_class', '' );
?>
<body class="wp-admin wp-core-ui no-js <?php echo $admin_body_classes . ' ' . $admin_body_class; ?>">
<body class="wp-admin wp-core-ui no-js <?php echo apply_filters( 'admin_body_class', '' ) . " $admin_body_class"; ?>">
<script type="text/javascript">
document.body.className = document.body.className.replace('no-js','js');
</script>
<?php
// Make sure the customize body classes are correct as early as possible.
if ( current_user_can( 'customize' ) ) {
if ( current_user_can( 'edit_theme_options' ) )
wp_customize_support_script();
}
?>
<div id="wpwrap">
<a tabindex="1" href="#wpbody-content" class="screen-reader-shortcut"><?php _e('Skip to main content'); ?></a>
<?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
<div id="wpcontent">
@@ -219,7 +195,7 @@ if ( current_user_can( 'customize' ) ) {
do_action( 'in_admin_header' );
?>
<div id="wpbody" role="main">
<div id="wpbody">
<?php
unset($title_class, $blog_name, $total_update_count, $update_title);
@@ -234,21 +210,21 @@ $current_screen->render_screen_meta();
if ( is_network_admin() ) {
/**
* Prints network admin screen notices.
* Print network admin screen notices.
*
* @since 3.1.0
*/
do_action( 'network_admin_notices' );
} elseif ( is_user_admin() ) {
/**
* Prints user admin screen notices.
* Print user admin screen notices.
*
* @since 3.1.0
*/
do_action( 'user_admin_notices' );
} else {
/**
* Prints admin screen notices.
* Print admin screen notices.
*
* @since 3.1.0
*/
@@ -256,7 +232,7 @@ if ( is_network_admin() ) {
}
/**
* Prints generic admin screen notices.
* Print generic admin screen notices.
*
* @since 3.1.0
*/

View File

@@ -9,16 +9,14 @@
*/
/** We are located in WordPress Administration Screens */
if ( ! defined( 'WP_ADMIN' ) ) {
define( 'WP_ADMIN', true );
}
define('WP_ADMIN', true);
if ( defined('ABSPATH') )
require_once(ABSPATH . 'wp-load.php');
else
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
/** Allow for cross-domain requests (from the front end). */
/** Allow for cross-domain requests (from the frontend). */
send_origin_headers();
require_once(ABSPATH . 'wp-admin/includes/admin.php');
@@ -28,44 +26,20 @@ nocache_headers();
/** This action is documented in wp-admin/admin.php */
do_action( 'admin_init' );
$action = empty( $_REQUEST['action'] ) ? '' : $_REQUEST['action'];
$action = 'admin_post';
if ( ! wp_validate_auth_cookie() ) {
if ( empty( $action ) ) {
/**
* Fires on a non-authenticated admin post request where no action was supplied.
*
* @since 2.6.0
*/
do_action( 'admin_post_nopriv' );
} else {
/**
* Fires on a non-authenticated admin post request for the given action.
*
* The dynamic portion of the hook name, `$action`, refers to the given
* request action.
*
* @since 2.6.0
*/
do_action( "admin_post_nopriv_{$action}" );
}
} else {
if ( empty( $action ) ) {
/**
* Fires on an authenticated admin post request where no action was supplied.
*
* @since 2.6.0
*/
do_action( 'admin_post' );
} else {
/**
* Fires on an authenticated admin post request for the given action.
*
* The dynamic portion of the hook name, `$action`, refers to the given
* request action.
*
* @since 2.6.0
*/
do_action( "admin_post_{$action}" );
}
}
if ( !wp_validate_auth_cookie() )
$action .= '_nopriv';
if ( !empty($_REQUEST['action']) )
$action .= '_' . $_REQUEST['action'];
/**
* Fires the requested handler action.
*
* admin_post_nopriv_{$_REQUEST['action']} is called for not-logged-in users.
* admin_post_{$_REQUEST['action']} is called for logged-in users.
*
* @since 2.6.0
*/
do_action( $action );

View File

@@ -11,9 +11,8 @@
*
* @since 2.3.2
*/
if ( ! defined( 'WP_ADMIN' ) ) {
define( 'WP_ADMIN', true );
}
if ( ! defined('WP_ADMIN') )
define('WP_ADMIN', true);
if ( ! defined('WP_NETWORK_ADMIN') )
define('WP_NETWORK_ADMIN', false);
@@ -48,30 +47,32 @@ if ( get_option('db_upgraded') ) {
exit;
/**
* Filters whether to attempt to perform the multisite DB upgrade routine.
* Filter whether to attempt to perform the multisite DB upgrade routine.
*
* In single site, the user would be redirected to wp-admin/upgrade.php.
* In multisite, the DB upgrade routine is automatically fired, but only
* when this filter returns true.
* In multisite, it is automatically fired, but only when this filter
* returns true.
*
* If the network is 50 sites or less, it will run every time. Otherwise,
* it will throttle itself to reduce load.
*
* @since 3.0.0
*
* @param bool $do_mu_upgrade Whether to perform the Multisite upgrade routine. Default true.
* @param bool true Whether to perform the Multisite upgrade routine. Default true.
*/
} elseif ( apply_filters( 'do_mu_upgrade', true ) ) {
$c = get_blog_count();
/*
* If there are 50 or fewer sites, run every time. Otherwise, throttle to reduce load:
* attempt to do no more than threshold value, with some +/- allowed.
*/
// If 50 or fewer sites, run every time. Else, run "about ten percent" of the time. Shh, don't check that math.
if ( $c <= 50 || ( $c > 50 && mt_rand( 0, (int)( $c / 50 ) ) == 1 ) ) {
require_once( ABSPATH . WPINC . '/http.php' );
$response = wp_remote_get( admin_url( 'upgrade.php?step=1' ), array( 'timeout' => 120, 'httpversion' => '1.1' ) );
/** This action is documented in wp-admin/network/upgrade.php */
/**
* Fires after the multisite DB upgrade is complete.
*
* @since 3.0.0
*
* @param array|WP_Error $response The upgrade response array or WP_Error on failure.
*/
do_action( 'after_mu_upgrade', $response );
unset($response);
}
@@ -84,37 +85,16 @@ require_once(ABSPATH . 'wp-admin/includes/admin.php');
auth_redirect();
// Schedule trash collection
if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() )
if ( !wp_next_scheduled('wp_scheduled_delete') && !defined('WP_INSTALLING') )
wp_schedule_event(time(), 'daily', 'wp_scheduled_delete');
// Schedule Transient cleanup.
if ( ! wp_next_scheduled( 'delete_expired_transients' ) && ! wp_installing() ) {
wp_schedule_event( time(), 'daily', 'delete_expired_transients' );
}
set_screen_options();
$date_format = __( 'F j, Y' );
$time_format = __( 'g:i a' );
$date_format = get_option('date_format');
$time_format = get_option('time_format');
wp_enqueue_script( 'common' );
/**
* $pagenow is set in vars.php
* $wp_importers is sometimes set in wp-admin/includes/import.php
* The remaining variables are imported as globals elsewhere, declared as globals here
*
* @global string $pagenow
* @global array $wp_importers
* @global string $hook_suffix
* @global string $plugin_page
* @global string $typenow
* @global string $taxnow
*/
global $pagenow, $wp_importers, $hook_suffix, $plugin_page, $typenow, $taxnow;
$page_hook = null;
$editing = false;
if ( isset($_GET['page']) ) {
@@ -140,7 +120,21 @@ else
require(ABSPATH . 'wp-admin/menu.php');
if ( current_user_can( 'manage_options' ) ) {
wp_raise_memory_limit( 'admin' );
/**
* Filter the maximum memory limit available for administration screens.
*
* This only applies to administrators, who may require more memory for tasks like updates.
* Memory limits when processing images (uploaded or edited by users of any role) are
* handled separately.
*
* The WP_MAX_MEMORY_LIMIT constant specifically defines the maximum memory limit available
* when in the administration back-end. The default is 256M, or 256 megabytes of memory.
*
* @since 3.0.0
*
* @param string 'WP_MAX_MEMORY_LIMIT' The maximum WordPress memory limit. Default 256M.
*/
@ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', WP_MAX_MEMORY_LIMIT ) );
}
/**
@@ -149,7 +143,7 @@ if ( current_user_can( 'manage_options' ) ) {
* Note, this does not just run on user-facing admin screens.
* It runs on admin-ajax.php and admin-post.php as well.
*
* This is roughly analogous to the more general {@see 'init'} hook, which fires earlier.
* This is roughly analgous to the more general 'init' hook, which fires earlier.
*
* @since 2.5.0
*/
@@ -162,8 +156,7 @@ if ( isset($plugin_page) ) {
$the_parent = $pagenow;
if ( ! $page_hook = get_plugin_page_hook($plugin_page, $the_parent) ) {
$page_hook = get_plugin_page_hook($plugin_page, $plugin_page);
// Back-compat for plugins using add_management_page().
// backwards compatibility for plugins using add_management_page
if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook($plugin_page, 'tools.php') ) {
// There could be plugin specific params on the URL, so we need the whole query string
if ( !empty($_SERVER[ 'QUERY_STRING' ]) )
@@ -178,13 +171,12 @@ if ( isset($plugin_page) ) {
}
$hook_suffix = '';
if ( isset( $page_hook ) ) {
if ( isset($page_hook) )
$hook_suffix = $page_hook;
} elseif ( isset( $plugin_page ) ) {
else if ( isset($plugin_page) )
$hook_suffix = $plugin_page;
} elseif ( isset( $pagenow ) ) {
else if ( isset($pagenow) )
$hook_suffix = $pagenow;
}
set_current_screen();
@@ -197,35 +189,35 @@ if ( isset($plugin_page) ) {
* The load-* hook fires in a number of contexts. This hook is for plugin screens
* where a callback is provided when the screen is registered.
*
* The dynamic portion of the hook name, `$page_hook`, refers to a mixture of plugin
* The dynamic portion of the hook name, $page_hook, refers to a mixture of plugin
* page information including:
* 1. The page type. If the plugin page is registered as a submenu page, such as for
* Settings, the page type would be 'settings'. Otherwise the type is 'toplevel'.
* 2. A separator of '_page_'.
* 3. The plugin basename minus the file extension.
*
* Together, the three parts form the `$page_hook`. Citing the example above,
* Together, the three parts form the $page_hook. Citing the example above,
* the hook name used would be 'load-settings_page_pluginbasename'.
*
* @see get_plugin_page_hook()
*
* @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');
/**
* Used to call the registered callback for a plugin screen.
*
* @ignore
* @access private
*
* @since 1.5.0
*/
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)));
@@ -236,13 +228,13 @@ if ( isset($plugin_page) ) {
* The load-* hook fires in a number of contexts. This hook is for plugin screens
* where the file to load is directly included, rather than the use of a function.
*
* The dynamic portion of the hook name, `$plugin_page`, refers to the plugin basename.
* The dynamic portion of the hook name, $plugin_page, refers to the plugin basename.
*
* @see plugin_basename()
*
* @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');
@@ -256,13 +248,12 @@ if ( isset($plugin_page) ) {
include(ABSPATH . 'wp-admin/admin-footer.php');
exit();
} elseif ( isset( $_GET['import'] ) ) {
} else if (isset($_GET['import'])) {
$importer = $_GET['import'];
if ( ! current_user_can( 'import' ) ) {
wp_die( __( 'Sorry, you are not allowed to import content.' ) );
}
if ( ! current_user_can('import') )
wp_die(__('You are not allowed to import.'));
if ( validate_file($importer) ) {
wp_redirect( admin_url( 'import.php?invalid=' . $importer ) );
@@ -277,11 +268,11 @@ if ( isset($plugin_page) ) {
/**
* Fires before an importer screen is loaded.
*
* The dynamic portion of the hook name, `$importer`, refers to the importer slug.
* The dynamic portion of the hook name, $importer, refers to the importer slug.
*
* @since 3.5.0
*/
do_action( "load-importer-{$importer}" );
do_action( 'load-importer-' . $importer );
$parent_file = 'tools.php';
$submenu_file = 'import.php';
@@ -302,11 +293,10 @@ if ( isset($plugin_page) ) {
*
* @since 3.1.0
*
* @param bool $force Whether to force data to be filtered through kses. Default false.
* @param bool false Whether to force data to be filtered through kses. Default false.
*/
if ( apply_filters( 'force_filtered_html_on_import', false ) ) {
if ( apply_filters( 'force_filtered_html_on_import', false ) )
kses_init_filters(); // Always filter imported data with kses on multisite.
}
call_user_func($wp_importers[$importer][2]);
@@ -322,19 +312,15 @@ if ( isset($plugin_page) ) {
*
* The load-* hook fires in a number of contexts. This hook is for core screens.
*
* The dynamic portion of the hook name, `$pagenow`, is a global variable
* The dynamic portion of the hook name, $pagenow, is a global variable
* referring to the filename of the current page, such as 'admin.php',
* 'post-new.php' etc. A complete hook for the latter would be
* 'load-post-new.php'.
* 'post-new.php' etc. A complete hook for the latter would be 'load-post-new.php'.
*
* @since 2.1.0
*/
do_action( "load-{$pagenow}" );
/*
* The following hooks are fired to ensure backward compatibility.
* In all other cases, 'load-' . $pagenow should be used instead.
*/
do_action( 'load-' . $pagenow );
// Backwards compatibility with old load-page-new.php, load-page.php,
// and load-categories.php actions.
if ( $typenow == 'page' ) {
if ( $pagenow == 'post-new.php' )
do_action( 'load-page-new.php' );
@@ -345,8 +331,6 @@ if ( isset($plugin_page) ) {
do_action( 'load-categories.php' );
elseif ( $taxnow == 'link_category' )
do_action( 'load-edit-link-categories.php' );
} elseif( 'term.php' === $pagenow ) {
do_action( 'load-edit-tags.php' );
}
}
@@ -354,8 +338,8 @@ if ( ! empty( $_REQUEST['action'] ) ) {
/**
* Fires when an 'action' request variable is sent.
*
* The dynamic portion of the hook name, `$_REQUEST['action']`,
* refers to the action derived from the `GET` or `POST` request.
* The dynamic portion of the hook name, $_REQUEST['action'],
* refers to the action derived from the GET or POST request.
*
* @since 2.6.0
*/

View File

@@ -1,31 +1,39 @@
<?php
/**
* Server-side file upload handler from wp-plupload or other asynchronous upload methods.
* Accepts file uploads from swfupload or other asynchronous upload methods.
*
* @package WordPress
* @subpackage Administration
*/
if ( isset( $_REQUEST['action'] ) && 'upload-attachment' === $_REQUEST['action'] ) {
define( 'DOING_AJAX', true );
}
define('WP_ADMIN', true);
if ( ! defined( 'WP_ADMIN' ) ) {
define( 'WP_ADMIN', true );
}
if ( defined( 'ABSPATH' ) ) {
require_once( ABSPATH . 'wp-load.php' );
} else {
if ( defined('ABSPATH') )
require_once(ABSPATH . 'wp-load.php');
else
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
if ( ! ( isset( $_REQUEST['action'] ) && 'upload-attachment' == $_REQUEST['action'] ) ) {
// Flash often fails to send cookies with the POST or upload, so we need to pass it in GET or POST instead
if ( is_ssl() && empty($_COOKIE[SECURE_AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) )
$_COOKIE[SECURE_AUTH_COOKIE] = $_REQUEST['auth_cookie'];
elseif ( empty($_COOKIE[AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) )
$_COOKIE[AUTH_COOKIE] = $_REQUEST['auth_cookie'];
if ( empty($_COOKIE[LOGGED_IN_COOKIE]) && !empty($_REQUEST['logged_in_cookie']) )
$_COOKIE[LOGGED_IN_COOKIE] = $_REQUEST['logged_in_cookie'];
unset($current_user);
}
require_once( ABSPATH . 'wp-admin/admin.php' );
header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
if ( !current_user_can('upload_files') )
wp_die(__('You do not have permission to upload files.'));
header('Content-Type: text/html; charset=' . get_option('blog_charset'));
if ( isset( $_REQUEST['action'] ) && 'upload-attachment' === $_REQUEST['action'] ) {
include( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
define( 'DOING_AJAX', true );
include ABSPATH . 'wp-admin/includes/ajax-actions.php';
send_nosniff_header();
nocache_headers();
@@ -34,27 +42,20 @@ if ( isset( $_REQUEST['action'] ) && 'upload-attachment' === $_REQUEST['action']
die( '0' );
}
if ( ! current_user_can( 'upload_files' ) ) {
wp_die( __( 'Sorry, you are not allowed to upload files.' ) );
}
// just fetch the detail form for that attachment
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.' ) );
wp_die( __( 'You are not allowed to edit this item.' ) );
switch ( $_REQUEST['fetch'] ) {
case 3 :
if ( $thumb_url = wp_get_attachment_image_src( $id, 'thumbnail', true ) )
echo '<img class="pinkynail" src="' . esc_url( $thumb_url[0] ) . '" alt="" />';
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" target="_blank">' . _x( 'Edit', 'media item' ) . '</a>';
// Title shouldn't ever be empty, but use filename just in case.
$file = get_attached_file( $post->ID );
$title = $post->post_title ? $post->post_title : wp_basename( $file );
$title = $post->post_title ? $post->post_title : wp_basename( $post->guid ); // title shouldn't ever be empty, but use filename just in cas.e
echo '<div class="filename new"><span class="title">' . esc_html( wp_html_excerpt( $title, 60, '&hellip;' ) ) . '</span></div>';
break;
case 2 :
@@ -80,25 +81,25 @@ if ( isset( $_REQUEST['post_id'] ) ) {
$id = media_handle_upload( 'async-upload', $post_id );
if ( is_wp_error($id) ) {
echo '<div class="error-div error">
echo '<div class="error-div">
<a class="dismiss" href="#" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">' . __('Dismiss') . '</a>
<strong>' . sprintf(__('&#8220;%s&#8221; has failed to upload.'), esc_html($_FILES['async-upload']['name']) ) . '</strong><br />' .
<strong>' . sprintf(__('&#8220;%s&#8221; has failed to upload due to an error'), esc_html($_FILES['async-upload']['name']) ) . '</strong><br />' .
esc_html($id->get_error_message()) . '</div>';
exit;
}
if ( $_REQUEST['short'] ) {
// Short form response - attachment ID only.
// short form response - attachment ID only
echo $id;
} else {
// Long form response - big chunk o html.
// long form response - big chunk o html
$type = $_REQUEST['type'];
/**
* Filters the returned ID of an uploaded attachment.
* Filter the returned ID of an uploaded attachment.
*
* The dynamic portion of the hook name, `$type`, refers to the attachment type,
* such as 'image', 'audio', 'video', 'file', etc.
* The dynamic portion of the hook name, $type, refers to the attachment type,
* such as 'iamge', 'audio', 'video', 'file', etc.
*
* @since 2.5.0
*

View File

@@ -12,10 +12,6 @@ require_once( dirname( __FILE__ ) . '/admin.php' );
$parent_file = 'edit-comments.php';
$submenu_file = 'edit-comments.php';
/**
* @global string $action
*/
global $action;
wp_reset_vars( array('action') );
if ( isset( $_POST['deletecomment'] ) )
@@ -33,6 +29,17 @@ if ( isset( $_GET['dt'] ) ) {
$action = 'trash';
}
/**
* Display error message at bottom of comments.
*
* @param string $msg Error Message. Assumed to contain HTML and be sanitized.
*/
function comment_footer_die( $msg ) {
echo "<div class='wrap'><p>$msg</p></div>";
include( ABSPATH . 'wp-admin/admin-footer.php' );
die;
}
switch( $action ) {
case 'editcomment' :
@@ -48,8 +55,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="http://codex.wordpress.org/Administration_Screens#Comments" target="_blank">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
);
wp_enqueue_script('comment');
@@ -58,10 +65,10 @@ case 'editcomment' :
$comment_id = absint( $_GET['c'] );
if ( !$comment = get_comment( $comment_id ) )
comment_footer_die( __( 'Invalid comment ID.' ) . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'javascript:history.go(-1)') );
comment_footer_die( __('Oops, no comment with this ID.') . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'javascript:history.go(-1)') );
if ( !current_user_can( 'edit_comment', $comment_id ) )
comment_footer_die( __('Sorry, you are not allowed to edit this comment.') );
comment_footer_die( __('You are not allowed to edit this comment.') );
if ( 'trash' == $comment->comment_approved )
comment_footer_die( __('This comment is in the Trash. Please move it out of the Trash if you want to edit it.') );
@@ -81,7 +88,7 @@ case 'spam' :
$comment_id = absint( $_GET['c'] );
if ( ! $comment = get_comment( $comment_id ) ) {
if ( !$comment = get_comment_to_edit( $comment_id ) ) {
wp_redirect( admin_url('edit-comments.php?error=1') );
die();
}
@@ -104,19 +111,21 @@ case 'spam' :
$nonce_action .= $comment_id;
?>
<div class="wrap">
<div class='wrap'>
<h1><?php echo esc_html( $title ); ?></h1>
<div class="narrow">
<h2><?php echo esc_html( $title ); ?></h2>
<?php
switch ( $action ) {
case 'spam' :
$caution_msg = __('You are about to mark the following comment as spam:');
$button = _x( 'Mark as Spam', 'comment' );
$button = __('Spam Comment');
break;
case 'trash' :
$caution_msg = __('You are about to move the following comment to the Trash:');
$button = __('Move to Trash');
$button = __('Trash Comment');
break;
case 'delete' :
$caution_msg = __('You are about to delete the following comment:');
@@ -141,96 +150,53 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
$message = __('This comment is currently in the Trash.');
break;
}
if ( $message ) {
echo '<div id="message" class="notice notice-info"><p>' . $message . '</p></div>';
}
if ( $message )
echo '<div class="updated"><p>' . $message . '</p></div>';
}
?>
<div id="message" class="notice notice-warning"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo $caution_msg; ?></p></div>
<p><strong><?php _e('Caution:'); ?></strong> <?php echo $caution_msg; ?></p>
<table class="form-table comment-ays">
<tr>
<tr class="alt">
<th scope="row"><?php _e('Author'); ?></th>
<td><?php comment_author( $comment ); ?></td>
<td><?php echo $comment->comment_author; ?></td>
</tr>
<?php if ( get_comment_author_email( $comment ) ) { ?>
<?php if ( $comment->comment_author_email ) { ?>
<tr>
<th scope="row"><?php _e('Email'); ?></th>
<td><?php comment_author_email( $comment ); ?></td>
<th scope="row"><?php _e('E-mail'); ?></th>
<td><?php echo $comment->comment_author_email; ?></td>
</tr>
<?php } ?>
<?php if ( get_comment_author_url( $comment ) ) { ?>
<?php if ( $comment->comment_author_url ) { ?>
<tr>
<th scope="row"><?php _e('URL'); ?></th>
<td><a href="<?php comment_author_url( $comment ); ?>"><?php comment_author_url( $comment ); ?></a></td>
<td><a href="<?php echo $comment->comment_author_url; ?>"><?php echo $comment->comment_author_url; ?></a></td>
</tr>
<?php } ?>
<tr>
<th scope="row"><?php /* translators: column name or table row header */ _e( 'In Response To' ); ?></th>
<td>
<?php
$post_id = $comment->comment_post_ID;
if ( current_user_can( 'edit_post', $post_id ) ) {
$post_link = "<a href='" . esc_url( get_edit_post_link( $post_id ) ) . "'>";
$post_link .= esc_html( get_the_title( $post_id ) ) . '</a>';
} else {
$post_link = esc_html( get_the_title( $post_id ) );
}
echo $post_link;
if ( $comment->comment_parent ) {
$parent = get_comment( $comment->comment_parent );
$parent_link = esc_url( get_comment_link( $parent ) );
$name = get_comment_author( $parent );
printf(
/* translators: %s: comment link */
' | ' . __( 'In reply to %s.' ),
'<a href="' . $parent_link . '">' . $name . '</a>'
);
}
?>
</td>
</tr>
<tr>
<th scope="row"><?php _e( 'Submitted on' ); ?></th>
<td>
<?php
/* translators: 1: comment date, 2: comment time */
$submitted = sprintf( __( '%1$s at %2$s' ),
/* translators: comment date format. See https://secure.php.net/date */
get_comment_date( __( 'Y/m/d' ), $comment ),
get_comment_date( __( 'g:i a' ), $comment )
);
if ( 'approved' === wp_get_comment_status( $comment ) && ! empty ( $comment->comment_post_ID ) ) {
echo '<a href="' . esc_url( get_comment_link( $comment ) ) . '">' . $submitted . '</a>';
} else {
echo $submitted;
}
?>
</td>
</tr>
<tr>
<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>
</td>
<th scope="row" valign="top"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>
<td><?php echo $comment->comment_content; ?></td>
</tr>
</table>
<form action="comment.php" method="get" class="comment-ays-submit">
<p><?php _e('Are you sure you want to do this?'); ?></p>
<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>
</p>
<form action='comment.php' method='get'>
<table width="100%">
<tr>
<td><a class="button" href="<?php echo admin_url('edit-comments.php'); ?>"><?php esc_attr_e('No'); ?></a></td>
<td class="textright"><?php submit_button( $button, 'button' ); ?></td>
</tr>
</table>
<?php wp_nonce_field( $nonce_action ); ?>
<input type="hidden" name="action" value="<?php echo esc_attr($formaction); ?>" />
<input type="hidden" name="c" value="<?php echo esc_attr($comment->comment_ID); ?>" />
<input type="hidden" name="noredir" value="1" />
<input type='hidden' name='action' value='<?php echo esc_attr($formaction); ?>' />
<input type='hidden' name='c' value='<?php echo esc_attr($comment->comment_ID); ?>' />
<input type='hidden' name='noredir' value='1' />
</form>
</div>
</div>
<?php
break;
@@ -252,9 +218,9 @@ case 'unapprovecomment' :
$noredir = isset($_REQUEST['noredir']);
if ( !$comment = get_comment($comment_id) )
comment_footer_die( __( 'Invalid comment ID.' ) . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'edit-comments.php') );
comment_footer_die( __('Oops, no comment with this ID.') . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'edit-comments.php') );
if ( !current_user_can( 'edit_comment', $comment->comment_ID ) )
comment_footer_die( __('Sorry, you are not allowed to edit comments on this post.') );
comment_footer_die( __('You are not allowed to edit comments on this post.') );
if ( '' != wp_get_referer() && ! $noredir && false === strpos(wp_get_referer(), 'comment.php') )
$redir = wp_get_referer();
@@ -269,37 +235,38 @@ case 'unapprovecomment' :
switch ( $action ) {
case 'deletecomment' :
wp_delete_comment( $comment );
wp_delete_comment( $comment_id );
$redir = add_query_arg( array('deleted' => '1'), $redir );
break;
case 'trashcomment' :
wp_trash_comment( $comment );
wp_trash_comment($comment_id);
$redir = add_query_arg( array('trashed' => '1', 'ids' => $comment_id), $redir );
break;
case 'untrashcomment' :
wp_untrash_comment( $comment );
wp_untrash_comment($comment_id);
$redir = add_query_arg( array('untrashed' => '1'), $redir );
break;
case 'spamcomment' :
wp_spam_comment( $comment );
wp_spam_comment($comment_id);
$redir = add_query_arg( array('spammed' => '1', 'ids' => $comment_id), $redir );
break;
case 'unspamcomment' :
wp_unspam_comment( $comment );
wp_unspam_comment($comment_id);
$redir = add_query_arg( array('unspammed' => '1'), $redir );
break;
case 'approvecomment' :
wp_set_comment_status( $comment, 'approve' );
wp_set_comment_status( $comment_id, 'approve' );
$redir = add_query_arg( array( 'approved' => 1 ), $redir );
break;
case 'unapprovecomment' :
wp_set_comment_status( $comment, 'hold' );
wp_set_comment_status( $comment_id, 'hold' );
$redir = add_query_arg( array( 'unapproved' => 1 ), $redir );
break;
}
wp_redirect( $redir );
die;
break;
case 'editedcomment' :
@@ -313,7 +280,7 @@ case 'editedcomment' :
$location = ( empty( $_POST['referredby'] ) ? "edit-comments.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id;
/**
* Filters the URI the user is redirected to after editing a comment in the admin.
* Filter the URI the user is redirected to after editing a comment in the admin.
*
* @since 2.1.0
*
@@ -324,9 +291,11 @@ case 'editedcomment' :
wp_redirect( $location );
exit();
break;
default:
wp_die( __('Unknown action.') );
break;
} // end switch

View File

@@ -8,50 +8,110 @@
/** WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
require_once( dirname( __FILE__ ) . '/includes/credits.php' );
$title = __( 'Credits' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
/**
* Retrieve the contributor credits.
*
* @global string $wp_version The current WordPress version.
*
* @since 3.2.0
*
* @return array|bool A list of all of the contributors, or false on error.
*/
function wp_credits() {
global $wp_version;
$locale = get_locale();
$results = get_site_transient( 'wordpress_credits_' . $locale );
if ( ! is_array( $results )
|| ( isset( $results['data']['version'] ) && strpos( $wp_version, $results['data']['version'] ) !== 0 )
) {
$response = wp_remote_get( "http://api.wordpress.org/core/credits/1.1/?version=$wp_version&locale=$locale" );
if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) )
return false;
$results = json_decode( wp_remote_retrieve_body( $response ), true );
if ( ! is_array( $results ) )
return false;
set_site_transient( 'wordpress_credits_' . $locale, $results, DAY_IN_SECONDS );
}
return $results;
}
/**
* Retrieve the link to a contributor's WordPress.org profile page.
*
* @access private
* @since 3.2.0
*
* @param string &$display_name The contributor's display name, passed by reference.
* @param string $username The contributor's username.
* @param string $profiles URL to the contributor's WordPress.org profile page.
* @return string A contributor's display name, hyperlinked to a WordPress.org profile page.
*/
function _wp_credits_add_profile_link( &$display_name, $username, $profiles ) {
$display_name = '<a href="' . esc_url( sprintf( $profiles, $username ) ) . '">' . esc_html( $display_name ) . '</a>';
}
/**
* Retrieve the link to an external library used in WordPress.
*
* @access private
* @since 3.2.0
*
* @param string &$data External library data, passed by reference.
* @return string Link to the external library.
*/
function _wp_credits_build_object_link( &$data ) {
$data = '<a href="' . esc_url( $data[1] ) . '">' . $data[0] . '</a>';
}
list( $display_version ) = explode( '-', $wp_version );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div class="wrap about-wrap full-width-layout">
<div class="wrap about-wrap">
<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 will smooth your design workflow and keep you safe from coding errors.' ), $display_version ); ?></p>
<div class="about-text"><?php printf( __( 'Thank you for updating to WordPress %s, the most beautiful WordPress&nbsp;yet.' ), $display_version ); ?></div>
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
<h2 class="nav-tab-wrapper wp-clearfix">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab nav-tab-active"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
<h2 class="nav-tab-wrapper">
<a href="about.php" class="nav-tab">
<?php _e( 'What&#8217;s New' ); ?>
</a><a href="credits.php" class="nav-tab nav-tab-active">
<?php _e( 'Credits' ); ?>
</a><a href="freedoms.php" class="nav-tab">
<?php _e( 'Freedoms' ); ?>
</a>
</h2>
<div class="about-wrap-content">
<?php
$credits = wp_credits();
if ( ! $credits ) {
echo '<p class="about-description">';
/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
printf( __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
'https://wordpress.org/about/',
__( 'https://make.wordpress.org/' )
);
echo '</p>';
echo '</div>';
echo '</div>';
echo '<p class="about-description">' . sprintf( __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
'http://wordpress.org/about/',
/* translators: Url to the codex documentation on contributing to WordPress used on the credits page */
__( 'http://codex.wordpress.org/Contributing_to_WordPress' ) ) . '</p>';
include( ABSPATH . 'wp-admin/admin-footer.php' );
exit;
}
echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "</p>\n";
$gravatar = is_ssl() ? 'https://secure.gravatar.com/avatar/' : 'http://0.gravatar.com/avatar/';
foreach ( $credits['groups'] as $group_slug => $group_data ) {
if ( $group_data['name'] ) {
if ( 'Translators' == $group_data['name'] ) {
@@ -63,7 +123,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) {
$title = translate( $group_data['name'] );
}
echo '<h3 class="wp-people-group">' . esc_html( $title ) . "</h3>\n";
echo '<h4 class="wp-people-group">' . $title . "</h4>\n";
}
if ( ! empty( $group_data['shuffle'] ) )
@@ -83,14 +143,11 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) {
$classes = 'wp-people-group ' . ( $compact ? 'compact' : '' );
echo '<ul class="' . $classes . '" id="wp-people-group-' . $group_slug . '">' . "\n";
foreach ( $group_data['data'] as $person_data ) {
echo '<li class="wp-person" id="wp-person-' . esc_attr( $person_data[2] ) . '">' . "\n\t";
echo '<a href="' . esc_url( sprintf( $credits['data']['profiles'], $person_data[2] ) ) . '" class="web">';
$size = 'compact' == $group_data['type'] ? 30 : 60;
$data = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size ) );
$size *= 2;
$data2x = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size ) );
echo '<img src="' . esc_url( $data['url'] ) . '" srcset="' . esc_url( $data2x['url'] ) . ' 2x" class="gravatar" alt="" />' . "\n";
echo esc_html( $person_data[0] ) . "</a>\n\t";
echo '<li class="wp-person" id="wp-person-' . $person_data[2] . '">' . "\n\t";
echo '<a href="' . sprintf( $credits['data']['profiles'], $person_data[2] ) . '">';
$size = 'compact' == $group_data['type'] ? '30' : '60';
echo '<img src="' . $gravatar . $person_data[1] . '?s=' . $size . '" class="gravatar" alt="' . esc_attr( $person_data[0] ) . '" /></a>' . "\n\t";
echo '<a class="web" href="' . sprintf( $credits['data']['profiles'], $person_data[2] ) . '">' . $person_data[0] . "</a>\n\t";
if ( ! $compact )
echo '<span class="title">' . translate( $person_data[3] ) . "</span>\n";
echo "</li>\n";
@@ -101,14 +158,10 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) {
}
?>
<p class="clear"><?php
/* translators: %s: https://make.wordpress.org/ */
printf( __( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
);
?></p>
<p class="clear"><?php printf( __( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
/* translators: URL to the Make WordPress 'Get Involved' landing page used on the credits page */
__( 'http://make.wordpress.org/' ) ); ?></p>
</div>
</div>
<?php
@@ -118,12 +171,20 @@ return;
// These are strings returned by the API that we want to be translatable
__( 'Project Leaders' );
__( 'Extended Core Team' );
__( 'Core Developers' );
__( 'Recent Rockstars' );
__( 'Core Contributors to WordPress %s' );
__( 'Noteworthy Contributors' );
__( 'Contributing Developers' );
__( 'Cofounder, Project Lead' );
__( 'Lead Developer' );
__( 'Release Lead' );
__( 'Release Design Lead' );
__( 'Release Deputy' );
__( 'User Experience Lead' );
__( 'Core Developer' );
__( 'Core Committer' );
__( 'Guest Committer' );
__( 'Developer' );
__( 'Designer' );
__( 'XML-RPC' );
__( 'Internationalization' );
__( 'External Libraries' );
__( 'Icon Design' );

View File

@@ -1,643 +0,0 @@
/*------------------------------------------------------------------------------
22.0 - About Pages
1.0 Global: About, Credits, Freedoms
1.1 Typography
1.2 Structure
1.3 Point Releases
2.0 About Page
2.1 Typography
2.2 Structure
2.3 Floating Header Layout
3.0 Credits & Freedoms Pages
------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
1.0 - Global: About, Credits, Freedoms
------------------------------------------------------------------------------*/
.about-wrap {
position: relative;
margin: 25px 20px 0 40px;
max-width: 1050px; /* readability */
font-size: 15px;
}
.about-wrap.full-width-layout {
max-width: 1200px;
}
.about-wrap-content {
max-width: 1050px;
}
.about-wrap div.updated,
.about-wrap div.error,
.about-wrap .notice {
display: none !important;
}
.about-wrap hr {
border: 0;
height: 0;
margin: 0;
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.about-wrap img {
margin: 0;
max-width: 100%;
height: auto;
vertical-align: middle;
}
.about-wrap .jetpack-video-wrapper {
margin-bottom: 0;
}
/* WordPress Version Badge */
.wp-badge {
background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;
background-position: center 25px;
background-size: 80px 80px;
color: #fff;
font-size: 14px;
text-align: center;
font-weight: 600;
margin: 5px 0 0;
padding-top: 120px;
height: 40px;
display: inline-block;
width: 140px;
text-rendering: optimizeLegibility;
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.svg .wp-badge {
background-image: url(../images/wordpress-logo-white.svg?ver=20160308);
}
.about-wrap .wp-badge {
position: absolute;
top: 0;
left: 0;
}
/* Tabs */
.about-wrap .nav-tab {
padding-left: 15px;
padding-right: 15px;
font-size: 18px;
}
/* 1.1 - Typography */
.about-wrap p {
line-height: 1.5;
font-size: 14px;
}
.about-wrap .feature-section p {
max-width: 55em;
margin-right: auto;
margin-left: auto;
}
.about-wrap h1 {
margin: 0.2em 0 0 200px;
padding: 0;
color: #32373c;
line-height: 1.2em;
font-size: 2.8em;
font-weight: 400;
}
.about-wrap h2 {
margin: 40px 0 .6em;
font-size: 2.7em;
line-height: 1.3;
font-weight: 300;
text-align: center;
}
.about-wrap h3 {
margin: 1.25em 0 .6em;
font-size: 1.4em;
line-height: 1.5;
}
.about-wrap h4 {
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;
line-height: inherit;
color: #23282d;
}
.about-wrap code,
.about-wrap ol li p {
font-size: 14px;
font-weight: 400;
}
.about-wrap .about-description,
.about-wrap .about-text {
margin-top: 1.4em;
font-weight: 400;
line-height: 1.6em;
font-size: 19px;
}
.about-wrap .about-text {
margin: 1em 0 1em 200px;
min-height: 60px;
color: #555d66;
}
/* 1.2 - Structure */
.about-wrap [class$="-col"] {
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
flex-wrap: wrap;
}
.about-wrap .feature-section.one-col {
margin: 0 auto;
max-width: 700px;
}
.about-wrap .inline-svg img {
max-width: 100%;
width: 100%;
height: auto;
}
.about-wrap .inline-svg.full-width {
margin-bottom: 120px;
}
.about-wrap [class$="-col"] .col {
-webkit-box-flex: 1;
flex: 1;
}
.about-wrap .two-col .col {
min-width: 47%;
max-width: 47%;
}
.about-wrap .three-col .col {
-webkit-align-self: flex-start;
align-self: flex-start;
min-width: 31%;
max-width: 31%;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
.about-wrap .feature-video .mejs-controls {
display: none !important;
}
.about-wrap .feature-video .mejs-overlay-loading span {
background: transparent; /* Hide loading.gif */
}
/* 1.3 - Point Releases */
.about-wrap .point-releases {
margin-top: 5px;
border-bottom: 1px solid #ddd;
}
.about-wrap .changelog.point-releases h3 {
padding-top: 35px;
}
.about-wrap .changelog.point-releases h3:first-child {
padding-top: 7px;
}
/*------------------------------------------------------------------------------
2.0 - About Page
------------------------------------------------------------------------------*/
/* 2.1 - Typography */
.about-wrap .feature-section.two-col h3 {
margin-top: 0;
}
.about-wrap .feature-section h4 {
margin: 1.4em 0 0.6em 0;
font-size: 1em;
}
.about-wrap .feature-section p {
margin-top: 0.6em;
}
.about-wrap .lead-description {
font-size: 1.5em;
text-align: center;
}
.about-wrap .two-col-text {
-webkit-column-count: 2;
column-count: 2;
-webkit-column-gap: 40px;
column-gap: 40px;
}
.about-wrap .two-col-text p:first-of-type {
margin-top: 0;
}
.about-wrap .streamlined-updates p,
.about-wrap .native-fonts p {
margin-bottom: 3em;
}
/* 2.2 - Structure */
.about-wrap .headline-feature.feature-video {
position: relative;
margin: 40px 0;
padding-bottom: 56.25%;
width: 100%;
max-width: 100%;
height: 0;
text-align: center;
}
.about-wrap .feature-video embed {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
}
.about-wrap .featured-image {
text-align: center;
}
.about-wrap .feature-section {
overflow: hidden;
padding: 0 0 40px;
}
.about-wrap .feature-section.no-heading {
padding-top: 35px;
}
.about-wrap .feature-section .media-container {
overflow: hidden;
}
.about-wrap .feature-section img {
margin-bottom: 1em;
}
.about-wrap .embed-container {
text-align: center;
}
.about-wrap .embed-container iframe {
max-width: 100%;
}
.about-wrap .wp-embedded-content {
max-width: 100%;
}
.about-wrap .feature-section .col {
margin-top: 40px;
}
.about-wrap .changelog {
margin-bottom: 40px;
}
.about-wrap .changelog.feature-section .col {
margin-top: 40px;
}
/* Return to Dashboard Home link */
.about-wrap .return-to-dashboard {
margin: 30px -5px 0 0;
font-size: 14px;
font-weight: 600;
}
.about-wrap .return-to-dashboard a {
text-decoration: none;
padding: 0 5px;
}
/* 2.3 Floating Header Layout */
.about-wrap .floating-header-section {
display: -ms-grid;
display: grid;
grid-gap: 0 60px;
-ms-grid-columns: 5fr 11fr;
grid-template-columns: 5fr 11fr;
max-width: 1020px;
margin: 0 auto 120px;
}
.about-wrap .floating-header-section .section-header {
-ms-grid-column: 1;
grid-column: 1;
position: relative;
min-width: 230px;
max-width: 300px;
}
.about-wrap .floating-header-section h2 {
margin: 0;
text-align: right;
position: absolute;
}
.about-wrap .floating-header-section .section-content {
-ms-grid-column: 2;
grid-column: 2;
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
-webkit-box-align: start;
align-items: flex-start;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
flex-flow: row wrap;
-webkit-box-flex: 2;
flex-grow: 2;
flex-shrink: 0;
}
.about-wrap .floating-header-section .section-item {
-webkit-box-flex: 1;
flex-grow: 1;
max-width: calc(50% - 30px);
}
.about-wrap .floating-header-section .section-item:nth-child(1),
.about-wrap .floating-header-section .section-item:nth-child(2) {
margin-bottom: 60px;
}
.about-wrap .floating-header-section .section-item:nth-child(1):nth-last-child(2),
.about-wrap .floating-header-section .section-item:nth-child(2):nth-last-child(1) {
margin-bottom: 0;
}
.about-wrap .floating-header-section.has-long-title {
display: block;
}
.about-wrap .floating-header-section.has-long-title .section-header {
max-width: 100%;
}
.about-wrap .floating-header-section.has-long-title h2 {
position: static;
margin-bottom: 60px;
}
.about-wrap .floating-header-section.has-long-title .section-content {
-webkit-box-pack: start;
justify-content: flex-start;
}
.about-wrap .floating-header-section.has-long-title .section-item {
max-width: 300px;
margin-bottom: 0;
}
.about-wrap .floating-header-section.has-long-title .section-item + .section-item {
margin-right: 60px;
}
/*------------------------------------------------------------------------------
3.0 - Credits & Freedoms Pages
------------------------------------------------------------------------------*/
/* Credits */
.about-wrap h3.wp-people-group {
margin: 2.6em 0 1.33em;
padding: 0;
font-size: 16px;
line-height: inherit;
}
.about-wrap .wp-people-group {
padding: 0 5px;
margin: 0 -5px 0 -15px;
}
.about-wrap .compact {
margin-bottom: 0;
}
.about-wrap .wp-person {
display: inline-block;
vertical-align: top;
margin-left: 10px;
padding-bottom: 15px;
height: 70px;
width: 280px;
}
.about-wrap .compact .wp-person {
height: auto;
width: 180px;
padding-bottom: 0;
margin-bottom: 0;
}
.about-wrap .wp-person .gravatar {
float: right;
margin: 0 0 10px 10px;
padding: 1px;
width: 60px;
height: 60px;
}
.about-wrap .compact .wp-person .gravatar {
width: 30px;
height: 30px;
}
.about-wrap .wp-person .web {
margin: 6px 0 2px;
font-size: 16px;
font-weight: 400;
line-height: 2em;
text-decoration: none;
}
.about-wrap .wp-person .title {
display: block;
}
.about-wrap #wp-people-group-validators + p.wp-credits-list {
margin-top: 0;
}
.about-wrap p.wp-credits-list a {
white-space: nowrap;
}
/* Freedoms */
.freedoms-php .about-wrap ol {
margin: 40px 60px;
}
.freedoms-php .about-wrap ol li {
list-style-type: decimal;
font-weight: 600;
}
.freedoms-php .about-wrap ol p {
font-weight: 400;
margin: 0.6em 0;
}
/*------------------------------------------------------------------------------
4.0 - Media Queries
------------------------------------------------------------------------------*/
@media screen and (max-width: 1250px) {
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(1),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(2) {
margin: 0 0 60px;
}
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(3),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(4) {
margin: 0;
}
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(2),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(4) {
margin-right: 60px;
}
}
@media screen and (max-width: 782px) {
.about-wrap .two-col-text {
-webkit-column-count: 1;
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;
}
.about-wrap .floating-header-section {
display: block;
}
.about-wrap .floating-header-section .section-header,
.about-wrap .floating-header-section .section-content {
max-width: 100%;
}
.about-wrap .floating-header-section h2 {
position: static;
margin-bottom: 60px;
}
}
@media only screen and (max-width: 500px) {
.about-wrap {
margin-left: 20px;
margin-right: 10px;
}
.about-wrap h1,
.about-wrap .about-text {
margin-left: 0;
}
.about-wrap .about-text {
margin-bottom: 0.25em;
}
.about-wrap .wp-badge {
position: relative;
margin-bottom: 1.5em;
width: 100%;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col {
min-width: 100% !important;
}
.about-wrap .under-the-hood.three-col .col,
.about-wrap .under-the-hood.two-col .col,
.about-wrap .under-the-hood.one-col .col {
margin-bottom: 2em;
padding-bottom: 0;
}
.about-wrap .under-the-hood:nth-of-type(2n),
.about-wrap .under-the-hood:nth-of-type(3n) {
margin-top: 0;
}
.about-wrap .under-the-hood:nth-of-type(2n) h3,
.about-wrap .under-the-hood:nth-of-type(3n) h3 {
margin-top: 0;
}
.about-wrap .floating-header-section {
margin-bottom: 60px;
grid-gap: 30px 0;
}
.about-wrap .inline-svg.full-width {
margin-bottom: 60px;
}
.about-wrap .floating-header-section h2 {
word-break: break-all;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.about-wrap .floating-header-section .section-content .section-item {
max-width: 100%;
margin: 0 0 60px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,643 +0,0 @@
/*------------------------------------------------------------------------------
22.0 - About Pages
1.0 Global: About, Credits, Freedoms
1.1 Typography
1.2 Structure
1.3 Point Releases
2.0 About Page
2.1 Typography
2.2 Structure
2.3 Floating Header Layout
3.0 Credits & Freedoms Pages
------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
1.0 - Global: About, Credits, Freedoms
------------------------------------------------------------------------------*/
.about-wrap {
position: relative;
margin: 25px 40px 0 20px;
max-width: 1050px; /* readability */
font-size: 15px;
}
.about-wrap.full-width-layout {
max-width: 1200px;
}
.about-wrap-content {
max-width: 1050px;
}
.about-wrap div.updated,
.about-wrap div.error,
.about-wrap .notice {
display: none !important;
}
.about-wrap hr {
border: 0;
height: 0;
margin: 0;
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.about-wrap img {
margin: 0;
max-width: 100%;
height: auto;
vertical-align: middle;
}
.about-wrap .jetpack-video-wrapper {
margin-bottom: 0;
}
/* WordPress Version Badge */
.wp-badge {
background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;
background-position: center 25px;
background-size: 80px 80px;
color: #fff;
font-size: 14px;
text-align: center;
font-weight: 600;
margin: 5px 0 0;
padding-top: 120px;
height: 40px;
display: inline-block;
width: 140px;
text-rendering: optimizeLegibility;
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.svg .wp-badge {
background-image: url(../images/wordpress-logo-white.svg?ver=20160308);
}
.about-wrap .wp-badge {
position: absolute;
top: 0;
right: 0;
}
/* Tabs */
.about-wrap .nav-tab {
padding-right: 15px;
padding-left: 15px;
font-size: 18px;
}
/* 1.1 - Typography */
.about-wrap p {
line-height: 1.5;
font-size: 14px;
}
.about-wrap .feature-section p {
max-width: 55em;
margin-left: auto;
margin-right: auto;
}
.about-wrap h1 {
margin: 0.2em 200px 0 0;
padding: 0;
color: #32373c;
line-height: 1.2em;
font-size: 2.8em;
font-weight: 400;
}
.about-wrap h2 {
margin: 40px 0 .6em;
font-size: 2.7em;
line-height: 1.3;
font-weight: 300;
text-align: center;
}
.about-wrap h3 {
margin: 1.25em 0 .6em;
font-size: 1.4em;
line-height: 1.5;
}
.about-wrap h4 {
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;
line-height: inherit;
color: #23282d;
}
.about-wrap code,
.about-wrap ol li p {
font-size: 14px;
font-weight: 400;
}
.about-wrap .about-description,
.about-wrap .about-text {
margin-top: 1.4em;
font-weight: 400;
line-height: 1.6em;
font-size: 19px;
}
.about-wrap .about-text {
margin: 1em 200px 1em 0;
min-height: 60px;
color: #555d66;
}
/* 1.2 - Structure */
.about-wrap [class$="-col"] {
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
flex-wrap: wrap;
}
.about-wrap .feature-section.one-col {
margin: 0 auto;
max-width: 700px;
}
.about-wrap .inline-svg img {
max-width: 100%;
width: 100%;
height: auto;
}
.about-wrap .inline-svg.full-width {
margin-bottom: 120px;
}
.about-wrap [class$="-col"] .col {
-webkit-box-flex: 1;
flex: 1;
}
.about-wrap .two-col .col {
min-width: 47%;
max-width: 47%;
}
.about-wrap .three-col .col {
-webkit-align-self: flex-start;
align-self: flex-start;
min-width: 31%;
max-width: 31%;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
.about-wrap .feature-video .mejs-controls {
display: none !important;
}
.about-wrap .feature-video .mejs-overlay-loading span {
background: transparent; /* Hide loading.gif */
}
/* 1.3 - Point Releases */
.about-wrap .point-releases {
margin-top: 5px;
border-bottom: 1px solid #ddd;
}
.about-wrap .changelog.point-releases h3 {
padding-top: 35px;
}
.about-wrap .changelog.point-releases h3:first-child {
padding-top: 7px;
}
/*------------------------------------------------------------------------------
2.0 - About Page
------------------------------------------------------------------------------*/
/* 2.1 - Typography */
.about-wrap .feature-section.two-col h3 {
margin-top: 0;
}
.about-wrap .feature-section h4 {
margin: 1.4em 0 0.6em 0;
font-size: 1em;
}
.about-wrap .feature-section p {
margin-top: 0.6em;
}
.about-wrap .lead-description {
font-size: 1.5em;
text-align: center;
}
.about-wrap .two-col-text {
-webkit-column-count: 2;
column-count: 2;
-webkit-column-gap: 40px;
column-gap: 40px;
}
.about-wrap .two-col-text p:first-of-type {
margin-top: 0;
}
.about-wrap .streamlined-updates p,
.about-wrap .native-fonts p {
margin-bottom: 3em;
}
/* 2.2 - Structure */
.about-wrap .headline-feature.feature-video {
position: relative;
margin: 40px 0;
padding-bottom: 56.25%;
width: 100%;
max-width: 100%;
height: 0;
text-align: center;
}
.about-wrap .feature-video embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.about-wrap .featured-image {
text-align: center;
}
.about-wrap .feature-section {
overflow: hidden;
padding: 0 0 40px;
}
.about-wrap .feature-section.no-heading {
padding-top: 35px;
}
.about-wrap .feature-section .media-container {
overflow: hidden;
}
.about-wrap .feature-section img {
margin-bottom: 1em;
}
.about-wrap .embed-container {
text-align: center;
}
.about-wrap .embed-container iframe {
max-width: 100%;
}
.about-wrap .wp-embedded-content {
max-width: 100%;
}
.about-wrap .feature-section .col {
margin-top: 40px;
}
.about-wrap .changelog {
margin-bottom: 40px;
}
.about-wrap .changelog.feature-section .col {
margin-top: 40px;
}
/* Return to Dashboard Home link */
.about-wrap .return-to-dashboard {
margin: 30px 0 0 -5px;
font-size: 14px;
font-weight: 600;
}
.about-wrap .return-to-dashboard a {
text-decoration: none;
padding: 0 5px;
}
/* 2.3 Floating Header Layout */
.about-wrap .floating-header-section {
display: -ms-grid;
display: grid;
grid-gap: 0 60px;
-ms-grid-columns: 5fr 11fr;
grid-template-columns: 5fr 11fr;
max-width: 1020px;
margin: 0 auto 120px;
}
.about-wrap .floating-header-section .section-header {
-ms-grid-column: 1;
grid-column: 1;
position: relative;
min-width: 230px;
max-width: 300px;
}
.about-wrap .floating-header-section h2 {
margin: 0;
text-align: left;
position: absolute;
}
.about-wrap .floating-header-section .section-content {
-ms-grid-column: 2;
grid-column: 2;
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
-webkit-box-align: start;
align-items: flex-start;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
flex-flow: row wrap;
-webkit-box-flex: 2;
flex-grow: 2;
flex-shrink: 0;
}
.about-wrap .floating-header-section .section-item {
-webkit-box-flex: 1;
flex-grow: 1;
max-width: calc(50% - 30px);
}
.about-wrap .floating-header-section .section-item:nth-child(1),
.about-wrap .floating-header-section .section-item:nth-child(2) {
margin-bottom: 60px;
}
.about-wrap .floating-header-section .section-item:nth-child(1):nth-last-child(2),
.about-wrap .floating-header-section .section-item:nth-child(2):nth-last-child(1) {
margin-bottom: 0;
}
.about-wrap .floating-header-section.has-long-title {
display: block;
}
.about-wrap .floating-header-section.has-long-title .section-header {
max-width: 100%;
}
.about-wrap .floating-header-section.has-long-title h2 {
position: static;
margin-bottom: 60px;
}
.about-wrap .floating-header-section.has-long-title .section-content {
-webkit-box-pack: start;
justify-content: flex-start;
}
.about-wrap .floating-header-section.has-long-title .section-item {
max-width: 300px;
margin-bottom: 0;
}
.about-wrap .floating-header-section.has-long-title .section-item + .section-item {
margin-left: 60px;
}
/*------------------------------------------------------------------------------
3.0 - Credits & Freedoms Pages
------------------------------------------------------------------------------*/
/* Credits */
.about-wrap h3.wp-people-group {
margin: 2.6em 0 1.33em;
padding: 0;
font-size: 16px;
line-height: inherit;
}
.about-wrap .wp-people-group {
padding: 0 5px;
margin: 0 -15px 0 -5px;
}
.about-wrap .compact {
margin-bottom: 0;
}
.about-wrap .wp-person {
display: inline-block;
vertical-align: top;
margin-right: 10px;
padding-bottom: 15px;
height: 70px;
width: 280px;
}
.about-wrap .compact .wp-person {
height: auto;
width: 180px;
padding-bottom: 0;
margin-bottom: 0;
}
.about-wrap .wp-person .gravatar {
float: left;
margin: 0 10px 10px 0;
padding: 1px;
width: 60px;
height: 60px;
}
.about-wrap .compact .wp-person .gravatar {
width: 30px;
height: 30px;
}
.about-wrap .wp-person .web {
margin: 6px 0 2px;
font-size: 16px;
font-weight: 400;
line-height: 2em;
text-decoration: none;
}
.about-wrap .wp-person .title {
display: block;
}
.about-wrap #wp-people-group-validators + p.wp-credits-list {
margin-top: 0;
}
.about-wrap p.wp-credits-list a {
white-space: nowrap;
}
/* Freedoms */
.freedoms-php .about-wrap ol {
margin: 40px 60px;
}
.freedoms-php .about-wrap ol li {
list-style-type: decimal;
font-weight: 600;
}
.freedoms-php .about-wrap ol p {
font-weight: 400;
margin: 0.6em 0;
}
/*------------------------------------------------------------------------------
4.0 - Media Queries
------------------------------------------------------------------------------*/
@media screen and (max-width: 1250px) {
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(1),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(2) {
margin: 0 0 60px;
}
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(3),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(4) {
margin: 0;
}
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(2),
.about-wrap .floating-header-section.has-long-title .section-item:nth-child(4) {
margin-left: 60px;
}
}
@media screen and (max-width: 782px) {
.about-wrap .two-col-text {
-webkit-column-count: 1;
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;
}
.about-wrap .floating-header-section {
display: block;
}
.about-wrap .floating-header-section .section-header,
.about-wrap .floating-header-section .section-content {
max-width: 100%;
}
.about-wrap .floating-header-section h2 {
position: static;
margin-bottom: 60px;
}
}
@media only screen and (max-width: 500px) {
.about-wrap {
margin-right: 20px;
margin-left: 10px;
}
.about-wrap h1,
.about-wrap .about-text {
margin-right: 0;
}
.about-wrap .about-text {
margin-bottom: 0.25em;
}
.about-wrap .wp-badge {
position: relative;
margin-bottom: 1.5em;
width: 100%;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col {
min-width: 100% !important;
}
.about-wrap .under-the-hood.three-col .col,
.about-wrap .under-the-hood.two-col .col,
.about-wrap .under-the-hood.one-col .col {
margin-bottom: 2em;
padding-bottom: 0;
}
.about-wrap .under-the-hood:nth-of-type(2n),
.about-wrap .under-the-hood:nth-of-type(3n) {
margin-top: 0;
}
.about-wrap .under-the-hood:nth-of-type(2n) h3,
.about-wrap .under-the-hood:nth-of-type(3n) h3 {
margin-top: 0;
}
.about-wrap .floating-header-section {
margin-bottom: 60px;
grid-gap: 30px 0;
}
.about-wrap .inline-svg.full-width {
margin-bottom: 60px;
}
.about-wrap .floating-header-section h2 {
word-break: break-all;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.about-wrap .floating-header-section .section-content .section-item {
max-width: 100%;
margin: 0 0 60px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,924 +0,0 @@
#adminmenuback,
#adminmenuwrap,
#adminmenu,
#adminmenu .wp-submenu {
width: 160px;
background-color: #23282d;
}
#adminmenuback {
position: fixed;
top: 0;
bottom: -120px;
z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */
}
#adminmenu {
clear: right;
margin: 12px 0;
padding: 0;
list-style: none;
}
.folded #adminmenuback,
.folded #adminmenuwrap,
.folded #adminmenu,
.folded #adminmenu li.menu-top {
width: 36px;
}
.icon16 {
height: 18px;
width: 18px;
padding: 6px 6px;
margin: -6px -8px 0 0;
float: right;
}
/* New Menu icons */
.icon16:before {
color: #82878c; /* same as new icons */
font: normal 20px/1 dashicons;
speak: none;
padding: 6px 0;
height: 34px;
width: 20px;
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: all .1s ease-in-out;
}
.icon16.icon-dashboard:before {
content: "\f226";
}
.icon16.icon-post:before {
content: "\f109";
}
.icon16.icon-media:before {
content: "\f104";
}
.icon16.icon-links:before {
content: "\f103";
}
.icon16.icon-page:before {
content: "\f105";
}
.icon16.icon-comments:before {
content: "\f101";
margin-top: 1px;
}
.icon16.icon-appearance:before {
content: "\f100";
}
.icon16.icon-plugins:before {
content: "\f106";
}
.icon16.icon-users:before {
content: "\f110";
}
.icon16.icon-tools:before {
content: "\f107";
}
.icon16.icon-settings:before {
content: "\f108";
}
.icon16.icon-site:before {
content: "\f541";
}
.icon16.icon-generic:before {
content: "\f111";
}
/* hide background-image for icons above */
.icon16.icon-dashboard,
.menu-icon-dashboard div.wp-menu-image,
.icon16.icon-post,
.menu-icon-post div.wp-menu-image,
.icon16.icon-media,
.menu-icon-media div.wp-menu-image,
.icon16.icon-links,
.menu-icon-links div.wp-menu-image,
.icon16.icon-page,
.menu-icon-page div.wp-menu-image,
.icon16.icon-comments,
.menu-icon-comments div.wp-menu-image,
.icon16.icon-appearance,
.menu-icon-appearance div.wp-menu-image,
.icon16.icon-plugins,
.menu-icon-plugins div.wp-menu-image,
.icon16.icon-users,
.menu-icon-users div.wp-menu-image,
.icon16.icon-tools,
.menu-icon-tools div.wp-menu-image,
.icon16.icon-settings,
.menu-icon-settings div.wp-menu-image,
.icon16.icon-site,
.menu-icon-site div.wp-menu-image,
.icon16.icon-generic,
.menu-icon-generic div.wp-menu-image {
background-image: none !important;
}
/*------------------------------------------------------------------------------
7.0 - Main Navigation (Left Menu)
------------------------------------------------------------------------------*/
#adminmenuwrap {
position: relative;
float: right;
z-index: 9990;
}
/* side admin menu */
#adminmenu * {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#adminmenu li {
margin: 0;
padding: 0;
cursor: pointer;
}
#adminmenu a {
display: block;
line-height: 18px;
padding: 2px 5px;
color: #eee;
}
#adminmenu .wp-submenu a {
color: #b4b9be;
color: rgba(240,245,250,0.7);
}
#adminmenu .wp-submenu a:hover,
#adminmenu .wp-submenu a:focus {
background: none;
}
#adminmenu a:hover,
#adminmenu li.menu-top > a:focus,
#adminmenu .wp-submenu a:hover,
#adminmenu .wp-submenu a:focus {
color: #00b9eb;
}
#adminmenu li.menu-top {
border: none;
min-height: 34px;
position: relative;
}
#adminmenu .wp-submenu {
list-style: none;
position: absolute;
top: -1000em;
right: 160px;
overflow: visible;
word-wrap: break-word;
}
#adminmenu .wp-submenu,
.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
padding: 7px 0 8px;
z-index: 9999;
background-color: #32373c;
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
.js #adminmenu .sub-open,
.js #adminmenu .opensub .wp-submenu,
#adminmenu a.menu-top:focus + .wp-submenu,
.no-js li.wp-has-submenu:hover .wp-submenu {
top: -1px;
}
#adminmenu .wp-has-current-submenu .wp-submenu,
.no-js li.wp-has-current-submenu:hover .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu {
position: relative;
z-index: 3;
top: auto;
right: auto;
left: auto;
bottom: auto;
border: 0 none;
margin-top: 0;
box-shadow: none;
background-color: #32373c;
}
/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */
#adminmenu li.menu-top:hover,
#adminmenu li.opensub > a.menu-top,
#adminmenu li > a.menu-top:focus {
position: relative;
background-color: #191e23;
color: #00b9eb;
}
.folded #adminmenu li.menu-top:hover,
.folded #adminmenu li.opensub > a.menu-top,
.folded #adminmenu li > a.menu-top:focus {
z-index: 10000;
}
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu li.current a.menu-top,
.folded #adminmenu li.wp-has-current-submenu,
.folded #adminmenu li.current.menu-top,
#adminmenu .wp-menu-arrow,
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
#adminmenu .wp-menu-arrow div {
background: #0073aa;
color: #fff;
}
.folded #adminmenu .wp-submenu.sub-open,
.folded #adminmenu .opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
.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 {
top: 0;
right: 36px;
}
.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
position: absolute;
top: -1000em;
}
#adminmenu .wp-not-current-submenu .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
min-width: 160px;
width: auto;
}
#adminmenu .wp-submenu a {
font-size: 13px;
line-height: 18px;
margin: 0;
padding: 5px 0;
}
#adminmenu .wp-submenu li.current,
#adminmenu .wp-submenu li.current a,
#adminmenu .opensub .wp-submenu li.current a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a,
#adminmenu .wp-submenu li.current a:hover,
#adminmenu .wp-submenu li.current a:focus {
color: #fff;
}
#adminmenu .wp-not-current-submenu li > a,
.folded #adminmenu .wp-has-current-submenu li > a {
padding-left: 16px;
padding-right: 14px;
transition: all .1s ease-in-out;
}
#adminmenu .wp-has-current-submenu ul > li > a,
.folded #adminmenu li.menu-top .wp-submenu > li > a {
padding: 5px 12px;
}
#adminmenu a.menu-top,
#adminmenu .wp-submenu-head {
font-size: 14px;
font-weight: 400;
line-height: 18px;
padding: 0;
}
#adminmenu .wp-submenu-head {
display: none;
}
.folded #adminmenu .wp-menu-name {
position: absolute;
right: -999px;
}
.folded #adminmenu .wp-submenu-head {
display: block;
}
#adminmenu .wp-submenu li {
padding: 0;
margin: 0;
overflow: hidden;
}
#adminmenu .wp-menu-image img {
padding: 9px 0 0 0;
opacity: 0.6;
filter: alpha(opacity=60);
}
#adminmenu div.wp-menu-name {
padding: 8px 0;
}
#adminmenu div.wp-menu-image {
float: right;
width: 36px;
height: 34px;
margin: 0;
text-align: center;
}
#adminmenu div.wp-menu-image.svg {
background-repeat: no-repeat;
background-position: center;
background-size: 20px auto;
}
div.wp-menu-image:before {
color: #a0a5aa;
color: rgba(240,245,250,0.6);
padding: 7px 0;
transition: all .1s ease-in-out;
}
#adminmenu div.wp-menu-image:before {
color: #a0a5aa;
color: rgba(240,245,250,0.6);
}
#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,
#adminmenu .wp-has-current-submenu div.wp-menu-image:before,
#adminmenu .current div.wp-menu-image:before,
#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before {
color: #fff;
}
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before {
color: #00b9eb;
}
/* IE8 doesn't redraw the pseudo elements unless you make a change to the content, this restore the initial color after hover */
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
color: #a0a5aa;
}
.folded #adminmenu div.wp-menu-image {
width: 35px;
height: 30px;
position: absolute;
z-index: 25;
}
.folded #adminmenu a.menu-top {
height: 34px;
}
/* No @font-face support */
.no-font-face #adminmenu .wp-menu-image {
display: none;
}
.no-font-face #adminmenu div.wp-menu-name {
padding: 8px 12px;
}
.no-font-face.auto-fold #adminmenu .wp-menu-name {
margin-right: 0;
}
/* End no @font-face support */
/* Sticky admin menu */
.sticky-menu #adminmenuwrap {
position: fixed;
}
/* A new arrow */
.wp-menu-arrow {
display: none !important;
}
ul#adminmenu a.wp-has-current-submenu {
position: relative;
}
ul#adminmenu a.wp-has-current-submenu:after,
ul#adminmenu > li.current > a.current:after {
left: 0;
border: solid 8px transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-left-color: #f1f1f1;
top: 50%;
margin-top: -8px;
}
.folded ul#adminmenu li:hover a.wp-has-current-submenu:after {
display: none;
}
.folded ul#adminmenu a.wp-has-current-submenu:after,
.folded ul#adminmenu > li a.current:after {
border-width: 4px;
margin-top: -4px;
}
/* flyout menu arrow */
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
left: 0;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-width: 8px;
top: 10px;
z-index: 10000;
}
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
border-width: 4px;
margin-top: -4px;
top: 18px;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-left-color: #32373c;
}
#adminmenu li.menu-top:hover .wp-menu-image img,
#adminmenu li.wp-has-current-submenu .wp-menu-image img {
opacity: 1;
filter: alpha(opacity=100);
}
#adminmenu li.wp-menu-separator {
height: 5px;
padding: 0;
margin: 0 0 6px 0;
cursor: inherit;
}
/* @todo: is this even needed given that it's nested beneath the above li.wp-menu-separator? */
#adminmenu div.separator {
height: 2px;
padding: 0;
}
#adminmenu .wp-submenu .wp-submenu-head {
color: #fff;
font-weight: 400;
font-size: 14px;
padding: 8px 11px 8px 4px;
margin: -7px 0px 4px;
}
#adminmenu li.current,
.folded #adminmenu li.wp-menu-open {
border: 0 none;
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
display: inline-block;
vertical-align: top;
margin: 1px 2px 0 0;
padding: 0 5px;
min-width: 7px;
height: 17px;
border-radius: 11px;
background-color: #ca4a1f;
color: #fff;
font-size: 9px;
line-height: 17px;
text-align: center;
z-index: 26;
}
#adminmenu li.current a .awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins {
background-color: #00b9eb;
color: #fff;
}
#adminmenu li span.count-0 {
display: none;
}
#collapse-button {
display: block;
width: 100%;
height: 34px;
margin: 0;
border: none;
padding: 0;
position: relative;
overflow: visible;
line-height: 34px;
background: none;
color: #aaa;
cursor: pointer;
outline: 0;
}
#collapse-button:hover,
#collapse-button:focus {
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 {
display: none;
}
#collapse-button .collapse-button-icon:after {
content: "\f148";
display: block;
position: relative;
top: 7px;
text-align: center;
font: normal 20px/1 dashicons !important;
speak: none;
-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 {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.folded #collapse-button .collapse-button-icon:after {
-webkit-transform: none;
transform: none;
}
#collapse-button .collapse-button-icon:after,
#collapse-button .collapse-button-label {
transition: all .1s ease-in-out;
}
/**
* Toolbar menu toggle
*/
li#wp-admin-bar-menu-toggle {
display: none;
}
/* Hide-if-customize for items we can't add classes to */
.customize-support #menu-appearance a[href="themes.php?page=custom-header"],
.customize-support #menu-appearance a[href="themes.php?page=custom-background"] {
display: none;
}
/* Auto-folding of the admin menu */
@media only screen and (max-width: 960px) {
.auto-fold #wpcontent,
.auto-fold #wpfooter {
margin-right: 36px;
}
.auto-fold #adminmenuback,
.auto-fold #adminmenuwrap,
.auto-fold #adminmenu,
.auto-fold #adminmenu li.menu-top {
width: 36px;
}
.auto-fold #adminmenu .wp-submenu.sub-open,
.auto-fold #adminmenu .opensub .wp-submenu,
.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 {
top: 0px;
right: 36px;
}
.auto-fold #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
position: absolute;
top: -1000em;
margin-left: -1px;
padding: 7px 0 8px;
z-index: 9999;
}
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
min-width: 150px;
width: auto;
}
.auto-fold #adminmenu .wp-has-current-submenu li > a {
padding-left: 16px;
padding-right: 14px;
}
.auto-fold #adminmenu li.menu-top .wp-submenu > li > a {
padding-right: 12px;
}
.auto-fold #adminmenu .wp-menu-name {
position: absolute;
right: -999px;
}
.auto-fold #adminmenu .wp-submenu-head {
display: block;
}
.auto-fold #adminmenu div.wp-menu-image {
height: 30px;
width: 34px;
position: absolute;
z-index: 25;
}
.auto-fold #adminmenu a.menu-top {
height: 34px;
}
.auto-fold #adminmenu li.wp-menu-open {
border: 0 none;
}
.auto-fold #adminmenu .wp-has-current-submenu.menu-top-last {
margin-bottom: 0;
}
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
display: none;
}
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
border-width: 4px;
margin-top: -4px;
top: 16px;
}
.auto-fold ul#adminmenu a.wp-has-current-submenu:after,
.auto-fold ul#adminmenu > li a.current:after {
border-width: 4px;
margin-top: -4px;
}
.auto-fold #adminmenu li.menu-top:hover,
.auto-fold #adminmenu li.opensub > a.menu-top,
.auto-fold #adminmenu li > a.menu-top:focus {
z-index: 10000;
}
.auto-fold #collapse-menu .collapse-button-label {
display: none;
}
/* rtl:ignore */
.auto-fold #collapse-button .collapse-button-icon:after {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.auto-fold #collapse-button .collapse-button-icon:after {
-webkit-transform: none;
transform: none;
}
}
@media screen and ( max-width: 782px ) {
.auto-fold #wpcontent {
position: relative;
margin-right: 0;
padding-right: 10px;
}
.sticky-menu #adminmenuwrap {
position: relative;
z-index: auto;
top: 0;
}
/* Sidebar Adjustments */
.auto-fold #adminmenu,
.auto-fold #adminmenuback,
.auto-fold #adminmenuwrap {
position: absolute;
width: 190px;
z-index: 100;
}
.auto-fold #adminmenuback,
.auto-fold #adminmenuwrap {
display: none;
}
.auto-fold .wp-responsive-open #adminmenuback,
.auto-fold .wp-responsive-open #adminmenuwrap {
display: block;
}
.auto-fold #adminmenu li.menu-top {
width: 100%;
}
/* Resize the admin menu items to a comfortable touch size */
.auto-fold #adminmenu li a {
font-size: 16px;
padding: 5px;
}
.auto-fold #adminmenu li.menu-top .wp-submenu > li > a {
padding: 10px 20px 10px 10px;
}
/* Restore the menu names */
.auto-fold #adminmenu .wp-menu-name {
position: static;
margin-right: 35px;
}
/* Switch the arrow side */
.auto-fold ul#adminmenu a.wp-has-current-submenu:after,
.auto-fold ul#adminmenu > li.current > a.current:after {
border-width: 8px;
margin-top: -8px;
}
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
display: none;
}
/* Make the submenus appear correctly when tapped. */
#adminmenu .wp-submenu {
position: relative;
display: none;
}
.auto-fold #adminmenu .selected .wp-submenu,
.auto-fold #adminmenu .wp-menu-open .wp-submenu {
position: relative;
display: block;
top: 0;
right: -1px;
box-shadow: none;
}
.auto-fold #adminmenu .selected .wp-submenu:after,
.auto-fold #adminmenu .wp-menu-open .wp-submenu:after {
display: none;
}
.auto-fold #adminmenu .opensub .wp-submenu {
display: none;
}
.auto-fold #adminmenu .selected .wp-submenu {
display: block;
}
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
display: block;
}
.auto-fold #adminmenu a.menu-top:focus + .wp-submenu,
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
position: relative;
right: -1px;
left: 0;
top: 0;
}
/* Remove submenu headers and adjust sub meu*/
#adminmenu .wp-submenu .wp-submenu-head {
display: none;
}
/* Toolbar menu toggle */
#wp-responsive-toggle {
position: fixed;
top: 5px;
right: 4px;
padding-left: 10px;
z-index: 99999;
border: none;
box-sizing: border-box;
}
#wpadminbar #wp-admin-bar-menu-toggle a {
display: block;
padding: 0;
overflow: hidden;
outline: none;
text-decoration: none;
border: 1px solid transparent;
background: none;
height: 44px;
margin-right: -1px;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #32373c;
}
li#wp-admin-bar-menu-toggle {
display: block;
}
#wpadminbar #wp-admin-bar-menu-toggle a:hover {
border: 1px solid transparent;
}
#wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
content: "\f228";
display: inline-block;
float: right;
font: normal 40px/45px dashicons;
vertical-align: middle;
outline: none;
margin: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
height: 44px;
width: 50px;
padding: 0;
border: none;
text-align: center;
text-decoration: none;
box-sizing: border-box;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #00b9eb;
}
}
/* Smartphone */
@media screen and (max-width: 600px) {
#adminmenuwrap,
#adminmenuback {
display: none;
}
.wp-responsive-open #adminmenuwrap,
.wp-responsive-open #adminmenuback {
display: block;
}
.auto-fold #adminmenu {
top: 46px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,924 +0,0 @@
#adminmenuback,
#adminmenuwrap,
#adminmenu,
#adminmenu .wp-submenu {
width: 160px;
background-color: #23282d;
}
#adminmenuback {
position: fixed;
top: 0;
bottom: -120px;
z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */
}
#adminmenu {
clear: left;
margin: 12px 0;
padding: 0;
list-style: none;
}
.folded #adminmenuback,
.folded #adminmenuwrap,
.folded #adminmenu,
.folded #adminmenu li.menu-top {
width: 36px;
}
.icon16 {
height: 18px;
width: 18px;
padding: 6px 6px;
margin: -6px 0 0 -8px;
float: left;
}
/* New Menu icons */
.icon16:before {
color: #82878c; /* same as new icons */
font: normal 20px/1 dashicons;
speak: none;
padding: 6px 0;
height: 34px;
width: 20px;
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: all .1s ease-in-out;
}
.icon16.icon-dashboard:before {
content: "\f226";
}
.icon16.icon-post:before {
content: "\f109";
}
.icon16.icon-media:before {
content: "\f104";
}
.icon16.icon-links:before {
content: "\f103";
}
.icon16.icon-page:before {
content: "\f105";
}
.icon16.icon-comments:before {
content: "\f101";
margin-top: 1px;
}
.icon16.icon-appearance:before {
content: "\f100";
}
.icon16.icon-plugins:before {
content: "\f106";
}
.icon16.icon-users:before {
content: "\f110";
}
.icon16.icon-tools:before {
content: "\f107";
}
.icon16.icon-settings:before {
content: "\f108";
}
.icon16.icon-site:before {
content: "\f541";
}
.icon16.icon-generic:before {
content: "\f111";
}
/* hide background-image for icons above */
.icon16.icon-dashboard,
.menu-icon-dashboard div.wp-menu-image,
.icon16.icon-post,
.menu-icon-post div.wp-menu-image,
.icon16.icon-media,
.menu-icon-media div.wp-menu-image,
.icon16.icon-links,
.menu-icon-links div.wp-menu-image,
.icon16.icon-page,
.menu-icon-page div.wp-menu-image,
.icon16.icon-comments,
.menu-icon-comments div.wp-menu-image,
.icon16.icon-appearance,
.menu-icon-appearance div.wp-menu-image,
.icon16.icon-plugins,
.menu-icon-plugins div.wp-menu-image,
.icon16.icon-users,
.menu-icon-users div.wp-menu-image,
.icon16.icon-tools,
.menu-icon-tools div.wp-menu-image,
.icon16.icon-settings,
.menu-icon-settings div.wp-menu-image,
.icon16.icon-site,
.menu-icon-site div.wp-menu-image,
.icon16.icon-generic,
.menu-icon-generic div.wp-menu-image {
background-image: none !important;
}
/*------------------------------------------------------------------------------
7.0 - Main Navigation (Left Menu)
------------------------------------------------------------------------------*/
#adminmenuwrap {
position: relative;
float: left;
z-index: 9990;
}
/* side admin menu */
#adminmenu * {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#adminmenu li {
margin: 0;
padding: 0;
cursor: pointer;
}
#adminmenu a {
display: block;
line-height: 18px;
padding: 2px 5px;
color: #eee;
}
#adminmenu .wp-submenu a {
color: #b4b9be;
color: rgba(240,245,250,0.7);
}
#adminmenu .wp-submenu a:hover,
#adminmenu .wp-submenu a:focus {
background: none;
}
#adminmenu a:hover,
#adminmenu li.menu-top > a:focus,
#adminmenu .wp-submenu a:hover,
#adminmenu .wp-submenu a:focus {
color: #00b9eb;
}
#adminmenu li.menu-top {
border: none;
min-height: 34px;
position: relative;
}
#adminmenu .wp-submenu {
list-style: none;
position: absolute;
top: -1000em;
left: 160px;
overflow: visible;
word-wrap: break-word;
}
#adminmenu .wp-submenu,
.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
padding: 7px 0 8px;
z-index: 9999;
background-color: #32373c;
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
.js #adminmenu .sub-open,
.js #adminmenu .opensub .wp-submenu,
#adminmenu a.menu-top:focus + .wp-submenu,
.no-js li.wp-has-submenu:hover .wp-submenu {
top: -1px;
}
#adminmenu .wp-has-current-submenu .wp-submenu,
.no-js li.wp-has-current-submenu:hover .wp-submenu,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu {
position: relative;
z-index: 3;
top: auto;
left: auto;
right: auto;
bottom: auto;
border: 0 none;
margin-top: 0;
box-shadow: none;
background-color: #32373c;
}
/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */
#adminmenu li.menu-top:hover,
#adminmenu li.opensub > a.menu-top,
#adminmenu li > a.menu-top:focus {
position: relative;
background-color: #191e23;
color: #00b9eb;
}
.folded #adminmenu li.menu-top:hover,
.folded #adminmenu li.opensub > a.menu-top,
.folded #adminmenu li > a.menu-top:focus {
z-index: 10000;
}
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu li.current a.menu-top,
.folded #adminmenu li.wp-has-current-submenu,
.folded #adminmenu li.current.menu-top,
#adminmenu .wp-menu-arrow,
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
#adminmenu .wp-menu-arrow div {
background: #0073aa;
color: #fff;
}
.folded #adminmenu .wp-submenu.sub-open,
.folded #adminmenu .opensub .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
.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 {
top: 0;
left: 36px;
}
.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
position: absolute;
top: -1000em;
}
#adminmenu .wp-not-current-submenu .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
min-width: 160px;
width: auto;
}
#adminmenu .wp-submenu a {
font-size: 13px;
line-height: 18px;
margin: 0;
padding: 5px 0;
}
#adminmenu .wp-submenu li.current,
#adminmenu .wp-submenu li.current a,
#adminmenu .opensub .wp-submenu li.current a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a,
#adminmenu .wp-submenu li.current a:hover,
#adminmenu .wp-submenu li.current a:focus {
color: #fff;
}
#adminmenu .wp-not-current-submenu li > a,
.folded #adminmenu .wp-has-current-submenu li > a {
padding-right: 16px;
padding-left: 14px;
transition: all .1s ease-in-out;
}
#adminmenu .wp-has-current-submenu ul > li > a,
.folded #adminmenu li.menu-top .wp-submenu > li > a {
padding: 5px 12px;
}
#adminmenu a.menu-top,
#adminmenu .wp-submenu-head {
font-size: 14px;
font-weight: 400;
line-height: 18px;
padding: 0;
}
#adminmenu .wp-submenu-head {
display: none;
}
.folded #adminmenu .wp-menu-name {
position: absolute;
left: -999px;
}
.folded #adminmenu .wp-submenu-head {
display: block;
}
#adminmenu .wp-submenu li {
padding: 0;
margin: 0;
overflow: hidden;
}
#adminmenu .wp-menu-image img {
padding: 9px 0 0 0;
opacity: 0.6;
filter: alpha(opacity=60);
}
#adminmenu div.wp-menu-name {
padding: 8px 0;
}
#adminmenu div.wp-menu-image {
float: left;
width: 36px;
height: 34px;
margin: 0;
text-align: center;
}
#adminmenu div.wp-menu-image.svg {
background-repeat: no-repeat;
background-position: center;
background-size: 20px auto;
}
div.wp-menu-image:before {
color: #a0a5aa;
color: rgba(240,245,250,0.6);
padding: 7px 0;
transition: all .1s ease-in-out;
}
#adminmenu div.wp-menu-image:before {
color: #a0a5aa;
color: rgba(240,245,250,0.6);
}
#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,
#adminmenu .wp-has-current-submenu div.wp-menu-image:before,
#adminmenu .current div.wp-menu-image:before,
#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before {
color: #fff;
}
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before {
color: #00b9eb;
}
/* IE8 doesn't redraw the pseudo elements unless you make a change to the content, this restore the initial color after hover */
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
color: #a0a5aa;
}
.folded #adminmenu div.wp-menu-image {
width: 35px;
height: 30px;
position: absolute;
z-index: 25;
}
.folded #adminmenu a.menu-top {
height: 34px;
}
/* No @font-face support */
.no-font-face #adminmenu .wp-menu-image {
display: none;
}
.no-font-face #adminmenu div.wp-menu-name {
padding: 8px 12px;
}
.no-font-face.auto-fold #adminmenu .wp-menu-name {
margin-left: 0;
}
/* End no @font-face support */
/* Sticky admin menu */
.sticky-menu #adminmenuwrap {
position: fixed;
}
/* A new arrow */
.wp-menu-arrow {
display: none !important;
}
ul#adminmenu a.wp-has-current-submenu {
position: relative;
}
ul#adminmenu a.wp-has-current-submenu:after,
ul#adminmenu > li.current > a.current:after {
right: 0;
border: solid 8px transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-right-color: #f1f1f1;
top: 50%;
margin-top: -8px;
}
.folded ul#adminmenu li:hover a.wp-has-current-submenu:after {
display: none;
}
.folded ul#adminmenu a.wp-has-current-submenu:after,
.folded ul#adminmenu > li a.current:after {
border-width: 4px;
margin-top: -4px;
}
/* flyout menu arrow */
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
right: 0;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-width: 8px;
top: 10px;
z-index: 10000;
}
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
border-width: 4px;
margin-top: -4px;
top: 18px;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
border-right-color: #32373c;
}
#adminmenu li.menu-top:hover .wp-menu-image img,
#adminmenu li.wp-has-current-submenu .wp-menu-image img {
opacity: 1;
filter: alpha(opacity=100);
}
#adminmenu li.wp-menu-separator {
height: 5px;
padding: 0;
margin: 0 0 6px 0;
cursor: inherit;
}
/* @todo: is this even needed given that it's nested beneath the above li.wp-menu-separator? */
#adminmenu div.separator {
height: 2px;
padding: 0;
}
#adminmenu .wp-submenu .wp-submenu-head {
color: #fff;
font-weight: 400;
font-size: 14px;
padding: 8px 4px 8px 11px;
margin: -7px 0px 4px;
}
#adminmenu li.current,
.folded #adminmenu li.wp-menu-open {
border: 0 none;
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
display: inline-block;
vertical-align: top;
margin: 1px 0 0 2px;
padding: 0 5px;
min-width: 7px;
height: 17px;
border-radius: 11px;
background-color: #ca4a1f;
color: #fff;
font-size: 9px;
line-height: 17px;
text-align: center;
z-index: 26;
}
#adminmenu li.current a .awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins {
background-color: #00b9eb;
color: #fff;
}
#adminmenu li span.count-0 {
display: none;
}
#collapse-button {
display: block;
width: 100%;
height: 34px;
margin: 0;
border: none;
padding: 0;
position: relative;
overflow: visible;
line-height: 34px;
background: none;
color: #aaa;
cursor: pointer;
outline: 0;
}
#collapse-button:hover,
#collapse-button:focus {
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 {
display: none;
}
#collapse-button .collapse-button-icon:after {
content: "\f148";
display: block;
position: relative;
top: 7px;
text-align: center;
font: normal 20px/1 dashicons !important;
speak: none;
-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 {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.folded #collapse-button .collapse-button-icon:after {
-webkit-transform: none;
transform: none;
}
#collapse-button .collapse-button-icon:after,
#collapse-button .collapse-button-label {
transition: all .1s ease-in-out;
}
/**
* Toolbar menu toggle
*/
li#wp-admin-bar-menu-toggle {
display: none;
}
/* Hide-if-customize for items we can't add classes to */
.customize-support #menu-appearance a[href="themes.php?page=custom-header"],
.customize-support #menu-appearance a[href="themes.php?page=custom-background"] {
display: none;
}
/* Auto-folding of the admin menu */
@media only screen and (max-width: 960px) {
.auto-fold #wpcontent,
.auto-fold #wpfooter {
margin-left: 36px;
}
.auto-fold #adminmenuback,
.auto-fold #adminmenuwrap,
.auto-fold #adminmenu,
.auto-fold #adminmenu li.menu-top {
width: 36px;
}
.auto-fold #adminmenu .wp-submenu.sub-open,
.auto-fold #adminmenu .opensub .wp-submenu,
.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 {
top: 0px;
left: 36px;
}
.auto-fold #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
position: absolute;
top: -1000em;
margin-right: -1px;
padding: 7px 0 8px;
z-index: 9999;
}
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
min-width: 150px;
width: auto;
}
.auto-fold #adminmenu .wp-has-current-submenu li > a {
padding-right: 16px;
padding-left: 14px;
}
.auto-fold #adminmenu li.menu-top .wp-submenu > li > a {
padding-left: 12px;
}
.auto-fold #adminmenu .wp-menu-name {
position: absolute;
left: -999px;
}
.auto-fold #adminmenu .wp-submenu-head {
display: block;
}
.auto-fold #adminmenu div.wp-menu-image {
height: 30px;
width: 34px;
position: absolute;
z-index: 25;
}
.auto-fold #adminmenu a.menu-top {
height: 34px;
}
.auto-fold #adminmenu li.wp-menu-open {
border: 0 none;
}
.auto-fold #adminmenu .wp-has-current-submenu.menu-top-last {
margin-bottom: 0;
}
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
display: none;
}
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
border-width: 4px;
margin-top: -4px;
top: 16px;
}
.auto-fold ul#adminmenu a.wp-has-current-submenu:after,
.auto-fold ul#adminmenu > li a.current:after {
border-width: 4px;
margin-top: -4px;
}
.auto-fold #adminmenu li.menu-top:hover,
.auto-fold #adminmenu li.opensub > a.menu-top,
.auto-fold #adminmenu li > a.menu-top:focus {
z-index: 10000;
}
.auto-fold #collapse-menu .collapse-button-label {
display: none;
}
/* rtl:ignore */
.auto-fold #collapse-button .collapse-button-icon:after {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
.rtl.auto-fold #collapse-button .collapse-button-icon:after {
-webkit-transform: none;
transform: none;
}
}
@media screen and ( max-width: 782px ) {
.auto-fold #wpcontent {
position: relative;
margin-left: 0;
padding-left: 10px;
}
.sticky-menu #adminmenuwrap {
position: relative;
z-index: auto;
top: 0;
}
/* Sidebar Adjustments */
.auto-fold #adminmenu,
.auto-fold #adminmenuback,
.auto-fold #adminmenuwrap {
position: absolute;
width: 190px;
z-index: 100;
}
.auto-fold #adminmenuback,
.auto-fold #adminmenuwrap {
display: none;
}
.auto-fold .wp-responsive-open #adminmenuback,
.auto-fold .wp-responsive-open #adminmenuwrap {
display: block;
}
.auto-fold #adminmenu li.menu-top {
width: 100%;
}
/* Resize the admin menu items to a comfortable touch size */
.auto-fold #adminmenu li a {
font-size: 16px;
padding: 5px;
}
.auto-fold #adminmenu li.menu-top .wp-submenu > li > a {
padding: 10px 10px 10px 20px;
}
/* Restore the menu names */
.auto-fold #adminmenu .wp-menu-name {
position: static;
margin-left: 35px;
}
/* Switch the arrow side */
.auto-fold ul#adminmenu a.wp-has-current-submenu:after,
.auto-fold ul#adminmenu > li.current > a.current:after {
border-width: 8px;
margin-top: -8px;
}
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
display: none;
}
/* Make the submenus appear correctly when tapped. */
#adminmenu .wp-submenu {
position: relative;
display: none;
}
.auto-fold #adminmenu .selected .wp-submenu,
.auto-fold #adminmenu .wp-menu-open .wp-submenu {
position: relative;
display: block;
top: 0;
left: -1px;
box-shadow: none;
}
.auto-fold #adminmenu .selected .wp-submenu:after,
.auto-fold #adminmenu .wp-menu-open .wp-submenu:after {
display: none;
}
.auto-fold #adminmenu .opensub .wp-submenu {
display: none;
}
.auto-fold #adminmenu .selected .wp-submenu {
display: block;
}
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
display: block;
}
.auto-fold #adminmenu a.menu-top:focus + .wp-submenu,
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
position: relative;
left: -1px;
right: 0;
top: 0;
}
/* Remove submenu headers and adjust sub meu*/
#adminmenu .wp-submenu .wp-submenu-head {
display: none;
}
/* Toolbar menu toggle */
#wp-responsive-toggle {
position: fixed;
top: 5px;
left: 4px;
padding-right: 10px;
z-index: 99999;
border: none;
box-sizing: border-box;
}
#wpadminbar #wp-admin-bar-menu-toggle a {
display: block;
padding: 0;
overflow: hidden;
outline: none;
text-decoration: none;
border: 1px solid transparent;
background: none;
height: 44px;
margin-left: -1px;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #32373c;
}
li#wp-admin-bar-menu-toggle {
display: block;
}
#wpadminbar #wp-admin-bar-menu-toggle a:hover {
border: 1px solid transparent;
}
#wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
content: "\f228";
display: inline-block;
float: left;
font: normal 40px/45px dashicons;
vertical-align: middle;
outline: none;
margin: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
height: 44px;
width: 50px;
padding: 0;
border: none;
text-align: center;
text-decoration: none;
box-sizing: border-box;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #00b9eb;
}
}
/* Smartphone */
@media screen and (max-width: 600px) {
#adminmenuwrap,
#adminmenuback {
display: none;
}
.wp-responsive-open #adminmenuwrap,
.wp-responsive-open #adminmenuback {
display: block;
}
.auto-fold #adminmenu {
top: 46px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,72 +0,0 @@
.wrap [class*="CodeMirror-lint-marker"],
.wp-core-ui [class*="CodeMirror-lint-message"],
.wrap .CodeMirror-lint-marker-multiple {
background-image: none;
}
.wp-core-ui .CodeMirror-lint-marker-error,
.wp-core-ui .CodeMirror-lint-marker-warning {
cursor: help;
}
.wrap .CodeMirror-lint-marker-multiple {
position: absolute;
top: 0;
}
.wrap [class*="CodeMirror-lint-marker"]:before {
font: normal 18px/1 dashicons;
position: relative;
top: -2px;
}
.wp-core-ui [class*="CodeMirror-lint-message"]:before {
font: normal 16px/1 dashicons;
right: 16px;
position: absolute;
}
.wp-core-ui .CodeMirror-lint-message-error,
.wp-core-ui .CodeMirror-lint-message-warning {
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
margin: 5px 0 2px;
padding: 3px 28px 3px 12px;
}
.wp-core-ui .CodeMirror-lint-message-warning {
background-color: #fff8e5;
border-right: 4px solid #ffb900;
}
.wrap .CodeMirror-lint-marker-warning:before,
.wp-core-ui .CodeMirror-lint-message-warning:before {
content: "\f534";
color: #f6a306;
}
.wp-core-ui .CodeMirror-lint-message-error {
background-color: #fbeaea;
border-right: 4px solid #dc3232;
}
.wrap .CodeMirror-lint-marker-error:before,
.wp-core-ui .CodeMirror-lint-message-error:before {
content: "\f153";
color: #dc3232;
}
.wp-core-ui .CodeMirror-lint-tooltip {
background: none;
border: none;
border-radius: 0;
direction: rtl;
}
.wrap .CodeMirror .CodeMirror-matchingbracket {
background: rgba(255, 150, 0, .3);
color: inherit;
}
.CodeMirror {
text-align: right;
}

View File

@@ -1,2 +0,0 @@
/*! This file is auto-generated */
.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:400 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:400 16px/1 dashicons;right:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 28px 3px 12px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fff8e5;border-right:4px solid #ffb900}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#f6a306}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fbeaea;border-right:4px solid #dc3232}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#dc3232}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:rtl}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(255,150,0,.3);color:inherit}.CodeMirror{text-align:right}

View File

@@ -1,72 +0,0 @@
.wrap [class*="CodeMirror-lint-marker"],
.wp-core-ui [class*="CodeMirror-lint-message"],
.wrap .CodeMirror-lint-marker-multiple {
background-image: none;
}
.wp-core-ui .CodeMirror-lint-marker-error,
.wp-core-ui .CodeMirror-lint-marker-warning {
cursor: help;
}
.wrap .CodeMirror-lint-marker-multiple {
position: absolute;
top: 0;
}
.wrap [class*="CodeMirror-lint-marker"]:before {
font: normal 18px/1 dashicons;
position: relative;
top: -2px;
}
.wp-core-ui [class*="CodeMirror-lint-message"]:before {
font: normal 16px/1 dashicons;
left: 16px;
position: absolute;
}
.wp-core-ui .CodeMirror-lint-message-error,
.wp-core-ui .CodeMirror-lint-message-warning {
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
margin: 5px 0 2px;
padding: 3px 12px 3px 28px;
}
.wp-core-ui .CodeMirror-lint-message-warning {
background-color: #fff8e5;
border-left: 4px solid #ffb900;
}
.wrap .CodeMirror-lint-marker-warning:before,
.wp-core-ui .CodeMirror-lint-message-warning:before {
content: "\f534";
color: #f6a306;
}
.wp-core-ui .CodeMirror-lint-message-error {
background-color: #fbeaea;
border-left: 4px solid #dc3232;
}
.wrap .CodeMirror-lint-marker-error:before,
.wp-core-ui .CodeMirror-lint-message-error:before {
content: "\f153";
color: #dc3232;
}
.wp-core-ui .CodeMirror-lint-tooltip {
background: none;
border: none;
border-radius: 0;
direction: ltr;
}
.wrap .CodeMirror .CodeMirror-matchingbracket {
background: rgba(255, 150, 0, .3);
color: inherit;
}
.CodeMirror {
text-align: left;
}

View File

@@ -1,2 +0,0 @@
/*! This file is auto-generated */
.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:400 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:400 16px/1 dashicons;left:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 12px 3px 28px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fff8e5;border-left:4px solid #ffb900}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#f6a306}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fbeaea;border-left:4px solid #dc3232}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#dc3232}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:ltr}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(255,150,0,.3);color:inherit}.CodeMirror{text-align:left}

View File

@@ -6,52 +6,80 @@
display: none;
}
/* Needs higher specificiity. */
.wp-picker-container .wp-color-result.button {
height: 24px;
.wp-color-result {
background-color: #f7f7f7;
border: 1px solid #ccc;
border-radius: 3px;
cursor: pointer;
display: inline-block;
height: 22px;
margin: 0 0px 6px 6px;
padding: 0 30px 0 0;
font-size: 11px;
position: relative;
top: 1px;
user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
vertical-align: bottom;
display: inline-block;
padding-right: 30px;
-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.08);
box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.wp-color-result-text {
.wp-color-result:after {
background: #f7f7f7;
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;
-webkit-box-shadow: inset 0 1px 0 #fff;
box-shadow: inset 0 1px 0 #fff;
}
.wp-color-result:hover,
.wp-color-result:focus {
.wp-color-result:hover {
background: #fafafa;
border-color: #999;
color: #23282d;
color: #222;
}
.wp-color-result:hover:after,
.wp-color-result:focus:after {
color: #23282d;
border-color: #a0a5aa;
.wp-color-result:hover:after {
color: #222;
border-color: #aaa;
border-right: 1px solid #999;
}
.wp-picker-containers {
.wp-color-result {
top: 0;
}
.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;
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
border-color: #888;
-webkit-box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.2 );
box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.2 );
}
.wp-color-result:active {
/* See Trac ticket #39662 */
-webkit-transform: none !important;
transform: none !important;
.wp-color-result:focus:after {
border-color: #888;
}
.wp-picker-open + .wp-picker-input-wrap {
@@ -59,19 +87,8 @@
vertical-align: top;
}
.wp-picker-input-wrap label {
display: inline-block;
vertical-align: top;
}
/* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */
.form-table .wp-picker-input-wrap label {
margin: 0 !important;
}
.wp-picker-input-wrap .button,
.wp-customizer .wp-picker-input-wrap .button {
margin-right: 6px;
.wp-picker-container .button {
margin-right: 6px;
}
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
@@ -80,7 +97,7 @@
.wp-picker-container .iris-picker {
border-radius: 0;
border-color: #ddd;
border-color: #dfdfdf;
margin-top: 6px;
}
@@ -88,22 +105,17 @@
width: 65px;
font-size: 12px;
font-family: monospace;
text-align: center;
line-height: 16px;
margin: 0;
vertical-align: top;
}
.wp-color-picker::-webkit-input-placeholder {
color: #72777c;
.wp-picker-container input[type="text"].wp-color-picker:focus::-webkit-input-placeholder {
color: transparent;
}
.wp-color-picker::-moz-placeholder {
color: #72777c;
opacity: 1;
}
.wp-color-picker:-ms-input-placeholder {
color: #72777c;
.wp-picker-container input[type="text"].wp-color-picker:-moz-placeholder {
color: #999;
}
.wp-picker-container input[type="text"].iris-error {
@@ -111,63 +123,3 @@
border-color: #c00;
color: #000;
}
.iris-picker .ui-square-handle:focus,
.iris-picker .iris-strip .ui-slider-handle:focus {
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
.iris-picker .iris-palette:focus {
box-shadow:
inset 0 0 5px rgba(0,0,0,.4),
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 {
width: 80px;
padding: 6px 5px 5px;
font-size: 16px;
line-height: 18px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 5px 5px 4px;
}
.wp-picker-container .wp-color-result.button {
height: auto;
padding: 0 40px 0 0;
font-size: 14px;
line-height: 29px;
}
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 13px;
line-height: 26px;
}
.wp-picker-container .wp-color-result-text {
padding: 0 14px;
font-size: inherit;
line-height: inherit;
}
.wp-customizer .wp-picker-container .wp-color-result-text {
padding: 0 10px;
}
}
@media screen and ( max-width: 640px ) {
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 14px;
line-height: 29px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 6px 5px;
}
}

View File

@@ -1,2 +1 @@
/*! This file is auto-generated */
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.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-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{-webkit-transform:none!important;transform:none!important}.wp-picker-input-wrap label,.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{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;vertical-align:top}.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{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),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{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 40px 0 0;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;border-radius:3px;cursor:pointer;display:inline-block;height:22px;margin:0 0 6px 6px;position:relative;top:1px;user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.wp-color-result:after{background:#f7f7f7;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;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.wp-color-result:hover{background:#fafafa;border-color:#999;color:#222}.wp-color-result:hover:after{color:#222;border-color:#aaa;border-right:1px solid #999}.wp-color-result{top:0}.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:#888;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.2)}.wp-color-result:focus:after{border-color:#888}.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{border-radius:0;border-color:#dfdfdf;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;text-align:center;line-height:16px;margin:0}.wp-picker-container input[type=text].wp-color-picker:focus::-webkit-input-placeholder{color:transparent}.wp-picker-container input[type=text].wp-color-picker:-moz-placeholder{color:#999}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}

View File

@@ -6,52 +6,80 @@
display: none;
}
/* Needs higher specificiity. */
.wp-picker-container .wp-color-result.button {
height: 24px;
.wp-color-result {
background-color: #f7f7f7;
border: 1px solid #ccc;
border-radius: 3px;
cursor: pointer;
display: inline-block;
height: 22px;
margin: 0 6px 6px 0px;
padding: 0 0 0 30px;
font-size: 11px;
position: relative;
top: 1px;
user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
vertical-align: bottom;
display: inline-block;
padding-left: 30px;
-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.08);
box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.wp-color-result-text {
.wp-color-result:after {
background: #f7f7f7;
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;
-webkit-box-shadow: inset 0 1px 0 #fff;
box-shadow: inset 0 1px 0 #fff;
}
.wp-color-result:hover,
.wp-color-result:focus {
.wp-color-result:hover {
background: #fafafa;
border-color: #999;
color: #23282d;
color: #222;
}
.wp-color-result:hover:after,
.wp-color-result:focus:after {
color: #23282d;
border-color: #a0a5aa;
.wp-color-result:hover:after {
color: #222;
border-color: #aaa;
border-left: 1px solid #999;
}
.wp-picker-containers {
.wp-color-result {
top: 0;
}
.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;
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
border-color: #888;
-webkit-box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.2 );
box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.2 );
}
.wp-color-result:active {
/* See Trac ticket #39662 */
-webkit-transform: none !important;
transform: none !important;
.wp-color-result:focus:after {
border-color: #888;
}
.wp-picker-open + .wp-picker-input-wrap {
@@ -59,19 +87,8 @@
vertical-align: top;
}
.wp-picker-input-wrap label {
display: inline-block;
vertical-align: top;
}
/* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */
.form-table .wp-picker-input-wrap label {
margin: 0 !important;
}
.wp-picker-input-wrap .button,
.wp-customizer .wp-picker-input-wrap .button {
margin-left: 6px;
.wp-picker-container .button {
margin-left: 6px;
}
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
@@ -80,7 +97,7 @@
.wp-picker-container .iris-picker {
border-radius: 0;
border-color: #ddd;
border-color: #dfdfdf;
margin-top: 6px;
}
@@ -88,22 +105,17 @@
width: 65px;
font-size: 12px;
font-family: monospace;
text-align: center;
line-height: 16px;
margin: 0;
vertical-align: top;
}
.wp-color-picker::-webkit-input-placeholder {
color: #72777c;
.wp-picker-container input[type="text"].wp-color-picker:focus::-webkit-input-placeholder {
color: transparent;
}
.wp-color-picker::-moz-placeholder {
color: #72777c;
opacity: 1;
}
.wp-color-picker:-ms-input-placeholder {
color: #72777c;
.wp-picker-container input[type="text"].wp-color-picker:-moz-placeholder {
color: #999;
}
.wp-picker-container input[type="text"].iris-error {
@@ -111,63 +123,3 @@
border-color: #c00;
color: #000;
}
.iris-picker .ui-square-handle:focus,
.iris-picker .iris-strip .ui-slider-handle:focus {
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
.iris-picker .iris-palette:focus {
box-shadow:
inset 0 0 5px rgba(0,0,0,.4),
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 {
width: 80px;
padding: 6px 5px 5px;
font-size: 16px;
line-height: 18px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 5px 5px 4px;
}
.wp-picker-container .wp-color-result.button {
height: auto;
padding: 0 0 0 40px;
font-size: 14px;
line-height: 29px;
}
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 13px;
line-height: 26px;
}
.wp-picker-container .wp-color-result-text {
padding: 0 14px;
font-size: inherit;
line-height: inherit;
}
.wp-customizer .wp-picker-container .wp-color-result-text {
padding: 0 10px;
}
}
@media screen and ( max-width: 640px ) {
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 14px;
line-height: 29px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 6px 5px;
}
}

View File

@@ -1,2 +1 @@
/*! This file is auto-generated */
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.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-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{-webkit-transform:none!important;transform:none!important}.wp-picker-input-wrap label,.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{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;vertical-align:top}.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{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),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{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 0 0 40px;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;border-radius:3px;cursor:pointer;display:inline-block;height:22px;margin:0 6px 6px 0;position:relative;top:1px;user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.wp-color-result:after{background:#f7f7f7;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;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.wp-color-result:hover{background:#fafafa;border-color:#999;color:#222}.wp-color-result:hover:after{color:#222;border-color:#aaa;border-left:1px solid #999}.wp-color-result{top:0}.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:#888;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.2)}.wp-color-result:focus:after{border-color:#888}.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{border-radius:0;border-color:#dfdfdf;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;text-align:center;line-height:16px;margin:0}.wp-picker-container input[type=text].wp-color-picker:focus::-webkit-input-placeholder{color:transparent}.wp-picker-container input[type=text].wp-color-picker:-moz-placeholder{color:#999}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}

2034
wp-admin/css/colors-rtl.css Normal file

File diff suppressed because it is too large Load Diff

1
wp-admin/css/colors-rtl.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2034
wp-admin/css/colors.css Normal file

File diff suppressed because it is too large Load Diff

1
wp-admin/css/colors.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -3,7 +3,7 @@
@import 'mixins';
body {
html {
background: $body-background;
}
@@ -20,10 +20,12 @@ a {
}
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: $link-focus;
}
@@ -31,11 +33,11 @@ div.dashboard-widget-submit input:hover,
/* Forms */
input[type=checkbox]:checked:before {
color: $form-checked;
color: $form-checked;
}
input[type=radio]:checked:before {
background: $form-checked;
background: $form-checked;
}
.wp-core-ui input[type="reset"]:hover,
@@ -83,8 +85,8 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover, /* deprecated */
.wrap .page-title-action:hover,
.wrap .add-new-h2:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: $menu-text;
@@ -99,6 +101,21 @@ input[type=radio]:checked:before {
color: $menu-bubble-background;
}
.post-com-count:hover:after {
border-top-color: $menu-background;
}
.post-com-count:hover span {
color: $menu-text;
background-color: $menu-background;
}
strong .post-com-count:after {
border-top-color: $menu-bubble-background;
}
strong .post-com-count span {
background-color: $menu-bubble-background;
}
/* Admin Menu */
@@ -135,7 +152,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: $body-background;
border-bottom-color: $body-background;
}
@@ -196,14 +212,7 @@ ul#adminmenu > li.current > a.current:after {
background: $menu-current-background;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: $menu-current-icon;
}
@@ -227,15 +236,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 {
@@ -257,25 +274,26 @@ ul#adminmenu > li.current > a.current:after {
color: $menu-icon;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: $menu-submenu-focus-text;
background: $menu-submenu-background;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: $menu-submenu-focus-text;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: $menu-highlight-icon;
}
@@ -294,7 +312,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: $menu-submenu-text;
}
@@ -307,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -316,28 +333,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: $menu-submenu-focus-text;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: $menu-submenu-focus-text;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: $menu-icon;
}
/* Admin Bar: search */
@@ -350,6 +358,12 @@ ul#adminmenu > li.current > a.current:after {
background: $adminbar-input-background;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { color: $menu-text; opacity: .7; }
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { color: $menu-text; opacity: .7; }
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { color: $menu-text; opacity: .7; }
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { color: $menu-text; opacity: .7; }
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
@@ -374,7 +388,6 @@ ul#adminmenu > li.current > a.current:after {
.wp-pointer .wp-pointer-content h3 {
background-color: $highlight-color;
border-color: darken( $highlight-color, 5% );
}
.wp-pointer .wp-pointer-content h3:before {
@@ -382,14 +395,12 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: $highlight-color;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
@@ -397,9 +408,7 @@ ul#adminmenu > li.current > a.current:after {
}
.details.attachment {
box-shadow:
inset 0 0 0 3px #fff,
inset 0 0 0 7px $highlight-color;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px $highlight-color;
}
.attachment.details .check {
@@ -407,59 +416,44 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px $highlight-color;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px $highlight-color;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: $highlight-color;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: $highlight-color;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: $menu-background;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: $highlight-color;
}
body.more-filters-opened .more-filters {
color: $menu-text;
background-color: $menu-background;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: $button-color;
border-color: darken( $button-color, 10% );
-webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
}
body.more-filters-opened .more-filters:before {
color: $menu-text;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: $body-background;
border-bottom-color: $body-background;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: $menu-highlight-background;
color: $menu-highlight-text;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: $menu-highlight-text;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: $menu-highlight-background;
color: $menu-highlight-text;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: $menu-highlight-text;
#plugin-information .action-button {
background: $button-color;
}
/* Responsive Component */
@@ -474,20 +468,10 @@ div#wp-responsive-toggle a:before {
background: $menu-highlight-background;
}
.star-rating .star {
color: $highlight-color;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: $menu-submenu-background;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: $menu-icon;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: $highlight-color;
}

View File

@@ -1,54 +1,37 @@
/*
* Button mixin- creates 3d-ish button effect with correct
* 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% );
border-color: darken( $button-color, 10% );
color: $text-color;
box-shadow: 0 1px 0 darken( $button-color, 15% );
text-shadow: 0 -1px 1px darken( $button-color, 15% ),
1px 0 1px darken( $button-color, 15% ),
0 1px 1px darken( $button-color, 15% ),
-1px 0 1px darken( $button-color, 15% );
-webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15);
&:hover,
&:focus {
background: lighten( $button-color, 3% );
background: darken( $button-color, 8% );
border-color: darken( $button-color, 15% );
color: $text-color;
box-shadow: 0 1px 0 darken( $button-color, 15% );
-webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 lighten( $button-color, 10% ), 0 1px 0 rgba(0,0,0,.15);
}
&:focus {
box-shadow: inset 0 1px 0 darken( $button-color, 10% ),
0 0 2px 1px #33b3db;
}
&:active,
&.active,
&.active:focus,
&.active:hover {
background: darken( $button-color, 10% );
&:active {
background: darken( $button-color, 8% );
border-color: darken( $button-color, 15% );
box-shadow: inset 0 2px 0 darken( $button-color, 15% );
color: $text-color;
-webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
}
&[disabled],
&:disabled,
&.button-primary-disabled,
&.disabled {
&.button-primary-disabled {
color: hsl( hue( $button-color ), 10%, 80% ) !important;
background: darken( $button-color, 8% ) !important;
border-color: darken( $button-color, 15% ) !important;
text-shadow: none !important;
}
&.button-hero {
box-shadow: 0 2px 0 darken( $button-color, 15% ) !important;
&:active {
box-shadow: inset 0 3px 0 darken( $button-color, 15% ) !important;
}
}
}

View File

@@ -4,9 +4,9 @@
// core variables
$text-color: #fff !default;
$base-color: #23282d !default;
$base-color: #222 !default;
$icon-color: hsl( hue( $base-color ), 7%, 95% ) !default;
$highlight-color: #0073aa !default;
$highlight-color: #0074a2 !default;
$notification-color: #d54e21 !default;
@@ -14,7 +14,7 @@ $notification-color: #d54e21 !default;
$body-background: #f1f1f1 !default;
$link: #0073aa !default;
$link: #0074a2 !default;
$link-focus: lighten( $link, 10% ) !default;
$button-color: $highlight-color !default;

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors-rtl.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #e1a948;
border-color: #d39323 #bd831f #bd831f;
color: #fff;
box-shadow: 0 1px 0 #bd831f;
text-shadow: 0 -1px 1px #bd831f, -1px 0 1px #bd831f, 0 1px 1px #bd831f, 1px 0 1px #bd831f;
border-color: #d39323;
color: white;
-webkit-box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e3af55;
background: #db9925;
border-color: #bd831f;
color: #fff;
box-shadow: 0 1px 0 #bd831f;
color: white;
-webkit-box-shadow: inset 0 1px 0 #e8be74, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e8be74, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #d39323;
.wp-core-ui .button-primary:active {
background: #db9925;
border-color: #bd831f;
box-shadow: inset 0 2px 0 #bd831f;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #d1cdc7 !important;
background: #db9925 !important;
border-color: #bd831f !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #bd831f !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #bd831f !important;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #52accc;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #fff;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #e1a948;
}
.post-com-count:hover:after {
border-top-color: #52accc;
}
.post-com-count:hover span {
color: #fff;
background-color: #52accc;
}
strong .post-com-count:after {
border-top-color: #e1a948;
}
strong .post-com-count span {
background-color: #e1a948;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f1f1f1;
border-bottom-color: #f1f1f1;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #096484;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #fff;
}
@@ -254,12 +256,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;
}
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #e5f8ff;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #fff;
background: #4796b3;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #fff;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #e2ecf1;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #fff;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #e5f8ff;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #e5f8ff;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #6eb9d4;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #fff;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #6eb9d4;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #096484;
border-color: #07526c;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #096484;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #096484;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #096484;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #096484;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #096484;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #52accc;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #096484;
}
body.more-filters-opened .more-filters {
color: #fff;
background-color: #52accc;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #e1a948;
border-color: #d39323;
-webkit-box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #fff;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f1f1f1;
border-bottom-color: #f1f1f1;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #096484;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #096484;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #e1a948;
}
/* Responsive Component */
@@ -484,19 +485,10 @@ div#wp-responsive-toggle a:before {
background: #096484;
}
.star-rating .star {
color: #096484;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #4796b3;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #e5f8ff;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #096484;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #e1a948;
border-color: #d39323 #bd831f #bd831f;
color: #fff;
box-shadow: 0 1px 0 #bd831f;
text-shadow: 0 -1px 1px #bd831f, 1px 0 1px #bd831f, 0 1px 1px #bd831f, -1px 0 1px #bd831f;
border-color: #d39323;
color: white;
-webkit-box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e3af55;
background: #db9925;
border-color: #bd831f;
color: #fff;
box-shadow: 0 1px 0 #bd831f;
color: white;
-webkit-box-shadow: inset 0 1px 0 #e8be74, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e8be74, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #d39323;
.wp-core-ui .button-primary:active {
background: #db9925;
border-color: #bd831f;
box-shadow: inset 0 2px 0 #bd831f;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #d1cdc7 !important;
background: #db9925 !important;
border-color: #bd831f !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #bd831f !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #bd831f !important;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #52accc;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #fff;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #e1a948;
}
.post-com-count:hover:after {
border-top-color: #52accc;
}
.post-com-count:hover span {
color: #fff;
background-color: #52accc;
}
strong .post-com-count:after {
border-top-color: #e1a948;
}
strong .post-com-count span {
background-color: #e1a948;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f1f1f1;
border-bottom-color: #f1f1f1;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #096484;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #fff;
}
@@ -254,12 +256,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;
}
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #e5f8ff;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #fff;
background: #4796b3;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #fff;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #e2ecf1;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #fff;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #e5f8ff;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #e5f8ff;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #6eb9d4;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #fff;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #6eb9d4;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #096484;
border-color: #07526c;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #096484;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #096484;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #096484;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #096484;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #096484;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #52accc;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #096484;
}
body.more-filters-opened .more-filters {
color: #fff;
background-color: #52accc;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #e1a948;
border-color: #d39323;
-webkit-box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #ecc88a, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #fff;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f1f1f1;
border-bottom-color: #f1f1f1;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #096484;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #096484;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #e1a948;
}
/* Responsive Component */
@@ -484,19 +485,10 @@ div#wp-responsive-toggle a:before {
background: #096484;
}
.star-rating .star {
color: #096484;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #4796b3;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #e5f8ff;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #096484;
}

File diff suppressed because one or more lines are too long

View File

@@ -8,4 +8,5 @@ $menu-submenu-text: #e2ecf1;
$menu-submenu-focus-text: #fff;
$menu-submenu-background: #4796b3;
@import "../../colors.css";
@import "../_admin.scss";

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors-rtl.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #c7a589;
border-color: #b78b66 #ae7d55 #ae7d55;
color: #fff;
box-shadow: 0 1px 0 #ae7d55;
text-shadow: 0 -1px 1px #ae7d55, -1px 0 1px #ae7d55, 0 1px 1px #ae7d55, 1px 0 1px #ae7d55;
border-color: #b78b66;
color: white;
-webkit-box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #ccad93;
background: #ba906d;
border-color: #ae7d55;
color: #fff;
box-shadow: 0 1px 0 #ae7d55;
color: white;
-webkit-box-shadow: inset 0 1px 0 #d7bfac, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #d7bfac, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #b78b66;
.wp-core-ui .button-primary:active {
background: #ba906d;
border-color: #ae7d55;
box-shadow: inset 0 2px 0 #ae7d55;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #d1ccc7 !important;
background: #ba906d !important;
border-color: #ae7d55 !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #ae7d55 !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #ae7d55 !important;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #59524c;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #fff;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #9ea476;
}
.post-com-count:hover:after {
border-top-color: #59524c;
}
.post-com-count:hover span {
color: #fff;
background-color: #59524c;
}
strong .post-com-count:after {
border-top-color: #9ea476;
}
strong .post-com-count span {
background-color: #9ea476;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f1f1f1;
border-bottom-color: #f1f1f1;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #c7a589;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #fff;
}
@@ -254,13 +256,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 */
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #f3f2f1;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #c7a589;
background: #46403c;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #c7a589;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #cdcbc9;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #c7a589;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #c7a589;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #f3f2f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #f3f2f1;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #6c645c;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #fff;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #6c645c;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #c7a589;
border-color: #bf9878;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #c7a589;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #c7a589;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #c7a589;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #c7a589;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #c7a589;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #59524c;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #c7a589;
}
body.more-filters-opened .more-filters {
color: #fff;
background-color: #59524c;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #c7a589;
border-color: #b78b66;
-webkit-box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #fff;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f1f1f1;
border-bottom-color: #f1f1f1;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #c7a589;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #c7a589;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #c7a589;
}
/* Responsive Component */
@@ -484,19 +485,10 @@ div#wp-responsive-toggle a:before {
background: #c7a589;
}
.star-rating .star {
color: #c7a589;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #46403c;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #f3f2f1;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #c7a589;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #c7a589;
border-color: #b78b66 #ae7d55 #ae7d55;
color: #fff;
box-shadow: 0 1px 0 #ae7d55;
text-shadow: 0 -1px 1px #ae7d55, 1px 0 1px #ae7d55, 0 1px 1px #ae7d55, -1px 0 1px #ae7d55;
border-color: #b78b66;
color: white;
-webkit-box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #ccad93;
background: #ba906d;
border-color: #ae7d55;
color: #fff;
box-shadow: 0 1px 0 #ae7d55;
color: white;
-webkit-box-shadow: inset 0 1px 0 #d7bfac, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #d7bfac, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #b78b66;
.wp-core-ui .button-primary:active {
background: #ba906d;
border-color: #ae7d55;
box-shadow: inset 0 2px 0 #ae7d55;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #d1ccc7 !important;
background: #ba906d !important;
border-color: #ae7d55 !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #ae7d55 !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #ae7d55 !important;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #59524c;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #fff;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #9ea476;
}
.post-com-count:hover:after {
border-top-color: #59524c;
}
.post-com-count:hover span {
color: #fff;
background-color: #59524c;
}
strong .post-com-count:after {
border-top-color: #9ea476;
}
strong .post-com-count span {
background-color: #9ea476;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f1f1f1;
border-bottom-color: #f1f1f1;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #c7a589;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #fff;
}
@@ -254,13 +256,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 */
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #f3f2f1;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #c7a589;
background: #46403c;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #c7a589;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #cdcbc9;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #c7a589;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #c7a589;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #f3f2f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #f3f2f1;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #6c645c;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #fff;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #6c645c;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #c7a589;
border-color: #bf9878;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #c7a589;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #c7a589;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #c7a589;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #c7a589;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #c7a589;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #59524c;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #c7a589;
}
body.more-filters-opened .more-filters {
color: #fff;
background-color: #59524c;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #c7a589;
border-color: #b78b66;
-webkit-box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e0cdbd, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #fff;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f1f1f1;
border-bottom-color: #f1f1f1;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #c7a589;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #c7a589;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #c7a589;
}
/* Responsive Component */
@@ -484,19 +485,10 @@ div#wp-responsive-toggle a:before {
background: #c7a589;
}
.star-rating .star {
color: #c7a589;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #46403c;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #f3f2f1;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #c7a589;
}

File diff suppressed because one or more lines are too long

View File

@@ -4,4 +4,5 @@ $notification-color: #9ea476;
$form-checked: $base-color;
@import "../../colors.css";
@import "../_admin.scss";

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors-rtl.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #a3b745;
border-color: #829237 #727f30 #727f30;
color: #fff;
box-shadow: 0 1px 0 #727f30;
text-shadow: 0 -1px 1px #727f30, -1px 0 1px #727f30, 0 1px 1px #727f30, 1px 0 1px #727f30;
border-color: #829237;
color: white;
-webkit-box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a9bd4f;
background: #89993a;
border-color: #727f30;
color: #fff;
box-shadow: 0 1px 0 #727f30;
color: white;
-webkit-box-shadow: inset 0 1px 0 #b6c669, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #b6c669, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #829237;
.wp-core-ui .button-primary:active {
background: #89993a;
border-color: #727f30;
box-shadow: inset 0 2px 0 #727f30;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #cfd1c7 !important;
background: #89993a !important;
border-color: #727f30 !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #727f30 !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #727f30 !important;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #523f6d;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #fff;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #d46f15;
}
.post-com-count:hover:after {
border-top-color: #523f6d;
}
.post-com-count:hover span {
color: #fff;
background-color: #523f6d;
}
strong .post-com-count:after {
border-top-color: #d46f15;
}
strong .post-com-count span {
background-color: #d46f15;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f1f1f1;
border-bottom-color: #f1f1f1;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #a3b745;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #fff;
}
@@ -254,13 +256,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 */
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #ece6f6;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #a3b745;
background: #413256;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #a3b745;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #cbc5d3;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #a3b745;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #a3b745;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #ece6f6;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #ece6f6;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #634c84;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #fff;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #634c84;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #a3b745;
border-color: #93a43e;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #a3b745;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #a3b745;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #a3b745;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #a3b745;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #a3b745;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #523f6d;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #a3b745;
}
body.more-filters-opened .more-filters {
color: #fff;
background-color: #523f6d;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #a3b745;
border-color: #829237;
-webkit-box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #fff;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f1f1f1;
border-bottom-color: #f1f1f1;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #a3b745;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #a3b745;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #a3b745;
}
/* Responsive Component */
@@ -484,19 +485,10 @@ div#wp-responsive-toggle a:before {
background: #a3b745;
}
.star-rating .star {
color: #a3b745;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #413256;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #ece6f6;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #a3b745;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #a3b745;
border-color: #829237 #727f30 #727f30;
color: #fff;
box-shadow: 0 1px 0 #727f30;
text-shadow: 0 -1px 1px #727f30, 1px 0 1px #727f30, 0 1px 1px #727f30, -1px 0 1px #727f30;
border-color: #829237;
color: white;
-webkit-box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a9bd4f;
background: #89993a;
border-color: #727f30;
color: #fff;
box-shadow: 0 1px 0 #727f30;
color: white;
-webkit-box-shadow: inset 0 1px 0 #b6c669, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #b6c669, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #829237;
.wp-core-ui .button-primary:active {
background: #89993a;
border-color: #727f30;
box-shadow: inset 0 2px 0 #727f30;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #cfd1c7 !important;
background: #89993a !important;
border-color: #727f30 !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #727f30 !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #727f30 !important;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #523f6d;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #fff;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #d46f15;
}
.post-com-count:hover:after {
border-top-color: #523f6d;
}
.post-com-count:hover span {
color: #fff;
background-color: #523f6d;
}
strong .post-com-count:after {
border-top-color: #d46f15;
}
strong .post-com-count span {
background-color: #d46f15;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f1f1f1;
border-bottom-color: #f1f1f1;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #a3b745;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #fff;
}
@@ -254,13 +256,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 */
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #ece6f6;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #a3b745;
background: #413256;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #a3b745;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #cbc5d3;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #a3b745;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #a3b745;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #ece6f6;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #ece6f6;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #634c84;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #fff;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #634c84;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #a3b745;
border-color: #93a43e;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #a3b745;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #a3b745;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #a3b745;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #a3b745;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #a3b745;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #523f6d;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #a3b745;
}
body.more-filters-opened .more-filters {
color: #fff;
background-color: #523f6d;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #a3b745;
border-color: #829237;
-webkit-box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #bfcd7b, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #fff;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f1f1f1;
border-bottom-color: #f1f1f1;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #a3b745;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #a3b745;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #a3b745;
}
/* Responsive Component */
@@ -484,19 +485,10 @@ div#wp-responsive-toggle a:before {
background: #a3b745;
}
.star-rating .star {
color: #a3b745;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #413256;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #ece6f6;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #a3b745;
}

File diff suppressed because one or more lines are too long

View File

@@ -5,4 +5,5 @@ $notification-color: #d46f15;
$form-checked: $base-color;
@import "../../colors.css";
@import "../_admin.scss";

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors-rtl.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f5f5f5;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #04a4cc;
border-color: #037c9a #036881 #036881;
color: #fff;
box-shadow: 0 1px 0 #036881;
text-shadow: 0 -1px 1px #036881, -1px 0 1px #036881, 0 1px 1px #036881, 1px 0 1px #036881;
border-color: #037c9a;
color: white;
-webkit-box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #04b0db;
background: #0384a4;
border-color: #036881;
color: #fff;
box-shadow: 0 1px 0 #036881;
color: white;
-webkit-box-shadow: inset 0 1px 0 #09cafa, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #09cafa, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #037c9a;
.wp-core-ui .button-primary:active {
background: #0384a4;
border-color: #036881;
box-shadow: inset 0 2px 0 #036881;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #c7cfd1 !important;
background: #0384a4 !important;
border-color: #036881 !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #036881 !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #036881 !important;
}
.wp-core-ui .wp-ui-primary {
color: #333;
background-color: #e5e5e5;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #333;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #d64e07;
}
.post-com-count:hover:after {
border-top-color: #e5e5e5;
}
.post-com-count:hover span {
color: #333;
background-color: #e5e5e5;
}
strong .post-com-count:after {
border-top-color: #d64e07;
}
strong .post-com-count span {
background-color: #d64e07;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f5f5f5;
border-bottom-color: #f5f5f5;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #888;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #ccc;
}
@@ -254,13 +256,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 */
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #999;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #04a4cc;
background: #fff;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #04a4cc;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #ccc;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #686868;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #04a4cc;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #04a4cc;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #999;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #999;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #f7f7f7;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #333;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #333;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #333;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #333;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #f7f7f7;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #04a4cc;
border-color: #0490b3;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #04a4cc;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #04a4cc;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #04a4cc;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #04a4cc;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #04a4cc;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #e5e5e5;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #04a4cc;
}
body.more-filters-opened .more-filters {
color: #333;
background-color: #e5e5e5;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #04a4cc;
border-color: #037c9a;
-webkit-box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #333;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f5f5f5;
border-bottom-color: #f5f5f5;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #888;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #888;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #04a4cc;
}
/* Responsive Component */
@@ -484,23 +485,14 @@ div#wp-responsive-toggle a:before {
background: #888;
}
.star-rating .star {
color: #04a4cc;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #fff;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #999;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #04a4cc;
}
/* temporary fix for admin-bar hover color */
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
@@ -508,13 +500,7 @@ div#wp-responsive-toggle a:before {
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #333;
}
/* Override the theme filter highlight color for this scheme */
.theme-section.current,
.theme-filter.current {
border-bottom-color: #04a4cc;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f5f5f5;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #04a4cc;
border-color: #037c9a #036881 #036881;
color: #fff;
box-shadow: 0 1px 0 #036881;
text-shadow: 0 -1px 1px #036881, 1px 0 1px #036881, 0 1px 1px #036881, -1px 0 1px #036881;
border-color: #037c9a;
color: white;
-webkit-box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #04b0db;
background: #0384a4;
border-color: #036881;
color: #fff;
box-shadow: 0 1px 0 #036881;
color: white;
-webkit-box-shadow: inset 0 1px 0 #09cafa, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #09cafa, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #037c9a;
.wp-core-ui .button-primary:active {
background: #0384a4;
border-color: #036881;
box-shadow: inset 0 2px 0 #036881;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #c7cfd1 !important;
background: #0384a4 !important;
border-color: #036881 !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #036881 !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #036881 !important;
}
.wp-core-ui .wp-ui-primary {
color: #333;
background-color: #e5e5e5;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #333;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #d64e07;
}
.post-com-count:hover:after {
border-top-color: #e5e5e5;
}
.post-com-count:hover span {
color: #333;
background-color: #e5e5e5;
}
strong .post-com-count:after {
border-top-color: #d64e07;
}
strong .post-com-count span {
background-color: #d64e07;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f5f5f5;
border-bottom-color: #f5f5f5;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #888;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #ccc;
}
@@ -254,13 +256,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 */
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #999;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #04a4cc;
background: #fff;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #04a4cc;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #ccc;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #686868;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #04a4cc;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #04a4cc;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #999;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #999;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #f7f7f7;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #333;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #333;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #333;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #333;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #f7f7f7;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #04a4cc;
border-color: #0490b3;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #04a4cc;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #04a4cc;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #04a4cc;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #04a4cc;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #04a4cc;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #e5e5e5;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #04a4cc;
}
body.more-filters-opened .more-filters {
color: #333;
background-color: #e5e5e5;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #04a4cc;
border-color: #037c9a;
-webkit-box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #22cffb, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #333;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f5f5f5;
border-bottom-color: #f5f5f5;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #888;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #888;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #04a4cc;
}
/* Responsive Component */
@@ -484,23 +485,14 @@ div#wp-responsive-toggle a:before {
background: #888;
}
.star-rating .star {
color: #04a4cc;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #fff;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #999;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #04a4cc;
}
/* temporary fix for admin-bar hover color */
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
@@ -508,13 +500,7 @@ div#wp-responsive-toggle a:before {
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #333;
}
/* Override the theme filter highlight color for this scheme */
.theme-section.current,
.theme-filter.current {
border-bottom-color: #04a4cc;
}

File diff suppressed because one or more lines are too long

View File

@@ -17,6 +17,7 @@ $menu-submenu-background: #fff;
$menu-collapse-text: #777;
$menu-collapse-focus-icon: #555;
@import "../../colors.css";
@import "../_admin.scss";
/* temporary fix for admin-bar hover color */
@@ -26,13 +27,7 @@ $menu-collapse-focus-icon: #555;
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: $text-color;
}
/* Override the theme filter highlight color for this scheme */
.theme-section.current,
.theme-filter.current {
border-bottom-color: $highlight-color;
}

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors-rtl.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #e14d43;
border-color: #d02c21 #ba281e #ba281e;
color: #fff;
box-shadow: 0 1px 0 #ba281e;
text-shadow: 0 -1px 1px #ba281e, -1px 0 1px #ba281e, 0 1px 1px #ba281e, 1px 0 1px #ba281e;
border-color: #d02c21;
color: white;
-webkit-box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e35950;
background: #d92e23;
border-color: #ba281e;
color: #fff;
box-shadow: 0 1px 0 #ba281e;
color: white;
-webkit-box-shadow: inset 0 1px 0 #e8776f, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e8776f, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #d02c21;
.wp-core-ui .button-primary:active {
background: #d92e23;
border-color: #ba281e;
box-shadow: inset 0 2px 0 #ba281e;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #d1c8c7 !important;
background: #d92e23 !important;
border-color: #ba281e !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #ba281e !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #ba281e !important;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #363b3f;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #fff;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #69a8bb;
}
.post-com-count:hover:after {
border-top-color: #363b3f;
}
.post-com-count:hover span {
color: #fff;
background-color: #363b3f;
}
strong .post-com-count:after {
border-top-color: #69a8bb;
}
strong .post-com-count span {
background-color: #69a8bb;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f1f1f1;
border-bottom-color: #f1f1f1;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #e14d43;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #fff;
}
@@ -254,13 +256,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 */
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #f1f2f3;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #e14d43;
background: #26292c;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #e14d43;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #c3c4c5;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #e14d43;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #e14d43;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #f1f2f3;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #f1f2f3;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #464d52;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #fff;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #464d52;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #e14d43;
border-color: #dd382d;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #e14d43;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #e14d43;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #e14d43;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #e14d43;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #e14d43;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #363b3f;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #e14d43;
}
body.more-filters-opened .more-filters {
color: #fff;
background-color: #363b3f;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #e14d43;
border-color: #d02c21;
-webkit-box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #fff;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f1f1f1;
border-bottom-color: #f1f1f1;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #e14d43;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #e14d43;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #e14d43;
}
/* Responsive Component */
@@ -484,19 +485,10 @@ div#wp-responsive-toggle a:before {
background: #e14d43;
}
.star-rating .star {
color: #e14d43;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #26292c;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #f1f2f3;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #e14d43;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #e14d43;
border-color: #d02c21 #ba281e #ba281e;
color: #fff;
box-shadow: 0 1px 0 #ba281e;
text-shadow: 0 -1px 1px #ba281e, 1px 0 1px #ba281e, 0 1px 1px #ba281e, -1px 0 1px #ba281e;
border-color: #d02c21;
color: white;
-webkit-box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e35950;
background: #d92e23;
border-color: #ba281e;
color: #fff;
box-shadow: 0 1px 0 #ba281e;
color: white;
-webkit-box-shadow: inset 0 1px 0 #e8776f, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e8776f, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #d02c21;
.wp-core-ui .button-primary:active {
background: #d92e23;
border-color: #ba281e;
box-shadow: inset 0 2px 0 #ba281e;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #d1c8c7 !important;
background: #d92e23 !important;
border-color: #ba281e !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #ba281e !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #ba281e !important;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #363b3f;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #fff;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #69a8bb;
}
.post-com-count:hover:after {
border-top-color: #363b3f;
}
.post-com-count:hover span {
color: #fff;
background-color: #363b3f;
}
strong .post-com-count:after {
border-top-color: #69a8bb;
}
strong .post-com-count span {
background-color: #69a8bb;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f1f1f1;
border-bottom-color: #f1f1f1;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #e14d43;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #fff;
}
@@ -254,13 +256,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 */
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #f1f2f3;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #e14d43;
background: #26292c;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #e14d43;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #c3c4c5;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #e14d43;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #e14d43;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #f1f2f3;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #f1f2f3;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #464d52;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #fff;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #464d52;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #e14d43;
border-color: #dd382d;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #e14d43;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #e14d43;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #e14d43;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #e14d43;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #e14d43;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #363b3f;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #e14d43;
}
body.more-filters-opened .more-filters {
color: #fff;
background-color: #363b3f;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #e14d43;
border-color: #d02c21;
-webkit-box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #ec8b85, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #fff;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f1f1f1;
border-bottom-color: #f1f1f1;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #e14d43;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #e14d43;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #e14d43;
}
/* Responsive Component */
@@ -484,19 +485,10 @@ div#wp-responsive-toggle a:before {
background: #e14d43;
}
.star-rating .star {
color: #e14d43;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #26292c;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #f1f2f3;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #e14d43;
}

File diff suppressed because one or more lines are too long

View File

@@ -2,4 +2,5 @@ $base-color: #363b3f;
$highlight-color: #e14d43;
$notification-color: #69a8bb;
@import "../../colors.css";
@import "../_admin.scss";

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors-rtl.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #9ebaa0;
border-color: #80a583 #719a74 #719a74;
color: #fff;
box-shadow: 0 1px 0 #719a74;
text-shadow: 0 -1px 1px #719a74, -1px 0 1px #719a74, 0 1px 1px #719a74, 1px 0 1px #719a74;
border-color: #80a583;
color: white;
-webkit-box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a7c0a9;
background: #86a989;
border-color: #719a74;
color: #fff;
box-shadow: 0 1px 0 #719a74;
color: white;
-webkit-box-shadow: inset 0 1px 0 #bccfbd, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #bccfbd, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #80a583;
.wp-core-ui .button-primary:active {
background: #86a989;
border-color: #719a74;
box-shadow: inset 0 2px 0 #719a74;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #c7d1c8 !important;
background: #86a989 !important;
border-color: #719a74 !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #719a74 !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #719a74 !important;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #738e96;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #fff;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #aa9d88;
}
.post-com-count:hover:after {
border-top-color: #738e96;
}
.post-com-count:hover span {
color: #fff;
background-color: #738e96;
}
strong .post-com-count:after {
border-top-color: #aa9d88;
}
strong .post-com-count span {
background-color: #aa9d88;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f1f1f1;
border-bottom-color: #f1f1f1;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #9ebaa0;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #fff;
}
@@ -254,13 +256,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 */
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #f2fcff;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #9ebaa0;
background: #627c83;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #9ebaa0;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #d5dde0;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #9ebaa0;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #9ebaa0;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #f2fcff;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #f2fcff;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #879ea5;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #fff;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #879ea5;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #9ebaa0;
border-color: #8faf91;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #9ebaa0;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #9ebaa0;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #9ebaa0;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #9ebaa0;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #9ebaa0;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #738e96;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #9ebaa0;
}
body.more-filters-opened .more-filters {
color: #fff;
background-color: #738e96;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #9ebaa0;
border-color: #80a583;
-webkit-box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #fff;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f1f1f1;
border-bottom-color: #f1f1f1;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #9ebaa0;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #9ebaa0;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #9ebaa0;
}
/* Responsive Component */
@@ -484,19 +485,10 @@ div#wp-responsive-toggle a:before {
background: #9ebaa0;
}
.star-rating .star {
color: #9ebaa0;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #627c83;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #f2fcff;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #9ebaa0;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #9ebaa0;
border-color: #80a583 #719a74 #719a74;
color: #fff;
box-shadow: 0 1px 0 #719a74;
text-shadow: 0 -1px 1px #719a74, 1px 0 1px #719a74, 0 1px 1px #719a74, -1px 0 1px #719a74;
border-color: #80a583;
color: white;
-webkit-box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a7c0a9;
background: #86a989;
border-color: #719a74;
color: #fff;
box-shadow: 0 1px 0 #719a74;
color: white;
-webkit-box-shadow: inset 0 1px 0 #bccfbd, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #bccfbd, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #80a583;
.wp-core-ui .button-primary:active {
background: #86a989;
border-color: #719a74;
box-shadow: inset 0 2px 0 #719a74;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #c7d1c8 !important;
background: #86a989 !important;
border-color: #719a74 !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #719a74 !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #719a74 !important;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #738e96;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #fff;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #aa9d88;
}
.post-com-count:hover:after {
border-top-color: #738e96;
}
.post-com-count:hover span {
color: #fff;
background-color: #738e96;
}
strong .post-com-count:after {
border-top-color: #aa9d88;
}
strong .post-com-count span {
background-color: #aa9d88;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f1f1f1;
border-bottom-color: #f1f1f1;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #9ebaa0;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #fff;
}
@@ -254,13 +256,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 */
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #f2fcff;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #9ebaa0;
background: #627c83;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #9ebaa0;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #d5dde0;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #9ebaa0;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #9ebaa0;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #f2fcff;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #f2fcff;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #879ea5;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #fff;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #879ea5;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #9ebaa0;
border-color: #8faf91;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #9ebaa0;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #9ebaa0;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #9ebaa0;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #9ebaa0;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #9ebaa0;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #738e96;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #9ebaa0;
}
body.more-filters-opened .more-filters {
color: #fff;
background-color: #738e96;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #9ebaa0;
border-color: #80a583;
-webkit-box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #cbdacc, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #fff;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f1f1f1;
border-bottom-color: #f1f1f1;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #9ebaa0;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #9ebaa0;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #9ebaa0;
}
/* Responsive Component */
@@ -484,19 +485,10 @@ div#wp-responsive-toggle a:before {
background: #9ebaa0;
}
.star-rating .star {
color: #9ebaa0;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #627c83;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #f2fcff;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #9ebaa0;
}

File diff suppressed because one or more lines are too long

View File

@@ -5,4 +5,5 @@ $notification-color: #aa9d88;
$form-checked: $base-color;
@import "../../colors.css";
@import "../_admin.scss";

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors-rtl.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #dd823b;
border-color: #c36922 #ad5d1e #ad5d1e;
color: #fff;
box-shadow: 0 1px 0 #ad5d1e;
text-shadow: 0 -1px 1px #ad5d1e, -1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, 1px 0 1px #ad5d1e;
border-color: #c36922;
color: white;
-webkit-box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #df8a48;
background: #cc6d23;
border-color: #ad5d1e;
color: #fff;
box-shadow: 0 1px 0 #ad5d1e;
color: white;
-webkit-box-shadow: inset 0 1px 0 #e59e66, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e59e66, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #c36922;
.wp-core-ui .button-primary:active {
background: #cc6d23;
border-color: #ad5d1e;
box-shadow: inset 0 2px 0 #ad5d1e;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #d1cbc7 !important;
background: #cc6d23 !important;
border-color: #ad5d1e !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #ad5d1e !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #ad5d1e !important;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #cf4944;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #fff;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #ccaf0b;
}
.post-com-count:hover:after {
border-top-color: #cf4944;
}
.post-com-count:hover span {
color: #fff;
background-color: #cf4944;
}
strong .post-com-count:after {
border-top-color: #ccaf0b;
}
strong .post-com-count span {
background-color: #ccaf0b;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f1f1f1;
border-bottom-color: #f1f1f1;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #dd823b;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #fff;
}
@@ -254,13 +256,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 */
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #f3f1f1;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #f7e3d3;
background: #be3631;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #f7e3d3;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #f1c8c7;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #f7e3d3;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #f7e3d3;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #f3f1f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #f3f1f1;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #d66560;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #fff;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #d66560;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #dd823b;
border-color: #d97426;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #dd823b;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #dd823b;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #dd823b;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #dd823b;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #dd823b;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #cf4944;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #dd823b;
}
body.more-filters-opened .more-filters {
color: #fff;
background-color: #cf4944;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #dd823b;
border-color: #c36922;
-webkit-box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #fff;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f1f1f1;
border-bottom-color: #f1f1f1;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #dd823b;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #dd823b;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #dd823b;
}
/* Responsive Component */
@@ -484,19 +485,10 @@ div#wp-responsive-toggle a:before {
background: #dd823b;
}
.star-rating .star {
color: #dd823b;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #be3631;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #f3f1f1;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #dd823b;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,26 +1,28 @@
/*! This file is auto-generated */
@import url(../../colors.css);
/*
* Button mixin- creates 3d-ish button effect with correct
* Button mixin- creates 3d-ish button effect with correct
* highlights/shadows, based on a base color.
*/
body {
html {
background: #f1f1f1;
}
/* Links */
a {
color: #0073aa;
color: #0074a2;
}
a:hover, a:active, a:focus {
color: #0096dd;
color: #0099d5;
}
#rightnow a:hover,
#media-upload a.del-link:hover,
div.dashboard-widget-submit input:hover,
.subsubsub a:hover,
.subsubsub a.current:hover {
color: #0096dd;
.subsubsub a.current:hover,
.ui-tabs-nav a:hover {
color: #0099d5;
}
/* Forms */
@@ -34,50 +36,41 @@ input[type=radio]:checked:before {
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
color: #0096dd;
color: #0099d5;
}
/* Core UI */
.wp-core-ui .button-primary {
background: #dd823b;
border-color: #c36922 #ad5d1e #ad5d1e;
color: #fff;
box-shadow: 0 1px 0 #ad5d1e;
text-shadow: 0 -1px 1px #ad5d1e, 1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, -1px 0 1px #ad5d1e;
border-color: #c36922;
color: white;
-webkit-box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #df8a48;
background: #cc6d23;
border-color: #ad5d1e;
color: #fff;
box-shadow: 0 1px 0 #ad5d1e;
color: white;
-webkit-box-shadow: inset 0 1px 0 #e59e66, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e59e66, 0 1px 0 rgba(0, 0, 0, 0.15);
}
.wp-core-ui .button-primary:focus {
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
}
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #c36922;
.wp-core-ui .button-primary:active {
background: #cc6d23;
border-color: #ad5d1e;
box-shadow: inset 0 2px 0 #ad5d1e;
color: white;
-webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled {
color: #d1cbc7 !important;
background: #cc6d23 !important;
border-color: #ad5d1e !important;
text-shadow: none !important;
}
.wp-core-ui .button-primary.button-hero {
box-shadow: 0 2px 0 #ad5d1e !important;
}
.wp-core-ui .button-primary.button-hero:active {
box-shadow: inset 0 3px 0 #ad5d1e !important;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #cf4944;
@@ -111,7 +104,7 @@ input[type=radio]:checked:before {
/* List tables */
.wrap .add-new-h2:hover,
.wrap .page-title-action:hover,
#add-new-comment a:hover,
.tablenav .tablenav-pages a:hover,
.tablenav .tablenav-pages a:focus {
color: #fff;
@@ -126,6 +119,23 @@ input[type=radio]:checked:before {
color: #ccaf0b;
}
.post-com-count:hover:after {
border-top-color: #cf4944;
}
.post-com-count:hover span {
color: #fff;
background-color: #cf4944;
}
strong .post-com-count:after {
border-top-color: #ccaf0b;
}
strong .post-com-count span {
background-color: #ccaf0b;
}
/* Admin Menu */
#adminmenuback,
#adminmenuwrap,
@@ -158,7 +168,6 @@ input[type=radio]:checked:before {
.about-wrap h2 .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
background-color: #f1f1f1;
border-bottom-color: #f1f1f1;
}
@@ -227,14 +236,7 @@ ul#adminmenu > li.current > a.current:after {
background: #dd823b;
}
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
#adminmenu a.current:hover div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
#adminmenu li:hover div.wp-menu-image:before,
#adminmenu li a:focus div.wp-menu-image:before,
#adminmenu li.opensub div.wp-menu-image:before,
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before {
color: #fff;
}
@@ -254,13 +256,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 */
@@ -283,25 +292,26 @@ ul#adminmenu > li.current > a.current:after {
color: #f3f1f1;
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.hover > .ab-item,
#wpadminbar .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #f7e3d3;
background: #be3631;
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
#wpadminbar > #wp-toolbar li:hover span.ab-label,
#wpadminbar > #wp-toolbar li.hover span.ab-label,
#wpadminbar > #wp-toolbar a:focus span.ab-label {
color: #f7e3d3;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
#wpadminbar li:hover .ab-icon:before,
#wpadminbar li:hover .ab-item:before,
#wpadminbar li:hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #fff;
}
@@ -318,7 +328,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
#wpadminbar-nojs .quicklinks .menupop:hover ul li a {
color: #f1c8c7;
}
@@ -331,7 +341,6 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks .menupop ul li a:focus,
#wpadminbar .quicklinks .menupop ul li a:hover strong,
#wpadminbar .quicklinks .menupop ul li a:focus strong,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
@@ -340,28 +349,19 @@ 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,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
#wpadminbar li:hover .ab-item:after,
#wpadminbar li.hover .ab-item:after,
#wpadminbar li:hover #adminbarsearch:before {
color: #f7e3d3;
}
#wpadminbar .quicklinks li a:hover .blavatar,
#wpadminbar .quicklinks li a:focus .blavatar,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
#wpadminbar .menupop .menupop > .ab-item:hover:before {
color: #f7e3d3;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: #f3f1f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: #f3f1f1;
@@ -372,6 +372,26 @@ ul#adminmenu > li.current > a.current:after {
background: #d66560;
}
#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
color: #fff;
opacity: .7;
}
#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
color: #fff;
opacity: .7;
}
/* Admin Bar: my account */
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
border-color: #d66560;
@@ -393,7 +413,6 @@ ul#adminmenu > li.current > a.current:after {
/* Pointers */
.wp-pointer .wp-pointer-content h3 {
background-color: #dd823b;
border-color: #d97426;
}
.wp-pointer .wp-pointer-content h3:before {
@@ -401,20 +420,18 @@ ul#adminmenu > li.current > a.current:after {
}
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow {
border-bottom-color: #dd823b;
}
/* Media */
/* Media Uploader */
.media-item .bar,
.media-progress-bar div {
background-color: #dd823b;
}
.details.attachment {
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
box-shadow: 0 0 0 1px #fff, 0 0 0 5px #dd823b;
}
.attachment.details .check {
@@ -422,56 +439,40 @@ ul#adminmenu > li.current > a.current:after {
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
}
.media-selection .attachment.selection.details .thumbnail {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
}
/* Themes */
.theme-browser .theme.active .theme-name,
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
.theme-browser .theme.add-new-theme:hover:after {
background: #dd823b;
}
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme:hover span:after {
color: #dd823b;
}
.theme-section.current,
.theme-filter.current {
border-bottom-color: #cf4944;
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:hover {
background: #dd823b;
}
body.more-filters-opened .more-filters {
color: #fff;
background-color: #cf4944;
/* jQuery UI Slider */
.wp-slider .ui-slider-handle,
.wp-slider .ui-slider-handle.ui-state-hover,
.wp-slider .ui-slider-handle.focus {
background: #dd823b;
border-color: #c36922;
-webkit-box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 0 #e8ac7c, 0 1px 0 rgba(0, 0, 0, 0.15);
}
body.more-filters-opened .more-filters:before {
color: #fff;
/* Thickbox: Plugin information */
#sidemenu a.current {
background: #f1f1f1;
border-bottom-color: #f1f1f1;
}
body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus {
background-color: #dd823b;
color: #fff;
}
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
color: #fff;
}
/* Widgets */
.widgets-chooser li.widgets-chooser-selected {
background-color: #dd823b;
color: #fff;
}
.widgets-chooser li.widgets-chooser-selected:before,
.widgets-chooser li.widgets-chooser-selected:focus:before {
color: #fff;
#plugin-information .action-button {
background: #dd823b;
}
/* Responsive Component */
@@ -484,19 +485,10 @@ div#wp-responsive-toggle a:before {
background: #dd823b;
}
.star-rating .star {
color: #dd823b;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
background: #be3631;
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: #f3f1f1;
}
/* TinyMCE */
.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item.mce-selected,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #dd823b;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,4 +3,5 @@ $highlight-color: #dd823b;
$notification-color: #ccaf0b;
$menu-submenu-focus-text: lighten( $highlight-color, 35% );
@import "../../colors.css";
@import "../_admin.scss";

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

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,887 +0,0 @@
#customize-theme-controls #accordion-section-menu_locations {
position: relative;
margin-top: 30px;
}
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
border-bottom-color: #ddd;
margin-top: 15px;
}
#customize-theme-controls .customize-section-title-nav_menus-heading,
#customize-theme-controls .customize-section-title-menu_locations-heading,
#customize-theme-controls .customize-section-title-menu_locations-description {
padding: 0 12px 0 12px;
}
#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description {
/* Override the default italic style for control descriptions */
font-style: normal;
}
.menu-in-location,
.menu-in-locations {
display: block;
font-weight: 600;
font-size: 10px;
}
#customize-controls .theme-location-set,
#customize-controls .control-section .accordion-section-title:focus .menu-in-location,
#customize-controls .control-section .accordion-section-title:hover .menu-in-location {
color: #555;
}
/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */
.customize-control-nav_menu_location .edit-menu,
.customize-control-nav_menu_location .create-menu {
margin-right: 6px;
vertical-align: middle;
line-height: 28px;
}
#customize-controls .customize-control-nav_menu_name {
margin-bottom: 12px;
}
.customize-control-nav_menu_name p:last-of-type {
margin-bottom: 0;
}
#customize-new-menu-submit {
float: left;
min-width: 85px;
}
.wp-customizer .menu-item-bar .menu-item-handle,
.wp-customizer .menu-item-settings,
.wp-customizer .menu-item-settings .description-thin {
box-sizing: border-box;
}
.wp-customizer .menu-item-bar {
margin: 0;
}
.wp-customizer .menu-item-bar .menu-item-handle {
width: 100%;
background: #fff;
}
.wp-customizer .menu-item-handle .item-title {
margin-left: 0;
}
.wp-customizer .menu-item-handle .item-type {
padding: 1px 5px 0 21px;
float: left;
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;
border-top: none;
}
.wp-customizer .menu-item-settings .description-thin {
width: 100%;
height: auto;
margin: 0 0 8px 0;
}
.wp-customizer .menu-item-settings input[type="text"] {
width: 100%;
}
.wp-customizer .menu-item-settings .submitbox {
margin: 0;
padding: 0;
}
.wp-customizer .menu-item-settings .link-to-original {
padding: 5px 0;
border: none;
font-style: normal;
margin: 0;
width: 100%;
}
.wp-customizer .menu-item .submitbox .submitdelete {
float: right;
margin: 6px 0 0;
padding: 0;
cursor: pointer;
}
/**
* Menu items reordering styles
*/
.menu-item-reorder-nav {
display: none;
background-color: #fff;
position: absolute;
top: 0;
left: 0;
}
.menus-move-left:before {
content: "\f345";
}
.menus-move-right:before {
content: "\f341";
}
.reordering .menu-item .item-controls,
.reordering .menu-item .item-type {
display: none;
}
.reordering .menu-item-reorder-nav {
display: block;
}
.customize-control input.menu-name-field {
width: 100%; /* Override the 98% default for customizer inputs, to align with the size of menu items. */
}
.wp-customizer .menu-item .item-edit {
position: absolute;
left: -19px;
top: 2px;
display: block;
width: 30px;
height: 38px;
margin-left: 0 !important;
box-shadow: none;
outline: none;
overflow: hidden;
cursor: pointer;
text-align: center;
}
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before {
content: "\f142";
}
.wp-customizer .menu-item-settings p.description {
font-style: normal;
}
.wp-customizer .menu-settings dl {
margin: 12px 0 0 0;
padding: 0;
}
.wp-customizer .menu-settings .checkbox-input {
margin-top: 8px;
}
.wp-customizer .menu-settings .menu-theme-locations {
border-top: 1px solid #ccc;
}
.wp-customizer .menu-settings {
margin-top: 36px;
border-top: none;
}
.wp-customizer .menu-location-settings {
margin-top: 12px;
border-top: none;
}
.wp-customizer .control-section-nav_menu .menu-location-settings {
margin-top: 24px;
border-top: 1px solid #ddd;
}
.wp-customizer .control-section-nav_menu .menu-location-settings,
.customize-control-nav_menu_auto_add {
padding-top: 12px;
}
.menu-location-settings .customize-control-checkbox .theme-location-set {
line-height: 1;
}
.customize-control-nav_menu_auto_add label {
vertical-align: top;
}
.menu-location-settings .new-menu-locations-widget-note {
display: block;
}
.customize-control-menu {
margin-top: 4px;
}
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle {
color: #555;
}
/* Screen Options */
.customize-screen-options-toggle {
background: none;
border: none;
color: #555;
cursor: pointer;
margin: 0;
padding: 20px;
position: absolute;
left: 0;
top: 30px;
}
#customize-controls .customize-info .customize-help-toggle {
padding: 20px;
}
#customize-controls .customize-info .customize-help-toggle:before {
padding: 4px;
}
.customize-screen-options-toggle:hover,
.customize-screen-options-toggle:active,
.customize-screen-options-toggle:focus,
.active-menu-screen-options .customize-screen-options-toggle,
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
color: #0073aa;
}
.customize-screen-options-toggle:focus,
#customize-controls .customize-info .customize-help-toggle:focus {
outline: none;
}
.customize-screen-options-toggle:before {
-moz-osx-font-smoothing: grayscale;
border: none;
content: "\f111";
display: block;
font: 18px/1 dashicons;
padding: 5px;
text-align: center;
text-decoration: none !important;
text-indent: 0;
right: 6px;
position: absolute;
top: 6px;
}
.customize-screen-options-toggle:focus:before,
#customize-controls .customize-info .customize-help-toggle:focus:before {
border-radius: 100%;
}
.wp-customizer #screen-options-wrap {
display: none;
background: #fff;
border-top: 1px solid #ddd;
padding: 4px 15px 15px;
}
.wp-customizer .metabox-prefs label {
display: block;
padding-left: 0;
line-height: 30px;
}
/* rework the arrow indicator implementation for NVDA bug same as #32715 */
.wp-customizer .toggle-indicator {
display: inline-block;
font-size: 20px;
line-height: 1;
}
.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 {
content: "\f140";
display: block;
padding: 1px 0px 1px 2px;
speak: none;
border-radius: 50%;
color: #72777c;
font: normal 20px/1 dashicons;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
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 {
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 {
display: block;
}
/* WARNING: The 20px factor is hard-coded in JS. */
.menu-item-depth-0 { margin-right: 0; }
.menu-item-depth-1 { margin-right: 20px; }
.menu-item-depth-2 { margin-right: 40px; }
.menu-item-depth-3 { margin-right: 60px; }
.menu-item-depth-4 { margin-right: 80px; }
.menu-item-depth-5 { margin-right: 100px; }
.menu-item-depth-6 { margin-right: 120px; }
.menu-item-depth-7 { margin-right: 140px; }
.menu-item-depth-8 { margin-right: 160px; } /* Not likely to be used or useful beyond this depth */
.menu-item-depth-9 { margin-right: 180px; }
.menu-item-depth-10 { margin-right: 200px; }
.menu-item-depth-11 { margin-right: 220px; }
/* @todo handle .menu-item-settings width */
.menu-item-depth-0 > .menu-item-bar { margin-left: 0; }
.menu-item-depth-1 > .menu-item-bar { margin-left: 20px; }
.menu-item-depth-2 > .menu-item-bar { margin-left: 40px; }
.menu-item-depth-3 > .menu-item-bar { margin-left: 60px; }
.menu-item-depth-4 > .menu-item-bar { margin-left: 80px; }
.menu-item-depth-5 > .menu-item-bar { margin-left: 100px; }
.menu-item-depth-6 > .menu-item-bar { margin-left: 120px; }
.menu-item-depth-7 > .menu-item-bar { margin-left: 140px; }
.menu-item-depth-8 > .menu-item-bar { margin-left: 160px; }
.menu-item-depth-9 > .menu-item-bar { margin-left: 180px; }
.menu-item-depth-10 > .menu-item-bar { margin-left: 200px; }
.menu-item-depth-11 > .menu-item-bar { margin-left: 220px; }
/* Submenu left margin. */
.menu-item-depth-0 .menu-item-transport { margin-right: 0; }
.menu-item-depth-1 .menu-item-transport { margin-right: -20px; }
.menu-item-depth-3 .menu-item-transport { margin-right: -60px; }
.menu-item-depth-4 .menu-item-transport { margin-right: -80px; }
.menu-item-depth-2 .menu-item-transport { margin-right: -40px; }
.menu-item-depth-5 .menu-item-transport { margin-right: -100px; }
.menu-item-depth-6 .menu-item-transport { margin-right: -120px; }
.menu-item-depth-7 .menu-item-transport { margin-right: -140px; }
.menu-item-depth-8 .menu-item-transport { margin-right: -160px; }
.menu-item-depth-9 .menu-item-transport { margin-right: -180px; }
.menu-item-depth-10 .menu-item-transport { margin-right: -200px; }
.menu-item-depth-11 .menu-item-transport { margin-right: -220px; }
/* WARNING: The 20px factor is hard-coded in JS. */
.reordering .menu-item-depth-0 { margin-right: 0; }
.reordering .menu-item-depth-1 { margin-right: 15px; }
.reordering .menu-item-depth-2 { margin-right: 30px; }
.reordering .menu-item-depth-3 { margin-right: 45px; }
.reordering .menu-item-depth-4 { margin-right: 60px; }
.reordering .menu-item-depth-5 { margin-right: 75px; }
.reordering .menu-item-depth-6 { margin-right: 90px; }
.reordering .menu-item-depth-7 { margin-right: 105px; }
.reordering .menu-item-depth-8 { margin-right: 120px; } /* Not likely to be used or useful beyond this depth */
.reordering .menu-item-depth-9 { margin-right: 135px; }
.reordering .menu-item-depth-10 { margin-right: 150px; }
.reordering .menu-item-depth-11 { margin-right: 165px; }
.reordering .menu-item-depth-0 > .menu-item-bar { margin-left: 0; }
.reordering .menu-item-depth-1 > .menu-item-bar { margin-left: 15px; }
.reordering .menu-item-depth-2 > .menu-item-bar { margin-left: 30px; }
.reordering .menu-item-depth-3 > .menu-item-bar { margin-left: 45px; }
.reordering .menu-item-depth-4 > .menu-item-bar { margin-left: 60px; }
.reordering .menu-item-depth-5 > .menu-item-bar { margin-left: 75px; }
.reordering .menu-item-depth-6 > .menu-item-bar { margin-left: 90px; }
.reordering .menu-item-depth-7 > .menu-item-bar { margin-left: 105px; }
.reordering .menu-item-depth-8 > .menu-item-bar { margin-left: 120px; }
.reordering .menu-item-depth-9 > .menu-item-bar { margin-left: 135px; }
.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 {
margin-right: 0;
}
.control-section-nav_menu.menu .menu-item-edit-active .menu-item-bar {
margin-left: 0;
}
.control-section-nav_menu.menu .sortable-placeholder {
margin-top: 0;
margin-bottom: 1px;
max-width: calc(100% - 2px);
float: right;
display: list-item;
border-color: #a0a5aa;
}
.menu-item-transport li.customize-control {
float: none;
}
.control-section-nav_menu.menu ul.menu-item-transport .menu-item-bar {
margin-top: 0;
}
/**
* Add-menu-items mode
*/
.adding-menu-items .control-section {
opacity: .4;
}
.adding-menu-items .control-panel.control-section,
.adding-menu-items .control-section.open {
opacity: 1;
}
.menu-item-bar .item-delete {
color: #a00;
position: absolute;
top: 2px;
left: -19px;
width: 30px;
height: 38px;
cursor: pointer;
display: none;
}
.menu-item-bar .item-delete:before {
content: "\f335";
position: absolute;
top: 9px;
right: 5px;
border-radius: 50%;
font: normal 20px/1 dashicons;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.ie8 .menu-item-bar .item-delete:before {
top: -10px;
}
.menu-item-bar .item-delete:hover,
.menu-item-bar .item-delete:focus {
box-shadow: none;
outline: none;
color: #dc3232;
}
.adding-menu-items .menu-item-bar .item-edit {
display: none;
}
.adding-menu-items .menu-item-bar .item-delete {
display: block;
}
/**
* Styles for menu-item addition panel
*/
#available-menu-items.opening {
overflow-y: hidden; /* avoid scrollbar jitter with animating heights */
}
#available-menu-items #available-menu-items-search.open {
height: 100%;
border-bottom: none;
}
#available-menu-items .accordion-section-title {
border-right: none;
border-left: none;
background: #fff;
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,
#available-menu-items #available-menu-items-search .accordion-section-title {
background: #eee;
}
/* rework the arrow indicator implementation for NVDA bug see #32715 */
#available-menu-items .accordion-section-title:after {
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 {
color: #23282d;
}
#available-menu-items .open .accordion-section-title .toggle-indicator:before {
content: "\f142";
color: #23282d;
}
#available-menu-items .available-menu-items-list {
overflow-y: auto;
max-height: 200px; /* This gets set in JS to fit the screen size, and based on # of sections. */
background: transparent;
}
#available-menu-items .accordion-section-title button {
display: block;
width: 28px;
height: 35px;
position: absolute;
top: 5px;
left: 5px;
box-shadow: none;
outline: none;
cursor: pointer;
text-align: center;
}
#available-menu-items .accordion-section-title .no-items,
#available-menu-items .cannot-expand .accordion-section-title .spinner,
#available-menu-items .cannot-expand .accordion-section-title > button {
display: none;
}
#available-menu-items-search.cannot-expand .accordion-section-title .spinner {
display: block;
}
#available-menu-items .cannot-expand .accordion-section-title .no-items {
float: left;
color: #555d66;
font-weight: 400;
margin-right: 5px;
}
#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;
}
#available-menu-items .menu-item-tpl {
margin: 0;
}
#custom-menu-item-name.invalid,
#custom-menu-item-url.invalid,
.edit-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 {
border: 1px solid #dc3232;
}
#available-menu-items .menu-item-handle .item-type {
padding-left: 0;
}
#available-menu-items .menu-item-handle .item-title {
padding-right: 20px;
}
#available-menu-items .menu-item-handle {
cursor: pointer;
}
#available-menu-items .menu-item-handle {
box-shadow: none;
margin-top: -1px;
}
#available-menu-items .menu-item-handle:hover {
z-index: 1;
}
#available-menu-items .item-title h4 {
padding: 0 0 5px;
font-size: 14px;
}
#available-menu-items .item-add {
position: absolute;
top: 1px;
right: 1px;
color: #82878c;
width: 30px;
height: 38px;
box-shadow: none;
outline: none;
cursor: pointer;
text-align: center;
}
#available-menu-items .menu-item-handle .item-add:focus {
color: #23282d;
}
#available-menu-items .item-add:before {
content: "\f543";
position: relative;
right: 2px;
top: 3px;
display: inline-block;
height: 20px;
border-radius: 50%;
font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */
}
#available-menu-items .menu-item-handle.item-added .item-type,
#available-menu-items .menu-item-handle.item-added .item-title,
#available-menu-items .menu-item-handle.item-added:hover .item-add,
#available-menu-items .menu-item-handle.item-added .item-add:focus {
color: #82878c;
}
#available-menu-items .menu-item-handle.item-added .item-add:before {
content: "\f147";
}
#available-menu-items .accordion-section-title.loading .spinner,
#available-menu-items-search.loading .accordion-section-title .spinner {
visibility: visible;
margin: 0 20px;
}
#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;
margin: 0 !important;
}
/* search results list */
#available-menu-items #available-menu-items-search .accordion-section-content {
position: absolute;
right: 0;
top: 60px; /* below title div / search input */
bottom: 0px; /* 100% height that still triggers lazy load */
max-height: none;
width: 100%;
padding: 1px 15px 15px;
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;
}
#available-menu-items-search .accordion-section-content:empty {
min-height: 0;
padding: 0;
}
#available-menu-items-search.loading .accordion-section-content div {
opacity: .5;
}
#available-menu-items-search.loading.loading-more .accordion-section-content div {
opacity: 1;
}
#customize-preview {
transition: all 0.2s;
}
body.adding-menu-items #available-menu-items {
right: 0;
visibility: visible;
}
body.adding-menu-items .wp-full-overlay-main {
right: 300px;
}
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;
margin: 0 0 0 8px;
}
.nav-menu-inserted-item-loading .spinner {
display: block;
}
.nav-menu-inserted-item-loading .menu-item-handle .item-type {
padding: 0 8px 0 0;
}
.nav-menu-inserted-item-loading .menu-item-handle,
.added-menu-item .menu-item-handle.loading {
padding: 10px 8px 10px 15px;
cursor: default;
opacity: .5;
background: #fff;
color: #727773;
}
.added-menu-item .menu-item-handle {
transition-property: opacity, background, color;
transition-duration: 1.25s;
transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 ); /* Replacement for .hide().fadeIn('slow') in JS to add emphasis when it's loaded. */
}
/* 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;
}
#accordion-section-add_menu h3 {
text-align: left;
}
#accordion-section-add_menu h3,
#accordion-section-add_menu .customize-add-menu-button {
margin: 0;
}
#accordion-section-add_menu .customize-add-menu-button {
font-weight: normal;
}
#create-new-menu-submit {
float: left;
margin: 0 0 12px 0;
}
.menu-delete-item {
float: right;
padding: 1em 0;
width: 100%;
}
.assigned-menu-locations-title p {
margin: 0 0 8px 0;
}
li.assigned-to-menu-location .menu-delete-item {
display: none;
}
li.assigned-to-menu-location .add-new-menu-item {
margin-bottom: 1em;
}
.menu-item-handle {
margin-top: -1px;
}
.ui-sortable-disabled .menu-item-handle {
cursor: default;
}
.menu-item-handle:hover {
position: relative;
z-index: 10;
color: #0073aa;
}
.menu-item-handle:hover .item-type,
.menu-item-handle:hover .item-edit,
#available-menu-items .menu-item-handle:hover .item-add {
color: #0073aa;
}
.menu-item-edit-active .menu-item-handle {
border-color: #999;
border-bottom: none;
}
.customize-control-nav_menu_item {
margin-bottom: 0;
}
.customize-control-nav_menu .new-menu-item-invitation {
margin-top: 0;
margin-bottom: 0;
}
.customize-control-nav_menu .customize-control-nav_menu-buttons {
margin-top: 12px;
}
/**
* box-shadows
*/
.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,
.menu-delete:focus,
.menu-item-bar .item-delete:focus:before,
#available-menu-items .item-add:focus:before {
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
@media screen and ( max-width: 782px ) {
#available-menu-items #available-menu-items-search .accordion-section-content {
top: 63px;
}
}
@media screen and ( max-width: 640px ) {
#available-menu-items #available-menu-items-search .accordion-section-content {
top: 130px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,887 +0,0 @@
#customize-theme-controls #accordion-section-menu_locations {
position: relative;
margin-top: 30px;
}
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
border-bottom-color: #ddd;
margin-top: 15px;
}
#customize-theme-controls .customize-section-title-nav_menus-heading,
#customize-theme-controls .customize-section-title-menu_locations-heading,
#customize-theme-controls .customize-section-title-menu_locations-description {
padding: 0 12px 0 12px;
}
#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description {
/* Override the default italic style for control descriptions */
font-style: normal;
}
.menu-in-location,
.menu-in-locations {
display: block;
font-weight: 600;
font-size: 10px;
}
#customize-controls .theme-location-set,
#customize-controls .control-section .accordion-section-title:focus .menu-in-location,
#customize-controls .control-section .accordion-section-title:hover .menu-in-location {
color: #555;
}
/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */
.customize-control-nav_menu_location .edit-menu,
.customize-control-nav_menu_location .create-menu {
margin-left: 6px;
vertical-align: middle;
line-height: 28px;
}
#customize-controls .customize-control-nav_menu_name {
margin-bottom: 12px;
}
.customize-control-nav_menu_name p:last-of-type {
margin-bottom: 0;
}
#customize-new-menu-submit {
float: right;
min-width: 85px;
}
.wp-customizer .menu-item-bar .menu-item-handle,
.wp-customizer .menu-item-settings,
.wp-customizer .menu-item-settings .description-thin {
box-sizing: border-box;
}
.wp-customizer .menu-item-bar {
margin: 0;
}
.wp-customizer .menu-item-bar .menu-item-handle {
width: 100%;
background: #fff;
}
.wp-customizer .menu-item-handle .item-title {
margin-right: 0;
}
.wp-customizer .menu-item-handle .item-type {
padding: 1px 21px 0 5px;
float: right;
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;
border-top: none;
}
.wp-customizer .menu-item-settings .description-thin {
width: 100%;
height: auto;
margin: 0 0 8px 0;
}
.wp-customizer .menu-item-settings input[type="text"] {
width: 100%;
}
.wp-customizer .menu-item-settings .submitbox {
margin: 0;
padding: 0;
}
.wp-customizer .menu-item-settings .link-to-original {
padding: 5px 0;
border: none;
font-style: normal;
margin: 0;
width: 100%;
}
.wp-customizer .menu-item .submitbox .submitdelete {
float: left;
margin: 6px 0 0;
padding: 0;
cursor: pointer;
}
/**
* Menu items reordering styles
*/
.menu-item-reorder-nav {
display: none;
background-color: #fff;
position: absolute;
top: 0;
right: 0;
}
.menus-move-left:before {
content: "\f341";
}
.menus-move-right:before {
content: "\f345";
}
.reordering .menu-item .item-controls,
.reordering .menu-item .item-type {
display: none;
}
.reordering .menu-item-reorder-nav {
display: block;
}
.customize-control input.menu-name-field {
width: 100%; /* Override the 98% default for customizer inputs, to align with the size of menu items. */
}
.wp-customizer .menu-item .item-edit {
position: absolute;
right: -19px;
top: 2px;
display: block;
width: 30px;
height: 38px;
margin-right: 0 !important;
box-shadow: none;
outline: none;
overflow: hidden;
cursor: pointer;
text-align: center;
}
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before {
content: "\f142";
}
.wp-customizer .menu-item-settings p.description {
font-style: normal;
}
.wp-customizer .menu-settings dl {
margin: 12px 0 0 0;
padding: 0;
}
.wp-customizer .menu-settings .checkbox-input {
margin-top: 8px;
}
.wp-customizer .menu-settings .menu-theme-locations {
border-top: 1px solid #ccc;
}
.wp-customizer .menu-settings {
margin-top: 36px;
border-top: none;
}
.wp-customizer .menu-location-settings {
margin-top: 12px;
border-top: none;
}
.wp-customizer .control-section-nav_menu .menu-location-settings {
margin-top: 24px;
border-top: 1px solid #ddd;
}
.wp-customizer .control-section-nav_menu .menu-location-settings,
.customize-control-nav_menu_auto_add {
padding-top: 12px;
}
.menu-location-settings .customize-control-checkbox .theme-location-set {
line-height: 1;
}
.customize-control-nav_menu_auto_add label {
vertical-align: top;
}
.menu-location-settings .new-menu-locations-widget-note {
display: block;
}
.customize-control-menu {
margin-top: 4px;
}
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle {
color: #555;
}
/* Screen Options */
.customize-screen-options-toggle {
background: none;
border: none;
color: #555;
cursor: pointer;
margin: 0;
padding: 20px;
position: absolute;
right: 0;
top: 30px;
}
#customize-controls .customize-info .customize-help-toggle {
padding: 20px;
}
#customize-controls .customize-info .customize-help-toggle:before {
padding: 4px;
}
.customize-screen-options-toggle:hover,
.customize-screen-options-toggle:active,
.customize-screen-options-toggle:focus,
.active-menu-screen-options .customize-screen-options-toggle,
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
color: #0073aa;
}
.customize-screen-options-toggle:focus,
#customize-controls .customize-info .customize-help-toggle:focus {
outline: none;
}
.customize-screen-options-toggle:before {
-moz-osx-font-smoothing: grayscale;
border: none;
content: "\f111";
display: block;
font: 18px/1 dashicons;
padding: 5px;
text-align: center;
text-decoration: none !important;
text-indent: 0;
left: 6px;
position: absolute;
top: 6px;
}
.customize-screen-options-toggle:focus:before,
#customize-controls .customize-info .customize-help-toggle:focus:before {
border-radius: 100%;
}
.wp-customizer #screen-options-wrap {
display: none;
background: #fff;
border-top: 1px solid #ddd;
padding: 4px 15px 15px;
}
.wp-customizer .metabox-prefs label {
display: block;
padding-right: 0;
line-height: 30px;
}
/* rework the arrow indicator implementation for NVDA bug same as #32715 */
.wp-customizer .toggle-indicator {
display: inline-block;
font-size: 20px;
line-height: 1;
}
.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 {
content: "\f140";
display: block;
padding: 1px 2px 1px 0px;
speak: none;
border-radius: 50%;
color: #72777c;
font: normal 20px/1 dashicons;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
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 {
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 {
display: block;
}
/* WARNING: The 20px factor is hard-coded in JS. */
.menu-item-depth-0 { margin-left: 0; }
.menu-item-depth-1 { margin-left: 20px; }
.menu-item-depth-2 { margin-left: 40px; }
.menu-item-depth-3 { margin-left: 60px; }
.menu-item-depth-4 { margin-left: 80px; }
.menu-item-depth-5 { margin-left: 100px; }
.menu-item-depth-6 { margin-left: 120px; }
.menu-item-depth-7 { margin-left: 140px; }
.menu-item-depth-8 { margin-left: 160px; } /* Not likely to be used or useful beyond this depth */
.menu-item-depth-9 { margin-left: 180px; }
.menu-item-depth-10 { margin-left: 200px; }
.menu-item-depth-11 { margin-left: 220px; }
/* @todo handle .menu-item-settings width */
.menu-item-depth-0 > .menu-item-bar { margin-right: 0; }
.menu-item-depth-1 > .menu-item-bar { margin-right: 20px; }
.menu-item-depth-2 > .menu-item-bar { margin-right: 40px; }
.menu-item-depth-3 > .menu-item-bar { margin-right: 60px; }
.menu-item-depth-4 > .menu-item-bar { margin-right: 80px; }
.menu-item-depth-5 > .menu-item-bar { margin-right: 100px; }
.menu-item-depth-6 > .menu-item-bar { margin-right: 120px; }
.menu-item-depth-7 > .menu-item-bar { margin-right: 140px; }
.menu-item-depth-8 > .menu-item-bar { margin-right: 160px; }
.menu-item-depth-9 > .menu-item-bar { margin-right: 180px; }
.menu-item-depth-10 > .menu-item-bar { margin-right: 200px; }
.menu-item-depth-11 > .menu-item-bar { margin-right: 220px; }
/* Submenu left margin. */
.menu-item-depth-0 .menu-item-transport { margin-left: 0; }
.menu-item-depth-1 .menu-item-transport { margin-left: -20px; }
.menu-item-depth-3 .menu-item-transport { margin-left: -60px; }
.menu-item-depth-4 .menu-item-transport { margin-left: -80px; }
.menu-item-depth-2 .menu-item-transport { margin-left: -40px; }
.menu-item-depth-5 .menu-item-transport { margin-left: -100px; }
.menu-item-depth-6 .menu-item-transport { margin-left: -120px; }
.menu-item-depth-7 .menu-item-transport { margin-left: -140px; }
.menu-item-depth-8 .menu-item-transport { margin-left: -160px; }
.menu-item-depth-9 .menu-item-transport { margin-left: -180px; }
.menu-item-depth-10 .menu-item-transport { margin-left: -200px; }
.menu-item-depth-11 .menu-item-transport { margin-left: -220px; }
/* WARNING: The 20px factor is hard-coded in JS. */
.reordering .menu-item-depth-0 { margin-left: 0; }
.reordering .menu-item-depth-1 { margin-left: 15px; }
.reordering .menu-item-depth-2 { margin-left: 30px; }
.reordering .menu-item-depth-3 { margin-left: 45px; }
.reordering .menu-item-depth-4 { margin-left: 60px; }
.reordering .menu-item-depth-5 { margin-left: 75px; }
.reordering .menu-item-depth-6 { margin-left: 90px; }
.reordering .menu-item-depth-7 { margin-left: 105px; }
.reordering .menu-item-depth-8 { margin-left: 120px; } /* Not likely to be used or useful beyond this depth */
.reordering .menu-item-depth-9 { margin-left: 135px; }
.reordering .menu-item-depth-10 { margin-left: 150px; }
.reordering .menu-item-depth-11 { margin-left: 165px; }
.reordering .menu-item-depth-0 > .menu-item-bar { margin-right: 0; }
.reordering .menu-item-depth-1 > .menu-item-bar { margin-right: 15px; }
.reordering .menu-item-depth-2 > .menu-item-bar { margin-right: 30px; }
.reordering .menu-item-depth-3 > .menu-item-bar { margin-right: 45px; }
.reordering .menu-item-depth-4 > .menu-item-bar { margin-right: 60px; }
.reordering .menu-item-depth-5 > .menu-item-bar { margin-right: 75px; }
.reordering .menu-item-depth-6 > .menu-item-bar { margin-right: 90px; }
.reordering .menu-item-depth-7 > .menu-item-bar { margin-right: 105px; }
.reordering .menu-item-depth-8 > .menu-item-bar { margin-right: 120px; }
.reordering .menu-item-depth-9 > .menu-item-bar { margin-right: 135px; }
.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 {
margin-left: 0;
}
.control-section-nav_menu.menu .menu-item-edit-active .menu-item-bar {
margin-right: 0;
}
.control-section-nav_menu.menu .sortable-placeholder {
margin-top: 0;
margin-bottom: 1px;
max-width: calc(100% - 2px);
float: left;
display: list-item;
border-color: #a0a5aa;
}
.menu-item-transport li.customize-control {
float: none;
}
.control-section-nav_menu.menu ul.menu-item-transport .menu-item-bar {
margin-top: 0;
}
/**
* Add-menu-items mode
*/
.adding-menu-items .control-section {
opacity: .4;
}
.adding-menu-items .control-panel.control-section,
.adding-menu-items .control-section.open {
opacity: 1;
}
.menu-item-bar .item-delete {
color: #a00;
position: absolute;
top: 2px;
right: -19px;
width: 30px;
height: 38px;
cursor: pointer;
display: none;
}
.menu-item-bar .item-delete:before {
content: "\f335";
position: absolute;
top: 9px;
left: 5px;
border-radius: 50%;
font: normal 20px/1 dashicons;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.ie8 .menu-item-bar .item-delete:before {
top: -10px;
}
.menu-item-bar .item-delete:hover,
.menu-item-bar .item-delete:focus {
box-shadow: none;
outline: none;
color: #dc3232;
}
.adding-menu-items .menu-item-bar .item-edit {
display: none;
}
.adding-menu-items .menu-item-bar .item-delete {
display: block;
}
/**
* Styles for menu-item addition panel
*/
#available-menu-items.opening {
overflow-y: hidden; /* avoid scrollbar jitter with animating heights */
}
#available-menu-items #available-menu-items-search.open {
height: 100%;
border-bottom: none;
}
#available-menu-items .accordion-section-title {
border-left: none;
border-right: none;
background: #fff;
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,
#available-menu-items #available-menu-items-search .accordion-section-title {
background: #eee;
}
/* rework the arrow indicator implementation for NVDA bug see #32715 */
#available-menu-items .accordion-section-title:after {
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 {
color: #23282d;
}
#available-menu-items .open .accordion-section-title .toggle-indicator:before {
content: "\f142";
color: #23282d;
}
#available-menu-items .available-menu-items-list {
overflow-y: auto;
max-height: 200px; /* This gets set in JS to fit the screen size, and based on # of sections. */
background: transparent;
}
#available-menu-items .accordion-section-title button {
display: block;
width: 28px;
height: 35px;
position: absolute;
top: 5px;
right: 5px;
box-shadow: none;
outline: none;
cursor: pointer;
text-align: center;
}
#available-menu-items .accordion-section-title .no-items,
#available-menu-items .cannot-expand .accordion-section-title .spinner,
#available-menu-items .cannot-expand .accordion-section-title > button {
display: none;
}
#available-menu-items-search.cannot-expand .accordion-section-title .spinner {
display: block;
}
#available-menu-items .cannot-expand .accordion-section-title .no-items {
float: right;
color: #555d66;
font-weight: 400;
margin-left: 5px;
}
#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;
}
#available-menu-items .menu-item-tpl {
margin: 0;
}
#custom-menu-item-name.invalid,
#custom-menu-item-url.invalid,
.edit-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 {
border: 1px solid #dc3232;
}
#available-menu-items .menu-item-handle .item-type {
padding-right: 0;
}
#available-menu-items .menu-item-handle .item-title {
padding-left: 20px;
}
#available-menu-items .menu-item-handle {
cursor: pointer;
}
#available-menu-items .menu-item-handle {
box-shadow: none;
margin-top: -1px;
}
#available-menu-items .menu-item-handle:hover {
z-index: 1;
}
#available-menu-items .item-title h4 {
padding: 0 0 5px;
font-size: 14px;
}
#available-menu-items .item-add {
position: absolute;
top: 1px;
left: 1px;
color: #82878c;
width: 30px;
height: 38px;
box-shadow: none;
outline: none;
cursor: pointer;
text-align: center;
}
#available-menu-items .menu-item-handle .item-add:focus {
color: #23282d;
}
#available-menu-items .item-add:before {
content: "\f543";
position: relative;
left: 2px;
top: 3px;
display: inline-block;
height: 20px;
border-radius: 50%;
font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */
}
#available-menu-items .menu-item-handle.item-added .item-type,
#available-menu-items .menu-item-handle.item-added .item-title,
#available-menu-items .menu-item-handle.item-added:hover .item-add,
#available-menu-items .menu-item-handle.item-added .item-add:focus {
color: #82878c;
}
#available-menu-items .menu-item-handle.item-added .item-add:before {
content: "\f147";
}
#available-menu-items .accordion-section-title.loading .spinner,
#available-menu-items-search.loading .accordion-section-title .spinner {
visibility: visible;
margin: 0 20px;
}
#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;
margin: 0 !important;
}
/* search results list */
#available-menu-items #available-menu-items-search .accordion-section-content {
position: absolute;
left: 0;
top: 60px; /* below title div / search input */
bottom: 0px; /* 100% height that still triggers lazy load */
max-height: none;
width: 100%;
padding: 1px 15px 15px;
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;
}
#available-menu-items-search .accordion-section-content:empty {
min-height: 0;
padding: 0;
}
#available-menu-items-search.loading .accordion-section-content div {
opacity: .5;
}
#available-menu-items-search.loading.loading-more .accordion-section-content div {
opacity: 1;
}
#customize-preview {
transition: all 0.2s;
}
body.adding-menu-items #available-menu-items {
left: 0;
visibility: visible;
}
body.adding-menu-items .wp-full-overlay-main {
left: 300px;
}
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;
margin: 0 8px 0 0;
}
.nav-menu-inserted-item-loading .spinner {
display: block;
}
.nav-menu-inserted-item-loading .menu-item-handle .item-type {
padding: 0 0 0 8px;
}
.nav-menu-inserted-item-loading .menu-item-handle,
.added-menu-item .menu-item-handle.loading {
padding: 10px 15px 10px 8px;
cursor: default;
opacity: .5;
background: #fff;
color: #727773;
}
.added-menu-item .menu-item-handle {
transition-property: opacity, background, color;
transition-duration: 1.25s;
transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 ); /* Replacement for .hide().fadeIn('slow') in JS to add emphasis when it's loaded. */
}
/* 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;
}
#accordion-section-add_menu h3 {
text-align: right;
}
#accordion-section-add_menu h3,
#accordion-section-add_menu .customize-add-menu-button {
margin: 0;
}
#accordion-section-add_menu .customize-add-menu-button {
font-weight: normal;
}
#create-new-menu-submit {
float: right;
margin: 0 0 12px 0;
}
.menu-delete-item {
float: left;
padding: 1em 0;
width: 100%;
}
.assigned-menu-locations-title p {
margin: 0 0 8px 0;
}
li.assigned-to-menu-location .menu-delete-item {
display: none;
}
li.assigned-to-menu-location .add-new-menu-item {
margin-bottom: 1em;
}
.menu-item-handle {
margin-top: -1px;
}
.ui-sortable-disabled .menu-item-handle {
cursor: default;
}
.menu-item-handle:hover {
position: relative;
z-index: 10;
color: #0073aa;
}
.menu-item-handle:hover .item-type,
.menu-item-handle:hover .item-edit,
#available-menu-items .menu-item-handle:hover .item-add {
color: #0073aa;
}
.menu-item-edit-active .menu-item-handle {
border-color: #999;
border-bottom: none;
}
.customize-control-nav_menu_item {
margin-bottom: 0;
}
.customize-control-nav_menu .new-menu-item-invitation {
margin-top: 0;
margin-bottom: 0;
}
.customize-control-nav_menu .customize-control-nav_menu-buttons {
margin-top: 12px;
}
/**
* box-shadows
*/
.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,
.menu-delete:focus,
.menu-item-bar .item-delete:focus:before,
#available-menu-items .item-add:focus:before {
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
@media screen and ( max-width: 782px ) {
#available-menu-items #available-menu-items-search .accordion-section-content {
top: 63px;
}
}
@media screen and ( max-width: 640px ) {
#available-menu-items #available-menu-items-search .accordion-section-content {
top: 130px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,478 +0,0 @@
.wp-full-overlay-sidebar {
overflow: visible;
}
/**
* Hide all sidebar sections by default, only show them (via JS) once the
* preview loads and we know whether the sidebars are used in the template.
*/
.control-section.control-section-sidebar,
.customize-control-sidebar_widgets label,
.customize-control-sidebar_widgets .hide-if-js {
/* The link in .customize-control-sidebar_widgets .hide-if-js will fail if it ever gets used. */
display: none;
}
.control-section.control-section-sidebar .accordion-section-content.ui-sortable {
overflow: visible;
}
/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
.customize-control-widget_form .widget-top {
background: #fff;
transition: opacity 0.5s;
}
.customize-control .widget-action {
color: #72777c;
}
.customize-control .widget-top:hover .widget-action,
.customize-control .widget-action:focus {
color: #23282d;
}
.customize-control-widget_form:not(.widget-rendered) .widget-top {
opacity: 0.5;
}
.customize-control-widget_form .widget-control-save {
display: none;
}
.customize-control-widget_form .spinner {
visibility: hidden;
margin-top: 0;
}
.customize-control-widget_form.previewer-loading .spinner {
visibility: visible;
}
.customize-control-widget_form.widget-form-disabled .widget-content {
opacity: 0.7;
pointer-events: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
.customize-control-widget_form .widget {
margin-bottom: 0;
}
.customize-control-widget_form.wide-widget-control .widget-inside {
position: fixed;
right: 299px;
top: 25%;
border: 1px solid rgb(229, 229, 229);
overflow: auto;
}
.customize-control-widget_form.wide-widget-control .widget-inside > .form {
padding: 20px;
}
.customize-control-widget_form.wide-widget-control .widget-top {
transition: background-color 0.4s;
}
.customize-control-widget_form.wide-widget-control.expanding .widget-top,
.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top {
background-color: rgb(227, 227, 227);
}
.widget-inside {
padding: 1px 10px 10px 10px;
border-top: none;
line-height: 16px;
}
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
content: "\f142";
}
.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before {
content: "\f141";
}
.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before {
content: "\f139";
}
.widget-title-action {
cursor: pointer;
}
.widget-top,
.customize-control-widget_form .widget .customize-control-title {
cursor: move;
}
.control-section.accordion-section.highlighted > .accordion-section-title,
.customize-control-widget_form.highlighted {
outline: none;
box-shadow: 0 0 2px rgba(30,140,190,0.8);
position: relative;
z-index: 1;
}
#widget-customizer-control-templates {
display: none;
}
/**
* Widget reordering styles
*/
#customize-theme-controls .widget-reorder-nav {
display: none;
float: left;
background-color: #fafafa;
}
.move-widget:before {
content: "\f504";
}
#customize-theme-controls .move-widget-area {
display: none;
background: #fff;
border: 1px solid #ddd;
border-top: none;
cursor: auto;
}
#customize-theme-controls .reordering .move-widget-area.active {
display: block;
}
#customize-theme-controls .move-widget-area .description {
margin: 0;
padding: 15px 20px;
font-weight: 400;
}
#customize-theme-controls .widget-area-select {
margin: 0;
padding: 0;
list-style: none;
}
#customize-theme-controls .widget-area-select li {
position: relative;
margin: 0;
padding: 13px 42px 15px 15px;
color: #555;
border-top: 1px solid #eee;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#customize-theme-controls .widget-area-select li:before {
display: none;
content: "\f147";
position: absolute;
top: 12px;
right: 10px;
font: normal 20px/1 dashicons;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#customize-theme-controls .widget-area-select li:last-child {
border-bottom: 1px solid #eee;
}
#customize-theme-controls .widget-area-select .selected {
color: #fff;
text-shadow: 0 -1px 0 rgba(0,0,0,.4);
background: #00a0d2;
}
#customize-theme-controls .widget-area-select .selected:before {
display: block;
}
#customize-theme-controls .move-widget-actions {
text-align: left;
padding: 12px;
}
#customize-theme-controls .reordering .widget-title-action {
display: none;
}
#customize-theme-controls .reordering .widget-reorder-nav {
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
*/
/* override widgets admin page rules in wp-admin/css/widgets.css */
#widgets-left #available-widgets .widget {
float: none !important;
width: auto !important;
}
.ios #available-widgets {
transition: right 0s;
}
#available-widgets .widget-tpl:hover,
#available-widgets .widget-tpl.selected {
background: #f3f3f5;
border-bottom-color: #ccc;
color: #0073aa;
border-right: 4px solid #0073aa;
}
#customize-controls .widget-title h3 {
font-size: 1em;
}
#available-widgets .widget-title h3 {
padding: 0 0 5px;
font-size: 14px;
}
#available-widgets .widget .widget-description {
padding: 0;
color: #72777c;
}
#customize-preview {
transition: all 0.2s;
}
body.adding-widget #available-widgets {
right: 0;
visibility: visible;
}
body.adding-widget .wp-full-overlay-main {
right: 300px;
}
body.adding-widget #customize-preview {
opacity: 0.4;
}
/**
* Widget Icon styling
* No plurals in naming.
* Ordered from lowest to highest specificity.
*/
#available-widgets .widget-title {
position: relative;
}
#available-widgets .widget-title:before {
content: "\f132";
position: absolute;
top: -3px;
left: 100%;
margin-left: 20px;
width: 20px;
height: 20px;
color: #32373c;
font: normal 20px/1 dashicons;
text-align: center;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* smiley */
#available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; }
/* star-filled */
#available-widgets [class*="super"] .widget-title:before,
#available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; }
/* wordpress */
#available-widgets [class*="meta"] .widget-title:before { content: "\f120"; }
/* archive-box */
#available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; }
/* category */
#available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; }
/* comments */
#available-widgets [class*="comment"] .widget-title:before,
#available-widgets [class*="testimonial"] .widget-title:before,
#available-widgets [class*="chat"] .widget-title:before { content: "\f101"; }
/* post */
#available-widgets [class*="post"] .widget-title:before { content: "\f109"; }
/* admin-page */
#available-widgets [class*="page"] .widget-title:before { content: "\f105"; }
/* text */
#available-widgets [class*="text"] .widget-title:before { content: "\f478"; }
/* links */
#available-widgets [class*="link"] .widget-title:before { content: "\f103"; }
/* search */
#available-widgets [class*="search"] .widget-title:before { content: "\f179"; }
/* menu */
#available-widgets [class*="menu"] .widget-title:before,
#available-widgets [class*="nav"] .widget-title:before { content: "\f333"; }
/* tag-cloud */
#available-widgets [class*="tag"] .widget-title:before { content: "\f479"; }
/* rss */
#available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; }
/* calendar */
#available-widgets [class*="event"] .widget-title:before,
#available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;}
/* format-image */
#available-widgets [class*="image"] .widget-title:before,
#available-widgets [class*="photo"] .widget-title:before,
#available-widgets [class*="slide"] .widget-title:before,
#available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; }
/* format-gallery */
#available-widgets [class*="album"] .widget-title:before,
#available-widgets [class*="galler"] .widget-title:before { content: "\f161"; }
/* format-video */
#available-widgets [class*="video"] .widget-title:before,
#available-widgets [class*="tube"] .widget-title:before { content: "\f126"; }
/* format-audio */
#available-widgets [class*="music"] .widget-title:before,
#available-widgets [class*="radio"] .widget-title:before,
#available-widgets [class*="audio"] .widget-title:before { content: "\f127"; }
/* admin-users */
#available-widgets [class*="login"] .widget-title:before,
#available-widgets [class*="user"] .widget-title:before,
#available-widgets [class*="member"] .widget-title:before,
#available-widgets [class*="avatar"] .widget-title:before,
#available-widgets [class*="subscriber"] .widget-title:before,
#available-widgets [class*="profile"] .widget-title:before,
#available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; }
/* cart */
#available-widgets [class*="commerce"] .widget-title:before,
#available-widgets [class*="shop"] .widget-title:before,
#available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; }
/* shield */
#available-widgets [class*="secur"] .widget-title:before,
#available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; }
/* chart-bar */
#available-widgets [class*="analytic"] .widget-title:before,
#available-widgets [class*="stat"] .widget-title:before,
#available-widgets [class*="poll"] .widget-title:before { content: "\f185"; }
/* feedback */
#available-widgets [class*="form"] .widget-title:before { content: "\f175"; }
/* email-alt */
#available-widgets [class*="subscribe"] .widget-title:before,
#available-widgets [class*="news"] .widget-title:before,
#available-widgets [class*="contact"] .widget-title:before,
#available-widgets [class*="mail"] .widget-title:before { content: "\f466"; }
/* share */
#available-widgets [class*="share"] .widget-title:before,
#available-widgets [class*="socia"] .widget-title:before { content: "\f237"; }
/* translation */
#available-widgets [class*="lang"] .widget-title:before,
#available-widgets [class*="translat"] .widget-title:before { content: "\f326"; }
/* location-alt */
#available-widgets [class*="locat"] .widget-title:before,
#available-widgets [class*="map"] .widget-title:before { content: "\f231"; }
/* download */
#available-widgets [class*="download"] .widget-title:before { content: "\f316"; }
/* cloud */
#available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;}
/* facebook */
#available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; }
/* twitter */
#available-widgets [class*="tweet"] .widget-title:before,
#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 {
margin-bottom: 0;
}
.widget-top {
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

@@ -1,478 +0,0 @@
.wp-full-overlay-sidebar {
overflow: visible;
}
/**
* Hide all sidebar sections by default, only show them (via JS) once the
* preview loads and we know whether the sidebars are used in the template.
*/
.control-section.control-section-sidebar,
.customize-control-sidebar_widgets label,
.customize-control-sidebar_widgets .hide-if-js {
/* The link in .customize-control-sidebar_widgets .hide-if-js will fail if it ever gets used. */
display: none;
}
.control-section.control-section-sidebar .accordion-section-content.ui-sortable {
overflow: visible;
}
/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
.customize-control-widget_form .widget-top {
background: #fff;
transition: opacity 0.5s;
}
.customize-control .widget-action {
color: #72777c;
}
.customize-control .widget-top:hover .widget-action,
.customize-control .widget-action:focus {
color: #23282d;
}
.customize-control-widget_form:not(.widget-rendered) .widget-top {
opacity: 0.5;
}
.customize-control-widget_form .widget-control-save {
display: none;
}
.customize-control-widget_form .spinner {
visibility: hidden;
margin-top: 0;
}
.customize-control-widget_form.previewer-loading .spinner {
visibility: visible;
}
.customize-control-widget_form.widget-form-disabled .widget-content {
opacity: 0.7;
pointer-events: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
.customize-control-widget_form .widget {
margin-bottom: 0;
}
.customize-control-widget_form.wide-widget-control .widget-inside {
position: fixed;
left: 299px;
top: 25%;
border: 1px solid rgb(229, 229, 229);
overflow: auto;
}
.customize-control-widget_form.wide-widget-control .widget-inside > .form {
padding: 20px;
}
.customize-control-widget_form.wide-widget-control .widget-top {
transition: background-color 0.4s;
}
.customize-control-widget_form.wide-widget-control.expanding .widget-top,
.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top {
background-color: rgb(227, 227, 227);
}
.widget-inside {
padding: 1px 10px 10px 10px;
border-top: none;
line-height: 16px;
}
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
content: "\f142";
}
.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before {
content: "\f139";
}
.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before {
content: "\f141";
}
.widget-title-action {
cursor: pointer;
}
.widget-top,
.customize-control-widget_form .widget .customize-control-title {
cursor: move;
}
.control-section.accordion-section.highlighted > .accordion-section-title,
.customize-control-widget_form.highlighted {
outline: none;
box-shadow: 0 0 2px rgba(30,140,190,0.8);
position: relative;
z-index: 1;
}
#widget-customizer-control-templates {
display: none;
}
/**
* Widget reordering styles
*/
#customize-theme-controls .widget-reorder-nav {
display: none;
float: right;
background-color: #fafafa;
}
.move-widget:before {
content: "\f504";
}
#customize-theme-controls .move-widget-area {
display: none;
background: #fff;
border: 1px solid #ddd;
border-top: none;
cursor: auto;
}
#customize-theme-controls .reordering .move-widget-area.active {
display: block;
}
#customize-theme-controls .move-widget-area .description {
margin: 0;
padding: 15px 20px;
font-weight: 400;
}
#customize-theme-controls .widget-area-select {
margin: 0;
padding: 0;
list-style: none;
}
#customize-theme-controls .widget-area-select li {
position: relative;
margin: 0;
padding: 13px 15px 15px 42px;
color: #555;
border-top: 1px solid #eee;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#customize-theme-controls .widget-area-select li:before {
display: none;
content: "\f147";
position: absolute;
top: 12px;
left: 10px;
font: normal 20px/1 dashicons;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#customize-theme-controls .widget-area-select li:last-child {
border-bottom: 1px solid #eee;
}
#customize-theme-controls .widget-area-select .selected {
color: #fff;
text-shadow: 0 -1px 0 rgba(0,0,0,.4);
background: #00a0d2;
}
#customize-theme-controls .widget-area-select .selected:before {
display: block;
}
#customize-theme-controls .move-widget-actions {
text-align: right;
padding: 12px;
}
#customize-theme-controls .reordering .widget-title-action {
display: none;
}
#customize-theme-controls .reordering .widget-reorder-nav {
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
*/
/* override widgets admin page rules in wp-admin/css/widgets.css */
#widgets-left #available-widgets .widget {
float: none !important;
width: auto !important;
}
.ios #available-widgets {
transition: left 0s;
}
#available-widgets .widget-tpl:hover,
#available-widgets .widget-tpl.selected {
background: #f3f3f5;
border-bottom-color: #ccc;
color: #0073aa;
border-left: 4px solid #0073aa;
}
#customize-controls .widget-title h3 {
font-size: 1em;
}
#available-widgets .widget-title h3 {
padding: 0 0 5px;
font-size: 14px;
}
#available-widgets .widget .widget-description {
padding: 0;
color: #72777c;
}
#customize-preview {
transition: all 0.2s;
}
body.adding-widget #available-widgets {
left: 0;
visibility: visible;
}
body.adding-widget .wp-full-overlay-main {
left: 300px;
}
body.adding-widget #customize-preview {
opacity: 0.4;
}
/**
* Widget Icon styling
* No plurals in naming.
* Ordered from lowest to highest specificity.
*/
#available-widgets .widget-title {
position: relative;
}
#available-widgets .widget-title:before {
content: "\f132";
position: absolute;
top: -3px;
right: 100%;
margin-right: 20px;
width: 20px;
height: 20px;
color: #32373c;
font: normal 20px/1 dashicons;
text-align: center;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* smiley */
#available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; }
/* star-filled */
#available-widgets [class*="super"] .widget-title:before,
#available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; }
/* wordpress */
#available-widgets [class*="meta"] .widget-title:before { content: "\f120"; }
/* archive-box */
#available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; }
/* category */
#available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; }
/* comments */
#available-widgets [class*="comment"] .widget-title:before,
#available-widgets [class*="testimonial"] .widget-title:before,
#available-widgets [class*="chat"] .widget-title:before { content: "\f101"; }
/* post */
#available-widgets [class*="post"] .widget-title:before { content: "\f109"; }
/* admin-page */
#available-widgets [class*="page"] .widget-title:before { content: "\f105"; }
/* text */
#available-widgets [class*="text"] .widget-title:before { content: "\f478"; }
/* links */
#available-widgets [class*="link"] .widget-title:before { content: "\f103"; }
/* search */
#available-widgets [class*="search"] .widget-title:before { content: "\f179"; }
/* menu */
#available-widgets [class*="menu"] .widget-title:before,
#available-widgets [class*="nav"] .widget-title:before { content: "\f333"; }
/* tag-cloud */
#available-widgets [class*="tag"] .widget-title:before { content: "\f479"; }
/* rss */
#available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; }
/* calendar */
#available-widgets [class*="event"] .widget-title:before,
#available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;}
/* format-image */
#available-widgets [class*="image"] .widget-title:before,
#available-widgets [class*="photo"] .widget-title:before,
#available-widgets [class*="slide"] .widget-title:before,
#available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; }
/* format-gallery */
#available-widgets [class*="album"] .widget-title:before,
#available-widgets [class*="galler"] .widget-title:before { content: "\f161"; }
/* format-video */
#available-widgets [class*="video"] .widget-title:before,
#available-widgets [class*="tube"] .widget-title:before { content: "\f126"; }
/* format-audio */
#available-widgets [class*="music"] .widget-title:before,
#available-widgets [class*="radio"] .widget-title:before,
#available-widgets [class*="audio"] .widget-title:before { content: "\f127"; }
/* admin-users */
#available-widgets [class*="login"] .widget-title:before,
#available-widgets [class*="user"] .widget-title:before,
#available-widgets [class*="member"] .widget-title:before,
#available-widgets [class*="avatar"] .widget-title:before,
#available-widgets [class*="subscriber"] .widget-title:before,
#available-widgets [class*="profile"] .widget-title:before,
#available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; }
/* cart */
#available-widgets [class*="commerce"] .widget-title:before,
#available-widgets [class*="shop"] .widget-title:before,
#available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; }
/* shield */
#available-widgets [class*="secur"] .widget-title:before,
#available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; }
/* chart-bar */
#available-widgets [class*="analytic"] .widget-title:before,
#available-widgets [class*="stat"] .widget-title:before,
#available-widgets [class*="poll"] .widget-title:before { content: "\f185"; }
/* feedback */
#available-widgets [class*="form"] .widget-title:before { content: "\f175"; }
/* email-alt */
#available-widgets [class*="subscribe"] .widget-title:before,
#available-widgets [class*="news"] .widget-title:before,
#available-widgets [class*="contact"] .widget-title:before,
#available-widgets [class*="mail"] .widget-title:before { content: "\f466"; }
/* share */
#available-widgets [class*="share"] .widget-title:before,
#available-widgets [class*="socia"] .widget-title:before { content: "\f237"; }
/* translation */
#available-widgets [class*="lang"] .widget-title:before,
#available-widgets [class*="translat"] .widget-title:before { content: "\f326"; }
/* location-alt */
#available-widgets [class*="locat"] .widget-title:before,
#available-widgets [class*="map"] .widget-title:before { content: "\f231"; }
/* download */
#available-widgets [class*="download"] .widget-title:before { content: "\f316"; }
/* cloud */
#available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;}
/* facebook */
#available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; }
/* twitter */
#available-widgets [class*="tweet"] .widget-title:before,
#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 {
margin-bottom: 0;
}
.widget-top {
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

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,413 +0,0 @@
/* Styles for the media library iframe (not used on the Library screen) */
div#media-upload-header {
margin: 0;
padding: 5px 5px 0;
font-weight: 600;
position: relative;
border-bottom: 1px solid #ddd;
background: #f9f9f9;
}
#sidemenu {
overflow: hidden;
float: none;
position: relative;
right: 0;
bottom: -1px;
margin: 0 5px;
padding-right: 10px;
list-style: none;
font-size: 12px;
font-weight: 400;
}
#sidemenu a {
padding: 0 7px;
display: block;
float: right;
line-height: 28px;
border-top: 1px solid #f9f9f9;
border-bottom: 1px solid #ddd;
background-color: #f9f9f9;
text-decoration: none;
transition: none;
}
#sidemenu li {
display: inline;
line-height: 200%;
list-style: none;
text-align: center;
white-space: nowrap;
margin: 0;
padding: 0;
}
#sidemenu a.current {
font-weight: 400;
padding-right: 6px;
padding-left: 6px;
border: 1px solid #ddd;
border-bottom-color: #f1f1f1;
background-color: #f1f1f1;
color: #000;
}
#media-upload:after { /* clearfix */
content: "";
display: table;
clear: both;
}
#media-upload .slidetoggle {
border-top-color: #ddd;
}
#media-upload input[type="radio"] {
padding: 0;
}
.media-upload-form label.form-help,
td.help {
color: #72777c;
}
form {
margin: 1em;
}
#search-filter {
text-align: left;
}
th {
position: relative;
}
.media-upload-form label.form-help, td.help {
font-family: sans-serif;
font-style: italic;
font-weight: 400;
}
.media-upload-form p.help {
margin: 0;
padding: 0;
}
.media-upload-form fieldset {
width: 100%;
border: none;
text-align: justify;
margin: 0 0 1em 0;
padding: 0;
}
/* specific to the image upload form */
.image-align-none-label {
background: url(../images/align-none.png) no-repeat center left;
}
.image-align-left-label {
background: url(../images/align-left.png) no-repeat center left;
}
.image-align-center-label {
background: url(../images/align-center.png) no-repeat center left;
}
.image-align-right-label {
background: url(../images/align-right.png) no-repeat center left;
}
tr.image-size td {
width: 460px;
}
tr.image-size div.image-size-item {
margin: 0 0 5px;
}
#library-form .progress,
#gallery-form .progress,
.insert-gallery,
.describe.startopen,
.describe.startclosed {
display: none;
}
.media-item .thumbnail {
max-width: 128px;
max-height: 128px;
}
thead.media-item-info tr {
background-color: transparent;
}
.form-table thead.media-item-info {
border: 8px solid #fff;
}
abbr.required,
span.required {
text-decoration: none;
border: none;
}
.describe label {
display: inline;
}
.describe td.error {
padding: 2px 8px;
}
.describe td.A1 {
width: 132px;
}
.describe input[type="text"],
.describe textarea {
width: 460px;
border-width: 1px;
border-style: solid;
}
/* Specific to Uploader */
#media-upload p.ml-submit {
padding: 1em 0;
}
#media-upload p.help,
#media-upload label.help {
font-family: sans-serif;
font-style: italic;
font-weight: 400;
}
#media-upload .ui-sortable .media-item {
cursor: move;
}
#media-upload tr.image-size {
margin-bottom: 1em;
height: 3em;
}
#media-upload #filter {
width: 623px;
}
#media-upload #filter .subsubsub {
margin: 8px 0;
}
#filter .tablenav select {
border-style: solid;
border-width: 1px;
padding: 2px;
vertical-align: top;
width: auto;
}
#media-upload .del-attachment {
display: none;
margin: 5px 0;
}
.menu_order {
float: left;
font-size: 11px;
margin: 8px 10px 0;
}
.menu_order_input {
border: 1px solid #ddd;
font-size: 10px;
padding: 1px;
width: 23px;
}
.ui-sortable-helper {
background-color: #fff;
border: 1px solid #a0a5aa;
opacity: 0.6;
filter: alpha(opacity=60);
}
#media-upload th.order-head {
width: 20%;
text-align: center;
}
#media-upload th.actions-head {
width: 25%;
text-align: center;
}
#media-upload a.wp-post-thumbnail {
margin: 0 20px;
}
#media-upload .widefat {
border-style: solid solid none;
}
.sorthelper {
height: 37px;
width: 623px;
display: block;
}
#gallery-settings th.label {
width: 160px;
}
#gallery-settings #basic th.label {
padding: 5px 0 5px 5px;
}
#gallery-settings .title {
clear: both;
padding: 0 0 3px;
font-size: 1.6em;
border-bottom: 1px solid #ddd;
}
h3.media-title {
font-size: 1.6em;
}
h4.media-sub-title {
border-bottom: 1px solid #ddd;
font-size: 1.3em;
margin: 12px;
padding: 0 0 3px;
}
#gallery-settings .title,
h3.media-title,
h4.media-sub-title {
font-family: Georgia,"Times New Roman",Times,serif;
font-weight: 400;
color: #5A5A5A;
}
#gallery-settings .describe td {
vertical-align: middle;
height: 3em;
}
#gallery-settings .describe th.label {
padding-top: .5em;
text-align: right;
}
#gallery-settings .describe {
padding: 5px;
width: 100%;
clear: both;
cursor: default;
background: #fff;
}
#gallery-settings .describe select {
width: 15em;
}
#gallery-settings .describe select option,
#gallery-settings .describe td {
padding: 0;
}
#gallery-settings label,
#gallery-settings legend {
font-size: 13px;
color: #444;
margin-left: 15px;
}
#gallery-settings .align .field label {
margin: 0 3px 0 1em;
}
#gallery-settings p.ml-submit {
border-top: 1px solid #ddd;
}
#gallery-settings select#columns {
width: 6em;
}
#sort-buttons {
font-size: 0.8em;
margin: 3px 0 -8px 25px;
text-align: left;
max-width: 625px;
}
#sort-buttons a {
text-decoration: none;
}
#sort-buttons #asc,
#sort-buttons #showall {
padding-right: 5px;
}
#sort-buttons span {
margin-left: 25px;
}
p.media-types {
margin: 0;
padding: 1em;
}
p.media-types-required-info {
padding-top: 0;
}
tr.not-image {
display: none;
}
table.not-image tr.not-image {
display: table-row;
}
table.not-image tr.image-only {
display: none;
}
/**
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.image-align-none-label {
background-image: url(../images/align-none-2x.png?ver=20120916);
background-size: 21px 15px;
}
.image-align-left-label {
background-image: url(../images/align-left-2x.png?ver=20120916);
background-size: 22px 15px;
}
.image-align-center-label {
background-image: url(../images/align-center-2x.png?ver=20120916);
background-size: 21px 15px;
}
.image-align-right-label {
background-image: url(../images/align-right-2x.png?ver=20120916);
background-size: 22px 15px;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,413 +0,0 @@
/* Styles for the media library iframe (not used on the Library screen) */
div#media-upload-header {
margin: 0;
padding: 5px 5px 0;
font-weight: 600;
position: relative;
border-bottom: 1px solid #ddd;
background: #f9f9f9;
}
#sidemenu {
overflow: hidden;
float: none;
position: relative;
left: 0;
bottom: -1px;
margin: 0 5px;
padding-left: 10px;
list-style: none;
font-size: 12px;
font-weight: 400;
}
#sidemenu a {
padding: 0 7px;
display: block;
float: left;
line-height: 28px;
border-top: 1px solid #f9f9f9;
border-bottom: 1px solid #ddd;
background-color: #f9f9f9;
text-decoration: none;
transition: none;
}
#sidemenu li {
display: inline;
line-height: 200%;
list-style: none;
text-align: center;
white-space: nowrap;
margin: 0;
padding: 0;
}
#sidemenu a.current {
font-weight: 400;
padding-left: 6px;
padding-right: 6px;
border: 1px solid #ddd;
border-bottom-color: #f1f1f1;
background-color: #f1f1f1;
color: #000;
}
#media-upload:after { /* clearfix */
content: "";
display: table;
clear: both;
}
#media-upload .slidetoggle {
border-top-color: #ddd;
}
#media-upload input[type="radio"] {
padding: 0;
}
.media-upload-form label.form-help,
td.help {
color: #72777c;
}
form {
margin: 1em;
}
#search-filter {
text-align: right;
}
th {
position: relative;
}
.media-upload-form label.form-help, td.help {
font-family: sans-serif;
font-style: italic;
font-weight: 400;
}
.media-upload-form p.help {
margin: 0;
padding: 0;
}
.media-upload-form fieldset {
width: 100%;
border: none;
text-align: justify;
margin: 0 0 1em 0;
padding: 0;
}
/* specific to the image upload form */
.image-align-none-label {
background: url(../images/align-none.png) no-repeat center left;
}
.image-align-left-label {
background: url(../images/align-left.png) no-repeat center left;
}
.image-align-center-label {
background: url(../images/align-center.png) no-repeat center left;
}
.image-align-right-label {
background: url(../images/align-right.png) no-repeat center left;
}
tr.image-size td {
width: 460px;
}
tr.image-size div.image-size-item {
margin: 0 0 5px;
}
#library-form .progress,
#gallery-form .progress,
.insert-gallery,
.describe.startopen,
.describe.startclosed {
display: none;
}
.media-item .thumbnail {
max-width: 128px;
max-height: 128px;
}
thead.media-item-info tr {
background-color: transparent;
}
.form-table thead.media-item-info {
border: 8px solid #fff;
}
abbr.required,
span.required {
text-decoration: none;
border: none;
}
.describe label {
display: inline;
}
.describe td.error {
padding: 2px 8px;
}
.describe td.A1 {
width: 132px;
}
.describe input[type="text"],
.describe textarea {
width: 460px;
border-width: 1px;
border-style: solid;
}
/* Specific to Uploader */
#media-upload p.ml-submit {
padding: 1em 0;
}
#media-upload p.help,
#media-upload label.help {
font-family: sans-serif;
font-style: italic;
font-weight: 400;
}
#media-upload .ui-sortable .media-item {
cursor: move;
}
#media-upload tr.image-size {
margin-bottom: 1em;
height: 3em;
}
#media-upload #filter {
width: 623px;
}
#media-upload #filter .subsubsub {
margin: 8px 0;
}
#filter .tablenav select {
border-style: solid;
border-width: 1px;
padding: 2px;
vertical-align: top;
width: auto;
}
#media-upload .del-attachment {
display: none;
margin: 5px 0;
}
.menu_order {
float: right;
font-size: 11px;
margin: 8px 10px 0;
}
.menu_order_input {
border: 1px solid #ddd;
font-size: 10px;
padding: 1px;
width: 23px;
}
.ui-sortable-helper {
background-color: #fff;
border: 1px solid #a0a5aa;
opacity: 0.6;
filter: alpha(opacity=60);
}
#media-upload th.order-head {
width: 20%;
text-align: center;
}
#media-upload th.actions-head {
width: 25%;
text-align: center;
}
#media-upload a.wp-post-thumbnail {
margin: 0 20px;
}
#media-upload .widefat {
border-style: solid solid none;
}
.sorthelper {
height: 37px;
width: 623px;
display: block;
}
#gallery-settings th.label {
width: 160px;
}
#gallery-settings #basic th.label {
padding: 5px 5px 5px 0;
}
#gallery-settings .title {
clear: both;
padding: 0 0 3px;
font-size: 1.6em;
border-bottom: 1px solid #ddd;
}
h3.media-title {
font-size: 1.6em;
}
h4.media-sub-title {
border-bottom: 1px solid #ddd;
font-size: 1.3em;
margin: 12px;
padding: 0 0 3px;
}
#gallery-settings .title,
h3.media-title,
h4.media-sub-title {
font-family: Georgia,"Times New Roman",Times,serif;
font-weight: 400;
color: #5A5A5A;
}
#gallery-settings .describe td {
vertical-align: middle;
height: 3em;
}
#gallery-settings .describe th.label {
padding-top: .5em;
text-align: left;
}
#gallery-settings .describe {
padding: 5px;
width: 100%;
clear: both;
cursor: default;
background: #fff;
}
#gallery-settings .describe select {
width: 15em;
}
#gallery-settings .describe select option,
#gallery-settings .describe td {
padding: 0;
}
#gallery-settings label,
#gallery-settings legend {
font-size: 13px;
color: #444;
margin-right: 15px;
}
#gallery-settings .align .field label {
margin: 0 1em 0 3px;
}
#gallery-settings p.ml-submit {
border-top: 1px solid #ddd;
}
#gallery-settings select#columns {
width: 6em;
}
#sort-buttons {
font-size: 0.8em;
margin: 3px 25px -8px 0;
text-align: right;
max-width: 625px;
}
#sort-buttons a {
text-decoration: none;
}
#sort-buttons #asc,
#sort-buttons #showall {
padding-left: 5px;
}
#sort-buttons span {
margin-right: 25px;
}
p.media-types {
margin: 0;
padding: 1em;
}
p.media-types-required-info {
padding-top: 0;
}
tr.not-image {
display: none;
}
table.not-image tr.not-image {
display: table-row;
}
table.not-image tr.image-only {
display: none;
}
/**
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.image-align-none-label {
background-image: url(../images/align-none-2x.png?ver=20120916);
background-size: 21px 15px;
}
.image-align-left-label {
background-image: url(../images/align-left-2x.png?ver=20120916);
background-size: 22px 15px;
}
.image-align-center-label {
background-image: url(../images/align-center-2x.png?ver=20120916);
background-size: 21px 15px;
}
.image-align-right-label {
background-image: url(../images/align-right-2x.png?ver=20120916);
background-size: 22px 15px;
}
}

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,2 +1 @@
/*! This file is auto-generated */
.farbtastic{position:relative}.farbtastic *{position:absolute;cursor:crosshair}.farbtastic,.farbtastic .wheel{width:195px;height:195px}.farbtastic .color,.farbtastic .overlay{top:47px;right:47px;width:101px;height:101px}.farbtastic .wheel{background:url(../images/wheel.png) no-repeat;width:195px;height:195px}.farbtastic .overlay{background:url(../images/mask.png) no-repeat}.farbtastic .marker{width:17px;height:17px;margin:-8px -8px 0 0;overflow:hidden;background:url(../images/marker.png) no-repeat}

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