Compare commits
388 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a4685de9f | ||
|
|
4ae8f8d4e6 | ||
|
|
c6e2c61454 | ||
|
|
fe08364556 | ||
|
|
924e124a79 | ||
|
|
9f6f75bd8b | ||
|
|
08f6d4873b | ||
|
|
69fe41fc39 | ||
|
|
deee543f0d | ||
|
|
da5f52aae3 | ||
|
|
e3bce2d81a | ||
|
|
fccc99f43f | ||
|
|
e7c1553bde | ||
|
|
4c11410c58 | ||
|
|
fa163b9c0a | ||
|
|
c0a7aaf659 | ||
|
|
92096f4c64 | ||
|
|
b20bfba009 | ||
|
|
a9ea4a1f7d | ||
|
|
67256370f1 | ||
|
|
1f9acd5fec | ||
|
|
0dfd159712 | ||
|
|
2afa2b446f | ||
|
|
76138b9b66 | ||
|
|
53ae774168 | ||
|
|
4a6101fc53 | ||
|
|
6175c99e93 | ||
|
|
bf820c9036 | ||
|
|
c74898bab3 | ||
|
|
98d47f2c7e | ||
|
|
33ff5ac5f0 | ||
|
|
9ebbcad7a0 | ||
|
|
e8b54ed885 | ||
|
|
1f1b7df292 | ||
|
|
63779784f3 | ||
|
|
d413bb103d | ||
|
|
c22ddf38ed | ||
|
|
d954d6213a | ||
|
|
7aab30a907 | ||
|
|
1fadf698a1 | ||
|
|
227534fae8 | ||
|
|
ec980c34e0 | ||
|
|
dcb9622465 | ||
|
|
29dfd13361 | ||
|
|
42a2dc2f7a | ||
|
|
249407985c | ||
|
|
fa393c7fdc | ||
|
|
6547731cfe | ||
|
|
eeef639639 | ||
|
|
672ccbbc3c | ||
|
|
c0903e830b | ||
|
|
cb2625e260 | ||
|
|
d2342e75d0 | ||
|
|
665b28aad0 | ||
|
|
30b402c24b | ||
|
|
8040b247a4 | ||
|
|
14a11fc4db | ||
|
|
8f33283493 | ||
|
|
9ad59101ab | ||
|
|
b74a18dc8b | ||
|
|
595cd450eb | ||
|
|
cb0ea9d291 | ||
|
|
547a500699 | ||
|
|
d802d709c7 | ||
|
|
26f6aeaeea | ||
|
|
cf8c4fa0d8 | ||
|
|
b564da95fb | ||
|
|
b4aaf4a73c | ||
|
|
1f5f8129de | ||
|
|
15054d8a94 | ||
|
|
cd2f52dda1 | ||
|
|
ea7c189825 | ||
|
|
567d4b0961 | ||
|
|
e2bf0ae498 | ||
|
|
eaf96830ce | ||
|
|
1bb5174584 | ||
|
|
ddc8032efd | ||
|
|
d668b72f5b | ||
|
|
30b40c8f52 | ||
|
|
5129da3af5 | ||
|
|
98eb869d8b | ||
|
|
f1773beb0c | ||
|
|
e782caa1e7 | ||
|
|
4d9aadc80c | ||
|
|
09734c5576 | ||
|
|
0afda3e678 | ||
|
|
05d3ae380d | ||
|
|
d097213a7b | ||
|
|
bed757a726 | ||
|
|
68c6632f86 | ||
|
|
4bfee774d5 | ||
|
|
f4a436c522 | ||
|
|
2062f3f891 | ||
|
|
d78a4944a2 | ||
|
|
3e4f800ee3 | ||
|
|
d1007dd45c | ||
|
|
61322a844a | ||
|
|
09fe564f4e | ||
|
|
9438733d24 | ||
|
|
10c9d391a8 | ||
|
|
9b3e2b76b4 | ||
|
|
0ffa2fc49b | ||
|
|
ca52f0f101 | ||
|
|
77d526e000 | ||
|
|
70eb518623 | ||
|
|
7c30cc3c92 | ||
|
|
b82ed28add | ||
|
|
6e76869056 | ||
|
|
eb592352b5 | ||
|
|
b475d439b3 | ||
|
|
4d5c5e90dd | ||
|
|
39dcb61452 | ||
|
|
b244bafda0 | ||
|
|
1600aef2ab | ||
|
|
843c263881 | ||
|
|
8c9bb731ed | ||
|
|
faf5abc16e | ||
|
|
ad8efe232e | ||
|
|
2c2db8337f | ||
|
|
cc1c032638 | ||
|
|
f149d8fabc | ||
|
|
8e660e35d1 | ||
|
|
faca308a47 | ||
|
|
fbb106494f | ||
|
|
6bbbdf94c0 | ||
|
|
b9bda541d4 | ||
|
|
3bd2b3ad62 | ||
|
|
bf039f8987 | ||
|
|
4cf2959f1e | ||
|
|
728530718b | ||
|
|
44dc191a6d | ||
|
|
7156e5171c | ||
|
|
451d53723b | ||
|
|
1d477066e4 | ||
|
|
0827e54cc0 | ||
|
|
45c4047586 | ||
|
|
547912fbfc | ||
|
|
9209c0738c | ||
|
|
094c20d004 | ||
|
|
2ce4a04aff | ||
|
|
809d5fa08e | ||
|
|
cca8f1053b | ||
|
|
1d2fd8ef87 | ||
|
|
318ebdf1eb | ||
|
|
deeee40510 | ||
|
|
a86c8727b6 | ||
|
|
45cee39420 | ||
|
|
c85cf4f9bc | ||
|
|
2c263a2069 | ||
|
|
80159017d2 | ||
|
|
d664ac9ea6 | ||
|
|
3e36496be3 | ||
|
|
4eeea599bd | ||
|
|
8aa3f8aa17 | ||
|
|
b5dd35f036 | ||
|
|
1dfbe95995 | ||
|
|
2b0b7ffa89 | ||
|
|
b78d21d9f0 | ||
|
|
65e67aeaa5 | ||
|
|
17c256df0b | ||
|
|
5247520fe2 | ||
|
|
95c9ca4091 | ||
|
|
9db1397f08 | ||
|
|
2878ae6271 | ||
|
|
f345a0b15e | ||
|
|
103ca5c6cf | ||
|
|
26fdba2c5b | ||
|
|
dd3024e7c4 | ||
|
|
3b7d4b49c0 | ||
|
|
7cf7767298 | ||
|
|
a2be0cd32b | ||
|
|
e0d8b2663c | ||
|
|
eba98dc78d | ||
|
|
0896655aea | ||
|
|
7aab5bc693 | ||
|
|
c60aa91d76 | ||
|
|
a6284311e8 | ||
|
|
3095491428 | ||
|
|
8114ac92ef | ||
|
|
2083557ea9 | ||
|
|
fdb8a97664 | ||
|
|
050ea51bcb | ||
|
|
38e4408131 | ||
|
|
0b40d2f9cf | ||
|
|
c7ac8db6e4 | ||
|
|
6703bb7c72 | ||
|
|
1b0bd1ff7a | ||
|
|
9af2f7cd35 | ||
|
|
df15be7cf9 | ||
|
|
894cec5697 | ||
|
|
06dd3449e9 | ||
|
|
7a7e45a530 | ||
|
|
c3c9eaf45e | ||
|
|
e5c53b9bbd | ||
|
|
d4be2db521 | ||
|
|
14d25f6094 | ||
|
|
e5b5b15b88 | ||
|
|
b433465f15 | ||
|
|
bcb3a839d1 | ||
|
|
257be25506 | ||
|
|
59593950dc | ||
|
|
6a3018a7c9 | ||
|
|
2f6f41170a | ||
|
|
82687eb7af | ||
|
|
309984de5f | ||
|
|
b1c0bffa78 | ||
|
|
feb3e4caec | ||
|
|
88bc6a609e | ||
|
|
e08597f8fa | ||
|
|
01e3c640fe | ||
|
|
85d1ba9726 | ||
|
|
59a7fbddde | ||
|
|
dc3d22edd9 | ||
|
|
ee43146223 | ||
|
|
cf7288a673 | ||
|
|
f04d84149f | ||
|
|
9bee0589fb | ||
|
|
408d8c63be | ||
|
|
3408441e15 | ||
|
|
57e36f1ed2 | ||
|
|
e40df25f76 | ||
|
|
40bd08b50f | ||
|
|
13b6280373 | ||
|
|
65a757621d | ||
|
|
760aa16ab8 | ||
|
|
7f5c437803 | ||
|
|
8cd1a27463 | ||
|
|
076fb0ff4d | ||
|
|
4c34006070 | ||
|
|
8d99bb5288 | ||
|
|
bac5694e88 | ||
|
|
2aed23cc97 | ||
|
|
4650753c6b | ||
|
|
61be857c95 | ||
|
|
c12c3a96b3 | ||
|
|
ce8c932138 | ||
|
|
9d75986391 | ||
|
|
8fae65141a | ||
|
|
6d16a905b8 | ||
|
|
04d41666dc | ||
|
|
7faddf9e50 | ||
|
|
baba344254 | ||
|
|
1410e91992 | ||
|
|
276dbdc296 | ||
|
|
058176bc28 | ||
|
|
a3528374a8 | ||
|
|
5a4033d4c2 | ||
|
|
f2bf3d8d66 | ||
|
|
17251ec2c1 | ||
|
|
744e834816 | ||
|
|
9b7814a4a1 | ||
|
|
7546fcc64a | ||
|
|
a91c3fbdc0 | ||
|
|
652bc5d967 | ||
|
|
e0f0ee5de6 | ||
|
|
08aa0f52f9 | ||
|
|
7f190a310c | ||
|
|
d8da981665 | ||
|
|
3dd22cf28d | ||
|
|
8461e3a896 | ||
|
|
1f26b2945d | ||
|
|
dd84717899 | ||
|
|
662345c10f | ||
|
|
2643287b2c | ||
|
|
8edf395b50 | ||
|
|
f709f56129 | ||
|
|
b7df04afe4 | ||
|
|
9201cc33cc | ||
|
|
dc9c4c4738 | ||
|
|
8d9813f6f6 | ||
|
|
a07ed5c926 | ||
|
|
a271c43cdb | ||
|
|
d7291a5435 | ||
|
|
ab139de982 | ||
|
|
3798ce6757 | ||
|
|
2c492ab774 | ||
|
|
ff4c656579 | ||
|
|
09a5894a92 | ||
|
|
519f479887 | ||
|
|
f0fd88a7f5 | ||
|
|
4224f6e214 | ||
|
|
f29bf78748 | ||
|
|
4d2fabc973 | ||
|
|
3cc1a69391 | ||
|
|
366e0ada72 | ||
|
|
723d0f2669 | ||
|
|
5220bad266 | ||
|
|
4aee92bb1c | ||
|
|
bbb8a324c7 | ||
|
|
bd00d61353 | ||
|
|
124bdbb0cd | ||
|
|
8662725a4b | ||
|
|
54194f2ec6 | ||
|
|
83dc4c9339 | ||
|
|
dd777e0e14 | ||
|
|
98764508db | ||
|
|
906bc34226 | ||
|
|
c4277abb33 | ||
|
|
6ba9d07723 | ||
|
|
db02fcb8f8 | ||
|
|
385f70dc96 | ||
|
|
54d1631126 | ||
|
|
3ed6b9efd4 | ||
|
|
2441c3c3f1 | ||
|
|
2e8c881ff4 | ||
|
|
0685e3e2f3 | ||
|
|
d9bf3e5e60 | ||
|
|
4c4d1ecbe5 | ||
|
|
be9734cbee | ||
|
|
4abf1b12c9 | ||
|
|
5e9186aaa5 | ||
|
|
e77f8257ea | ||
|
|
3bc41df4e4 | ||
|
|
d72fbf753f | ||
|
|
b6d9609fa9 | ||
|
|
84bd75ea88 | ||
|
|
9026b41b3b | ||
|
|
77ce550e5c | ||
|
|
3c9f3effb0 | ||
|
|
397b2de6e5 | ||
|
|
b8ebacbf82 | ||
|
|
089aa052fb | ||
|
|
25dea6d03a | ||
|
|
5973b3a5e1 | ||
|
|
a6e75ee0b7 | ||
|
|
25bfff959f | ||
|
|
af4f4f860e | ||
|
|
fadd733746 | ||
|
|
160e61fddf | ||
|
|
0a429ab309 | ||
|
|
030f429e78 | ||
|
|
c637f0c94f | ||
|
|
aedaea9209 | ||
|
|
edb61cba2e | ||
|
|
2afecbb253 | ||
|
|
1fdfabf74c | ||
|
|
c4a15959f5 | ||
|
|
b4a3edc859 | ||
|
|
e75247a179 | ||
|
|
45874b5050 | ||
|
|
ecd15e008a | ||
|
|
594456341d | ||
|
|
ec63674dfc | ||
|
|
4ae2ee9869 | ||
|
|
0236fd226e | ||
|
|
9fe3e9edf0 | ||
|
|
e1095eeb9f | ||
|
|
68cb5b6f05 | ||
|
|
6dc1dd28f5 | ||
|
|
4cb8d10856 | ||
|
|
97ba6be232 | ||
|
|
cee7720939 | ||
|
|
b09cebf575 | ||
|
|
66a3d52431 | ||
|
|
85d9b63062 | ||
|
|
75ab7d2124 | ||
|
|
553d6fdbe0 | ||
|
|
35b40d1001 | ||
|
|
a5f8e0917f | ||
|
|
73615e0bc4 | ||
|
|
567de560e9 | ||
|
|
ff85340727 | ||
|
|
ecf8680978 | ||
|
|
36282a2a9c | ||
|
|
44eb69904d | ||
|
|
ce6b628972 | ||
|
|
0110751ddc | ||
|
|
5e736b62e0 | ||
|
|
eb18399c10 | ||
|
|
c268b2f28c | ||
|
|
15b14c30c1 | ||
|
|
0d7f326477 | ||
|
|
062ab0b0c8 | ||
|
|
46c75fbaf7 | ||
|
|
11e007c502 | ||
|
|
b0c557fbb2 | ||
|
|
277261edeb | ||
|
|
1b39843b11 | ||
|
|
6cc5d01d17 | ||
|
|
523fcaca2e | ||
|
|
a647fbead2 | ||
|
|
389166f9aa | ||
|
|
af74789be0 | ||
|
|
ca12fb6710 | ||
|
|
707a3196f7 | ||
|
|
e6a91f7ccf | ||
|
|
bbef4fd178 | ||
|
|
fcb3e4d712 |
@@ -11,7 +11,7 @@
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
define( 'WP_USE_THEMES', true );
|
||||
define('WP_USE_THEMES', true);
|
||||
|
||||
/** Loads the WordPress Environment and Template */
|
||||
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
WordPress - Web publishing software
|
||||
|
||||
Copyright 2011-2019 by the contributors
|
||||
Copyright 2011-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
|
||||
|
||||
22
readme.html
22
readme.html
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
@@ -26,7 +26,7 @@
|
||||
<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 site. 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/forums/">WordPress 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="https://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 “Profile” to change the password.</li>
|
||||
</ol>
|
||||
@@ -48,17 +48,17 @@
|
||||
</ol>
|
||||
|
||||
<h2>Migrating from other systems</h2>
|
||||
<p>WordPress can <a href="https://wordpress.org/support/article/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">our import tools</a>.</p>
|
||||
<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>
|
||||
|
||||
<h2>System Requirements</h2>
|
||||
<ul>
|
||||
<li><a href="https://secure.php.net/">PHP</a> version <strong>5.6.20</strong> or higher.</li>
|
||||
<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>
|
||||
</ul>
|
||||
|
||||
<h3>Recommendations</h3>
|
||||
<ul>
|
||||
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.3</strong> or higher.</li>
|
||||
<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>
|
||||
@@ -74,25 +74,25 @@
|
||||
<dd>This is where you’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>
|
||||
<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/forums/">WordPress Support Forums</a></dt>
|
||||
<dt><a href="https://wordpress.org/support/">WordPress Support Forums</a></dt>
|
||||
<dd>If you’ve looked everywhere and still can’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>IRC</abbr> (Internet Relay Chat) Channel</a></dt>
|
||||
<dt><a href="https://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>
|
||||
<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/forums/">Support Forums</a>.</li>
|
||||
<li>WordPress has a robust plugin <abbr>API</abbr> (Application Programming Interface) 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’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="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’t modify any of the core code.</li>
|
||||
</ul>
|
||||
|
||||
<h2>Share the Love</h2>
|
||||
<p>WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—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é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/">donating</a>.</p>
|
||||
<p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/café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>
|
||||
|
||||
<h2>License</h2>
|
||||
<p>WordPress is free software, and is released under the terms of the <abbr>GPL</abbr> (GNU General Public License) version 2 or (at your option) any later version. See <a href="license.txt">license.txt</a>.</p>
|
||||
<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>
|
||||
</html>
|
||||
|
||||
177
wp-activate.php
177
wp-activate.php
@@ -9,64 +9,19 @@
|
||||
define( 'WP_INSTALLING', true );
|
||||
|
||||
/** Sets up the WordPress Environment. */
|
||||
require( dirname( __FILE__ ) . '/wp-load.php' );
|
||||
require( dirname(__FILE__) . '/wp-load.php' );
|
||||
|
||||
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
|
||||
|
||||
if ( ! is_multisite() ) {
|
||||
if ( !is_multisite() ) {
|
||||
wp_redirect( wp_registration_url() );
|
||||
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 );
|
||||
}
|
||||
}
|
||||
|
||||
nocache_headers();
|
||||
|
||||
if ( is_object( $wp_object_cache ) ) {
|
||||
if ( is_object( $wp_object_cache ) )
|
||||
$wp_object_cache->cache_enabled = false;
|
||||
}
|
||||
|
||||
// Fix for page title
|
||||
$wp_query->is_404 = false;
|
||||
@@ -90,10 +45,10 @@ function do_activate_header() {
|
||||
* Fires before the Site Activation page is loaded.
|
||||
*
|
||||
* Fires on the {@see 'wp_head'} action.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*/
|
||||
do_action( 'activate_wp_head' );
|
||||
*
|
||||
* @since 3.0.0
|
||||
*/
|
||||
do_action( 'activate_wp_head' );
|
||||
}
|
||||
add_action( 'wp_head', 'do_activate_header' );
|
||||
|
||||
@@ -109,98 +64,93 @@ 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: 600; }
|
||||
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: bold; }
|
||||
</style>
|
||||
<?php
|
||||
}
|
||||
add_action( 'wp_head', 'wpmu_activate_stylesheet' );
|
||||
add_action( 'wp_head', 'wp_sensitive_page_meta' );
|
||||
|
||||
get_header( 'wp-activate' );
|
||||
?>
|
||||
|
||||
<div id="signup-content" class="widecolumn">
|
||||
<div class="wp-activate-container">
|
||||
<?php if ( ! $key ) { ?>
|
||||
<?php if ( empty($_GET['key']) && empty($_POST['key']) ) { ?>
|
||||
|
||||
<h2><?php _e( 'Activation Key Required' ); ?></h2>
|
||||
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url( 'wp-activate.php' ); ?>">
|
||||
<h2><?php _e('Activation Key Required') ?></h2>
|
||||
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url('wp-activate.php'); ?>">
|
||||
<p>
|
||||
<label for="key"><?php _e( 'Activation Key:' ); ?></label>
|
||||
<br /><input type="text" name="key" id="key" value="" size="50" />
|
||||
<label for="key"><?php _e('Activation Key:') ?></label>
|
||||
<br /><input type="text" name="key" id="key" value="" size="50" />
|
||||
</p>
|
||||
<p class="submit">
|
||||
<input id="submit" type="submit" name="Submit" class="submit" value="<?php esc_attr_e( 'Activate' ); ?>" />
|
||||
<input id="submit" type="submit" name="Submit" class="submit" value="<?php esc_attr_e('Activate') ?>" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
} else {
|
||||
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(
|
||||
/* translators: 1: Login URL, 2: Username, 3: User email address, 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 “%2$s”. 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()
|
||||
);
|
||||
<?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 “%2$s”. 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 “%2$s”. 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>';
|
||||
} else {
|
||||
printf(
|
||||
/* translators: 1: Site URL, 2: Username, 3: User email address, 4: Lost password URL. */
|
||||
__( 'Your site at %1$s is active. You may now log in to your site using your chosen username of “%2$s”. 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>';
|
||||
} elseif ( $result === null || is_wp_error( $result ) ) {
|
||||
?>
|
||||
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
|
||||
<?php if ( is_wp_error( $result ) ) : ?>
|
||||
?>
|
||||
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
|
||||
<p><?php echo $result->get_error_message(); ?></p>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
<?php
|
||||
}
|
||||
} else {
|
||||
$url = isset( $result['blog_id'] ) ? get_home_url( (int) $result['blog_id'] ) : '';
|
||||
$url = isset( $result['blog_id'] ) ? get_home_url( (int) $result['blog_id'] ) : '';
|
||||
$user = get_userdata( (int) $result['user_id'] );
|
||||
?>
|
||||
<h2><?php _e( 'Your account is now active!' ); ?></h2>
|
||||
<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('Username:'); ?></span> <?php echo $user->user_login ?></p>
|
||||
<p><span class="h3"><?php _e('Password:'); ?></span> <?php echo $result['password']; ?></p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if ( $url && $url != network_home_url( '', 'http' ) ) :
|
||||
<?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. */
|
||||
<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 else : ?>
|
||||
<p class="view">
|
||||
<?php
|
||||
/* translators: 1: Login URL, 2: Network home URL. */
|
||||
?></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>
|
||||
<?php
|
||||
endif;
|
||||
?></p>
|
||||
<?php endif;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -210,5 +160,4 @@ get_header( 'wp-activate' );
|
||||
var key_input = document.getElementById('key');
|
||||
key_input && key_input.focus();
|
||||
</script>
|
||||
<?php
|
||||
get_footer( 'wp-activate' );
|
||||
<?php get_footer( 'wp-activate' );
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
|
||||
wp_enqueue_script( 'underscore' );
|
||||
|
||||
/* translators: Page title of the About WordPress page in the admin. */
|
||||
$title = _x( 'About', 'page title' );
|
||||
|
||||
@@ -16,234 +18,361 @@ list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
?>
|
||||
<div class="wrap about__container">
|
||||
<div class="wrap about-wrap full-width-layout">
|
||||
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
|
||||
|
||||
<div class="about__header">
|
||||
<div class="about__header-title">
|
||||
<h1>
|
||||
<span><?php echo $display_version; ?></span>
|
||||
<?php _e( 'WordPress' ); ?>
|
||||
</h1>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
<div class="about__header-badge"></div>
|
||||
<h2 class="nav-tab-wrapper wp-clearfix">
|
||||
<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What’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="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<div class="about__header-text">
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: The current WordPress version number. */
|
||||
__( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
|
||||
$display_version
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
|
||||
<a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What’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>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="about__section changelog">
|
||||
<div class="column">
|
||||
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
5
|
||||
),
|
||||
'5.3.2',
|
||||
number_format_i18n( 5 )
|
||||
);
|
||||
?>
|
||||
<?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( '5.3.2' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
|
||||
_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.',
|
||||
46
|
||||
),
|
||||
'5.3.1',
|
||||
number_format_i18n( 46 )
|
||||
);
|
||||
?>
|
||||
<?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( '5.3.1' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="about__section is-feature">
|
||||
<div class="changelog point-releases">
|
||||
<h3><?php _e( 'Maintenance and Security Releases' ); ?></h3>
|
||||
<p>
|
||||
<?php _e( '5.3 expands and refines the block editor introduced in WordPress 5.0 with a new block, more intuitive interactions, and improved accessibility. New features in the editor increase design freedoms, provide additional layout options and style variations to allow designers complete control over the look of a site. This release also introduces the Twenty Twenty theme giving the user more design flexibility and integration with the block editor. Creating beautiful web pages and advanced layouts has never been easier.' ); ?>
|
||||
<?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.',
|
||||
46
|
||||
),
|
||||
'4.9.8',
|
||||
number_format_i18n( 46 )
|
||||
);
|
||||
|
||||
printf(
|
||||
/* translators: %s: Codex URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
'https://codex.wordpress.org/Version_4.9.8'
|
||||
);
|
||||
?>
|
||||
</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.',
|
||||
17
|
||||
),
|
||||
'4.9.7',
|
||||
number_format_i18n( 17 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.7' );
|
||||
?>
|
||||
</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.',
|
||||
18
|
||||
),
|
||||
'4.9.6',
|
||||
number_format_i18n( 18 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.6' );
|
||||
?>
|
||||
</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.',
|
||||
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>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="about__section has-2-columns">
|
||||
<div class="column is-edge-to-edge has-accent-background-color">
|
||||
<div class="about__image aligncenter">
|
||||
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='660' height='818' viewbox='0 0 660 818' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='99' y='178' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='231' y='310' width='99' height='99' fill='%2344141E'/%3E%3Crect x='330' y='409' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='462' y='541' width='99' height='99' fill='%2344141E'/%3E%3C/svg%3E" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="column is-vertically-aligned-center">
|
||||
<h2><?php _e( 'Block Editor Improvements' ); ?></h2>
|
||||
<p>
|
||||
<?php _e( 'This enhancement-focused update introduces over 150 new features and usability improvements, including improved large image support for uploading non-optimized, high-resolution pictures taken from your smartphone or other high-quality cameras. Combined with larger default image sizes, pictures always look their best.' ); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php _e( 'Accessibility improvements include the integration of block editor styles in the admin interface. These improved styles fix many accessibility issues: color contrast on form fields and buttons, consistency between editor and admin interfaces, new snackbar notices, standardizing to the default WordPress color scheme, and the introduction of Motion to make interacting with your blocks feel swift and natural. For people who use a keyboard to navigate the dashboard, the block editor now has a Navigation mode. This lets you jump from block to block without tabbing through every part of the block controls.' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="about__section has-2-columns">
|
||||
<div class="column is-vertically-aligned-center">
|
||||
<h2><?php _e( 'Expanded Design Flexibility' ); ?></h2>
|
||||
<p>
|
||||
<div class="feature-section one-col">
|
||||
<div class="col">
|
||||
<h2>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: The current WordPress version number. */
|
||||
__( 'WordPress %s adds even more robust tools for creating amazing designs.' ),
|
||||
$display_version
|
||||
);
|
||||
printf(
|
||||
/* translators: %s: party popper emoji */
|
||||
__( 'Major Customizer Improvements, Code Error Checking, and More! %s' ),
|
||||
'🎉'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<ul>
|
||||
<li><?php _e( 'The new Group block lets you easily divide your page into colorful sections' ); ?></li>
|
||||
<li><?php _e( 'The Columns block now supports fixed column widths' ); ?></li>
|
||||
<li><?php _e( 'The new Predefined layouts make it a cinch to arrange content into advanced designs' ); ?></li>
|
||||
<li><?php _e( 'Heading blocks now offer controls for text color' ); ?></li>
|
||||
<li><?php _e( 'Additional style options allow you to set your preferred style for any block that supports this feature' ); ?></li>
|
||||
</ul>
|
||||
</h2>
|
||||
<p><?php _e( 'Welcome to an improved Customizer workflow with design drafts, locking, scheduling, and preview links. What’s more, code syntax highlighting and error checking will make for a clean and smooth site building experience. Finally, if all that wasn’t pretty great, we’ve got a great new Gallery widget and improvements to theme browsing and switching.' ); ?></p>
|
||||
</div>
|
||||
<div class="column is-edge-to-edge has-accent-background-color">
|
||||
<div class="about__image aligncenter">
|
||||
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='75' y='200' width='150' height='75' fill='%2344141E'/%3E%3Crect x='175' y='75' width='50' height='100' fill='%2385273B'/%3E%3Crect x='75' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='250' y='200' width='175' height='75' fill='%2344141E'/%3E%3Crect x='350' y='75' width='75' height='100' fill='%2385273B'/%3E%3Crect x='250' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='75' y='375' width='150' height='50' fill='%2344141E'/%3E%3Crect x='175' y='300' width='50' height='50' fill='%2385273B'/%3E%3Crect x='75' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3Crect x='250' y='372.5' width='175' height='52.5' fill='%2344141E'/%3E%3Crect x='350' y='300' width='75' height='50' fill='%2385273B'/%3E%3Crect x='250' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3C/svg%3E%0A" alt="">
|
||||
</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’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++?' ); ?></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’s beautiful changes? WordPress 4.9’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’d like to save your unsaved changes.' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="about__section has-2-columns has-subtle-background-color">
|
||||
<div class="column is-vertically-aligned-center">
|
||||
<h2><?php _e( 'Introducing Twenty Twenty' ); ?></h2>
|
||||
<p><?php _e( 'As the block editor celebrates its first birthday, we are proud that Twenty Twenty is designed with flexibility at its core. Show off your services or products with a combination of columns, groups, and media blocks. Set your content to wide or full alignment for dynamic and engaging layouts. Or let your thoughts be the star with a centered content column!' ); ?></p>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: Link to the Inter font website. */
|
||||
__( 'As befits a theme called Twenty Twenty, clarity and readability is also a big focus. The theme includes the typeface <a href="%s">Inter</a>, designed by Rasmus Andersson. Inter comes in a Variable Font version, a first for default themes, which keeps load times short by containing all weights and styles of Inter in just two font files.' ),
|
||||
'https://rsms.me/inter/'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<div class="floating-header-section">
|
||||
<div class="section-header">
|
||||
<h2><?php _e( 'Coding Enhancements' ); ?></h2>
|
||||
</div>
|
||||
<div class="column is-edge-to-edge">
|
||||
<div class="about__image aligncenter">
|
||||
<img src="https://s.w.org/images/core/5.3/twentytwenty-mobile.png" alt="" />
|
||||
|
||||
<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’ve got a display problem but can’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’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’ll avoid it when working on themes and plugin code because WordPress 4.9 will warn you about saving an error. You’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’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="about__section has-subtle-background-color">
|
||||
<div class="column is-edge-to-edge">
|
||||
<div class="about__image aligncenter">
|
||||
<img src="https://s.w.org/images/core/5.3/twentytwenty-desktop.png" alt="" />
|
||||
<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’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’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' ),
|
||||
'🤝'
|
||||
);
|
||||
?>
|
||||
</h2>
|
||||
<p><?php printf(
|
||||
__( 'WordPress is working on a new way to create and control your content and we’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="about__section has-3-columns">
|
||||
<h2 class="is-section-header"><?php _e( 'Improvements for Everyone' ); ?></h2>
|
||||
<div class="changelog">
|
||||
<h2><?php
|
||||
printf(
|
||||
/* translators: %s: smiling face with smiling eyes emoji */
|
||||
__( 'Developer Happiness %s' ),
|
||||
'😊'
|
||||
);
|
||||
?></h2>
|
||||
|
||||
<div class="column">
|
||||
<h3><?php _e( 'Automatic Image Rotation' ); ?></h3>
|
||||
<p><?php _e( 'Your images will be correctly rotated upon upload according to the embedded orientation data. This feature was first proposed nine years ago and made possible through the perserverance of many dedicated contributors.' ); ?></p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3><?php _e( 'Site Health Checks' ); ?></h3>
|
||||
<p><?php _e( 'The improvements introduced in 5.3 make it even easier to identify issues. Expanded recommendations highlight areas that may need troubleshooting on your site from the Health Check screen.' ); ?></p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3><?php _e( 'Admin Email Verification' ); ?></h3>
|
||||
<p><?php _e( 'You’ll now be periodically asked to confirm that your admin email address is up to date when you log in as an administrator. This reduces the chance of getting locked out of your site if you change your email address.' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="about__section">
|
||||
<div class="column is-edge-to-edge">
|
||||
<div class="about__image aligncenter">
|
||||
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='498' viewbox='0 0 1000 498' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='865.463' y='36.8596' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='865.463' y='180.98' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='866.2' y='328.05' width='133.8' height='132.694' fill='%23942F44'/%3E%3Crect y='331.736' width='405.455' height='134.169' fill='%234E1521'/%3E%3Crect y='36.8596' width='405.455' height='129.008' fill='%234E1521'/%3E%3Crect y='184.298' width='387.025' height='133.8' fill='%234E1521'/%3E%3Crect x='719.13' y='34.6479' width='133.8' height='428.677' fill='%23BD3854'/%3E%3Crect x='571.323' y='18.4297' width='133.8' height='423.885' fill='%23BD3854'/%3E%3Crect x='423.516' y='35.0164' width='133.8' height='425.728' fill='%23BD3854'/%3E%3C/svg%3E" alt="" />
|
||||
<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’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’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="about__section has-2-columns has-subtle-background-color">
|
||||
<h2 class="is-section-header"><?php _e( 'For Developers' ); ?></h2>
|
||||
|
||||
<div class="column">
|
||||
<h3><?php _e( 'Date/Time Component Fixes' ); ?></h3>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: Link to the date/time developer notes. */
|
||||
__( 'Developers can now work with <a href="%s">dates and timezones</a> in a more reliable way. Date and time functionality has received a number of new API functions for unified timezone retrieval and PHP interoperability, as well as many bug fixes.' ),
|
||||
'https://make.wordpress.org/core/2019/09/23/date-time-improvements-wp-5-3/'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3><?php _e( 'PHP 7.4 Compatibility' ); ?></h3>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: Link to the PHP 7 developer notes. */
|
||||
__( 'WordPress 5.3 aims to fully support PHP 7.4. This release contains <a href="%s">multiple changes</a> to remove deprecated functionality and ensure compatibility. WordPress continues to encourage all users to run the latest and greatest versions of PHP.' ),
|
||||
'https://make.wordpress.org/core/2019/10/11/wordpress-and-php-7-4/'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -258,6 +387,100 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
(function( $ ) {
|
||||
$( function() {
|
||||
var $window = $( window );
|
||||
var $adminbar = $( '#wpadminbar' );
|
||||
var $sections = $( '.floating-header-section' );
|
||||
var offset = 0;
|
||||
|
||||
// Account for Admin bar.
|
||||
if ( $adminbar.length ) {
|
||||
offset += $adminbar.height();
|
||||
}
|
||||
|
||||
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' );
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
||||
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();
|
||||
|
||||
if ( $section.hasClass( 'has-long-title' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
var sectionStart = $section.offset().top - offset;
|
||||
var sectionEnd = sectionStart + $section.innerHeight();
|
||||
var scrollPos = $window.scrollTop();
|
||||
|
||||
// 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 );
|
||||
|
||||
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>
|
||||
|
||||
<?php
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
||||
@@ -274,28 +497,22 @@ __( 'Security Releases' );
|
||||
__( 'Maintenance and Security Release' );
|
||||
__( 'Maintenance and Security Releases' );
|
||||
|
||||
/* translators: %s: WordPress version number. */
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed one security issue.' );
|
||||
/* translators: %s: WordPress version number. */
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %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.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.'
|
||||
);
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.' );
|
||||
|
||||
/* translators: 1: WordPress version number, 2: Plural number of bugs. Singular security issue. */
|
||||
_n_noop(
|
||||
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.'
|
||||
);
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */
|
||||
_n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' );
|
||||
|
||||
/* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
|
||||
_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: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
|
||||
_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: Documentation URL. */
|
||||
/* translators: %s: Codex URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' );
|
||||
|
||||
@@ -24,13 +24,9 @@ require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
/** Allow for cross-domain requests (from the front end). */
|
||||
send_origin_headers();
|
||||
|
||||
header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
|
||||
header( 'X-Robots-Tag: noindex' );
|
||||
|
||||
// Require an action parameter
|
||||
if ( empty( $_REQUEST['action'] ) ) {
|
||||
if ( empty( $_REQUEST['action'] ) )
|
||||
wp_die( '0', 400 );
|
||||
}
|
||||
|
||||
/** Load WordPress Administration APIs */
|
||||
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
|
||||
@@ -38,6 +34,9 @@ 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( 'X-Robots-Tag: noindex' );
|
||||
|
||||
send_nosniff_header();
|
||||
nocache_headers();
|
||||
|
||||
@@ -45,149 +44,75 @@ nocache_headers();
|
||||
do_action( 'admin_init' );
|
||||
|
||||
$core_actions_get = array(
|
||||
'fetch-list',
|
||||
'ajax-tag-search',
|
||||
'wp-compression-test',
|
||||
'imgedit-preview',
|
||||
'oembed-cache',
|
||||
'autocomplete-user',
|
||||
'dashboard-widgets',
|
||||
'logged-in',
|
||||
'rest-nonce',
|
||||
'fetch-list', 'ajax-tag-search', 'wp-compression-test', 'imgedit-preview', 'oembed-cache',
|
||||
'autocomplete-user', 'dashboard-widgets', 'logged-in',
|
||||
);
|
||||
|
||||
$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',
|
||||
'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',
|
||||
'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',
|
||||
'media-create-image-subsizes',
|
||||
'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',
|
||||
'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',
|
||||
'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',
|
||||
'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',
|
||||
'wp-privacy-export-personal-data',
|
||||
'wp-privacy-erase-personal-data',
|
||||
'health-check-site-status-result',
|
||||
'health-check-dotorg-communication',
|
||||
'health-check-is-in-debug-mode',
|
||||
'health-check-background-updates',
|
||||
'health-check-loopback-requests',
|
||||
'health-check-get-sizes',
|
||||
'update-try-gutenberg-panel',
|
||||
);
|
||||
|
||||
// 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 );
|
||||
$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 ) ) {
|
||||
if ( ! empty( $_GET['action'] ) && in_array( $_GET['action'], $core_actions_get ) )
|
||||
add_action( 'wp_ajax_' . $_GET['action'], 'wp_ajax_' . str_replace( '-', '_', $_GET['action'] ), 1 );
|
||||
}
|
||||
|
||||
if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $core_actions_post ) ) {
|
||||
if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $core_actions_post ) )
|
||||
add_action( 'wp_ajax_' . $_POST['action'], 'wp_ajax_' . str_replace( '-', '_', $_POST['action'] ), 1 );
|
||||
}
|
||||
|
||||
add_action( 'wp_ajax_nopriv_heartbeat', 'wp_ajax_nopriv_heartbeat', 1 );
|
||||
|
||||
$action = ( isset( $_REQUEST['action'] ) ) ? $_REQUEST['action'] : '';
|
||||
|
||||
if ( is_user_logged_in() ) {
|
||||
// If no action is registered, return a Bad Request response.
|
||||
if ( ! has_action( "wp_ajax_{$action}" ) ) {
|
||||
if ( ! has_action( 'wp_ajax_' . $_REQUEST['action'] ) ) {
|
||||
wp_die( '0', 400 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Fires authenticated Ajax actions for logged-in users.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$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_{$action}" );
|
||||
do_action( 'wp_ajax_' . $_REQUEST['action'] );
|
||||
} else {
|
||||
// If no action is registered, return a Bad Request response.
|
||||
if ( ! has_action( "wp_ajax_nopriv_{$action}" ) ) {
|
||||
if ( ! has_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] ) ) {
|
||||
wp_die( '0', 400 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Fires non-authenticated Ajax actions for logged-out users.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$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_{$action}" );
|
||||
do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] );
|
||||
}
|
||||
// Default status
|
||||
wp_die( '0' );
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
*/
|
||||
|
||||
// don't load directly
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
if ( !defined('ABSPATH') )
|
||||
die('-1');
|
||||
|
||||
/**
|
||||
* @global string $hook_suffix
|
||||
@@ -32,12 +31,7 @@ global $hook_suffix;
|
||||
?>
|
||||
<p id="footer-left" class="alignleft">
|
||||
<?php
|
||||
$text = sprintf(
|
||||
/* translators: %s: https://wordpress.org/ */
|
||||
__( 'Thank you for creating with <a href="%s">WordPress</a>.' ),
|
||||
__( 'https://wordpress.org/' )
|
||||
);
|
||||
|
||||
$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.
|
||||
*
|
||||
@@ -85,7 +79,7 @@ do_action( 'admin_footer', '' );
|
||||
*
|
||||
* @since 4.6.0
|
||||
*/
|
||||
do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
do_action( "admin_print_footer_scripts-{$hook_suffix}" );
|
||||
|
||||
/**
|
||||
* Prints any scripts and data queued for the footer.
|
||||
@@ -102,13 +96,12 @@ do_action( 'admin_print_footer_scripts' );
|
||||
*
|
||||
* @since 2.8.0
|
||||
*/
|
||||
do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
do_action( "admin_footer-{$hook_suffix}" );
|
||||
|
||||
// get_site_option() won't exist when auto upgrading from <= 2.7
|
||||
if ( function_exists( 'get_site_option' ) ) {
|
||||
if ( false === get_site_option( 'can_compress_scripts' ) ) {
|
||||
if ( function_exists('get_site_option') ) {
|
||||
if ( false === get_site_option('can_compress_scripts') )
|
||||
compression_test();
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
_deprecated_file( basename( __FILE__ ), '2.5.0', 'wp-admin/includes/admin.php' );
|
||||
_deprecated_file( basename(__FILE__), '2.5.0', 'wp-admin/includes/admin.php' );
|
||||
|
||||
/** WordPress Administration API: Includes all Administration functions. */
|
||||
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
|
||||
require_once(ABSPATH . 'wp-admin/includes/admin.php');
|
||||
|
||||
@@ -6,18 +6,17 @@
|
||||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
|
||||
if ( ! defined( 'WP_ADMIN' ) ) {
|
||||
@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
|
||||
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 WordPress current screen object.
|
||||
* @global WP_Locale $wp_locale WordPress date and time locale object.
|
||||
* @global WP_Screen $current_screen
|
||||
* @global WP_Locale $wp_locale
|
||||
* @global string $pagenow
|
||||
* @global string $update_title
|
||||
* @global int $total_update_count
|
||||
@@ -27,36 +26,30 @@ global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow,
|
||||
$update_title, $total_update_count, $parent_file;
|
||||
|
||||
// Catch plugins that include admin-header.php before admin.php completes.
|
||||
if ( empty( $current_screen ) ) {
|
||||
if ( empty( $current_screen ) )
|
||||
set_current_screen();
|
||||
}
|
||||
|
||||
get_admin_page_title();
|
||||
$title = esc_html( strip_tags( $title ) );
|
||||
|
||||
if ( is_network_admin() ) {
|
||||
/* translators: Network admin screen title. %s: Network title. */
|
||||
/* 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. %s: Network title. */
|
||||
/* translators: User dashboard screen title. 1: Network name */
|
||||
$admin_title = sprintf( __( 'User Dashboard: %s' ), esc_html( get_network()->site_name ) );
|
||||
} else {
|
||||
$admin_title = get_bloginfo( 'name' );
|
||||
}
|
||||
|
||||
if ( $admin_title == $title ) {
|
||||
/* translators: Admin screen title. %s: Admin screen name. */
|
||||
$admin_title = sprintf( __( '%s — WordPress' ), $title );
|
||||
/* translators: Admin screen title. 1: Admin screen name */
|
||||
$admin_title = sprintf( __( '%1$s — WordPress' ), $title );
|
||||
} else {
|
||||
/* translators: Admin screen title. 1: Admin screen name, 2: Network or site name. */
|
||||
/* translators: Admin screen title. 1: Admin screen name, 2: Network or site name */
|
||||
$admin_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $admin_title );
|
||||
}
|
||||
|
||||
if ( wp_is_recovery_mode() ) {
|
||||
/* translators: %s: Admin screen title. */
|
||||
$admin_title = sprintf( __( 'Recovery Mode — %s' ), $admin_title );
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the title tag content for an admin page.
|
||||
*
|
||||
@@ -76,10 +69,10 @@ _wp_admin_html_begin();
|
||||
|
||||
wp_enqueue_style( 'colors' );
|
||||
wp_enqueue_style( 'ie' );
|
||||
wp_enqueue_script( 'utils' );
|
||||
wp_enqueue_script('utils');
|
||||
wp_enqueue_script( 'svg-painter' );
|
||||
|
||||
$admin_body_class = preg_replace( '/[^a-z0-9_-]+/i', '-', $hook_suffix );
|
||||
$admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
|
||||
@@ -108,7 +101,7 @@ do_action( 'admin_enqueue_scripts', $hook_suffix );
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
do_action( "admin_print_styles-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
do_action( "admin_print_styles-{$hook_suffix}" );
|
||||
|
||||
/**
|
||||
* Fires when styles are printed for all admin pages.
|
||||
@@ -122,7 +115,7 @@ do_action( 'admin_print_styles' );
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "admin_print_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
do_action( "admin_print_scripts-{$hook_suffix}" );
|
||||
|
||||
/**
|
||||
* Fires when scripts are printed for all admin pages.
|
||||
@@ -139,7 +132,7 @@ do_action( 'admin_print_scripts' );
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "admin_head-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
do_action( "admin_head-{$hook_suffix}" );
|
||||
|
||||
/**
|
||||
* Fires in head section for all admin pages.
|
||||
@@ -148,58 +141,40 @@ do_action( "admin_head-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConven
|
||||
*/
|
||||
do_action( 'admin_head' );
|
||||
|
||||
if ( get_user_setting( 'mfold' ) == 'f' ) {
|
||||
if ( get_user_setting('mfold') == 'f' )
|
||||
$admin_body_class .= ' folded';
|
||||
}
|
||||
|
||||
if ( ! get_user_setting( 'unfold' ) ) {
|
||||
if ( !get_user_setting('unfold') )
|
||||
$admin_body_class .= ' auto-fold';
|
||||
}
|
||||
|
||||
if ( is_admin_bar_showing() ) {
|
||||
if ( is_admin_bar_showing() )
|
||||
$admin_body_class .= ' admin-bar';
|
||||
}
|
||||
|
||||
if ( is_rtl() ) {
|
||||
if ( is_rtl() )
|
||||
$admin_body_class .= ' rtl';
|
||||
}
|
||||
|
||||
if ( $current_screen->post_type ) {
|
||||
if ( $current_screen->post_type )
|
||||
$admin_body_class .= ' post-type-' . $current_screen->post_type;
|
||||
}
|
||||
|
||||
if ( $current_screen->taxonomy ) {
|
||||
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 .= ' admin-color-' . sanitize_html_class( get_user_option( 'admin_color' ), 'fresh' );
|
||||
$admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_user_locale() ) ) );
|
||||
|
||||
if ( wp_is_mobile() ) {
|
||||
if ( wp_is_mobile() )
|
||||
$admin_body_class .= ' mobile';
|
||||
}
|
||||
|
||||
if ( is_multisite() ) {
|
||||
if ( is_multisite() )
|
||||
$admin_body_class .= ' multisite';
|
||||
}
|
||||
|
||||
if ( is_network_admin() ) {
|
||||
if ( is_network_admin() )
|
||||
$admin_body_class .= ' network-admin';
|
||||
}
|
||||
|
||||
$admin_body_class .= ' no-customize-support no-svg';
|
||||
|
||||
if ( $current_screen->is_block_editor() ) {
|
||||
// Default to is-fullscreen-mode to avoid jumps in the UI.
|
||||
$admin_body_class .= ' block-editor-page is-fullscreen-mode wp-embed-responsive';
|
||||
|
||||
if ( current_theme_supports( 'editor-styles' ) && current_theme_supports( 'dark-editor-style' ) ) {
|
||||
$admin_body_class .= ' is-dark-theme';
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</head>
|
||||
<?php
|
||||
@@ -218,9 +193,8 @@ if ( $current_screen->is_block_editor() ) {
|
||||
* @param string $classes Space-separated list of CSS classes.
|
||||
*/
|
||||
$admin_body_classes = apply_filters( 'admin_body_class', '' );
|
||||
$admin_body_classes = ltrim( $admin_body_classes . ' ' . $admin_body_class );
|
||||
?>
|
||||
<body class="wp-admin wp-core-ui no-js <?php echo $admin_body_classes; ?>">
|
||||
<body class="wp-admin wp-core-ui no-js <?php echo $admin_body_classes . ' ' . $admin_body_class; ?>">
|
||||
<script type="text/javascript">
|
||||
document.body.className = document.body.className.replace('no-js','js');
|
||||
</script>
|
||||
@@ -233,7 +207,7 @@ if ( current_user_can( 'customize' ) ) {
|
||||
?>
|
||||
|
||||
<div id="wpwrap">
|
||||
<?php require( ABSPATH . 'wp-admin/menu-header.php' ); ?>
|
||||
<?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
|
||||
<div id="wpcontent">
|
||||
|
||||
<?php
|
||||
@@ -247,13 +221,13 @@ do_action( 'in_admin_header' );
|
||||
|
||||
<div id="wpbody" role="main">
|
||||
<?php
|
||||
unset( $blog_name, $total_update_count, $update_title );
|
||||
unset($title_class, $blog_name, $total_update_count, $update_title);
|
||||
|
||||
$current_screen->set_parentage( $parent_file );
|
||||
|
||||
?>
|
||||
|
||||
<div id="wpbody-content">
|
||||
<div id="wpbody-content" aria-label="<?php esc_attr_e('Main content'); ?>" tabindex="0">
|
||||
<?php
|
||||
|
||||
$current_screen->render_screen_meta();
|
||||
@@ -288,6 +262,5 @@ if ( is_network_admin() ) {
|
||||
*/
|
||||
do_action( 'all_admin_notices' );
|
||||
|
||||
if ( $parent_file == 'options-general.php' ) {
|
||||
require( ABSPATH . 'wp-admin/options-head.php' );
|
||||
}
|
||||
if ( $parent_file == 'options-general.php' )
|
||||
require(ABSPATH . 'wp-admin/options-head.php');
|
||||
|
||||
@@ -13,16 +13,15 @@ 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' );
|
||||
}
|
||||
|
||||
/** Allow for cross-domain requests (from the front end). */
|
||||
send_origin_headers();
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
|
||||
require_once(ABSPATH . 'wp-admin/includes/admin.php');
|
||||
|
||||
nocache_headers();
|
||||
|
||||
@@ -31,10 +30,10 @@ do_action( 'admin_init' );
|
||||
|
||||
$action = empty( $_REQUEST['action'] ) ? '' : $_REQUEST['action'];
|
||||
|
||||
if ( ! is_user_logged_in() ) {
|
||||
if ( ! wp_validate_auth_cookie() ) {
|
||||
if ( empty( $action ) ) {
|
||||
/**
|
||||
* Fires on a non-authenticated admin post request where no action is supplied.
|
||||
* Fires on a non-authenticated admin post request where no action was supplied.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
@@ -53,7 +52,7 @@ if ( ! is_user_logged_in() ) {
|
||||
} else {
|
||||
if ( empty( $action ) ) {
|
||||
/**
|
||||
* Fires on an authenticated admin post request where no action is supplied.
|
||||
* Fires on an authenticated admin post request where no action was supplied.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
|
||||
@@ -15,29 +15,26 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
||||
define( 'WP_ADMIN', true );
|
||||
}
|
||||
|
||||
if ( ! defined( 'WP_NETWORK_ADMIN' ) ) {
|
||||
define( 'WP_NETWORK_ADMIN', false );
|
||||
}
|
||||
if ( ! defined('WP_NETWORK_ADMIN') )
|
||||
define('WP_NETWORK_ADMIN', false);
|
||||
|
||||
if ( ! defined( 'WP_USER_ADMIN' ) ) {
|
||||
define( 'WP_USER_ADMIN', false );
|
||||
}
|
||||
if ( ! defined('WP_USER_ADMIN') )
|
||||
define('WP_USER_ADMIN', false);
|
||||
|
||||
if ( ! WP_NETWORK_ADMIN && ! WP_USER_ADMIN ) {
|
||||
define( 'WP_BLOG_ADMIN', true );
|
||||
define('WP_BLOG_ADMIN', true);
|
||||
}
|
||||
|
||||
if ( isset( $_GET['import'] ) && ! defined( 'WP_LOAD_IMPORTERS' ) ) {
|
||||
define( 'WP_LOAD_IMPORTERS', true );
|
||||
}
|
||||
if ( isset($_GET['import']) && !defined('WP_LOAD_IMPORTERS') )
|
||||
define('WP_LOAD_IMPORTERS', true);
|
||||
|
||||
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
require_once(dirname(dirname(__FILE__)) . '/wp-load.php');
|
||||
|
||||
nocache_headers();
|
||||
|
||||
if ( get_option( 'db_upgraded' ) ) {
|
||||
if ( get_option('db_upgraded') ) {
|
||||
flush_rewrite_rules();
|
||||
update_option( 'db_upgraded', false );
|
||||
update_option( 'db_upgraded', false );
|
||||
|
||||
/**
|
||||
* Fires on the next page load after a successful DB upgrade.
|
||||
@@ -45,11 +42,10 @@ if ( get_option( 'db_upgraded' ) ) {
|
||||
* @since 2.8.0
|
||||
*/
|
||||
do_action( 'after_db_upgrade' );
|
||||
} elseif ( get_option( 'db_version' ) != $wp_db_version && empty( $_POST ) ) {
|
||||
if ( ! is_multisite() ) {
|
||||
} elseif ( get_option('db_version') != $wp_db_version && empty($_POST) ) {
|
||||
if ( !is_multisite() ) {
|
||||
wp_redirect( admin_url( 'upgrade.php?_wp_http_referer=' . urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) );
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters whether to attempt to perform the multisite DB upgrade routine.
|
||||
@@ -61,42 +57,35 @@ if ( get_option( 'db_upgraded' ) ) {
|
||||
* If the network is 50 sites or less, it will run every time. Otherwise,
|
||||
* it will throttle itself to reduce load.
|
||||
*
|
||||
* @since MU (3.0.0)
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param bool $do_mu_upgrade Whether to perform the Multisite upgrade routine. Default true.
|
||||
*/
|
||||
if ( apply_filters( 'do_mu_upgrade', 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 ( $c <= 50 || ( $c > 50 && mt_rand( 0, (int) ( $c / 50 ) ) == 1 ) ) {
|
||||
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',
|
||||
)
|
||||
);
|
||||
$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 */
|
||||
do_action( 'after_mu_upgrade', $response );
|
||||
unset( $response );
|
||||
unset($response);
|
||||
}
|
||||
unset( $c );
|
||||
unset($c);
|
||||
}
|
||||
}
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
|
||||
require_once(ABSPATH . 'wp-admin/includes/admin.php');
|
||||
|
||||
auth_redirect();
|
||||
|
||||
// Schedule trash collection
|
||||
if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() ) {
|
||||
wp_schedule_event( time(), 'daily', 'wp_scheduled_delete' );
|
||||
}
|
||||
if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() )
|
||||
wp_schedule_event(time(), 'daily', 'wp_scheduled_delete');
|
||||
|
||||
// Schedule Transient cleanup.
|
||||
if ( ! wp_next_scheduled( 'delete_expired_transients' ) && ! wp_installing() ) {
|
||||
@@ -128,30 +117,27 @@ $page_hook = null;
|
||||
|
||||
$editing = false;
|
||||
|
||||
if ( isset( $_GET['page'] ) ) {
|
||||
if ( isset($_GET['page']) ) {
|
||||
$plugin_page = wp_unslash( $_GET['page'] );
|
||||
$plugin_page = plugin_basename( $plugin_page );
|
||||
$plugin_page = plugin_basename($plugin_page);
|
||||
}
|
||||
|
||||
if ( isset( $_REQUEST['post_type'] ) && post_type_exists( $_REQUEST['post_type'] ) ) {
|
||||
if ( isset( $_REQUEST['post_type'] ) && post_type_exists( $_REQUEST['post_type'] ) )
|
||||
$typenow = $_REQUEST['post_type'];
|
||||
} else {
|
||||
else
|
||||
$typenow = '';
|
||||
}
|
||||
|
||||
if ( isset( $_REQUEST['taxonomy'] ) && taxonomy_exists( $_REQUEST['taxonomy'] ) ) {
|
||||
if ( isset( $_REQUEST['taxonomy'] ) && taxonomy_exists( $_REQUEST['taxonomy'] ) )
|
||||
$taxnow = $_REQUEST['taxonomy'];
|
||||
} else {
|
||||
else
|
||||
$taxnow = '';
|
||||
}
|
||||
|
||||
if ( WP_NETWORK_ADMIN ) {
|
||||
require( ABSPATH . 'wp-admin/network/menu.php' );
|
||||
} elseif ( WP_USER_ADMIN ) {
|
||||
require( ABSPATH . 'wp-admin/user/menu.php' );
|
||||
} else {
|
||||
require( ABSPATH . 'wp-admin/menu.php' );
|
||||
}
|
||||
if ( WP_NETWORK_ADMIN )
|
||||
require(ABSPATH . 'wp-admin/network/menu.php');
|
||||
elseif ( WP_USER_ADMIN )
|
||||
require(ABSPATH . 'wp-admin/user/menu.php');
|
||||
else
|
||||
require(ABSPATH . 'wp-admin/menu.php');
|
||||
|
||||
if ( current_user_can( 'manage_options' ) ) {
|
||||
wp_raise_memory_limit( 'admin' );
|
||||
@@ -169,30 +155,26 @@ if ( current_user_can( 'manage_options' ) ) {
|
||||
*/
|
||||
do_action( 'admin_init' );
|
||||
|
||||
if ( isset( $plugin_page ) ) {
|
||||
if ( ! empty( $typenow ) ) {
|
||||
if ( isset($plugin_page) ) {
|
||||
if ( !empty($typenow) )
|
||||
$the_parent = $pagenow . '?post_type=' . $typenow;
|
||||
} else {
|
||||
else
|
||||
$the_parent = $pagenow;
|
||||
}
|
||||
|
||||
$page_hook = get_plugin_page_hook( $plugin_page, $the_parent );
|
||||
if ( ! $page_hook ) {
|
||||
$page_hook = get_plugin_page_hook( $plugin_page, $plugin_page );
|
||||
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().
|
||||
if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook( $plugin_page, 'tools.php' ) ) {
|
||||
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'] ) ) {
|
||||
$query_string = $_SERVER['QUERY_STRING'];
|
||||
} else {
|
||||
if ( !empty($_SERVER[ 'QUERY_STRING' ]) )
|
||||
$query_string = $_SERVER[ 'QUERY_STRING' ];
|
||||
else
|
||||
$query_string = 'page=' . $plugin_page;
|
||||
}
|
||||
wp_redirect( admin_url( 'tools.php?' . $query_string ) );
|
||||
wp_redirect( admin_url('tools.php?' . $query_string) );
|
||||
exit;
|
||||
}
|
||||
}
|
||||
unset( $the_parent );
|
||||
unset($the_parent);
|
||||
}
|
||||
|
||||
$hook_suffix = '';
|
||||
@@ -207,7 +189,7 @@ if ( isset( $page_hook ) ) {
|
||||
set_current_screen();
|
||||
|
||||
// Handle plugin admin pages.
|
||||
if ( isset( $plugin_page ) ) {
|
||||
if ( isset($plugin_page) ) {
|
||||
if ( $page_hook ) {
|
||||
/**
|
||||
* Fires before a particular screen is loaded.
|
||||
@@ -229,26 +211,14 @@ if ( isset( $plugin_page ) ) {
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "load-{$page_hook}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
if ( ! isset( $_GET['noheader'] ) ) {
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
}
|
||||
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.
|
||||
*
|
||||
* This hook uses a dynamic hook name, `$page_hook`, which 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,
|
||||
* the hook name used would be 'settings_page_pluginbasename'.
|
||||
*
|
||||
* @see get_plugin_page_hook()
|
||||
*
|
||||
* @ignore
|
||||
* @since 1.5.0
|
||||
*/
|
||||
do_action( $page_hook );
|
||||
@@ -257,10 +227,8 @@ if ( isset( $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" ) ) ) {
|
||||
/* translators: %s: Admin page generated by a plugin. */
|
||||
wp_die( sprintf( __( 'Cannot load %s.' ), htmlentities( $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)));
|
||||
|
||||
/**
|
||||
* Fires before a particular screen is loaded.
|
||||
@@ -274,20 +242,18 @@ if ( isset( $plugin_page ) ) {
|
||||
*
|
||||
* @since 1.5.0
|
||||
*/
|
||||
do_action( "load-{$plugin_page}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
do_action( "load-{$plugin_page}" );
|
||||
|
||||
if ( ! isset( $_GET['noheader'] ) ) {
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
}
|
||||
if ( !isset($_GET['noheader']))
|
||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||
|
||||
if ( file_exists( WPMU_PLUGIN_DIR . "/$plugin_page" ) ) {
|
||||
include( WPMU_PLUGIN_DIR . "/$plugin_page" );
|
||||
} else {
|
||||
include( WP_PLUGIN_DIR . "/$plugin_page" );
|
||||
}
|
||||
if ( file_exists(WPMU_PLUGIN_DIR . "/$plugin_page") )
|
||||
include(WPMU_PLUGIN_DIR . "/$plugin_page");
|
||||
else
|
||||
include(WP_PLUGIN_DIR . "/$plugin_page");
|
||||
}
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
||||
include(ABSPATH . 'wp-admin/admin-footer.php');
|
||||
|
||||
exit();
|
||||
} elseif ( isset( $_GET['import'] ) ) {
|
||||
@@ -295,15 +261,15 @@ if ( isset( $plugin_page ) ) {
|
||||
$importer = $_GET['import'];
|
||||
|
||||
if ( ! current_user_can( 'import' ) ) {
|
||||
wp_die( __( 'Sorry, you are not allowed to import content into this site.' ) );
|
||||
wp_die( __( 'Sorry, you are not allowed to import content.' ) );
|
||||
}
|
||||
|
||||
if ( validate_file( $importer ) ) {
|
||||
if ( validate_file($importer) ) {
|
||||
wp_redirect( admin_url( 'import.php?invalid=' . $importer ) );
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( ! isset( $wp_importers[ $importer ] ) || ! is_callable( $wp_importers[ $importer ][2] ) ) {
|
||||
if ( ! isset($wp_importers[$importer]) || ! is_callable($wp_importers[$importer][2]) ) {
|
||||
wp_redirect( admin_url( 'import.php?invalid=' . $importer ) );
|
||||
exit;
|
||||
}
|
||||
@@ -315,19 +281,18 @@ if ( isset( $plugin_page ) ) {
|
||||
*
|
||||
* @since 3.5.0
|
||||
*/
|
||||
do_action( "load-importer-{$importer}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
do_action( "load-importer-{$importer}" );
|
||||
|
||||
$parent_file = 'tools.php';
|
||||
$parent_file = 'tools.php';
|
||||
$submenu_file = 'import.php';
|
||||
$title = __( 'Import' );
|
||||
$title = __('Import');
|
||||
|
||||
if ( ! isset( $_GET['noheader'] ) ) {
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
}
|
||||
if (! isset($_GET['noheader']))
|
||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
||||
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
||||
|
||||
define( 'WP_IMPORTING', true );
|
||||
define('WP_IMPORTING', true);
|
||||
|
||||
/**
|
||||
* Whether to filter imported data through kses on import.
|
||||
@@ -343,12 +308,12 @@ if ( isset( $plugin_page ) ) {
|
||||
kses_init_filters(); // Always filter imported data with kses on multisite.
|
||||
}
|
||||
|
||||
call_user_func( $wp_importers[ $importer ][2] );
|
||||
call_user_func($wp_importers[$importer][2]);
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
||||
include(ABSPATH . 'wp-admin/admin-footer.php');
|
||||
|
||||
// Make sure rules are flushed
|
||||
flush_rewrite_rules( false );
|
||||
flush_rewrite_rules(false);
|
||||
|
||||
exit();
|
||||
} else {
|
||||
@@ -364,39 +329,35 @@ if ( isset( $plugin_page ) ) {
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "load-{$pagenow}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
do_action( "load-{$pagenow}" );
|
||||
|
||||
/*
|
||||
* The following hooks are fired to ensure backward compatibility.
|
||||
* In all other cases, 'load-' . $pagenow should be used instead.
|
||||
*/
|
||||
if ( $typenow == 'page' ) {
|
||||
if ( $pagenow == 'post-new.php' ) {
|
||||
do_action( 'load-page-new.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
} elseif ( $pagenow == 'post.php' ) {
|
||||
do_action( 'load-page.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
}
|
||||
} elseif ( $pagenow == 'edit-tags.php' ) {
|
||||
if ( $taxnow == 'category' ) {
|
||||
do_action( 'load-categories.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
} elseif ( $taxnow == 'link_category' ) {
|
||||
do_action( 'load-edit-link-categories.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
}
|
||||
} elseif ( 'term.php' === $pagenow ) {
|
||||
do_action( 'load-edit-tags.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
if ( $pagenow == 'post-new.php' )
|
||||
do_action( 'load-page-new.php' );
|
||||
elseif ( $pagenow == 'post.php' )
|
||||
do_action( 'load-page.php' );
|
||||
} elseif ( $pagenow == 'edit-tags.php' ) {
|
||||
if ( $taxnow == 'category' )
|
||||
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' );
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! empty( $_REQUEST['action'] ) ) {
|
||||
$action = $_REQUEST['action'];
|
||||
|
||||
/**
|
||||
* Fires when an 'action' request variable is sent.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$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
|
||||
*/
|
||||
do_action( "admin_action_{$action}" );
|
||||
do_action( 'admin_action_' . $_REQUEST['action'] );
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ if ( defined( 'ABSPATH' ) ) {
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/admin.php' );
|
||||
|
||||
header( 'Content-Type: text/plain; charset=' . get_option( 'blog_charset' ) );
|
||||
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' );
|
||||
@@ -39,72 +39,51 @@ if ( ! current_user_can( 'upload_files' ) ) {
|
||||
}
|
||||
|
||||
// just fetch the detail form for that attachment
|
||||
if ( isset( $_REQUEST['attachment_id'] ) && intval( $_REQUEST['attachment_id'] ) && $_REQUEST['fetch'] ) {
|
||||
$id = intval( $_REQUEST['attachment_id'] );
|
||||
if ( isset($_REQUEST['attachment_id']) && ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
|
||||
$post = get_post( $id );
|
||||
if ( 'attachment' != $post->post_type ) {
|
||||
if ( 'attachment' != $post->post_type )
|
||||
wp_die( __( 'Invalid post type.' ) );
|
||||
}
|
||||
if ( ! current_user_can( 'edit_post', $id ) ) {
|
||||
if ( ! current_user_can( 'edit_post', $id ) )
|
||||
wp_die( __( 'Sorry, you are not allowed to edit this item.' ) );
|
||||
}
|
||||
|
||||
switch ( $_REQUEST['fetch'] ) {
|
||||
case 3:
|
||||
$thumb_url = wp_get_attachment_image_src( $id, 'thumbnail', true );
|
||||
if ( $thumb_url ) {
|
||||
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 );
|
||||
$file = get_attached_file( $post->ID );
|
||||
$title = $post->post_title ? $post->post_title : wp_basename( $file );
|
||||
echo '<div class="filename new"><span class="title">' . esc_html( wp_html_excerpt( $title, 60, '…' ) ) . '</span></div>';
|
||||
break;
|
||||
case 2:
|
||||
add_filter( 'attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2 );
|
||||
echo get_media_item(
|
||||
$id,
|
||||
array(
|
||||
'send' => false,
|
||||
'delete' => true,
|
||||
)
|
||||
);
|
||||
case 2 :
|
||||
add_filter('attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2);
|
||||
echo get_media_item($id, array( 'send' => false, 'delete' => true ));
|
||||
break;
|
||||
default:
|
||||
add_filter( 'attachment_fields_to_edit', 'media_post_single_attachment_fields_to_edit', 10, 2 );
|
||||
echo get_media_item( $id );
|
||||
add_filter('attachment_fields_to_edit', 'media_post_single_attachment_fields_to_edit', 10, 2);
|
||||
echo get_media_item($id);
|
||||
break;
|
||||
}
|
||||
exit;
|
||||
}
|
||||
|
||||
check_admin_referer( 'media-form' );
|
||||
check_admin_referer('media-form');
|
||||
|
||||
$post_id = 0;
|
||||
if ( isset( $_REQUEST['post_id'] ) ) {
|
||||
$post_id = absint( $_REQUEST['post_id'] );
|
||||
if ( ! get_post( $post_id ) || ! current_user_can( 'edit_post', $post_id ) ) {
|
||||
if ( ! get_post( $post_id ) || ! current_user_can( 'edit_post', $post_id ) )
|
||||
$post_id = 0;
|
||||
}
|
||||
}
|
||||
|
||||
$id = media_handle_upload( 'async-upload', $post_id );
|
||||
if ( is_wp_error( $id ) ) {
|
||||
printf(
|
||||
'<div class="error-div error">%s <strong>%s</strong><br />%s</div>',
|
||||
sprintf(
|
||||
'<button type="button" class="dismiss button-link" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">%s</button>',
|
||||
__( 'Dismiss' )
|
||||
),
|
||||
sprintf(
|
||||
/* translators: %s: Name of the file that failed to upload. */
|
||||
__( '“%s” has failed to upload.' ),
|
||||
esc_html( $_FILES['async-upload']['name'] )
|
||||
),
|
||||
esc_html( $id->get_error_message() )
|
||||
);
|
||||
if ( is_wp_error($id) ) {
|
||||
echo '<div class="error-div error">
|
||||
<a class="dismiss" href="#" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">' . __('Dismiss') . '</a>
|
||||
<strong>' . sprintf(__('“%s” has failed to upload.'), esc_html($_FILES['async-upload']['name']) ) . '</strong><br />' .
|
||||
esc_html($id->get_error_message()) . '</div>';
|
||||
exit;
|
||||
}
|
||||
|
||||
@@ -112,7 +91,7 @@ if ( $_REQUEST['short'] ) {
|
||||
// Short form response - attachment ID only.
|
||||
echo $id;
|
||||
} else {
|
||||
// Long form response - big chunk of html.
|
||||
// Long form response - big chunk o html.
|
||||
$type = $_REQUEST['type'];
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,178 +9,169 @@
|
||||
/** Load WordPress Bootstrap */
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
|
||||
$parent_file = 'edit-comments.php';
|
||||
$parent_file = 'edit-comments.php';
|
||||
$submenu_file = 'edit-comments.php';
|
||||
|
||||
/**
|
||||
* @global string $action
|
||||
*/
|
||||
global $action;
|
||||
wp_reset_vars( array( 'action' ) );
|
||||
wp_reset_vars( array('action') );
|
||||
|
||||
if ( isset( $_POST['deletecomment'] ) ) {
|
||||
if ( isset( $_POST['deletecomment'] ) )
|
||||
$action = 'deletecomment';
|
||||
}
|
||||
|
||||
if ( 'cdc' == $action ) {
|
||||
if ( 'cdc' == $action )
|
||||
$action = 'delete';
|
||||
} elseif ( 'mac' == $action ) {
|
||||
elseif ( 'mac' == $action )
|
||||
$action = 'approve';
|
||||
}
|
||||
|
||||
if ( isset( $_GET['dt'] ) ) {
|
||||
if ( 'spam' == $_GET['dt'] ) {
|
||||
if ( 'spam' == $_GET['dt'] )
|
||||
$action = 'spam';
|
||||
} elseif ( 'trash' == $_GET['dt'] ) {
|
||||
elseif ( 'trash' == $_GET['dt'] )
|
||||
$action = 'trash';
|
||||
}
|
||||
}
|
||||
|
||||
switch( $action ) {
|
||||
|
||||
case 'editcomment' :
|
||||
$title = __('Edit Comment');
|
||||
|
||||
get_current_screen()->add_help_tab( array(
|
||||
'id' => 'overview',
|
||||
'title' => __('Overview'),
|
||||
'content' =>
|
||||
'<p>' . __( 'You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.' ) . '</p>' .
|
||||
'<p>' . __( 'You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.' ) . '</p>'
|
||||
) );
|
||||
|
||||
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>'
|
||||
);
|
||||
|
||||
wp_enqueue_script('comment');
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
$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)') );
|
||||
|
||||
if ( !current_user_can( 'edit_comment', $comment_id ) )
|
||||
comment_footer_die( __('Sorry, 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.') );
|
||||
|
||||
$comment = get_comment_to_edit( $comment_id );
|
||||
|
||||
include( ABSPATH . 'wp-admin/edit-form-comment.php' );
|
||||
|
||||
break;
|
||||
|
||||
case 'delete' :
|
||||
case 'approve' :
|
||||
case 'trash' :
|
||||
case 'spam' :
|
||||
|
||||
$title = __('Moderate Comment');
|
||||
|
||||
$comment_id = absint( $_GET['c'] );
|
||||
|
||||
if ( ! $comment = get_comment( $comment_id ) ) {
|
||||
wp_redirect( admin_url('edit-comments.php?error=1') );
|
||||
die();
|
||||
}
|
||||
|
||||
if ( !current_user_can( 'edit_comment', $comment->comment_ID ) ) {
|
||||
wp_redirect( admin_url('edit-comments.php?error=2') );
|
||||
die();
|
||||
}
|
||||
|
||||
// No need to re-approve/re-trash/re-spam a comment.
|
||||
if ( $action == str_replace( '1', 'approve', $comment->comment_approved ) ) {
|
||||
wp_redirect( admin_url( 'edit-comments.php?same=' . $comment_id ) );
|
||||
die();
|
||||
}
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
$formaction = $action . 'comment';
|
||||
$nonce_action = 'approve' == $action ? 'approve-comment_' : 'delete-comment_';
|
||||
$nonce_action .= $comment_id;
|
||||
|
||||
?>
|
||||
<div class="wrap">
|
||||
|
||||
<h1><?php echo esc_html( $title ); ?></h1>
|
||||
|
||||
<?php
|
||||
switch ( $action ) {
|
||||
|
||||
case 'editcomment':
|
||||
$title = __( 'Edit Comment' );
|
||||
|
||||
get_current_screen()->add_help_tab(
|
||||
array(
|
||||
'id' => 'overview',
|
||||
'title' => __( 'Overview' ),
|
||||
'content' =>
|
||||
'<p>' . __( 'You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.' ) . '</p>' .
|
||||
'<p>' . __( 'You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.' ) . '</p>',
|
||||
)
|
||||
);
|
||||
|
||||
get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
|
||||
);
|
||||
|
||||
wp_enqueue_script( 'comment' );
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
$comment_id = absint( $_GET['c'] );
|
||||
|
||||
$comment = get_comment( $comment_id );
|
||||
if ( ! $comment ) {
|
||||
comment_footer_die( __( 'Invalid comment 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.' ) );
|
||||
}
|
||||
|
||||
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.' ) );
|
||||
}
|
||||
|
||||
$comment = get_comment_to_edit( $comment_id );
|
||||
|
||||
include( ABSPATH . 'wp-admin/edit-form-comment.php' );
|
||||
|
||||
case 'spam' :
|
||||
$caution_msg = __('You are about to mark the following comment as spam:');
|
||||
$button = _x( 'Mark as Spam', 'comment' );
|
||||
break;
|
||||
case 'trash' :
|
||||
$caution_msg = __('You are about to move the following comment to the Trash:');
|
||||
$button = __('Move to Trash');
|
||||
break;
|
||||
case 'delete' :
|
||||
$caution_msg = __('You are about to delete the following comment:');
|
||||
$button = __('Permanently Delete Comment');
|
||||
break;
|
||||
default :
|
||||
$caution_msg = __('You are about to approve the following comment:');
|
||||
$button = __('Approve Comment');
|
||||
break;
|
||||
}
|
||||
|
||||
case 'delete':
|
||||
case 'approve':
|
||||
case 'trash':
|
||||
case 'spam':
|
||||
$title = __( 'Moderate Comment' );
|
||||
|
||||
$comment_id = absint( $_GET['c'] );
|
||||
|
||||
$comment = get_comment( $comment_id );
|
||||
if ( ! $comment ) {
|
||||
wp_redirect( admin_url( 'edit-comments.php?error=1' ) );
|
||||
die();
|
||||
}
|
||||
|
||||
if ( ! current_user_can( 'edit_comment', $comment->comment_ID ) ) {
|
||||
wp_redirect( admin_url( 'edit-comments.php?error=2' ) );
|
||||
die();
|
||||
}
|
||||
|
||||
// No need to re-approve/re-trash/re-spam a comment.
|
||||
if ( $action == str_replace( '1', 'approve', $comment->comment_approved ) ) {
|
||||
wp_redirect( admin_url( 'edit-comments.php?same=' . $comment_id ) );
|
||||
die();
|
||||
}
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
$formaction = $action . 'comment';
|
||||
$nonce_action = 'approve' == $action ? 'approve-comment_' : 'delete-comment_';
|
||||
$nonce_action .= $comment_id;
|
||||
|
||||
?>
|
||||
<div class="wrap">
|
||||
|
||||
<h1><?php echo esc_html( $title ); ?></h1>
|
||||
|
||||
<?php
|
||||
switch ( $action ) {
|
||||
case 'spam':
|
||||
$caution_msg = __( 'You are about to mark the following comment as spam:' );
|
||||
$button = _x( 'Mark as Spam', 'comment' );
|
||||
break;
|
||||
case 'trash':
|
||||
$caution_msg = __( 'You are about to move the following comment to the Trash:' );
|
||||
$button = __( 'Move to Trash' );
|
||||
break;
|
||||
case 'delete':
|
||||
$caution_msg = __( 'You are about to delete the following comment:' );
|
||||
$button = __( 'Permanently Delete Comment' );
|
||||
break;
|
||||
default:
|
||||
$caution_msg = __( 'You are about to approve the following comment:' );
|
||||
$button = __( 'Approve Comment' );
|
||||
break;
|
||||
}
|
||||
|
||||
if ( $comment->comment_approved != '0' ) { // if not unapproved
|
||||
$message = '';
|
||||
switch ( $comment->comment_approved ) {
|
||||
case '1':
|
||||
$message = __( 'This comment is currently approved.' );
|
||||
break;
|
||||
case 'spam':
|
||||
$message = __( 'This comment is currently marked as spam.' );
|
||||
break;
|
||||
case 'trash':
|
||||
$message = __( 'This comment is currently in the Trash.' );
|
||||
break;
|
||||
}
|
||||
if ( $message ) {
|
||||
echo '<div id="message" class="notice notice-info"><p>' . $message . '</p></div>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
if ( $comment->comment_approved != '0' ) { // if not unapproved
|
||||
$message = '';
|
||||
switch ( $comment->comment_approved ) {
|
||||
case '1' :
|
||||
$message = __('This comment is currently approved.');
|
||||
break;
|
||||
case 'spam' :
|
||||
$message = __('This comment is currently marked as spam.');
|
||||
break;
|
||||
case 'trash' :
|
||||
$message = __('This comment is currently in the Trash.');
|
||||
break;
|
||||
}
|
||||
if ( $message ) {
|
||||
echo '<div id="message" class="notice notice-info"><p>' . $message . '</p></div>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
<div id="message" class="notice notice-warning"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo $caution_msg; ?></p></div>
|
||||
|
||||
<table class="form-table comment-ays">
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Author' ); ?></th>
|
||||
<th scope="row"><?php _e('Author'); ?></th>
|
||||
<td><?php comment_author( $comment ); ?></td>
|
||||
</tr>
|
||||
<?php if ( get_comment_author_email( $comment ) ) { ?>
|
||||
<?php if ( get_comment_author_email( $comment ) ) { ?>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Email' ); ?></th>
|
||||
<th scope="row"><?php _e('Email'); ?></th>
|
||||
<td><?php comment_author_email( $comment ); ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if ( get_comment_author_url( $comment ) ) { ?>
|
||||
<?php if ( get_comment_author_url( $comment ) ) { ?>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'URL' ); ?></th>
|
||||
<th scope="row"><?php _e('URL'); ?></th>
|
||||
<td><a href="<?php comment_author_url( $comment ); ?>"><?php comment_author_url( $comment ); ?></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><?php /* translators: Column name or table row header. */ _e( 'In Response To' ); ?></th>
|
||||
<th scope="row"><?php /* translators: column name or table row header */ _e( 'In Response To' ); ?></th>
|
||||
<td>
|
||||
<?php
|
||||
<?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 = "<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 ) );
|
||||
@@ -192,168 +183,150 @@ switch ( $action ) {
|
||||
$parent_link = esc_url( get_comment_link( $parent ) );
|
||||
$name = get_comment_author( $parent );
|
||||
printf(
|
||||
/* translators: %s: Comment link. */
|
||||
/* translators: %s: comment link */
|
||||
' | ' . __( 'In reply to %s.' ),
|
||||
'<a href="' . $parent_link . '">' . $name . '</a>'
|
||||
);
|
||||
}
|
||||
?>
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Submitted on' ); ?></th>
|
||||
<td>
|
||||
<?php
|
||||
$submitted = sprintf(
|
||||
/* translators: 1: Comment date, 2: Comment time. */
|
||||
__( '%1$s at %2$s' ),
|
||||
/* translators: Comment date format. See https://secure.php.net/date */
|
||||
<?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 ),
|
||||
/* translators: Comment time format. See https://secure.php.net/date */
|
||||
get_comment_date( __( 'g:i a' ), $comment )
|
||||
);
|
||||
if ( 'approved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_post_ID ) ) {
|
||||
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&c={$comment->comment_ID}" ); ?>"><?php esc_html_e( 'Edit' ); ?></a></p>
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</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&c={$comment->comment_ID}" ); ?>"><?php esc_html_e( 'Edit' ); ?></a></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<form action="comment.php" method="get" class="comment-ays-submit">
|
||||
<form action="comment.php" method="get" class="comment-ays-submit">
|
||||
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<?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" />
|
||||
</form>
|
||||
<?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" />
|
||||
</form>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
break;
|
||||
</div>
|
||||
<?php
|
||||
break;
|
||||
|
||||
case 'deletecomment':
|
||||
case 'trashcomment':
|
||||
case 'untrashcomment':
|
||||
case 'spamcomment':
|
||||
case 'unspamcomment':
|
||||
case 'approvecomment':
|
||||
case 'unapprovecomment':
|
||||
$comment_id = absint( $_REQUEST['c'] );
|
||||
case 'deletecomment' :
|
||||
case 'trashcomment' :
|
||||
case 'untrashcomment' :
|
||||
case 'spamcomment' :
|
||||
case 'unspamcomment' :
|
||||
case 'approvecomment' :
|
||||
case 'unapprovecomment' :
|
||||
$comment_id = absint( $_REQUEST['c'] );
|
||||
|
||||
if ( in_array( $action, array( 'approvecomment', 'unapprovecomment' ) ) ) {
|
||||
check_admin_referer( 'approve-comment_' . $comment_id );
|
||||
} else {
|
||||
check_admin_referer( 'delete-comment_' . $comment_id );
|
||||
}
|
||||
if ( in_array( $action, array( 'approvecomment', 'unapprovecomment' ) ) )
|
||||
check_admin_referer( 'approve-comment_' . $comment_id );
|
||||
else
|
||||
check_admin_referer( 'delete-comment_' . $comment_id );
|
||||
|
||||
$noredir = isset( $_REQUEST['noredir'] );
|
||||
$noredir = isset($_REQUEST['noredir']);
|
||||
|
||||
$comment = get_comment( $comment_id );
|
||||
if ( ! $comment ) {
|
||||
comment_footer_die( __( 'Invalid comment 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.' ) );
|
||||
}
|
||||
if ( !$comment = get_comment($comment_id) )
|
||||
comment_footer_die( __( 'Invalid comment 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.') );
|
||||
|
||||
if ( '' != wp_get_referer() && ! $noredir && false === strpos( wp_get_referer(), 'comment.php' ) ) {
|
||||
$redir = wp_get_referer();
|
||||
} elseif ( '' != wp_get_original_referer() && ! $noredir ) {
|
||||
$redir = wp_get_original_referer();
|
||||
} elseif ( in_array( $action, array( 'approvecomment', 'unapprovecomment' ) ) ) {
|
||||
$redir = admin_url( 'edit-comments.php?p=' . absint( $comment->comment_post_ID ) );
|
||||
} else {
|
||||
$redir = admin_url( 'edit-comments.php' );
|
||||
}
|
||||
if ( '' != wp_get_referer() && ! $noredir && false === strpos(wp_get_referer(), 'comment.php') )
|
||||
$redir = wp_get_referer();
|
||||
elseif ( '' != wp_get_original_referer() && ! $noredir )
|
||||
$redir = wp_get_original_referer();
|
||||
elseif ( in_array( $action, array( 'approvecomment', 'unapprovecomment' ) ) )
|
||||
$redir = admin_url('edit-comments.php?p=' . absint( $comment->comment_post_ID ) );
|
||||
else
|
||||
$redir = admin_url('edit-comments.php');
|
||||
|
||||
$redir = remove_query_arg( array( 'spammed', 'unspammed', 'trashed', 'untrashed', 'deleted', 'ids', 'approved', 'unapproved' ), $redir );
|
||||
$redir = remove_query_arg( array('spammed', 'unspammed', 'trashed', 'untrashed', 'deleted', 'ids', 'approved', 'unapproved'), $redir );
|
||||
|
||||
switch ( $action ) {
|
||||
case 'deletecomment':
|
||||
wp_delete_comment( $comment );
|
||||
$redir = add_query_arg( array( 'deleted' => '1' ), $redir );
|
||||
break;
|
||||
case 'trashcomment':
|
||||
wp_trash_comment( $comment );
|
||||
$redir = add_query_arg(
|
||||
array(
|
||||
'trashed' => '1',
|
||||
'ids' => $comment_id,
|
||||
),
|
||||
$redir
|
||||
);
|
||||
break;
|
||||
case 'untrashcomment':
|
||||
wp_untrash_comment( $comment );
|
||||
$redir = add_query_arg( array( 'untrashed' => '1' ), $redir );
|
||||
break;
|
||||
case 'spamcomment':
|
||||
wp_spam_comment( $comment );
|
||||
$redir = add_query_arg(
|
||||
array(
|
||||
'spammed' => '1',
|
||||
'ids' => $comment_id,
|
||||
),
|
||||
$redir
|
||||
);
|
||||
break;
|
||||
case 'unspamcomment':
|
||||
wp_unspam_comment( $comment );
|
||||
$redir = add_query_arg( array( 'unspammed' => '1' ), $redir );
|
||||
break;
|
||||
case 'approvecomment':
|
||||
wp_set_comment_status( $comment, 'approve' );
|
||||
$redir = add_query_arg( array( 'approved' => 1 ), $redir );
|
||||
break;
|
||||
case 'unapprovecomment':
|
||||
wp_set_comment_status( $comment, 'hold' );
|
||||
$redir = add_query_arg( array( 'unapproved' => 1 ), $redir );
|
||||
break;
|
||||
}
|
||||
switch ( $action ) {
|
||||
case 'deletecomment' :
|
||||
wp_delete_comment( $comment );
|
||||
$redir = add_query_arg( array('deleted' => '1'), $redir );
|
||||
break;
|
||||
case 'trashcomment' :
|
||||
wp_trash_comment( $comment );
|
||||
$redir = add_query_arg( array('trashed' => '1', 'ids' => $comment_id), $redir );
|
||||
break;
|
||||
case 'untrashcomment' :
|
||||
wp_untrash_comment( $comment );
|
||||
$redir = add_query_arg( array('untrashed' => '1'), $redir );
|
||||
break;
|
||||
case 'spamcomment' :
|
||||
wp_spam_comment( $comment );
|
||||
$redir = add_query_arg( array('spammed' => '1', 'ids' => $comment_id), $redir );
|
||||
break;
|
||||
case 'unspamcomment' :
|
||||
wp_unspam_comment( $comment );
|
||||
$redir = add_query_arg( array('unspammed' => '1'), $redir );
|
||||
break;
|
||||
case 'approvecomment' :
|
||||
wp_set_comment_status( $comment, 'approve' );
|
||||
$redir = add_query_arg( array( 'approved' => 1 ), $redir );
|
||||
break;
|
||||
case 'unapprovecomment' :
|
||||
wp_set_comment_status( $comment, 'hold' );
|
||||
$redir = add_query_arg( array( 'unapproved' => 1 ), $redir );
|
||||
break;
|
||||
}
|
||||
|
||||
wp_redirect( $redir );
|
||||
die;
|
||||
wp_redirect( $redir );
|
||||
die;
|
||||
|
||||
case 'editedcomment':
|
||||
$comment_id = absint( $_POST['comment_ID'] );
|
||||
$comment_post_id = absint( $_POST['comment_post_ID'] );
|
||||
case 'editedcomment' :
|
||||
|
||||
check_admin_referer( 'update-comment_' . $comment_id );
|
||||
$comment_id = absint( $_POST['comment_ID'] );
|
||||
$comment_post_id = absint( $_POST['comment_post_ID'] );
|
||||
|
||||
edit_comment();
|
||||
check_admin_referer( 'update-comment_' . $comment_id );
|
||||
|
||||
$location = ( empty( $_POST['referredby'] ) ? "edit-comments.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id;
|
||||
edit_comment();
|
||||
|
||||
/**
|
||||
* Filters the URI the user is redirected to after editing a comment in the admin.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @param string $location The URI the user will be redirected to.
|
||||
* @param int $comment_id The ID of the comment being edited.
|
||||
*/
|
||||
$location = apply_filters( 'comment_edit_redirect', $location, $comment_id );
|
||||
wp_redirect( $location );
|
||||
$location = ( empty( $_POST['referredby'] ) ? "edit-comments.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id;
|
||||
|
||||
exit();
|
||||
/**
|
||||
* Filters the URI the user is redirected to after editing a comment in the admin.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @param string $location The URI the user will be redirected to.
|
||||
* @param int $comment_id The ID of the comment being edited.
|
||||
*/
|
||||
$location = apply_filters( 'comment_edit_redirect', $location, $comment_id );
|
||||
wp_redirect( $location );
|
||||
|
||||
default:
|
||||
wp_die( __( 'Unknown action.' ) );
|
||||
exit();
|
||||
|
||||
default:
|
||||
wp_die( __('Unknown action.') );
|
||||
|
||||
} // end switch
|
||||
|
||||
|
||||
@@ -15,117 +15,99 @@ $title = __( 'Credits' );
|
||||
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
?>
|
||||
<div class="wrap about-wrap full-width-layout">
|
||||
|
||||
<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="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’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="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<div class="about-wrap-content">
|
||||
<?php
|
||||
|
||||
$credits = wp_credits();
|
||||
?>
|
||||
<div class="wrap about__container">
|
||||
|
||||
<div class="about__header">
|
||||
<div class="about__header-title">
|
||||
<h1>
|
||||
<span><?php echo $display_version; ?></span>
|
||||
<?php _e( 'WordPress' ); ?>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div class="about__header-badge"></div>
|
||||
|
||||
<div class="about__header-text">
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: The current WordPress version number. */
|
||||
__( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
|
||||
$display_version
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
|
||||
<a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a>
|
||||
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?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>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="about__section">
|
||||
<div class="column">
|
||||
<h2><?php _e( 'WordPress is created by a worldwide team of passionate individuals.' ); ?></h2>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
if ( ! $credits ) {
|
||||
printf(
|
||||
/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
|
||||
__( '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/' )
|
||||
);
|
||||
} else {
|
||||
printf(
|
||||
/* translators: %s: https://make.wordpress.org/ */
|
||||
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
|
||||
__( 'https://make.wordpress.org/' )
|
||||
);
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="about__image aligncenter">
|
||||
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='1320' height='350' viewbox='0 0 1320 350' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 61 220)' fill='%23321017'/%3E%3Crect width='72' height='250' transform='matrix(1 0 0 -1 166 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 272 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 378 220)' fill='%235F1B29'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 483 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 587 220)' fill='%235F1B29'/%3E%3Crect width='71.28' height='250' transform='matrix(1 0 0 -1 689 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 884 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 789 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 985 220)' fill='%23321017'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1084 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1179 220)' fill='%233D0F19'/%3E%3C/svg%3E%0A" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
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>';
|
||||
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";
|
||||
|
||||
echo '<p>' . sprintf(
|
||||
/* translators: %s: https://make.wordpress.org/ */
|
||||
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
|
||||
__( 'https://make.wordpress.org/' )
|
||||
) . '</p>';
|
||||
|
||||
foreach ( $credits['groups'] as $group_slug => $group_data ) {
|
||||
if ( $group_data['name'] ) {
|
||||
if ( 'Translators' == $group_data['name'] ) {
|
||||
// Considered a special slug in the API response. (Also, will never be returned for en_US.)
|
||||
$title = _x( 'Translators', 'Translate this to be the equivalent of English Translators in your language for the credits page Translators section' );
|
||||
} elseif ( isset( $group_data['placeholders'] ) ) {
|
||||
$title = vsprintf( translate( $group_data['name'] ), $group_data['placeholders'] );
|
||||
} else {
|
||||
$title = translate( $group_data['name'] );
|
||||
}
|
||||
|
||||
echo '<h3 class="wp-people-group">' . esc_html( $title ) . "</h3>\n";
|
||||
}
|
||||
|
||||
if ( ! empty( $group_data['shuffle'] ) )
|
||||
shuffle( $group_data['data'] ); // We were going to sort by ability to pronounce "hierarchical," but that wouldn't be fair to Matt.
|
||||
|
||||
switch ( $group_data['type'] ) {
|
||||
case 'list' :
|
||||
array_walk( $group_data['data'], '_wp_credits_add_profile_link', $credits['data']['profiles'] );
|
||||
echo '<p class="wp-credits-list">' . wp_sprintf( '%l.', $group_data['data'] ) . "</p>\n\n";
|
||||
break;
|
||||
case 'libraries' :
|
||||
array_walk( $group_data['data'], '_wp_credits_build_object_link' );
|
||||
echo '<p class="wp-credits-list">' . wp_sprintf( '%l.', $group_data['data'] ) . "</p>\n\n";
|
||||
break;
|
||||
default:
|
||||
$compact = 'compact' == $group_data['type'];
|
||||
$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";
|
||||
if ( ! $compact )
|
||||
echo '<span class="title">' . translate( $person_data[3] ) . "</span>\n";
|
||||
echo "</li>\n";
|
||||
}
|
||||
echo "</ul>\n";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="about__section">
|
||||
<div class="column has-subtle-background-color">
|
||||
<?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?>
|
||||
<?php wp_credits_section_list( $credits, 'core-developers' ); ?>
|
||||
<?php wp_credits_section_list( $credits, 'contributing-developers' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="about__section">
|
||||
<div class="column">
|
||||
<?php wp_credits_section_title( $credits['groups']['props'] ); ?>
|
||||
<?php wp_credits_section_list( $credits, 'props' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<?php if ( isset( $credits['groups']['translators'] ) || isset( $credits['groups']['validators'] ) ) : ?>
|
||||
<div class="about__section">
|
||||
<div class="column">
|
||||
<?php wp_credits_section_title( $credits['groups']['validators'] ); ?>
|
||||
<?php wp_credits_section_list( $credits, 'validators' ); ?>
|
||||
<?php wp_credits_section_list( $credits, 'translators' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="about__section">
|
||||
<div class="column">
|
||||
<?php wp_credits_section_title( $credits['groups']['libraries'] ); ?>
|
||||
<?php wp_credits_section_list( $credits, 'libraries' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
@@ -135,7 +117,6 @@ return;
|
||||
|
||||
// These are strings returned by the API that we want to be translatable
|
||||
__( 'Project Leaders' );
|
||||
/* translators: %s: The current WordPress version number. */
|
||||
__( 'Core Contributors to WordPress %s' );
|
||||
__( 'Noteworthy Contributors' );
|
||||
__( 'Cofounder, Project Lead' );
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
2
wp-admin/css/about-rtl.min.css
vendored
2
wp-admin/css/about-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
2
wp-admin/css/about.min.css
vendored
2
wp-admin/css/about.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -159,18 +159,14 @@
|
||||
|
||||
#adminmenu a {
|
||||
display: block;
|
||||
line-height: 1.3;
|
||||
line-height: 18px;
|
||||
padding: 2px 5px;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a {
|
||||
color: #b4b9be;
|
||||
color: rgba(240, 245, 250, 0.7);
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
color: rgba(240,245,250,0.7);
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:hover,
|
||||
@@ -206,7 +202,7 @@
|
||||
padding: 7px 0 8px;
|
||||
z-index: 9999;
|
||||
background-color: #32373c;
|
||||
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.js #adminmenu .sub-open,
|
||||
@@ -282,6 +278,13 @@
|
||||
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,
|
||||
@@ -295,8 +298,7 @@
|
||||
.folded #adminmenu .wp-has-current-submenu li > a {
|
||||
padding-left: 16px;
|
||||
padding-right: 14px;
|
||||
/* Exclude from the transition the outline for Windows High Contrast mode */
|
||||
transition: all .1s ease-in-out, outline 0s;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
#adminmenu .wp-has-current-submenu ul > li > a,
|
||||
@@ -308,7 +310,7 @@
|
||||
#adminmenu .wp-submenu-head {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 1.3;
|
||||
line-height: 18px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@@ -328,6 +330,7 @@
|
||||
#adminmenu .wp-submenu li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#adminmenu .wp-menu-image img {
|
||||
@@ -356,14 +359,14 @@
|
||||
|
||||
div.wp-menu-image:before {
|
||||
color: #a0a5aa;
|
||||
color: rgba(240, 245, 250, 0.6);
|
||||
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);
|
||||
color: rgba(240,245,250,0.6);
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,
|
||||
@@ -512,23 +515,22 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#adminmenu .update-plugins {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
box-sizing: border-box;
|
||||
margin: 1px 2px -1px 0;
|
||||
margin: 1px 2px 0 0;
|
||||
padding: 0 5px;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 9px;
|
||||
min-width: 7px;
|
||||
height: 17px;
|
||||
border-radius: 11px;
|
||||
background-color: #ca4a1f;
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
line-height: 1.6;
|
||||
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: #ca4a1f;
|
||||
background-color: #00b9eb;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -545,20 +547,16 @@ ul#adminmenu > li.current > a.current:after {
|
||||
padding: 0;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
line-height: 34px;
|
||||
background: none;
|
||||
color: #aaa;
|
||||
cursor: pointer;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
#collapse-button:hover {
|
||||
color: #00b9eb;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #00b9eb;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 1px solid transparent;
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon,
|
||||
@@ -568,10 +566,7 @@ ul#adminmenu > li.current > a.current:after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-label {
|
||||
top: 8px;
|
||||
line-height: 34px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon {
|
||||
@@ -602,10 +597,12 @@ ul#adminmenu > li.current > a.current:after {
|
||||
/* 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;
|
||||
}
|
||||
|
||||
@@ -731,16 +728,18 @@ li#wp-admin-bar-menu-toggle {
|
||||
|
||||
/* 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) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
.auto-fold #wpcontent {
|
||||
position: relative;
|
||||
margin-right: 0;
|
||||
@@ -762,10 +761,6 @@ li#wp-admin-bar-menu-toggle {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenuback {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenuback,
|
||||
.auto-fold #adminmenuwrap {
|
||||
display: none;
|
||||
|
||||
2
wp-admin/css/admin-menu-rtl.min.css
vendored
2
wp-admin/css/admin-menu-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -159,18 +159,14 @@
|
||||
|
||||
#adminmenu a {
|
||||
display: block;
|
||||
line-height: 1.3;
|
||||
line-height: 18px;
|
||||
padding: 2px 5px;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a {
|
||||
color: #b4b9be;
|
||||
color: rgba(240, 245, 250, 0.7);
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
color: rgba(240,245,250,0.7);
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:hover,
|
||||
@@ -206,7 +202,7 @@
|
||||
padding: 7px 0 8px;
|
||||
z-index: 9999;
|
||||
background-color: #32373c;
|
||||
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.js #adminmenu .sub-open,
|
||||
@@ -282,6 +278,13 @@
|
||||
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,
|
||||
@@ -295,8 +298,7 @@
|
||||
.folded #adminmenu .wp-has-current-submenu li > a {
|
||||
padding-right: 16px;
|
||||
padding-left: 14px;
|
||||
/* Exclude from the transition the outline for Windows High Contrast mode */
|
||||
transition: all .1s ease-in-out, outline 0s;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
#adminmenu .wp-has-current-submenu ul > li > a,
|
||||
@@ -308,7 +310,7 @@
|
||||
#adminmenu .wp-submenu-head {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 1.3;
|
||||
line-height: 18px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@@ -328,6 +330,7 @@
|
||||
#adminmenu .wp-submenu li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#adminmenu .wp-menu-image img {
|
||||
@@ -356,14 +359,14 @@
|
||||
|
||||
div.wp-menu-image:before {
|
||||
color: #a0a5aa;
|
||||
color: rgba(240, 245, 250, 0.6);
|
||||
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);
|
||||
color: rgba(240,245,250,0.6);
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,
|
||||
@@ -512,23 +515,22 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#adminmenu .update-plugins {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
box-sizing: border-box;
|
||||
margin: 1px 0 -1px 2px;
|
||||
margin: 1px 0 0 2px;
|
||||
padding: 0 5px;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 9px;
|
||||
min-width: 7px;
|
||||
height: 17px;
|
||||
border-radius: 11px;
|
||||
background-color: #ca4a1f;
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
line-height: 1.6;
|
||||
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: #ca4a1f;
|
||||
background-color: #00b9eb;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -545,20 +547,16 @@ ul#adminmenu > li.current > a.current:after {
|
||||
padding: 0;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
line-height: 34px;
|
||||
background: none;
|
||||
color: #aaa;
|
||||
cursor: pointer;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
#collapse-button:hover {
|
||||
color: #00b9eb;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #00b9eb;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 1px solid transparent;
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon,
|
||||
@@ -568,10 +566,7 @@ ul#adminmenu > li.current > a.current:after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-label {
|
||||
top: 8px;
|
||||
line-height: 34px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon {
|
||||
@@ -602,10 +597,12 @@ ul#adminmenu > li.current > a.current:after {
|
||||
/* 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;
|
||||
}
|
||||
|
||||
@@ -731,16 +728,18 @@ li#wp-admin-bar-menu-toggle {
|
||||
|
||||
/* 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) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
.auto-fold #wpcontent {
|
||||
position: relative;
|
||||
margin-left: 0;
|
||||
@@ -762,10 +761,6 @@ li#wp-admin-bar-menu-toggle {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenuback {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenuback,
|
||||
.auto-fold #adminmenuwrap {
|
||||
display: none;
|
||||
|
||||
2
wp-admin/css/admin-menu.min.css
vendored
2
wp-admin/css/admin-menu.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -28,7 +28,7 @@
|
||||
|
||||
.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);
|
||||
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
|
||||
margin: 5px 0 2px;
|
||||
padding: 3px 28px 3px 12px;
|
||||
}
|
||||
@@ -63,14 +63,10 @@
|
||||
}
|
||||
|
||||
.wrap .CodeMirror .CodeMirror-matchingbracket {
|
||||
background: rgba(255, 150, 0, 0.3);
|
||||
background: rgba(255, 150, 0, .3);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.CodeMirror {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror .CodeMirror-linenumber {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
2
wp-admin/css/code-editor-rtl.min.css
vendored
2
wp-admin/css/code-editor-rtl.min.css
vendored
@@ -1,2 +1,2 @@
|
||||
/*! 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: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,.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}.wrap .CodeMirror .CodeMirror-linenumber{color:#666}
|
||||
.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}
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
.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);
|
||||
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
|
||||
margin: 5px 0 2px;
|
||||
padding: 3px 12px 3px 28px;
|
||||
}
|
||||
@@ -63,14 +63,10 @@
|
||||
}
|
||||
|
||||
.wrap .CodeMirror .CodeMirror-matchingbracket {
|
||||
background: rgba(255, 150, 0, 0.3);
|
||||
background: rgba(255, 150, 0, .3);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.CodeMirror {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror .CodeMirror-linenumber {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
2
wp-admin/css/code-editor.min.css
vendored
2
wp-admin/css/code-editor.min.css
vendored
@@ -1,2 +1,2 @@
|
||||
/*! 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: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,.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}.wrap .CodeMirror .CodeMirror-linenumber{color:#666}
|
||||
.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}
|
||||
@@ -1,7 +1,5 @@
|
||||
/* rtl:ignore */
|
||||
.wp-color-picker {
|
||||
width: 80px;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.wp-picker-container .hidden {
|
||||
@@ -10,7 +8,7 @@
|
||||
|
||||
/* Needs higher specificiity. */
|
||||
.wp-picker-container .wp-color-result.button {
|
||||
min-height: 30px;
|
||||
height: 24px;
|
||||
margin: 0 0px 6px 6px;
|
||||
padding: 0 30px 0 0;
|
||||
font-size: 11px;
|
||||
@@ -22,7 +20,7 @@
|
||||
border-right: 1px solid #ccc;
|
||||
color: #555;
|
||||
display: block;
|
||||
line-height: 2.54545455; /* 28px */
|
||||
line-height: 22px;
|
||||
padding: 0 6px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -41,17 +39,18 @@
|
||||
border-right: 1px solid #999;
|
||||
}
|
||||
|
||||
.wp-picker-container {
|
||||
.wp-picker-containers {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.wp-color-result:focus {
|
||||
border-color: #5b9dd9;
|
||||
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
|
||||
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
|
||||
}
|
||||
|
||||
.wp-color-result:active {
|
||||
/* See Trac ticket #39662 */
|
||||
-webkit-transform: none !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
@@ -70,12 +69,9 @@
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.wp-picker-input-wrap .button.wp-picker-default,
|
||||
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
|
||||
margin-right: 6px;
|
||||
padding: 0 8px;
|
||||
line-height: 2.54545455; /* 28px */
|
||||
min-height: 30px;
|
||||
.wp-picker-input-wrap .button,
|
||||
.wp-customizer .wp-picker-input-wrap .button {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
|
||||
@@ -89,14 +85,12 @@
|
||||
}
|
||||
|
||||
.wp-picker-container input[type="text"].wp-color-picker {
|
||||
width: 4rem;
|
||||
width: 65px;
|
||||
font-size: 12px;
|
||||
font-family: monospace;
|
||||
line-height: 2.33333333; /* 28px */
|
||||
line-height: 16px;
|
||||
margin: 0;
|
||||
padding: 0 5px;
|
||||
vertical-align: top;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
.wp-color-picker::-webkit-input-placeholder {
|
||||
@@ -122,50 +116,38 @@
|
||||
.iris-picker .iris-strip .ui-slider-handle:focus {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.iris-picker .iris-palette:focus {
|
||||
box-shadow:
|
||||
inset 0 0 5px rgba(0, 0, 0, 0.4),
|
||||
inset 0 0 5px rgba(0,0,0,.4),
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
.wp-picker-container input[type="text"].wp-color-picker {
|
||||
width: 5rem;
|
||||
width: 80px;
|
||||
padding: 6px 5px 5px;
|
||||
font-size: 16px;
|
||||
line-height: 1.875; /* 30px */
|
||||
min-height: 32px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.wp-picker-input-wrap .button.wp-picker-default {
|
||||
padding: 0 8px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
|
||||
padding: 0 8px;
|
||||
font-size: 14px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
min-height: 32px;
|
||||
padding: 5px 5px 4px;
|
||||
}
|
||||
|
||||
.wp-picker-container .wp-color-result.button {
|
||||
height: auto;
|
||||
padding: 0 40px 0 0;
|
||||
font-size: 14px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
line-height: 29px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container .wp-color-result.button {
|
||||
font-size: 14px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
font-size: 13px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
.wp-picker-container .wp-color-result-text {
|
||||
@@ -178,3 +160,14 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
2
wp-admin/css/color-picker-rtl.min.css
vendored
2
wp-admin/css/color-picker-rtl.min.css
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:30px;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:2.54545455;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-container{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{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-default,.wp-picker-input-wrap .button.wp-picker-default{margin-right:6px;padding:0 8px;line-height:2.54545455;min-height:30px}.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:4rem;font-size:12px;font-family:monospace;line-height:2.33333333;margin:0;padding:0 5px;vertical-align:top;min-height:30px}.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:5rem;font-size:16px;line-height:1.875;min-height:32px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:0 5px}.wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;line-height:2.14285714;min-height:32px}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;font-size:14px;line-height:2.14285714;min-height:32px}.wp-picker-container .wp-color-result.button{padding:0 40px 0 0;font-size:14px;line-height:2.14285714}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.14285714}.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}}
|
||||
.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}}
|
||||
@@ -1,7 +1,5 @@
|
||||
/* rtl:ignore */
|
||||
.wp-color-picker {
|
||||
width: 80px;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.wp-picker-container .hidden {
|
||||
@@ -10,7 +8,7 @@
|
||||
|
||||
/* Needs higher specificiity. */
|
||||
.wp-picker-container .wp-color-result.button {
|
||||
min-height: 30px;
|
||||
height: 24px;
|
||||
margin: 0 6px 6px 0px;
|
||||
padding: 0 0 0 30px;
|
||||
font-size: 11px;
|
||||
@@ -22,7 +20,7 @@
|
||||
border-left: 1px solid #ccc;
|
||||
color: #555;
|
||||
display: block;
|
||||
line-height: 2.54545455; /* 28px */
|
||||
line-height: 22px;
|
||||
padding: 0 6px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -41,17 +39,18 @@
|
||||
border-left: 1px solid #999;
|
||||
}
|
||||
|
||||
.wp-picker-container {
|
||||
.wp-picker-containers {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.wp-color-result:focus {
|
||||
border-color: #5b9dd9;
|
||||
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
|
||||
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
|
||||
}
|
||||
|
||||
.wp-color-result:active {
|
||||
/* See Trac ticket #39662 */
|
||||
-webkit-transform: none !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
@@ -70,12 +69,9 @@
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.wp-picker-input-wrap .button.wp-picker-default,
|
||||
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
|
||||
margin-left: 6px;
|
||||
padding: 0 8px;
|
||||
line-height: 2.54545455; /* 28px */
|
||||
min-height: 30px;
|
||||
.wp-picker-input-wrap .button,
|
||||
.wp-customizer .wp-picker-input-wrap .button {
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
|
||||
@@ -89,14 +85,12 @@
|
||||
}
|
||||
|
||||
.wp-picker-container input[type="text"].wp-color-picker {
|
||||
width: 4rem;
|
||||
width: 65px;
|
||||
font-size: 12px;
|
||||
font-family: monospace;
|
||||
line-height: 2.33333333; /* 28px */
|
||||
line-height: 16px;
|
||||
margin: 0;
|
||||
padding: 0 5px;
|
||||
vertical-align: top;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
.wp-color-picker::-webkit-input-placeholder {
|
||||
@@ -122,50 +116,38 @@
|
||||
.iris-picker .iris-strip .ui-slider-handle:focus {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.iris-picker .iris-palette:focus {
|
||||
box-shadow:
|
||||
inset 0 0 5px rgba(0, 0, 0, 0.4),
|
||||
inset 0 0 5px rgba(0,0,0,.4),
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
.wp-picker-container input[type="text"].wp-color-picker {
|
||||
width: 5rem;
|
||||
width: 80px;
|
||||
padding: 6px 5px 5px;
|
||||
font-size: 16px;
|
||||
line-height: 1.875; /* 30px */
|
||||
min-height: 32px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.wp-picker-input-wrap .button.wp-picker-default {
|
||||
padding: 0 8px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
|
||||
padding: 0 8px;
|
||||
font-size: 14px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
min-height: 32px;
|
||||
padding: 5px 5px 4px;
|
||||
}
|
||||
|
||||
.wp-picker-container .wp-color-result.button {
|
||||
height: auto;
|
||||
padding: 0 0 0 40px;
|
||||
font-size: 14px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
line-height: 29px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container .wp-color-result.button {
|
||||
font-size: 14px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
font-size: 13px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
.wp-picker-container .wp-color-result-text {
|
||||
@@ -178,3 +160,14 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
2
wp-admin/css/color-picker.min.css
vendored
2
wp-admin/css/color-picker.min.css
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:30px;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:2.54545455;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-container{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{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-default,.wp-picker-input-wrap .button.wp-picker-default{margin-left:6px;padding:0 8px;line-height:2.54545455;min-height:30px}.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:4rem;font-size:12px;font-family:monospace;line-height:2.33333333;margin:0;padding:0 5px;vertical-align:top;min-height:30px}.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:5rem;font-size:16px;line-height:1.875;min-height:32px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:0 5px}.wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;line-height:2.14285714;min-height:32px}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;font-size:14px;line-height:2.14285714;min-height:32px}.wp-picker-container .wp-color-result.button{padding:0 0 0 40px;font-size:14px;line-height:2.14285714}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.14285714}.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}}
|
||||
.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}}
|
||||
@@ -2,9 +2,6 @@
|
||||
@import 'variables';
|
||||
@import 'mixins';
|
||||
|
||||
@function url-friendly-colour( $color ) {
|
||||
@return '%23' + str-slice( '#{ $color }', 2, -1 );
|
||||
}
|
||||
|
||||
body {
|
||||
background: $body-background;
|
||||
@@ -23,22 +20,21 @@ a {
|
||||
}
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: $link-focus;
|
||||
}
|
||||
|
||||
|
||||
/* Forms */
|
||||
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27#{url-friendly-colour($form-checked)}%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: $form-checked;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
input[type=radio]:checked:before {
|
||||
background: $form-checked;
|
||||
}
|
||||
|
||||
@@ -47,80 +43,14 @@ input[type=radio]:checked::before {
|
||||
color: $link-focus;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: $highlight-color;
|
||||
box-shadow: 0 0 0 1px $highlight-color;
|
||||
}
|
||||
|
||||
|
||||
/* Core UI */
|
||||
|
||||
.wp-core-ui {
|
||||
|
||||
.button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.button.hover,
|
||||
.button:hover,
|
||||
.button.focus,
|
||||
.button:focus {
|
||||
border-color: darken( #7e8993, 5% );
|
||||
color: darken( #32373c, 5% );
|
||||
}
|
||||
|
||||
.button.focus,
|
||||
.button:focus {
|
||||
border-color: #7e8993;
|
||||
color: darken( #32373c, 5% );
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.button:active {
|
||||
border-color: #7e8993;
|
||||
color: darken( #32373c, 5% );
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.button.active,
|
||||
.button.active:focus,
|
||||
.button.active:hover {
|
||||
border-color: $button-color;
|
||||
color: darken( #32373c, 5% );
|
||||
box-shadow: inset 0 2px 5px -3px $button-color;
|
||||
}
|
||||
|
||||
.button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.button-primary {
|
||||
@include button( $button-color );
|
||||
}
|
||||
|
||||
.button-group > .button.active {
|
||||
border-color: $button-color;
|
||||
}
|
||||
|
||||
.wp-ui-primary {
|
||||
color: $text-color;
|
||||
background-color: $base-color;
|
||||
@@ -154,7 +84,9 @@ textarea:focus {
|
||||
/* List tables */
|
||||
|
||||
.wrap .add-new-h2:hover, /* deprecated */
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: $menu-text;
|
||||
background-color: $menu-background;
|
||||
}
|
||||
@@ -200,7 +132,7 @@ textarea:focus {
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: $body-background;
|
||||
@@ -418,26 +350,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: $adminbar-input-background;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: $adminbar-recovery-exit-text;
|
||||
background-color: $adminbar-recovery-exit-background;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: $adminbar-recovery-exit-text;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover >.ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: $adminbar-recovery-exit-text;
|
||||
background-color: $adminbar-recovery-exit-background-alt;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
|
||||
@@ -1,38 +1,37 @@
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
@mixin button( $button-color, $button-text-color: #fff ) {
|
||||
@mixin button( $button-color, $text-color: #fff ) {
|
||||
background: $button-color;
|
||||
border-color: $button-color;
|
||||
color: $button-text-color;
|
||||
border-color: darken( $button-color, 10% ) darken( $button-color, 15% ) darken( $button-color, 15% );
|
||||
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% );
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: lighten( $button-color, 3% );
|
||||
border-color: darken( $button-color, 3% );
|
||||
color: $button-text-color;
|
||||
border-color: darken( $button-color, 15% );
|
||||
color: $text-color;
|
||||
box-shadow: 0 1px 0 darken( $button-color, 15% );
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow:
|
||||
0 0 0 1px #fff,
|
||||
0 0 0 3px $button-color;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background: darken( $button-color, 5% );
|
||||
border-color: darken( $button-color, 5% );
|
||||
color: $button-text-color;
|
||||
box-shadow: inset 0 1px 0 darken( $button-color, 10% ),
|
||||
0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
&:active,
|
||||
&.active,
|
||||
&.active:focus,
|
||||
&.active:hover {
|
||||
background: $button-color;
|
||||
color: $button-text-color;
|
||||
background: darken( $button-color, 10% );
|
||||
border-color: darken( $button-color, 15% );
|
||||
box-shadow: inset 0 2px 5px -3px darken( $button-color, 50% );
|
||||
box-shadow: inset 0 2px 0 darken( $button-color, 15% );
|
||||
}
|
||||
|
||||
&[disabled],
|
||||
@@ -41,7 +40,15 @@
|
||||
&.disabled {
|
||||
color: hsl( hue( $button-color ), 10%, 80% ) !important;
|
||||
background: darken( $button-color, 8% ) !important;
|
||||
border-color: 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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -18,9 +18,8 @@ $link: #0073aa !default;
|
||||
$link-focus: lighten( $link, 10% ) !default;
|
||||
|
||||
$button-color: $highlight-color !default;
|
||||
$button-text-color: $text-color !default;
|
||||
$form-checked: $highlight-color !default;
|
||||
|
||||
$form-checked: #7e8993 !default;
|
||||
|
||||
// admin menu & admin-bar
|
||||
|
||||
@@ -56,8 +55,4 @@ $menu-collapse-focus-icon: $menu-highlight-icon !default;
|
||||
$adminbar-avatar-frame: lighten( $menu-background, 7% ) !default;
|
||||
$adminbar-input-background: lighten( $menu-background, 7% ) !default;
|
||||
|
||||
$adminbar-recovery-exit-text: $menu-bubble-text !default;
|
||||
$adminbar-recovery-exit-background: $menu-bubble-background !default;
|
||||
$adminbar-recovery-exit-background-alt: mix(black, $adminbar-recovery-exit-background, 10%) !default;
|
||||
|
||||
$menu-customizer-text: mix( $base-color, $text-color, 40% ) !default;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,21 +16,20 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #096484;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
input[type=radio]:checked:before {
|
||||
background: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #096484;
|
||||
box-shadow: 0 0 0 1px #096484;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #e1a948;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #e1a948;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #e1a948;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #e3af55;
|
||||
border-color: #dfa33b;
|
||||
border-color: #bd831f;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e1a948;
|
||||
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #dd9f32;
|
||||
border-color: #dd9f32;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #e1a948;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #bd831f;
|
||||
box-shadow: inset 0 2px 5px -3px #241906;
|
||||
box-shadow: inset 0 2px 0 #bd831f;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #d1cdc7 !important;
|
||||
background: #db9925 !important;
|
||||
border-color: #db9925 !important;
|
||||
border-color: #bd831f !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #e1a948;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #52accc;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #6eb9d4;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #e1a948;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #cb9841;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #6eb9d4;
|
||||
|
||||
2
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
2
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,21 +16,20 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #096484;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
input[type=radio]:checked:before {
|
||||
background: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #096484;
|
||||
box-shadow: 0 0 0 1px #096484;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #e1a948;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #e1a948;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #e1a948;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #e3af55;
|
||||
border-color: #dfa33b;
|
||||
border-color: #bd831f;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e1a948;
|
||||
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #dd9f32;
|
||||
border-color: #dd9f32;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #e1a948;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #bd831f;
|
||||
box-shadow: inset 0 2px 5px -3px #241906;
|
||||
box-shadow: inset 0 2px 0 #bd831f;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #d1cdc7 !important;
|
||||
background: #db9925 !important;
|
||||
border-color: #db9925 !important;
|
||||
border-color: #bd831f !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #e1a948;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #52accc;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #6eb9d4;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #e1a948;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #cb9841;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #6eb9d4;
|
||||
|
||||
2
wp-admin/css/colors/blue/colors.min.css
vendored
2
wp-admin/css/colors/blue/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,20 +16,19 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%2359524c%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #59524c;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
input[type=radio]:checked:before {
|
||||
background: #59524c;
|
||||
}
|
||||
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #c7a589;
|
||||
box-shadow: 0 0 0 1px #c7a589;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #c7a589;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #c7a589;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #c7a589;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #ccad93;
|
||||
border-color: #c29d7f;
|
||||
border-color: #ae7d55;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
|
||||
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #bf9878;
|
||||
border-color: #bf9878;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #c7a589;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #ae7d55;
|
||||
box-shadow: inset 0 2px 5px -3px #37271a;
|
||||
box-shadow: inset 0 2px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #d1ccc7 !important;
|
||||
background: #ba906d !important;
|
||||
border-color: #ba906d !important;
|
||||
border-color: #ae7d55 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #c7a589;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #59524c;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #6c645c;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #9ea476;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #8e946a;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #6c645c;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,20 +16,19 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%2359524c%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #59524c;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
input[type=radio]:checked:before {
|
||||
background: #59524c;
|
||||
}
|
||||
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #c7a589;
|
||||
box-shadow: 0 0 0 1px #c7a589;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #c7a589;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #c7a589;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #c7a589;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #ccad93;
|
||||
border-color: #c29d7f;
|
||||
border-color: #ae7d55;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
|
||||
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #bf9878;
|
||||
border-color: #bf9878;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #c7a589;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #ae7d55;
|
||||
box-shadow: inset 0 2px 5px -3px #37271a;
|
||||
box-shadow: inset 0 2px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #d1ccc7 !important;
|
||||
background: #ba906d !important;
|
||||
border-color: #ba906d !important;
|
||||
border-color: #ae7d55 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #c7a589;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #59524c;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #6c645c;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #9ea476;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #8e946a;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #6c645c;
|
||||
|
||||
2
wp-admin/css/colors/coffee/colors.min.css
vendored
2
wp-admin/css/colors/coffee/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,20 +16,19 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23523f6d%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #523f6d;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
input[type=radio]:checked:before {
|
||||
background: #523f6d;
|
||||
}
|
||||
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #a3b745;
|
||||
box-shadow: 0 0 0 1px #a3b745;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #a3b745;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #a3b745;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #a9bd4f;
|
||||
border-color: #99ac41;
|
||||
border-color: #727f30;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
|
||||
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #93a43e;
|
||||
border-color: #93a43e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #a3b745;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #727f30;
|
||||
box-shadow: inset 0 2px 5px -3px black;
|
||||
box-shadow: inset 0 2px 0 #727f30;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #cfd1c7 !important;
|
||||
background: #89993a !important;
|
||||
border-color: #89993a !important;
|
||||
border-color: #727f30 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #a3b745;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #523f6d;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #634c84;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #d46f15;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #bf6413;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #634c84;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,20 +16,19 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23523f6d%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #523f6d;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
input[type=radio]:checked:before {
|
||||
background: #523f6d;
|
||||
}
|
||||
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #a3b745;
|
||||
box-shadow: 0 0 0 1px #a3b745;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #a3b745;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #a3b745;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #a9bd4f;
|
||||
border-color: #99ac41;
|
||||
border-color: #727f30;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
|
||||
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #93a43e;
|
||||
border-color: #93a43e;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #a3b745;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #727f30;
|
||||
box-shadow: inset 0 2px 5px -3px black;
|
||||
box-shadow: inset 0 2px 0 #727f30;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #cfd1c7 !important;
|
||||
background: #89993a !important;
|
||||
border-color: #89993a !important;
|
||||
border-color: #727f30 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #a3b745;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #523f6d;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #634c84;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #d46f15;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #bf6413;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #634c84;
|
||||
|
||||
2
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
2
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,21 +16,20 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #04a4cc;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
input[type=radio]:checked:before {
|
||||
background: #04a4cc;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #04a4cc;
|
||||
box-shadow: 0 0 0 1px #04a4cc;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #04a4cc;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #04a4cc;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #04a4cc;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #04b0db;
|
||||
border-color: #0498bd;
|
||||
border-color: #036881;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
|
||||
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #0490b3;
|
||||
border-color: #0490b3;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #04a4cc;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #036881;
|
||||
box-shadow: inset 0 2px 5px -3px black;
|
||||
box-shadow: inset 0 2px 0 #036881;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #c7cfd1 !important;
|
||||
background: #0384a4 !important;
|
||||
border-color: #0384a4 !important;
|
||||
border-color: #036881 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #04a4cc;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #333;
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f5f5f5;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #f7f7f7;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #d64e07;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #c14606;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #f7f7f7;
|
||||
|
||||
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,21 +16,20 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #04a4cc;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
input[type=radio]:checked:before {
|
||||
background: #04a4cc;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #04a4cc;
|
||||
box-shadow: 0 0 0 1px #04a4cc;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #04a4cc;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #04a4cc;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #04a4cc;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #04b0db;
|
||||
border-color: #0498bd;
|
||||
border-color: #036881;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
|
||||
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #0490b3;
|
||||
border-color: #0490b3;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #04a4cc;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #036881;
|
||||
box-shadow: inset 0 2px 5px -3px black;
|
||||
box-shadow: inset 0 2px 0 #036881;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #c7cfd1 !important;
|
||||
background: #0384a4 !important;
|
||||
border-color: #0384a4 !important;
|
||||
border-color: #036881 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #04a4cc;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #333;
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f5f5f5;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #f7f7f7;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #d64e07;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #c14606;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #f7f7f7;
|
||||
|
||||
2
wp-admin/css/colors/light/colors.min.css
vendored
2
wp-admin/css/colors/light/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,21 +16,20 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #e14d43;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
input[type=radio]:checked:before {
|
||||
background: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #e14d43;
|
||||
box-shadow: 0 0 0 1px #e14d43;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #e14d43;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #e14d43;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #e35950;
|
||||
border-color: #df4136;
|
||||
border-color: #ba281e;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
|
||||
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #dd382d;
|
||||
border-color: #dd382d;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #e14d43;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #ba281e;
|
||||
box-shadow: inset 0 2px 5px -3px #200705;
|
||||
box-shadow: inset 0 2px 0 #ba281e;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #d1c8c7 !important;
|
||||
background: #d92e23 !important;
|
||||
border-color: #d92e23 !important;
|
||||
border-color: #ba281e !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #e14d43;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #363b3f;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #464d52;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #69a8bb;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #5f97a8;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #464d52;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,21 +16,20 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #e14d43;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
input[type=radio]:checked:before {
|
||||
background: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #e14d43;
|
||||
box-shadow: 0 0 0 1px #e14d43;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #e14d43;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #e14d43;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #e35950;
|
||||
border-color: #df4136;
|
||||
border-color: #ba281e;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
|
||||
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #dd382d;
|
||||
border-color: #dd382d;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #e14d43;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #ba281e;
|
||||
box-shadow: inset 0 2px 5px -3px #200705;
|
||||
box-shadow: inset 0 2px 0 #ba281e;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #d1c8c7 !important;
|
||||
background: #d92e23 !important;
|
||||
border-color: #d92e23 !important;
|
||||
border-color: #ba281e !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #e14d43;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #363b3f;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #464d52;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #69a8bb;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #5f97a8;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #464d52;
|
||||
|
||||
2
wp-admin/css/colors/midnight/colors.min.css
vendored
2
wp-admin/css/colors/midnight/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,20 +16,19 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23738e96%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #738e96;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
input[type=radio]:checked:before {
|
||||
background: #738e96;
|
||||
}
|
||||
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #9ebaa0;
|
||||
box-shadow: 0 0 0 1px #9ebaa0;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #9ebaa0;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #9ebaa0;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #9ebaa0;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #a7c0a9;
|
||||
border-color: #95b497;
|
||||
border-color: #719a74;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
|
||||
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #8faf91;
|
||||
border-color: #8faf91;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #9ebaa0;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #719a74;
|
||||
box-shadow: inset 0 2px 5px -3px #253426;
|
||||
box-shadow: inset 0 2px 0 #719a74;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #c7d1c8 !important;
|
||||
background: #86a989 !important;
|
||||
border-color: #86a989 !important;
|
||||
border-color: #719a74 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #9ebaa0;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #738e96;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #879ea5;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #aa9d88;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #998d7a;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #879ea5;
|
||||
|
||||
2
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
2
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,20 +16,19 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23738e96%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #738e96;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
input[type=radio]:checked:before {
|
||||
background: #738e96;
|
||||
}
|
||||
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #9ebaa0;
|
||||
box-shadow: 0 0 0 1px #9ebaa0;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #9ebaa0;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #9ebaa0;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #9ebaa0;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #a7c0a9;
|
||||
border-color: #95b497;
|
||||
border-color: #719a74;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
|
||||
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #8faf91;
|
||||
border-color: #8faf91;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #9ebaa0;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #719a74;
|
||||
box-shadow: inset 0 2px 5px -3px #253426;
|
||||
box-shadow: inset 0 2px 0 #719a74;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #c7d1c8 !important;
|
||||
background: #86a989 !important;
|
||||
border-color: #86a989 !important;
|
||||
border-color: #719a74 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #9ebaa0;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #738e96;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #879ea5;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #aa9d88;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #998d7a;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #879ea5;
|
||||
|
||||
2
wp-admin/css/colors/ocean/colors.min.css
vendored
2
wp-admin/css/colors/ocean/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,21 +16,20 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #dd823b;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
input[type=radio]:checked:before {
|
||||
background: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #dd823b;
|
||||
box-shadow: 0 0 0 1px #dd823b;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #dd823b;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #dd823b;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #df8a48;
|
||||
border-color: #db7a2e;
|
||||
border-color: #ad5d1e;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
|
||||
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #d97426;
|
||||
border-color: #d97426;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #dd823b;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #ad5d1e;
|
||||
box-shadow: inset 0 2px 5px -3px #150b04;
|
||||
box-shadow: inset 0 2px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #d1cbc7 !important;
|
||||
background: #cc6d23 !important;
|
||||
border-color: #cc6d23 !important;
|
||||
border-color: #ad5d1e !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #dd823b;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #cf4944;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #d66560;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #ccaf0b;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #b89e0a;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #d66560;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
@@ -16,21 +16,20 @@ a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: currentColor;
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #dd823b;
|
||||
}
|
||||
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
input[type=radio]:checked:before {
|
||||
background: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
@@ -38,106 +37,45 @@ input[type=radio]:checked::before {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="color"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #dd823b;
|
||||
box-shadow: 0 0 0 1px #dd823b;
|
||||
}
|
||||
|
||||
/* Core UI */
|
||||
.wp-core-ui .button {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active,
|
||||
.wp-core-ui .button.active:focus,
|
||||
.wp-core-ui .button.active:hover {
|
||||
border-color: #dd823b;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #dd823b;
|
||||
border-color: #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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #df8a48;
|
||||
border-color: #db7a2e;
|
||||
border-color: #ad5d1e;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
|
||||
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #d97426;
|
||||
border-color: #d97426;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #dd823b;
|
||||
color: #fff;
|
||||
.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;
|
||||
border-color: #ad5d1e;
|
||||
box-shadow: inset 0 2px 5px -3px #150b04;
|
||||
box-shadow: inset 0 2px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: #d1cbc7 !important;
|
||||
background: #cc6d23 !important;
|
||||
border-color: #cc6d23 !important;
|
||||
border-color: #ad5d1e !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #dd823b;
|
||||
.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 {
|
||||
@@ -173,7 +111,9 @@ textarea:focus {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #cf4944;
|
||||
}
|
||||
@@ -215,7 +155,7 @@ textarea:focus {
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
@@ -432,25 +372,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
background: #d66560;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #ccaf0b;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||
color: #fff;
|
||||
background-color: #b89e0a;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #d66560;
|
||||
|
||||
2
wp-admin/css/colors/sunrise/colors.min.css
vendored
2
wp-admin/css/colors/sunrise/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -134,10 +134,6 @@
|
||||
word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */
|
||||
}
|
||||
|
||||
.button .screen-reader-text {
|
||||
height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */
|
||||
}
|
||||
|
||||
.screen-reader-shortcut {
|
||||
position: absolute;
|
||||
top: -1000em;
|
||||
@@ -156,11 +152,9 @@
|
||||
color: #0073aa;
|
||||
z-index: 100000;
|
||||
line-height: normal;
|
||||
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
||||
box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
|
||||
text-decoration: none;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.hidden,
|
||||
@@ -190,8 +184,8 @@ p.popular-tags,
|
||||
.feature-filter,
|
||||
.imgedit-group,
|
||||
.comment-ays {
|
||||
border: 1px solid #ccd0d4;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
}
|
||||
|
||||
table.widefat,
|
||||
@@ -274,22 +268,14 @@ a:focus .media-icon img,
|
||||
color: #124964;
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 1px solid transparent;
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.ie8 a:focus {
|
||||
outline: #5b9dd9 solid 1px;
|
||||
}
|
||||
|
||||
#adminmenu a:focus {
|
||||
box-shadow: none;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 1px solid transparent;
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
#adminmenu a:focus,
|
||||
.screen-reader-text:focus {
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
@@ -423,7 +409,7 @@ code {
|
||||
padding: 3px 5px 2px 5px;
|
||||
margin: 0 1px;
|
||||
background: #eaeaea;
|
||||
background: rgba(0, 0, 0, 0.07);
|
||||
background: rgba(0,0,0,0.07);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
@@ -460,12 +446,6 @@ code {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.wp-die-message {
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
/* .widefat - main style for tables */
|
||||
.widefat {
|
||||
border-spacing: 0;
|
||||
@@ -490,12 +470,12 @@ code {
|
||||
|
||||
.widefat thead th,
|
||||
.widefat thead td {
|
||||
border-bottom: 1px solid #ccd0d4;
|
||||
border-bottom: 1px solid #e1e1e1;
|
||||
}
|
||||
|
||||
.widefat tfoot th,
|
||||
.widefat tfoot td {
|
||||
border-top: 1px solid #ccd0d4;
|
||||
border-top: 1px solid #e1e1e1;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
@@ -580,10 +560,6 @@ code {
|
||||
margin: 10px 2px 0 20px;
|
||||
}
|
||||
|
||||
.wrap.block-editor-no-js {
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
|
||||
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
|
||||
.postbox .inside h2, /* Back-compat for pre-4.4 */
|
||||
@@ -592,7 +568,7 @@ code {
|
||||
font-weight: 400;
|
||||
margin: 0;
|
||||
padding: 9px 0 4px 0;
|
||||
line-height: 1.3;
|
||||
line-height: 29px;
|
||||
}
|
||||
|
||||
.wrap h1.wp-heading-inline {
|
||||
@@ -623,15 +599,17 @@ code {
|
||||
position: relative;
|
||||
top: -3px;
|
||||
text-decoration: none;
|
||||
border: 1px solid #0071a1;
|
||||
border: none;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 2px;
|
||||
background: #f7f7f7;
|
||||
text-shadow: none;
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
line-height: normal; /* IE8-IE11 need this for buttons */
|
||||
color: #0071a1; /* use the standard color used for buttons */
|
||||
background: #f3f5f6;
|
||||
color: #0073aa; /* some of these controls are button elements and don't inherit from links */
|
||||
cursor: pointer;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.wrap .wp-heading-inline + .page-title-action {
|
||||
@@ -640,27 +618,19 @@ code {
|
||||
|
||||
.wrap .add-new-h2:hover, /* deprecated */
|
||||
.wrap .page-title-action:hover {
|
||||
background: #f1f1f1;
|
||||
border-color: #016087;
|
||||
color: #016087;
|
||||
border-color: #008EC2;
|
||||
background: #00a0d2;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* lower specificity: color needs to be overridden by :hover and :active */
|
||||
.page-title-action:focus {
|
||||
color: #016087;
|
||||
}
|
||||
|
||||
/* Dashicon for language options on General Settings and Profile screens */
|
||||
.form-table th label[for="locale"] .dashicons,
|
||||
.form-table th label[for="WPLANG"] .dashicons {
|
||||
margin-right: 5px;
|
||||
color: #124964;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #007cba;
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
border-color: #5b9dd9;
|
||||
box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
|
||||
}
|
||||
|
||||
.wrap h1.long-header {
|
||||
@@ -677,7 +647,7 @@ code {
|
||||
div#widgets-right .widget-top:hover,
|
||||
#widgets-left .widget-top:hover {
|
||||
border-color: #999;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.sorthelper {
|
||||
@@ -778,10 +748,11 @@ img.emoji {
|
||||
|
||||
.postbox .hndle,
|
||||
.stuffbox .hndle {
|
||||
border-bottom: 1px solid #ccd0d4;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.quicktags {
|
||||
.quicktags,
|
||||
.search {
|
||||
background-color: #ccc;
|
||||
color: #000;
|
||||
font-size: 12px;
|
||||
@@ -793,6 +764,7 @@ img.emoji {
|
||||
|
||||
/* @todo can we combine these into a class or use an existing dashicon one? */
|
||||
.welcome-panel .welcome-panel-close:before,
|
||||
.try-gutenberg-panel .try-gutenberg-panel-close:before,
|
||||
.tagchecklist .ntdelbutton .remove-tag-icon:before,
|
||||
#bulk-titles div a:before,
|
||||
.notice-dismiss:before {
|
||||
@@ -841,7 +813,7 @@ img.emoji {
|
||||
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.key-labels label {
|
||||
@@ -924,11 +896,11 @@ span.required,
|
||||
|
||||
#delete-action {
|
||||
float: right;
|
||||
line-height: 2.30769231; /* 30px */
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
#delete-link {
|
||||
line-height: 2.30769231; /* 30px */
|
||||
line-height: 28px;
|
||||
vertical-align: middle;
|
||||
text-align: right;
|
||||
margin-right: 8px;
|
||||
@@ -941,12 +913,11 @@ span.required,
|
||||
#publishing-action {
|
||||
text-align: left;
|
||||
float: left;
|
||||
line-height: 1.9;
|
||||
line-height: 23px;
|
||||
}
|
||||
|
||||
#publishing-action .spinner {
|
||||
float: none;
|
||||
margin-top: 5px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#misc-publishing-actions {
|
||||
@@ -1007,8 +978,8 @@ th.action-links {
|
||||
margin: 12px 0 25px;
|
||||
padding: 0 10px;
|
||||
width: 100%;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
border: 1px solid #ccd0d4;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
border: 1px solid #e5e5e5;
|
||||
background: #fff;
|
||||
color: #555;
|
||||
font-size: 13px;
|
||||
@@ -1087,13 +1058,19 @@ th.action-links {
|
||||
}
|
||||
|
||||
.wp-filter .search-form input[type="search"] {
|
||||
margin: 1px 0;
|
||||
margin: 0;
|
||||
padding: 3px 5px;
|
||||
width: 280px;
|
||||
max-width: 100%;
|
||||
font-size: 16px;
|
||||
font-weight: 300;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.wp-filter .search-form select {
|
||||
margin: 0;
|
||||
height: 32px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.wp-filter .search-form.search-plugins {
|
||||
@@ -1140,6 +1117,7 @@ th.action-links {
|
||||
.wp-filter .button.drawer-toggle:active {
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
@@ -1190,7 +1168,7 @@ th.action-links {
|
||||
width: 24%;
|
||||
background: #fff;
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
}
|
||||
|
||||
.filter-group legend {
|
||||
@@ -1211,7 +1189,7 @@ th.action-links {
|
||||
|
||||
.filter-drawer .filter-group-feature input,
|
||||
.filter-drawer .filter-group-feature label {
|
||||
line-height: 1.4;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.filter-drawer .filter-group-feature input {
|
||||
@@ -1248,7 +1226,7 @@ th.action-links {
|
||||
|
||||
.wp-filter .button-link.edit-filters {
|
||||
padding: 0 5px;
|
||||
line-height: 2.2;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.filtered-by {
|
||||
@@ -1272,7 +1250,7 @@ th.action-links {
|
||||
margin: 0 5px;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
background: #fff;
|
||||
font-size: 11px;
|
||||
}
|
||||
@@ -1369,9 +1347,8 @@ th.action-links {
|
||||
div.updated,
|
||||
div.error {
|
||||
background: #fff;
|
||||
border: 1px solid #ccd0d4;
|
||||
border-right-width: 4px;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,.04);
|
||||
border-right: 4px solid #fff;
|
||||
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
|
||||
margin: 5px 15px 2px;
|
||||
padding: 1px 12px;
|
||||
}
|
||||
@@ -1436,9 +1413,7 @@ div.error p,
|
||||
|
||||
.notice-dismiss:focus {
|
||||
outline: none;
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.ie8 .notice-dismiss:focus {
|
||||
@@ -1533,6 +1508,7 @@ div.error {
|
||||
.import-php .updating-message:before,
|
||||
.button.updating-message:before,
|
||||
.button.installing:before {
|
||||
-webkit-animation: rotation 2s infinite linear;
|
||||
animation: rotation 2s infinite linear;
|
||||
}
|
||||
|
||||
@@ -1541,13 +1517,13 @@ div.error {
|
||||
.installed p:before,
|
||||
.button.updated-message:before {
|
||||
color: #79ba49;
|
||||
content: "\f147";
|
||||
content: '\f147';
|
||||
}
|
||||
|
||||
/* Error icon. */
|
||||
.update-message.notice-error p:before {
|
||||
color: #dc3232;
|
||||
content: "\f534";
|
||||
color: #dc3232;
|
||||
content: "\f534";
|
||||
}
|
||||
|
||||
.wrap .notice p:before,
|
||||
@@ -1559,29 +1535,20 @@ div.error {
|
||||
#update-nag,
|
||||
.update-nag {
|
||||
display: inline-block;
|
||||
line-height: 1.4;
|
||||
line-height: 19px;
|
||||
padding: 11px 15px;
|
||||
font-size: 14px;
|
||||
text-align: right;
|
||||
margin: 25px 2px 0 20px;
|
||||
background-color: #fff;
|
||||
border-right: 4px solid #ffba00;
|
||||
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
ul#dismissed-updates {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#dismissed-updates li > p {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#dismiss,
|
||||
#undismiss {
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
form.upgrade {
|
||||
margin-top: 8px;
|
||||
}
|
||||
@@ -1667,7 +1634,6 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
#screen-meta-links {
|
||||
float: left;
|
||||
margin: 0 0 0 20px;
|
||||
}
|
||||
|
||||
@@ -1677,15 +1643,20 @@ form.upgrade .hint {
|
||||
margin: 0 0px -1px 20px;
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccd0d4;
|
||||
border: 1px solid #ddd;
|
||||
border-top: none;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
box-shadow: 0 1px 0 rgba(0,0,0,.025);
|
||||
}
|
||||
|
||||
#screen-options-link-wrap,
|
||||
#contextual-help-link-wrap {
|
||||
float: right;
|
||||
float: left;
|
||||
height: 28px;
|
||||
margin: 0 6px 0 0;
|
||||
border: 1px solid #ddd;
|
||||
border-top: none;
|
||||
background: #fff;
|
||||
box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
#screen-meta-links .screen-meta-toggle {
|
||||
@@ -1694,17 +1665,12 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings {
|
||||
border: 1px solid #ccd0d4;
|
||||
border-top: none;
|
||||
height: auto;
|
||||
margin-bottom: 0;
|
||||
padding: 3px 16px 3px 6px;
|
||||
background: #fff;
|
||||
border-radius: 0 0 4px 4px;
|
||||
border: 0;
|
||||
background: none;
|
||||
border-radius: 0;
|
||||
color: #72777c;
|
||||
line-height: 1.7;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
transition: box-shadow 0.1s linear;
|
||||
padding: 3px 16px 3px 6px;
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:hover,
|
||||
@@ -1713,12 +1679,9 @@ form.upgrade .hint {
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:focus {
|
||||
border-color: #5b9dd9;
|
||||
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:active {
|
||||
box-shadow: none;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
@@ -1762,7 +1725,7 @@ form.upgrade .hint {
|
||||
#contextual-help-wrap h5 {
|
||||
margin: 0;
|
||||
padding: 8px 0;
|
||||
font-size: 13px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@@ -1773,7 +1736,7 @@ form.upgrade .hint {
|
||||
.metabox-prefs label {
|
||||
display: inline-block;
|
||||
padding-left: 15px;
|
||||
line-height: 2.35;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
#number-of-columns {
|
||||
@@ -1812,7 +1775,7 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
.metabox-prefs .screen-options label {
|
||||
line-height: 2.2;
|
||||
line-height: 28px;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
@@ -1843,7 +1806,7 @@ form.upgrade .hint {
|
||||
bottom: 0;
|
||||
right: 150px;
|
||||
left: 170px;
|
||||
border: 1px solid #ccd0d4;
|
||||
border: 1px solid #e1e1e1;
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
background: #f6fbfd;
|
||||
@@ -1876,7 +1839,7 @@ form.upgrade .hint {
|
||||
.contextual-help-tabs a {
|
||||
display: block;
|
||||
padding: 5px 12px 5px 5px;
|
||||
line-height: 1.4;
|
||||
line-height: 18px;
|
||||
text-decoration: none;
|
||||
border: 1px solid transparent;
|
||||
border-left: none;
|
||||
@@ -1892,11 +1855,11 @@ form.upgrade .hint {
|
||||
margin: 0 0 0 -1px;
|
||||
border-right: 2px solid #00a0d2;
|
||||
background: #f6fbfd;
|
||||
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.02);
|
||||
box-shadow: 0 2px 0 rgba(0,0,0,0.02), 0 1px 0 rgba(0,0,0,0.02);
|
||||
}
|
||||
|
||||
.contextual-help-tabs .active a {
|
||||
border-color: #ccd0d4;
|
||||
border-color: #e1e1e1;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
@@ -1908,7 +1871,7 @@ form.upgrade .hint {
|
||||
.help-tab-content {
|
||||
display: none;
|
||||
margin: 0 0 12px 22px;
|
||||
line-height: 1.6;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
.help-tab-content.active {
|
||||
@@ -2004,7 +1967,7 @@ html.wp-toolbar {
|
||||
width: 200px;
|
||||
text-align: center;
|
||||
color: #ccc;
|
||||
font-size: 18px;
|
||||
font-size:18px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -2047,11 +2010,6 @@ html.wp-toolbar {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.js .widget .widget-top.is-non-sortable,
|
||||
.js .postbox .hndle.is-non-sortable {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.hndle a {
|
||||
font-size: 11px;
|
||||
font-weight: 400;
|
||||
@@ -2094,17 +2052,11 @@ html.wp-toolbar {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.postbox .inside {
|
||||
padding: 0 12px 12px;
|
||||
line-height: 1.4;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.postbox .inside,
|
||||
.stuffbox .inside {
|
||||
padding: 0;
|
||||
line-height: 1.4;
|
||||
padding: 0 12px 12px;
|
||||
line-height: 1.4em;
|
||||
font-size: 13px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.postbox .inside {
|
||||
@@ -2171,7 +2123,7 @@ html.wp-toolbar {
|
||||
#wpfooter p {
|
||||
font-size: 13px;
|
||||
margin: 0;
|
||||
line-height: 1.55;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
#footer-thankyou {
|
||||
@@ -2189,7 +2141,7 @@ html.wp-toolbar {
|
||||
margin-right: 0.5em; /* half the font size so set the font size properly */
|
||||
padding: 5px 10px;
|
||||
font-size: 14px;
|
||||
line-height: 1.71428571;
|
||||
line-height: 24px;
|
||||
font-weight: 600;
|
||||
background: #e5e5e5;
|
||||
color: #555;
|
||||
@@ -2201,7 +2153,7 @@ h3 .nav-tab, /* Back-compat for pre-4.4 */
|
||||
.nav-tab-small .nav-tab {
|
||||
padding: 5px 14px;
|
||||
font-size: 12px;
|
||||
line-height: 1.33;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.nav-tab:hover,
|
||||
@@ -2241,10 +2193,10 @@ h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||
|
||||
/* Back-compat for plugins. Deprecated. Use .wp-clearfix instead. */
|
||||
.nav-tab-wrapper:not(.wp-clearfix):after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.ie8 .nav-tab-wrapper {
|
||||
/* contain floats establishing a new block formatting context */
|
||||
@@ -2303,7 +2255,7 @@ h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||
/* Back-compat for nav-menus screen */
|
||||
.nav-menus-php .metabox-holder h3 {
|
||||
padding: 10px 14px 11px 10px;
|
||||
line-height: 1.5;
|
||||
line-height: 21px;
|
||||
}
|
||||
|
||||
#templateside ul li a {
|
||||
@@ -2366,7 +2318,7 @@ body.iframe {
|
||||
|
||||
.importers td {
|
||||
padding-left: 14px;
|
||||
line-height: 1.4;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.importers .import-system {
|
||||
@@ -2391,7 +2343,7 @@ body.iframe {
|
||||
}
|
||||
|
||||
.importer-action {
|
||||
line-height: 1.55; /* Same as with .updating-message */
|
||||
line-height: 20px; /* Same as with .updating-message */
|
||||
color: #555;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
@@ -2402,8 +2354,11 @@ body.iframe {
|
||||
}
|
||||
|
||||
.edit-comment-author {
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
font-weight: 600;
|
||||
color: #222;
|
||||
border-bottom: 1px solid #eee;
|
||||
margin: 2px 9px 0 0;
|
||||
}
|
||||
|
||||
#namediv h3 label, /* Back-compat for pre-4.4 */
|
||||
@@ -2446,7 +2401,7 @@ body.iframe {
|
||||
|
||||
br.clear {
|
||||
height: 2px;
|
||||
line-height: 0.15;
|
||||
line-height: 2px;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
@@ -2501,7 +2456,7 @@ div.star-holder .star-rating {
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
vertical-align: top;
|
||||
transition: color .1s ease-in;
|
||||
transition: color .1s ease-in 0;
|
||||
text-align: center;
|
||||
color: #ffb900;
|
||||
}
|
||||
@@ -2515,6 +2470,7 @@ div.star-holder .star-rating {
|
||||
}
|
||||
|
||||
.rtl .star-rating .star-half {
|
||||
-webkit-transform: rotateY(180deg);
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
|
||||
@@ -2550,7 +2506,7 @@ div.action-links {
|
||||
background: #f5f5f5;
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
line-height: 2.4;
|
||||
line-height: 56px;
|
||||
position: relative;
|
||||
height: 56px;
|
||||
}
|
||||
@@ -2576,15 +2532,15 @@ div.action-links {
|
||||
font-family: "Helvetica Neue", sans-serif;
|
||||
display: inline-block;
|
||||
font-size: 30px;
|
||||
line-height: 1.68;
|
||||
line-height: 50px;
|
||||
box-sizing: border-box;
|
||||
max-width: 100%;
|
||||
padding: 0 15px;
|
||||
margin-top: 174px;
|
||||
color: #fff;
|
||||
background: rgba(30, 30, 30, 0.9);
|
||||
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
||||
box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
|
||||
background: rgba( 30, 30, 30, 0.9 );
|
||||
text-shadow: 0 1px 3px rgba( 0, 0, 0, 0.4 );
|
||||
box-shadow: 0 0 30px rgba( 255, 255, 255, 0.1 );
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
@@ -2600,7 +2556,7 @@ div.action-links {
|
||||
height: 250px;
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
box-shadow: inset 0 0 50px 4px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
||||
box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 );
|
||||
}
|
||||
|
||||
#plugin-information-tabs {
|
||||
@@ -2621,7 +2577,7 @@ div.action-links {
|
||||
padding: 9px 10px;
|
||||
margin: 0;
|
||||
height: 18px;
|
||||
line-height: 1.3;
|
||||
line-height: 18px;
|
||||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
transition: none;
|
||||
@@ -2669,17 +2625,12 @@ div.action-links {
|
||||
left: 250px;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
margin-top: 10px;
|
||||
margin-left: 250px; /* FYI box */
|
||||
padding: 10px 26px;
|
||||
margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */
|
||||
padding-bottom: 99999px; /* equal height column trick */
|
||||
}
|
||||
|
||||
#section-holder .notice {
|
||||
margin: 5px 0 15px;
|
||||
}
|
||||
|
||||
#section-holder .updated {
|
||||
margin: 16px 0;
|
||||
}
|
||||
@@ -2818,7 +2769,7 @@ div.action-links {
|
||||
max-width: 100%;
|
||||
width: auto;
|
||||
height: auto;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.3 );
|
||||
}
|
||||
|
||||
/* rtl:ignore */
|
||||
@@ -2898,7 +2849,7 @@ div.action-links {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 771px) {
|
||||
@media screen and ( max-width: 771px ) {
|
||||
#plugin-information-title.with-banner {
|
||||
height: 100px;
|
||||
}
|
||||
@@ -2906,7 +2857,7 @@ div.action-links {
|
||||
#plugin-information-title.with-banner h2 {
|
||||
margin-top: 30px;
|
||||
font-size: 20px;
|
||||
line-height: 2;
|
||||
line-height: 40px;
|
||||
max-width: 85%;
|
||||
}
|
||||
|
||||
@@ -2968,6 +2919,7 @@ div.action-links {
|
||||
margin: -10px -10px 0 0;
|
||||
background: #fcfcfc url(../images/spinner.gif) no-repeat center;
|
||||
background-size: 20px 20px;
|
||||
-webkit-transform: translateZ(0);
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
@@ -3015,7 +2967,7 @@ div.action-links {
|
||||
}
|
||||
|
||||
/* move plugin install close icon to top on narrow screens */
|
||||
@media screen and (max-width: 830px) {
|
||||
@media screen and ( max-width: 830px ) {
|
||||
.plugin-details-modal #TB_closeWindowButton {
|
||||
left: 0;
|
||||
top: -30px;
|
||||
@@ -3073,7 +3025,7 @@ img {
|
||||
.js .postbox .handlediv:focus .toggle-indicator:before {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
/* @todo: appears to be Press This only and overridden */
|
||||
@@ -3168,9 +3120,7 @@ img {
|
||||
}
|
||||
[role="treeitem"] .folder-label.focus {
|
||||
color: #124964;
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
[role="treeitem"].hover,
|
||||
[role="treeitem"] .folder-label.hover {
|
||||
@@ -3187,7 +3137,7 @@ img {
|
||||
|
||||
/* Styles for folder indicators/depth */
|
||||
.tree-folder .tree-folder::after {
|
||||
content: "";
|
||||
content: ' ';
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
@@ -3196,7 +3146,7 @@ img {
|
||||
bottom: 10px;
|
||||
}
|
||||
.tree-folder > li::before {
|
||||
content: "";
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
display: block;
|
||||
border-right: 1px solid #ccc;
|
||||
@@ -3207,7 +3157,7 @@ img {
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
.tree-folder > li::after {
|
||||
content: "";
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
display: block;
|
||||
border-right: 1px solid #ccc;
|
||||
@@ -3338,7 +3288,7 @@ img {
|
||||
}
|
||||
|
||||
#documentation label {
|
||||
line-height: 1.8;
|
||||
line-height: 22px;
|
||||
vertical-align: baseline;
|
||||
font-weight: 600;
|
||||
}
|
||||
@@ -3399,7 +3349,7 @@ img {
|
||||
.widget-top .widget-action:focus .toggle-indicator:before {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30,140,190,.8);
|
||||
}
|
||||
|
||||
.control-section .accordion-section-title:after,
|
||||
@@ -3412,8 +3362,7 @@ img {
|
||||
.control-section.open .accordion-section-title:after,
|
||||
#customize-info.open .accordion-section-title:after,
|
||||
.nav-menus-php .menu-item-edit-active .item-edit:before,
|
||||
.widget.open .widget-top .widget-action .toggle-indicator:before,
|
||||
.widget.widget-in-question .widget-top .widget-action .toggle-indicator:before {
|
||||
.widget.open .widget-top .widget-action .toggle-indicator:before {
|
||||
content: "\f142";
|
||||
}
|
||||
|
||||
@@ -3497,7 +3446,7 @@ img {
|
||||
border-right: none;
|
||||
border-left: none;
|
||||
padding: 10px 14px 11px 10px;
|
||||
line-height: 1.55;
|
||||
line-height: 21px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
@@ -3706,15 +3655,11 @@ img {
|
||||
width: device-width;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
html.wp-toolbar {
|
||||
padding-top: 46px;
|
||||
}
|
||||
|
||||
.screen-reader-shortcut:focus {
|
||||
top: -39px;
|
||||
}
|
||||
|
||||
body {
|
||||
min-width: 240px;
|
||||
overflow-x: hidden;
|
||||
@@ -3735,7 +3680,6 @@ img {
|
||||
}
|
||||
|
||||
.wrap {
|
||||
clear: both;
|
||||
margin-left: 12px;
|
||||
margin-right: 0;
|
||||
}
|
||||
@@ -3753,6 +3697,8 @@ img {
|
||||
}
|
||||
|
||||
/* Hidden Elements */
|
||||
#screen-meta,
|
||||
#screen-meta-links,
|
||||
#collapse-menu,
|
||||
.post-format-select {
|
||||
display: none !important;
|
||||
@@ -3800,8 +3746,6 @@ img {
|
||||
|
||||
code {
|
||||
word-wrap: break-word;
|
||||
word-wrap: anywhere; /* Firefox. Allow breaking long words anywhere */
|
||||
word-break: break-word; /* Webkit: Treated similarly to word-wrap: break-word */
|
||||
}
|
||||
|
||||
/* General Metabox */
|
||||
@@ -3922,7 +3866,7 @@ img {
|
||||
|
||||
.fileedit-sub input[type="submit"] {
|
||||
margin-bottom: 0px;
|
||||
padding: 4px 18px;
|
||||
padding: 8px 18px;
|
||||
}
|
||||
|
||||
#documentation label[for="docs-list"] {
|
||||
@@ -3953,7 +3897,7 @@ img {
|
||||
|
||||
.filter-drawer .filter-group-feature input,
|
||||
.filter-drawer .filter-group-feature label {
|
||||
line-height: 2.1;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
.filter-drawer .filter-group-feature label {
|
||||
@@ -3962,48 +3906,9 @@ img {
|
||||
|
||||
.wp-filter .button.drawer-toggle {
|
||||
font-size: 13px;
|
||||
line-height: 2;
|
||||
line-height: 26px;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
/* Fix help tab columns for smaller screens */
|
||||
#screen-meta #contextual-help-wrap {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
#screen-meta #contextual-help-back,
|
||||
#screen-meta .contextual-help-sidebar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#screen-meta .contextual-help-tabs {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
float: none;
|
||||
}
|
||||
|
||||
#screen-meta .contextual-help-tabs ul {
|
||||
margin: 0 0 1em;
|
||||
padding: 1em 0 0;
|
||||
}
|
||||
|
||||
#screen-meta .contextual-help-tabs .active {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#screen-meta .contextual-help-tabs-wrap {
|
||||
clear: both;
|
||||
max-width: 100%;
|
||||
float: none;
|
||||
}
|
||||
|
||||
#screen-meta-links {
|
||||
margin-bottom: 20px; /* Add margins beneath links for better spacing between boxes and elements */
|
||||
}
|
||||
|
||||
.wp-filter .search-form input[type="search"] {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Smartphone */
|
||||
@@ -4018,10 +3923,6 @@ img {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.screen-reader-shortcut:focus {
|
||||
top: 7px;
|
||||
}
|
||||
|
||||
#wpbody {
|
||||
padding-top: 46px;
|
||||
}
|
||||
@@ -4039,21 +3940,10 @@ img {
|
||||
|
||||
h1 .nav-tab,
|
||||
h2 .nav-tab,
|
||||
h3 .nav-tab,
|
||||
nav .nav-tab {
|
||||
h3 .nav-tab {
|
||||
margin: 10px 0 0 10px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.nav-tab-active:hover,
|
||||
.nav-tab-active:focus,
|
||||
.nav-tab-active:focus:active {
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.wp-filter .search-form input[type="search"] {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 320px) {
|
||||
|
||||
4
wp-admin/css/common-rtl.min.css
vendored
4
wp-admin/css/common-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -134,10 +134,6 @@
|
||||
word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */
|
||||
}
|
||||
|
||||
.button .screen-reader-text {
|
||||
height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */
|
||||
}
|
||||
|
||||
.screen-reader-shortcut {
|
||||
position: absolute;
|
||||
top: -1000em;
|
||||
@@ -156,11 +152,9 @@
|
||||
color: #0073aa;
|
||||
z-index: 100000;
|
||||
line-height: normal;
|
||||
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
||||
box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
|
||||
text-decoration: none;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.hidden,
|
||||
@@ -190,8 +184,8 @@ p.popular-tags,
|
||||
.feature-filter,
|
||||
.imgedit-group,
|
||||
.comment-ays {
|
||||
border: 1px solid #ccd0d4;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
}
|
||||
|
||||
table.widefat,
|
||||
@@ -274,22 +268,14 @@ a:focus .media-icon img,
|
||||
color: #124964;
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 1px solid transparent;
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.ie8 a:focus {
|
||||
outline: #5b9dd9 solid 1px;
|
||||
}
|
||||
|
||||
#adminmenu a:focus {
|
||||
box-shadow: none;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 1px solid transparent;
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
#adminmenu a:focus,
|
||||
.screen-reader-text:focus {
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
@@ -423,7 +409,7 @@ code {
|
||||
padding: 3px 5px 2px 5px;
|
||||
margin: 0 1px;
|
||||
background: #eaeaea;
|
||||
background: rgba(0, 0, 0, 0.07);
|
||||
background: rgba(0,0,0,0.07);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
@@ -460,12 +446,6 @@ code {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.wp-die-message {
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
/* .widefat - main style for tables */
|
||||
.widefat {
|
||||
border-spacing: 0;
|
||||
@@ -490,12 +470,12 @@ code {
|
||||
|
||||
.widefat thead th,
|
||||
.widefat thead td {
|
||||
border-bottom: 1px solid #ccd0d4;
|
||||
border-bottom: 1px solid #e1e1e1;
|
||||
}
|
||||
|
||||
.widefat tfoot th,
|
||||
.widefat tfoot td {
|
||||
border-top: 1px solid #ccd0d4;
|
||||
border-top: 1px solid #e1e1e1;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
@@ -580,10 +560,6 @@ code {
|
||||
margin: 10px 20px 0 2px;
|
||||
}
|
||||
|
||||
.wrap.block-editor-no-js {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
|
||||
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
|
||||
.postbox .inside h2, /* Back-compat for pre-4.4 */
|
||||
@@ -592,7 +568,7 @@ code {
|
||||
font-weight: 400;
|
||||
margin: 0;
|
||||
padding: 9px 0 4px 0;
|
||||
line-height: 1.3;
|
||||
line-height: 29px;
|
||||
}
|
||||
|
||||
.wrap h1.wp-heading-inline {
|
||||
@@ -623,15 +599,17 @@ code {
|
||||
position: relative;
|
||||
top: -3px;
|
||||
text-decoration: none;
|
||||
border: 1px solid #0071a1;
|
||||
border: none;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 2px;
|
||||
background: #f7f7f7;
|
||||
text-shadow: none;
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
line-height: normal; /* IE8-IE11 need this for buttons */
|
||||
color: #0071a1; /* use the standard color used for buttons */
|
||||
background: #f3f5f6;
|
||||
color: #0073aa; /* some of these controls are button elements and don't inherit from links */
|
||||
cursor: pointer;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.wrap .wp-heading-inline + .page-title-action {
|
||||
@@ -640,27 +618,19 @@ code {
|
||||
|
||||
.wrap .add-new-h2:hover, /* deprecated */
|
||||
.wrap .page-title-action:hover {
|
||||
background: #f1f1f1;
|
||||
border-color: #016087;
|
||||
color: #016087;
|
||||
border-color: #008EC2;
|
||||
background: #00a0d2;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* lower specificity: color needs to be overridden by :hover and :active */
|
||||
.page-title-action:focus {
|
||||
color: #016087;
|
||||
}
|
||||
|
||||
/* Dashicon for language options on General Settings and Profile screens */
|
||||
.form-table th label[for="locale"] .dashicons,
|
||||
.form-table th label[for="WPLANG"] .dashicons {
|
||||
margin-left: 5px;
|
||||
color: #124964;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #007cba;
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
border-color: #5b9dd9;
|
||||
box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
|
||||
}
|
||||
|
||||
.wrap h1.long-header {
|
||||
@@ -677,7 +647,7 @@ code {
|
||||
div#widgets-right .widget-top:hover,
|
||||
#widgets-left .widget-top:hover {
|
||||
border-color: #999;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.sorthelper {
|
||||
@@ -778,10 +748,11 @@ img.emoji {
|
||||
|
||||
.postbox .hndle,
|
||||
.stuffbox .hndle {
|
||||
border-bottom: 1px solid #ccd0d4;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.quicktags {
|
||||
.quicktags,
|
||||
.search {
|
||||
background-color: #ccc;
|
||||
color: #000;
|
||||
font-size: 12px;
|
||||
@@ -793,6 +764,7 @@ img.emoji {
|
||||
|
||||
/* @todo can we combine these into a class or use an existing dashicon one? */
|
||||
.welcome-panel .welcome-panel-close:before,
|
||||
.try-gutenberg-panel .try-gutenberg-panel-close:before,
|
||||
.tagchecklist .ntdelbutton .remove-tag-icon:before,
|
||||
#bulk-titles div a:before,
|
||||
.notice-dismiss:before {
|
||||
@@ -841,7 +813,7 @@ img.emoji {
|
||||
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.key-labels label {
|
||||
@@ -924,11 +896,11 @@ span.required,
|
||||
|
||||
#delete-action {
|
||||
float: left;
|
||||
line-height: 2.30769231; /* 30px */
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
#delete-link {
|
||||
line-height: 2.30769231; /* 30px */
|
||||
line-height: 28px;
|
||||
vertical-align: middle;
|
||||
text-align: left;
|
||||
margin-left: 8px;
|
||||
@@ -941,12 +913,11 @@ span.required,
|
||||
#publishing-action {
|
||||
text-align: right;
|
||||
float: right;
|
||||
line-height: 1.9;
|
||||
line-height: 23px;
|
||||
}
|
||||
|
||||
#publishing-action .spinner {
|
||||
float: none;
|
||||
margin-top: 5px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#misc-publishing-actions {
|
||||
@@ -1007,8 +978,8 @@ th.action-links {
|
||||
margin: 12px 0 25px;
|
||||
padding: 0 10px;
|
||||
width: 100%;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
border: 1px solid #ccd0d4;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
border: 1px solid #e5e5e5;
|
||||
background: #fff;
|
||||
color: #555;
|
||||
font-size: 13px;
|
||||
@@ -1087,13 +1058,19 @@ th.action-links {
|
||||
}
|
||||
|
||||
.wp-filter .search-form input[type="search"] {
|
||||
margin: 1px 0;
|
||||
margin: 0;
|
||||
padding: 3px 5px;
|
||||
width: 280px;
|
||||
max-width: 100%;
|
||||
font-size: 16px;
|
||||
font-weight: 300;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.wp-filter .search-form select {
|
||||
margin: 0;
|
||||
height: 32px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.wp-filter .search-form.search-plugins {
|
||||
@@ -1140,6 +1117,7 @@ th.action-links {
|
||||
.wp-filter .button.drawer-toggle:active {
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
@@ -1190,7 +1168,7 @@ th.action-links {
|
||||
width: 24%;
|
||||
background: #fff;
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
}
|
||||
|
||||
.filter-group legend {
|
||||
@@ -1211,7 +1189,7 @@ th.action-links {
|
||||
|
||||
.filter-drawer .filter-group-feature input,
|
||||
.filter-drawer .filter-group-feature label {
|
||||
line-height: 1.4;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.filter-drawer .filter-group-feature input {
|
||||
@@ -1248,7 +1226,7 @@ th.action-links {
|
||||
|
||||
.wp-filter .button-link.edit-filters {
|
||||
padding: 0 5px;
|
||||
line-height: 2.2;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.filtered-by {
|
||||
@@ -1272,7 +1250,7 @@ th.action-links {
|
||||
margin: 0 5px;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
background: #fff;
|
||||
font-size: 11px;
|
||||
}
|
||||
@@ -1369,9 +1347,8 @@ th.action-links {
|
||||
div.updated,
|
||||
div.error {
|
||||
background: #fff;
|
||||
border: 1px solid #ccd0d4;
|
||||
border-left-width: 4px;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,.04);
|
||||
border-left: 4px solid #fff;
|
||||
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
|
||||
margin: 5px 15px 2px;
|
||||
padding: 1px 12px;
|
||||
}
|
||||
@@ -1436,9 +1413,7 @@ div.error p,
|
||||
|
||||
.notice-dismiss:focus {
|
||||
outline: none;
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.ie8 .notice-dismiss:focus {
|
||||
@@ -1533,6 +1508,7 @@ div.error {
|
||||
.import-php .updating-message:before,
|
||||
.button.updating-message:before,
|
||||
.button.installing:before {
|
||||
-webkit-animation: rotation 2s infinite linear;
|
||||
animation: rotation 2s infinite linear;
|
||||
}
|
||||
|
||||
@@ -1541,13 +1517,13 @@ div.error {
|
||||
.installed p:before,
|
||||
.button.updated-message:before {
|
||||
color: #79ba49;
|
||||
content: "\f147";
|
||||
content: '\f147';
|
||||
}
|
||||
|
||||
/* Error icon. */
|
||||
.update-message.notice-error p:before {
|
||||
color: #dc3232;
|
||||
content: "\f534";
|
||||
color: #dc3232;
|
||||
content: "\f534";
|
||||
}
|
||||
|
||||
.wrap .notice p:before,
|
||||
@@ -1559,29 +1535,20 @@ div.error {
|
||||
#update-nag,
|
||||
.update-nag {
|
||||
display: inline-block;
|
||||
line-height: 1.4;
|
||||
line-height: 19px;
|
||||
padding: 11px 15px;
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
margin: 25px 20px 0 2px;
|
||||
background-color: #fff;
|
||||
border-left: 4px solid #ffba00;
|
||||
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
ul#dismissed-updates {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#dismissed-updates li > p {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#dismiss,
|
||||
#undismiss {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
|
||||
form.upgrade {
|
||||
margin-top: 8px;
|
||||
}
|
||||
@@ -1667,7 +1634,6 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
#screen-meta-links {
|
||||
float: right;
|
||||
margin: 0 20px 0 0;
|
||||
}
|
||||
|
||||
@@ -1677,15 +1643,20 @@ form.upgrade .hint {
|
||||
margin: 0 20px -1px 0px;
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccd0d4;
|
||||
border: 1px solid #ddd;
|
||||
border-top: none;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
box-shadow: 0 1px 0 rgba(0,0,0,.025);
|
||||
}
|
||||
|
||||
#screen-options-link-wrap,
|
||||
#contextual-help-link-wrap {
|
||||
float: left;
|
||||
float: right;
|
||||
height: 28px;
|
||||
margin: 0 0 0 6px;
|
||||
border: 1px solid #ddd;
|
||||
border-top: none;
|
||||
background: #fff;
|
||||
box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
#screen-meta-links .screen-meta-toggle {
|
||||
@@ -1694,17 +1665,12 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings {
|
||||
border: 1px solid #ccd0d4;
|
||||
border-top: none;
|
||||
height: auto;
|
||||
margin-bottom: 0;
|
||||
padding: 3px 6px 3px 16px;
|
||||
background: #fff;
|
||||
border-radius: 0 0 4px 4px;
|
||||
border: 0;
|
||||
background: none;
|
||||
border-radius: 0;
|
||||
color: #72777c;
|
||||
line-height: 1.7;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
transition: box-shadow 0.1s linear;
|
||||
padding: 3px 6px 3px 16px;
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:hover,
|
||||
@@ -1713,12 +1679,9 @@ form.upgrade .hint {
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:focus {
|
||||
border-color: #5b9dd9;
|
||||
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:active {
|
||||
box-shadow: none;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
@@ -1762,7 +1725,7 @@ form.upgrade .hint {
|
||||
#contextual-help-wrap h5 {
|
||||
margin: 0;
|
||||
padding: 8px 0;
|
||||
font-size: 13px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@@ -1773,7 +1736,7 @@ form.upgrade .hint {
|
||||
.metabox-prefs label {
|
||||
display: inline-block;
|
||||
padding-right: 15px;
|
||||
line-height: 2.35;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
#number-of-columns {
|
||||
@@ -1812,7 +1775,7 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
.metabox-prefs .screen-options label {
|
||||
line-height: 2.2;
|
||||
line-height: 28px;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
@@ -1843,7 +1806,7 @@ form.upgrade .hint {
|
||||
bottom: 0;
|
||||
left: 150px;
|
||||
right: 170px;
|
||||
border: 1px solid #ccd0d4;
|
||||
border: 1px solid #e1e1e1;
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
background: #f6fbfd;
|
||||
@@ -1876,7 +1839,7 @@ form.upgrade .hint {
|
||||
.contextual-help-tabs a {
|
||||
display: block;
|
||||
padding: 5px 5px 5px 12px;
|
||||
line-height: 1.4;
|
||||
line-height: 18px;
|
||||
text-decoration: none;
|
||||
border: 1px solid transparent;
|
||||
border-right: none;
|
||||
@@ -1892,11 +1855,11 @@ form.upgrade .hint {
|
||||
margin: 0 -1px 0 0;
|
||||
border-left: 2px solid #00a0d2;
|
||||
background: #f6fbfd;
|
||||
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.02);
|
||||
box-shadow: 0 2px 0 rgba(0,0,0,0.02), 0 1px 0 rgba(0,0,0,0.02);
|
||||
}
|
||||
|
||||
.contextual-help-tabs .active a {
|
||||
border-color: #ccd0d4;
|
||||
border-color: #e1e1e1;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
@@ -1908,7 +1871,7 @@ form.upgrade .hint {
|
||||
.help-tab-content {
|
||||
display: none;
|
||||
margin: 0 22px 12px 0;
|
||||
line-height: 1.6;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
.help-tab-content.active {
|
||||
@@ -2004,7 +1967,7 @@ html.wp-toolbar {
|
||||
width: 200px;
|
||||
text-align: center;
|
||||
color: #ccc;
|
||||
font-size: 18px;
|
||||
font-size:18px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -2047,11 +2010,6 @@ html.wp-toolbar {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.js .widget .widget-top.is-non-sortable,
|
||||
.js .postbox .hndle.is-non-sortable {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.hndle a {
|
||||
font-size: 11px;
|
||||
font-weight: 400;
|
||||
@@ -2094,17 +2052,11 @@ html.wp-toolbar {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.postbox .inside {
|
||||
padding: 0 12px 12px;
|
||||
line-height: 1.4;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.postbox .inside,
|
||||
.stuffbox .inside {
|
||||
padding: 0;
|
||||
line-height: 1.4;
|
||||
padding: 0 12px 12px;
|
||||
line-height: 1.4em;
|
||||
font-size: 13px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.postbox .inside {
|
||||
@@ -2171,7 +2123,7 @@ html.wp-toolbar {
|
||||
#wpfooter p {
|
||||
font-size: 13px;
|
||||
margin: 0;
|
||||
line-height: 1.55;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
#footer-thankyou {
|
||||
@@ -2189,7 +2141,7 @@ html.wp-toolbar {
|
||||
margin-left: 0.5em; /* half the font size so set the font size properly */
|
||||
padding: 5px 10px;
|
||||
font-size: 14px;
|
||||
line-height: 1.71428571;
|
||||
line-height: 24px;
|
||||
font-weight: 600;
|
||||
background: #e5e5e5;
|
||||
color: #555;
|
||||
@@ -2201,7 +2153,7 @@ h3 .nav-tab, /* Back-compat for pre-4.4 */
|
||||
.nav-tab-small .nav-tab {
|
||||
padding: 5px 14px;
|
||||
font-size: 12px;
|
||||
line-height: 1.33;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.nav-tab:hover,
|
||||
@@ -2241,10 +2193,10 @@ h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||
|
||||
/* Back-compat for plugins. Deprecated. Use .wp-clearfix instead. */
|
||||
.nav-tab-wrapper:not(.wp-clearfix):after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.ie8 .nav-tab-wrapper {
|
||||
/* contain floats establishing a new block formatting context */
|
||||
@@ -2303,7 +2255,7 @@ h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
|
||||
/* Back-compat for nav-menus screen */
|
||||
.nav-menus-php .metabox-holder h3 {
|
||||
padding: 10px 10px 11px 14px;
|
||||
line-height: 1.5;
|
||||
line-height: 21px;
|
||||
}
|
||||
|
||||
#templateside ul li a {
|
||||
@@ -2366,7 +2318,7 @@ body.iframe {
|
||||
|
||||
.importers td {
|
||||
padding-right: 14px;
|
||||
line-height: 1.4;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.importers .import-system {
|
||||
@@ -2391,7 +2343,7 @@ body.iframe {
|
||||
}
|
||||
|
||||
.importer-action {
|
||||
line-height: 1.55; /* Same as with .updating-message */
|
||||
line-height: 20px; /* Same as with .updating-message */
|
||||
color: #555;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
@@ -2402,8 +2354,11 @@ body.iframe {
|
||||
}
|
||||
|
||||
.edit-comment-author {
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
font-weight: 600;
|
||||
color: #222;
|
||||
border-bottom: 1px solid #eee;
|
||||
margin: 2px 0 0 9px;
|
||||
}
|
||||
|
||||
#namediv h3 label, /* Back-compat for pre-4.4 */
|
||||
@@ -2446,7 +2401,7 @@ body.iframe {
|
||||
|
||||
br.clear {
|
||||
height: 2px;
|
||||
line-height: 0.15;
|
||||
line-height: 2px;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
@@ -2501,7 +2456,7 @@ div.star-holder .star-rating {
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
vertical-align: top;
|
||||
transition: color .1s ease-in;
|
||||
transition: color .1s ease-in 0;
|
||||
text-align: center;
|
||||
color: #ffb900;
|
||||
}
|
||||
@@ -2515,6 +2470,7 @@ div.star-holder .star-rating {
|
||||
}
|
||||
|
||||
.rtl .star-rating .star-half {
|
||||
-webkit-transform: rotateY(180deg);
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
|
||||
@@ -2550,7 +2506,7 @@ div.action-links {
|
||||
background: #f5f5f5;
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
line-height: 2.4;
|
||||
line-height: 56px;
|
||||
position: relative;
|
||||
height: 56px;
|
||||
}
|
||||
@@ -2576,15 +2532,15 @@ div.action-links {
|
||||
font-family: "Helvetica Neue", sans-serif;
|
||||
display: inline-block;
|
||||
font-size: 30px;
|
||||
line-height: 1.68;
|
||||
line-height: 50px;
|
||||
box-sizing: border-box;
|
||||
max-width: 100%;
|
||||
padding: 0 15px;
|
||||
margin-top: 174px;
|
||||
color: #fff;
|
||||
background: rgba(30, 30, 30, 0.9);
|
||||
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
||||
box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
|
||||
background: rgba( 30, 30, 30, 0.9 );
|
||||
text-shadow: 0 1px 3px rgba( 0, 0, 0, 0.4 );
|
||||
box-shadow: 0 0 30px rgba( 255, 255, 255, 0.1 );
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
@@ -2600,7 +2556,7 @@ div.action-links {
|
||||
height: 250px;
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
box-shadow: inset 0 0 50px 4px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
||||
box-shadow: inset 0 0 50px 4px rgba( 0, 0, 0, 0.2 ), inset 0 -1px 0 rgba( 0, 0, 0, 0.1 );
|
||||
}
|
||||
|
||||
#plugin-information-tabs {
|
||||
@@ -2621,7 +2577,7 @@ div.action-links {
|
||||
padding: 9px 10px;
|
||||
margin: 0;
|
||||
height: 18px;
|
||||
line-height: 1.3;
|
||||
line-height: 18px;
|
||||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
transition: none;
|
||||
@@ -2669,17 +2625,12 @@ div.action-links {
|
||||
right: 250px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
margin-top: 10px;
|
||||
margin-right: 250px; /* FYI box */
|
||||
padding: 10px 26px;
|
||||
margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */
|
||||
padding-bottom: 99999px; /* equal height column trick */
|
||||
}
|
||||
|
||||
#section-holder .notice {
|
||||
margin: 5px 0 15px;
|
||||
}
|
||||
|
||||
#section-holder .updated {
|
||||
margin: 16px 0;
|
||||
}
|
||||
@@ -2818,7 +2769,7 @@ div.action-links {
|
||||
max-width: 100%;
|
||||
width: auto;
|
||||
height: auto;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.3 );
|
||||
}
|
||||
|
||||
/* rtl:ignore */
|
||||
@@ -2898,7 +2849,7 @@ div.action-links {
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 771px) {
|
||||
@media screen and ( max-width: 771px ) {
|
||||
#plugin-information-title.with-banner {
|
||||
height: 100px;
|
||||
}
|
||||
@@ -2906,7 +2857,7 @@ div.action-links {
|
||||
#plugin-information-title.with-banner h2 {
|
||||
margin-top: 30px;
|
||||
font-size: 20px;
|
||||
line-height: 2;
|
||||
line-height: 40px;
|
||||
max-width: 85%;
|
||||
}
|
||||
|
||||
@@ -2968,6 +2919,7 @@ div.action-links {
|
||||
margin: -10px 0 0 -10px;
|
||||
background: #fcfcfc url(../images/spinner.gif) no-repeat center;
|
||||
background-size: 20px 20px;
|
||||
-webkit-transform: translateZ(0);
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
@@ -3015,7 +2967,7 @@ div.action-links {
|
||||
}
|
||||
|
||||
/* move plugin install close icon to top on narrow screens */
|
||||
@media screen and (max-width: 830px) {
|
||||
@media screen and ( max-width: 830px ) {
|
||||
.plugin-details-modal #TB_closeWindowButton {
|
||||
right: 0;
|
||||
top: -30px;
|
||||
@@ -3073,7 +3025,7 @@ img {
|
||||
.js .postbox .handlediv:focus .toggle-indicator:before {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
/* @todo: appears to be Press This only and overridden */
|
||||
@@ -3168,9 +3120,7 @@ img {
|
||||
}
|
||||
[role="treeitem"] .folder-label.focus {
|
||||
color: #124964;
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
[role="treeitem"].hover,
|
||||
[role="treeitem"] .folder-label.hover {
|
||||
@@ -3187,7 +3137,7 @@ img {
|
||||
|
||||
/* Styles for folder indicators/depth */
|
||||
.tree-folder .tree-folder::after {
|
||||
content: "";
|
||||
content: ' ';
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 2px;
|
||||
@@ -3196,7 +3146,7 @@ img {
|
||||
bottom: 10px;
|
||||
}
|
||||
.tree-folder > li::before {
|
||||
content: "";
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
display: block;
|
||||
border-left: 1px solid #ccc;
|
||||
@@ -3207,7 +3157,7 @@ img {
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
.tree-folder > li::after {
|
||||
content: "";
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
display: block;
|
||||
border-left: 1px solid #ccc;
|
||||
@@ -3338,7 +3288,7 @@ img {
|
||||
}
|
||||
|
||||
#documentation label {
|
||||
line-height: 1.8;
|
||||
line-height: 22px;
|
||||
vertical-align: baseline;
|
||||
font-weight: 600;
|
||||
}
|
||||
@@ -3399,7 +3349,7 @@ img {
|
||||
.widget-top .widget-action:focus .toggle-indicator:before {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30,140,190,.8);
|
||||
}
|
||||
|
||||
.control-section .accordion-section-title:after,
|
||||
@@ -3412,8 +3362,7 @@ img {
|
||||
.control-section.open .accordion-section-title:after,
|
||||
#customize-info.open .accordion-section-title:after,
|
||||
.nav-menus-php .menu-item-edit-active .item-edit:before,
|
||||
.widget.open .widget-top .widget-action .toggle-indicator:before,
|
||||
.widget.widget-in-question .widget-top .widget-action .toggle-indicator:before {
|
||||
.widget.open .widget-top .widget-action .toggle-indicator:before {
|
||||
content: "\f142";
|
||||
}
|
||||
|
||||
@@ -3497,7 +3446,7 @@ img {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
padding: 10px 10px 11px 14px;
|
||||
line-height: 1.55;
|
||||
line-height: 21px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
@@ -3706,15 +3655,11 @@ img {
|
||||
width: device-width;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
html.wp-toolbar {
|
||||
padding-top: 46px;
|
||||
}
|
||||
|
||||
.screen-reader-shortcut:focus {
|
||||
top: -39px;
|
||||
}
|
||||
|
||||
body {
|
||||
min-width: 240px;
|
||||
overflow-x: hidden;
|
||||
@@ -3735,7 +3680,6 @@ img {
|
||||
}
|
||||
|
||||
.wrap {
|
||||
clear: both;
|
||||
margin-right: 12px;
|
||||
margin-left: 0;
|
||||
}
|
||||
@@ -3753,6 +3697,8 @@ img {
|
||||
}
|
||||
|
||||
/* Hidden Elements */
|
||||
#screen-meta,
|
||||
#screen-meta-links,
|
||||
#collapse-menu,
|
||||
.post-format-select {
|
||||
display: none !important;
|
||||
@@ -3800,8 +3746,6 @@ img {
|
||||
|
||||
code {
|
||||
word-wrap: break-word;
|
||||
word-wrap: anywhere; /* Firefox. Allow breaking long words anywhere */
|
||||
word-break: break-word; /* Webkit: Treated similarly to word-wrap: break-word */
|
||||
}
|
||||
|
||||
/* General Metabox */
|
||||
@@ -3922,7 +3866,7 @@ img {
|
||||
|
||||
.fileedit-sub input[type="submit"] {
|
||||
margin-bottom: 0px;
|
||||
padding: 4px 18px;
|
||||
padding: 8px 18px;
|
||||
}
|
||||
|
||||
#documentation label[for="docs-list"] {
|
||||
@@ -3953,7 +3897,7 @@ img {
|
||||
|
||||
.filter-drawer .filter-group-feature input,
|
||||
.filter-drawer .filter-group-feature label {
|
||||
line-height: 2.1;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
.filter-drawer .filter-group-feature label {
|
||||
@@ -3962,48 +3906,9 @@ img {
|
||||
|
||||
.wp-filter .button.drawer-toggle {
|
||||
font-size: 13px;
|
||||
line-height: 2;
|
||||
line-height: 26px;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
/* Fix help tab columns for smaller screens */
|
||||
#screen-meta #contextual-help-wrap {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
#screen-meta #contextual-help-back,
|
||||
#screen-meta .contextual-help-sidebar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#screen-meta .contextual-help-tabs {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
float: none;
|
||||
}
|
||||
|
||||
#screen-meta .contextual-help-tabs ul {
|
||||
margin: 0 0 1em;
|
||||
padding: 1em 0 0;
|
||||
}
|
||||
|
||||
#screen-meta .contextual-help-tabs .active {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#screen-meta .contextual-help-tabs-wrap {
|
||||
clear: both;
|
||||
max-width: 100%;
|
||||
float: none;
|
||||
}
|
||||
|
||||
#screen-meta-links {
|
||||
margin-bottom: 20px; /* Add margins beneath links for better spacing between boxes and elements */
|
||||
}
|
||||
|
||||
.wp-filter .search-form input[type="search"] {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Smartphone */
|
||||
@@ -4018,10 +3923,6 @@ img {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.screen-reader-shortcut:focus {
|
||||
top: 7px;
|
||||
}
|
||||
|
||||
#wpbody {
|
||||
padding-top: 46px;
|
||||
}
|
||||
@@ -4039,21 +3940,10 @@ img {
|
||||
|
||||
h1 .nav-tab,
|
||||
h2 .nav-tab,
|
||||
h3 .nav-tab,
|
||||
nav .nav-tab {
|
||||
h3 .nav-tab {
|
||||
margin: 10px 10px 0 0;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.nav-tab-active:hover,
|
||||
.nav-tab-active:focus,
|
||||
.nav-tab-active:focus:active {
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.wp-filter .search-form input[type="search"] {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 320px) {
|
||||
|
||||
4
wp-admin/css/common.min.css
vendored
4
wp-admin/css/common.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -21,7 +21,7 @@ body {
|
||||
}
|
||||
|
||||
#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked {
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
background-color: rgba( 0, 0, 0, 0.7 );
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ body {
|
||||
padding: 25px 109px 25px 25px;
|
||||
position: relative;
|
||||
background: #fff;
|
||||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
||||
line-height: 1.5;
|
||||
overflow-y: auto;
|
||||
text-align: right;
|
||||
@@ -157,9 +157,9 @@ body:not(.ready) #customize-save-button-wrapper .save {
|
||||
font-size: 14px;
|
||||
width: 30px;
|
||||
float: right;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
margin-top: 0;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
body:not(.ready) #publish-settings,
|
||||
@@ -285,14 +285,12 @@ body.trashing #publish-settings {
|
||||
}
|
||||
|
||||
#customize-control-changeset_preview_link input {
|
||||
line-height: 2.85714286; /* 40px */
|
||||
line-height: 2.5;
|
||||
border-top: 1px solid #ddd;
|
||||
border-right: none;
|
||||
border-left: none;
|
||||
text-indent: -999px;
|
||||
color: #fff;
|
||||
/* Only necessary for IE11 */
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
#customize-control-changeset_preview_link label {
|
||||
@@ -350,7 +348,7 @@ body.trashing #publish-settings {
|
||||
}
|
||||
|
||||
.date-time-fields .date-input.year {
|
||||
width: 65px;
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
.date-time-fields .date-input.meridian {
|
||||
@@ -362,6 +360,11 @@ body.trashing #publish-settings {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.date-time-fields .date-timezone {
|
||||
line-height: 2.2;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#customize-control-changeset_preview_link {
|
||||
margin-top: 6px;
|
||||
}
|
||||
@@ -390,7 +393,7 @@ body.trashing #publish-settings {
|
||||
position: absolute;
|
||||
z-index: 9;
|
||||
width: 100%;
|
||||
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
#customize-controls .customize-section-title.is-in-view {
|
||||
@@ -428,7 +431,7 @@ body.trashing #publish-settings {
|
||||
|
||||
#customize-controls .customize-info .preview-notice {
|
||||
font-size: 13px;
|
||||
line-height: 1.9;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
#customize-controls .customize-pane-child .customize-section-title h3,
|
||||
@@ -531,10 +534,9 @@ body.trashing #publish-settings {
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-right: 4px solid #fff;
|
||||
transition:
|
||||
.15s color ease-in-out,
|
||||
.15s background-color ease-in-out,
|
||||
.15s border-color ease-in-out;
|
||||
transition: .15s color ease-in-out,
|
||||
.15s background-color ease-in-out,
|
||||
.15s border-color ease-in-out;
|
||||
}
|
||||
|
||||
#customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title {
|
||||
@@ -632,7 +634,9 @@ body.trashing #publish-settings {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */
|
||||
transition: 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1), 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */
|
||||
}
|
||||
|
||||
#customize-theme-controls .customize-pane-child.skip-transition {
|
||||
@@ -646,6 +650,7 @@ body.trashing #publish-settings {
|
||||
height: auto;
|
||||
max-height: none;
|
||||
overflow: auto;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
@@ -657,11 +662,13 @@ body.trashing #publish-settings {
|
||||
height: 0;
|
||||
max-height: none;
|
||||
overflow: hidden;
|
||||
-webkit-transform: translateX(-100%);
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
|
||||
#customize-theme-controls .customize-pane-child.open,
|
||||
#customize-theme-controls .customize-pane-child.current-panel {
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
@@ -673,6 +680,7 @@ body.trashing #publish-settings {
|
||||
visibility: hidden;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
-webkit-transform: translateX(100%);
|
||||
transform: translateX(100%);
|
||||
}
|
||||
|
||||
@@ -784,10 +792,9 @@ h3.customize-section-title {
|
||||
color: #444;
|
||||
text-align: right;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
color .15s ease-in-out,
|
||||
border-color .15s ease-in-out,
|
||||
background .15s ease-in-out;
|
||||
transition: color .15s ease-in-out,
|
||||
border-color .15s ease-in-out,
|
||||
background .15s ease-in-out;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
@@ -805,10 +812,9 @@ h3.customize-section-title {
|
||||
border-right: 4px solid #fff;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
color .15s ease-in-out,
|
||||
border-color .15s ease-in-out,
|
||||
background .15s ease-in-out;
|
||||
transition: color .15s ease-in-out,
|
||||
border-color .15s ease-in-out,
|
||||
background .15s ease-in-out;
|
||||
}
|
||||
|
||||
.customize-section-back {
|
||||
@@ -913,6 +919,12 @@ p.customize-section-description {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.customize-control select,
|
||||
.customize-control input[type="radio"],
|
||||
.customize-control input[type="checkbox"] {
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.customize-control input[type="text"],
|
||||
.customize-control input[type="password"],
|
||||
.customize-control input[type="email"],
|
||||
@@ -921,6 +933,7 @@ p.customize-section-description {
|
||||
.customize-control input[type="tel"],
|
||||
.customize-control input[type="url"] {
|
||||
width: 100%;
|
||||
line-height: 18px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -935,6 +948,8 @@ p.customize-section-description {
|
||||
|
||||
.customize-control select {
|
||||
width: 100%;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.customize-control select[multiple] {
|
||||
@@ -944,7 +959,7 @@ p.customize-section-description {
|
||||
.customize-control-title {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
line-height: 1.75;
|
||||
line-height: 24px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
@@ -952,7 +967,7 @@ p.customize-section-description {
|
||||
.customize-control-description {
|
||||
display: block;
|
||||
font-style: italic;
|
||||
line-height: 1.4;
|
||||
line-height: 18px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
@@ -973,7 +988,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.customize-control .customize-inside-control-row {
|
||||
line-height: 1.6;
|
||||
line-height: 20px;
|
||||
display: block;
|
||||
margin-right: 24px;
|
||||
padding-top: 6px;
|
||||
@@ -993,7 +1008,7 @@ p.customize-section-description {
|
||||
|
||||
.customize-control-radio .customize-control-title {
|
||||
margin-bottom: 0;
|
||||
line-height: 1.6;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.customize-control-radio .customize-control-title + .customize-control-description {
|
||||
@@ -1060,6 +1075,7 @@ p.customize-section-description {
|
||||
bottom: 0;
|
||||
z-index: 10;
|
||||
background: #eee;
|
||||
display: -webkit-box;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@@ -1071,12 +1087,14 @@ p.customize-section-description {
|
||||
|
||||
#available-menu-items .new-content-item .create-item-input,
|
||||
.customize-control-dropdown-pages .new-content-item .create-item-input {
|
||||
-webkit-box-flex: 10;
|
||||
flex-grow: 10;
|
||||
}
|
||||
|
||||
#available-menu-items .new-content-item .add-content,
|
||||
.customize-control-dropdown-pages .new-content-item .add-content {
|
||||
margin: 2px 6px 2px 0;
|
||||
-webkit-box-flex: 10;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
@@ -1087,7 +1105,7 @@ p.customize-section-description {
|
||||
.customize-control-dropdown-pages .add-new-toggle {
|
||||
margin-right: 1px;
|
||||
font-weight: 600;
|
||||
line-height: 2.2;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
#customize-preview iframe {
|
||||
@@ -1197,6 +1215,11 @@ p.customize-section-description {
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
@-webkit-keyframes customize-fade-in {
|
||||
0% { opacity: 0; }
|
||||
100% { opacity: 1; }
|
||||
}
|
||||
|
||||
@keyframes customize-fade-in {
|
||||
0% { opacity: 0; }
|
||||
100% { opacity: 1; }
|
||||
@@ -1209,6 +1232,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
#customize-controls .customize-control-notifications-container.has-overlay-notifications {
|
||||
-webkit-animation: customize-fade-in 0.5s;
|
||||
animation: customize-fade-in 0.5s;
|
||||
z-index: 30;
|
||||
}
|
||||
@@ -1368,7 +1392,6 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.customize-control .attachment-media-view .placeholder,
|
||||
.customize-control .attachment-media-view .button-add-media,
|
||||
.customize-control-header .placeholder {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
@@ -1377,27 +1400,7 @@ p.customize-section-description {
|
||||
border: 1px dashed #b4b9be;
|
||||
box-sizing: border-box;
|
||||
padding: 9px 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.customize-control .attachment-media-view .button-add-media {
|
||||
cursor: pointer;
|
||||
background-color: #edeff0;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.customize-control .attachment-media-view .button-add-media:hover {
|
||||
background-color: #fbfbfc;
|
||||
}
|
||||
|
||||
.customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-style: solid;
|
||||
border-color: #5b9dd9;
|
||||
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.customize-control-header .inner {
|
||||
@@ -1441,7 +1444,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.customize-control-header .header-view.selected:after {
|
||||
content: "";
|
||||
content: '';
|
||||
position: absolute;
|
||||
height: auto;
|
||||
top: 0;
|
||||
@@ -1503,31 +1506,62 @@ p.customize-section-description {
|
||||
|
||||
.customize-control-header .placeholder:hover .dice,
|
||||
.customize-control-header .header-view:hover > button.random .dice {
|
||||
-webkit-animation: dice-color-change 3s infinite;
|
||||
animation: dice-color-change 3s infinite;
|
||||
}
|
||||
|
||||
.button-see-me {
|
||||
-webkit-animation: bounce .7s 1;
|
||||
animation: bounce .7s 1;
|
||||
-webkit-transform-origin: center bottom;
|
||||
transform-origin: center bottom;
|
||||
}
|
||||
|
||||
@-webkit-keyframes bounce {
|
||||
from, 20%, 53%, 80%, to {
|
||||
-webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
}
|
||||
|
||||
40%, 43% {
|
||||
-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
-webkit-transform: translate3d(0, -12px, 0);
|
||||
}
|
||||
|
||||
70% {
|
||||
-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
-webkit-transform: translate3d(0, -6px, 0);
|
||||
}
|
||||
|
||||
90% {
|
||||
-webkit-transform: translate3d(0,-1px,0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes bounce {
|
||||
from, 20%, 53%, 80%, to {
|
||||
-webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
||||
animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
transform: translate3d(0,0,0);
|
||||
}
|
||||
|
||||
40%, 43% {
|
||||
-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
-webkit-transform: translate3d(0, -12px, 0);
|
||||
transform: translate3d(0, -12px, 0);
|
||||
}
|
||||
|
||||
70% {
|
||||
-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
-webkit-transform: translate3d(0, -6px, 0);
|
||||
transform: translate3d(0, -6px, 0);
|
||||
}
|
||||
|
||||
90% {
|
||||
-webkit-transform: translate3d(0,-1px,0);
|
||||
transform: translate3d(0,-1px,0);
|
||||
}
|
||||
}
|
||||
@@ -1542,7 +1576,7 @@ p.customize-section-description {
|
||||
outline: none;
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 3px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 3px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.customize-control-header .uploaded div:last-child > .choice {
|
||||
@@ -1634,10 +1668,10 @@ p.customize-section-description {
|
||||
.theme-browser .theme.active .theme-actions,
|
||||
.wp-customizer .theme-browser .theme .theme-actions {
|
||||
padding: 10px 15px;
|
||||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
|
||||
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
@media screen and ( max-width: 640px ) {
|
||||
.customize-section-description-container + #customize-control-custom_css:last-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
@@ -1785,18 +1819,20 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.themes-filter-bar .feature-filter-toggle:before {
|
||||
content: "\f111";
|
||||
margin: 0 0 0 5px;
|
||||
font: normal 16px/1 dashicons;
|
||||
vertical-align: text-bottom;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
content: "\f111";
|
||||
margin: 0 0 0 5px;
|
||||
font: normal 16px/1 dashicons;
|
||||
vertical-align: text-bottom;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.themes-filter-bar .feature-filter-toggle.open {
|
||||
background: #eee;
|
||||
border-color: #999;
|
||||
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 );
|
||||
-webkit-transform: translateY(1px);
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
.themes-filter-bar .feature-filter-toggle .filter-count-filters {
|
||||
@@ -1824,6 +1860,17 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
/* Adds a delay before fading in to avoid it "jumping" */
|
||||
@-webkit-keyframes themes-fade-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@keyframes themes-fade-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
@@ -1837,17 +1884,19 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.control-panel-themes .customize-themes-full-container.animate {
|
||||
-webkit-animation: .6s themes-fade-in 1;
|
||||
animation: .6s themes-fade-in 1;
|
||||
}
|
||||
|
||||
.in-themes-panel:not(.animating) .control-panel-themes .filter-themes-count {
|
||||
-webkit-animation: .6s themes-fade-in 1;
|
||||
animation: .6s themes-fade-in 1;
|
||||
}
|
||||
|
||||
.control-panel-themes .filter-themes-count {
|
||||
position: relative;
|
||||
float: left;
|
||||
line-height: 2.6;
|
||||
line-height: 34px;
|
||||
}
|
||||
|
||||
.control-panel-themes .filter-themes-count .themes-displayed {
|
||||
@@ -2076,7 +2125,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.themes-filter-bar .wp-filter-search {
|
||||
line-height: 1.8;
|
||||
line-height: 25px;
|
||||
padding: 6px 30px 6px 10px;
|
||||
max-width: 100%;
|
||||
width: 40%;
|
||||
@@ -2090,7 +2139,7 @@ p.customize-section-description {
|
||||
|
||||
/* Unstick the filter bar on short windows/screens. This breakpoint is based on the
|
||||
current length of .org feature filters assuming translations do not wrap lines. */
|
||||
@media screen and (max-height: 540px), screen and (max-width: 1018px) {
|
||||
@media screen and (max-height:540px), screen and (max-width:1018px) {
|
||||
.customize-preview-header.themes-filter-bar {
|
||||
position: relative;
|
||||
right: 0;
|
||||
@@ -2113,13 +2162,13 @@ p.customize-section-description {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1018px) {
|
||||
@media screen and (max-width:1018px) {
|
||||
.filter-drawer .filter-group {
|
||||
width: calc( (100% - 50px) / 2);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
@media screen and (max-width:900px) {
|
||||
.customize-preview-header.themes-filter-bar {
|
||||
height: 86px;
|
||||
padding-top: 46px;
|
||||
@@ -2140,7 +2189,7 @@ p.customize-section-description {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 792px) {
|
||||
@media screen and (max-width:792px) {
|
||||
.filter-drawer .filter-group {
|
||||
width: calc( 100% - 25px);
|
||||
}
|
||||
@@ -2151,7 +2200,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
/* Mobile - toggle between themes and filters */
|
||||
@media screen and (max-width: 600px) {
|
||||
@media screen and (max-width:600px) {
|
||||
|
||||
.filter-drawer {
|
||||
top: 132px;
|
||||
@@ -2204,7 +2253,7 @@ p.customize-section-description {
|
||||
height: 46px;
|
||||
width: 26px;
|
||||
display: block;
|
||||
line-height: 2.3;
|
||||
line-height: 46px;
|
||||
padding: 0 8px 0 8px;
|
||||
border-left: 1px solid #ddd;
|
||||
}
|
||||
@@ -2254,7 +2303,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.wp-customizer .theme-overlay .theme-backdrop {
|
||||
background: rgba(238, 238, 238, 0.75);
|
||||
background: rgba( 238, 238, 238, 0.75 );
|
||||
position: fixed;
|
||||
z-index: 110;
|
||||
}
|
||||
@@ -2332,7 +2381,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
/* Small Screens */
|
||||
@media (max-width: 850px), (max-height: 472px) {
|
||||
@media (max-width:850px), (max-height:472px) {
|
||||
.wp-customizer .theme-overlay .theme-wrap {
|
||||
right: 0;
|
||||
left: 0;
|
||||
@@ -2354,7 +2403,7 @@ body.cheatin {
|
||||
padding: 1em 2em;
|
||||
max-width: 700px;
|
||||
min-width: 0;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.13);
|
||||
}
|
||||
|
||||
body.cheatin h1 {
|
||||
@@ -2526,6 +2575,7 @@ body.adding-widget .add-new-widget:hover,
|
||||
body.adding-widget .add-new-widget:before,
|
||||
.adding-menu-items .add-new-menu-item:before,
|
||||
#accordion-section-add_menu .add-new-menu-item.open:before {
|
||||
-webkit-transform: rotate(-45deg);
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
|
||||
@@ -2582,9 +2632,9 @@ body.adding-widget .add-new-widget:before,
|
||||
#available-widgets-filter input,
|
||||
#available-menu-items-search input {
|
||||
width: 100%;
|
||||
min-height: 32px;
|
||||
height: 32px;
|
||||
margin: 1px 0;
|
||||
padding: 0 30px;
|
||||
padding: 6px 30px;
|
||||
}
|
||||
|
||||
#available-widgets-filter input::-ms-clear,
|
||||
@@ -2600,7 +2650,7 @@ body.adding-widget .add-new-widget:before,
|
||||
right: 16px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
line-height: 2.1;
|
||||
line-height: 28px;
|
||||
text-align: center;
|
||||
color: #72777c;
|
||||
}
|
||||
@@ -2652,7 +2702,7 @@ body.adding-widget .add-new-widget:before,
|
||||
#available-menu-items-search .clear-results:focus {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
#available-menu-items-search .search-icon:after,
|
||||
@@ -2704,10 +2754,9 @@ body.adding-widget .add-new-widget:before,
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-right: 4px solid #fff;
|
||||
transition:
|
||||
.15s color ease-in-out,
|
||||
.15s background-color ease-in-out,
|
||||
.15s border-color ease-in-out;
|
||||
transition: .15s color ease-in-out,
|
||||
.15s background-color ease-in-out,
|
||||
.15s border-color ease-in-out;
|
||||
cursor: pointer;
|
||||
display: none;
|
||||
}
|
||||
@@ -2751,7 +2800,7 @@ body.adding-widget .add-new-widget:before,
|
||||
|
||||
.customize-control input[type="radio"] + label + br,
|
||||
.customize-control input[type="checkbox"] + label + br {
|
||||
line-height: 2.5; /* For widgets checkboxes */
|
||||
line-height: 32px; /* For widgets checkboxes */
|
||||
}
|
||||
|
||||
.customize-control .date-time-fields select {
|
||||
@@ -2772,6 +2821,10 @@ body.adding-widget .add-new-widget:before,
|
||||
width: 80px;
|
||||
}
|
||||
|
||||
.date-time-fields .date-timezone {
|
||||
line-height: 3.2;
|
||||
}
|
||||
|
||||
#customize-control-changeset_preview_link a {
|
||||
bottom: 16px;
|
||||
}
|
||||
@@ -2791,7 +2844,7 @@ body.adding-widget .add-new-widget:before,
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px) {
|
||||
@media screen and ( max-width: 1200px ) {
|
||||
.outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,
|
||||
.adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,
|
||||
.adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main {
|
||||
@@ -2799,7 +2852,7 @@ body.adding-widget .add-new-widget:before,
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
@media screen and ( max-width: 640px ) {
|
||||
|
||||
/* when the sidebar is collapsed and switching to responsive view,
|
||||
bring it back see ticket #35220 */
|
||||
@@ -2816,7 +2869,7 @@ body.adding-widget .add-new-widget:before,
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 48px;
|
||||
line-height: 3.2;
|
||||
line-height: 45px;
|
||||
font-size: 14px;
|
||||
padding: 0 12px;
|
||||
margin: 0;
|
||||
@@ -2864,11 +2917,15 @@ body.adding-widget .add-new-widget:before,
|
||||
}
|
||||
|
||||
.wp-core-ui.wp-customizer .button {
|
||||
min-height: 30px;
|
||||
padding: 0 14px;
|
||||
line-height: 2;
|
||||
padding: 6px 14px;
|
||||
line-height: normal;
|
||||
font-size: 14px;
|
||||
vertical-align: middle;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#publish-settings {
|
||||
height: 31px;
|
||||
}
|
||||
|
||||
#customize-control-changeset_status .customize-inside-control-row {
|
||||
@@ -2943,11 +3000,11 @@ body.adding-widget .add-new-widget:before,
|
||||
.theme-browser .theme.active .theme-actions,
|
||||
.wp-customizer .theme-browser .theme .theme-actions {
|
||||
padding: 9px 15px;
|
||||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
|
||||
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
@media screen and ( max-width: 600px ) {
|
||||
.theme-browser .theme.active .theme-actions,
|
||||
.wp-customizer .theme-browser .theme .theme-actions {
|
||||
padding: 8px 15px;
|
||||
|
||||
2
wp-admin/css/customize-controls-rtl.min.css
vendored
2
wp-admin/css/customize-controls-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -21,7 +21,7 @@ body {
|
||||
}
|
||||
|
||||
#customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked {
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
background-color: rgba( 0, 0, 0, 0.7 );
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ body {
|
||||
padding: 25px 25px 25px 109px;
|
||||
position: relative;
|
||||
background: #fff;
|
||||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
||||
line-height: 1.5;
|
||||
overflow-y: auto;
|
||||
text-align: left;
|
||||
@@ -157,9 +157,9 @@ body:not(.ready) #customize-save-button-wrapper .save {
|
||||
font-size: 14px;
|
||||
width: 30px;
|
||||
float: left;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
margin-top: 0;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
body:not(.ready) #publish-settings,
|
||||
@@ -285,14 +285,12 @@ body.trashing #publish-settings {
|
||||
}
|
||||
|
||||
#customize-control-changeset_preview_link input {
|
||||
line-height: 2.85714286; /* 40px */
|
||||
line-height: 2.5;
|
||||
border-top: 1px solid #ddd;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
text-indent: -999px;
|
||||
color: #fff;
|
||||
/* Only necessary for IE11 */
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
#customize-control-changeset_preview_link label {
|
||||
@@ -350,7 +348,7 @@ body.trashing #publish-settings {
|
||||
}
|
||||
|
||||
.date-time-fields .date-input.year {
|
||||
width: 65px;
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
.date-time-fields .date-input.meridian {
|
||||
@@ -362,6 +360,11 @@ body.trashing #publish-settings {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.date-time-fields .date-timezone {
|
||||
line-height: 2.2;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#customize-control-changeset_preview_link {
|
||||
margin-top: 6px;
|
||||
}
|
||||
@@ -390,7 +393,7 @@ body.trashing #publish-settings {
|
||||
position: absolute;
|
||||
z-index: 9;
|
||||
width: 100%;
|
||||
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
#customize-controls .customize-section-title.is-in-view {
|
||||
@@ -428,7 +431,7 @@ body.trashing #publish-settings {
|
||||
|
||||
#customize-controls .customize-info .preview-notice {
|
||||
font-size: 13px;
|
||||
line-height: 1.9;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
#customize-controls .customize-pane-child .customize-section-title h3,
|
||||
@@ -531,10 +534,9 @@ body.trashing #publish-settings {
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-left: 4px solid #fff;
|
||||
transition:
|
||||
.15s color ease-in-out,
|
||||
.15s background-color ease-in-out,
|
||||
.15s border-color ease-in-out;
|
||||
transition: .15s color ease-in-out,
|
||||
.15s background-color ease-in-out,
|
||||
.15s border-color ease-in-out;
|
||||
}
|
||||
|
||||
#customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title {
|
||||
@@ -632,7 +634,9 @@ body.trashing #publish-settings {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */
|
||||
transition: 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1), 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */
|
||||
}
|
||||
|
||||
#customize-theme-controls .customize-pane-child.skip-transition {
|
||||
@@ -646,6 +650,7 @@ body.trashing #publish-settings {
|
||||
height: auto;
|
||||
max-height: none;
|
||||
overflow: auto;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
@@ -657,11 +662,13 @@ body.trashing #publish-settings {
|
||||
height: 0;
|
||||
max-height: none;
|
||||
overflow: hidden;
|
||||
-webkit-transform: translateX(100%);
|
||||
transform: translateX(100%);
|
||||
}
|
||||
|
||||
#customize-theme-controls .customize-pane-child.open,
|
||||
#customize-theme-controls .customize-pane-child.current-panel {
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
@@ -673,6 +680,7 @@ body.trashing #publish-settings {
|
||||
visibility: hidden;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
-webkit-transform: translateX(-100%);
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
|
||||
@@ -784,10 +792,9 @@ h3.customize-section-title {
|
||||
color: #444;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
color .15s ease-in-out,
|
||||
border-color .15s ease-in-out,
|
||||
background .15s ease-in-out;
|
||||
transition: color .15s ease-in-out,
|
||||
border-color .15s ease-in-out,
|
||||
background .15s ease-in-out;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
@@ -805,10 +812,9 @@ h3.customize-section-title {
|
||||
border-left: 4px solid #fff;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
color .15s ease-in-out,
|
||||
border-color .15s ease-in-out,
|
||||
background .15s ease-in-out;
|
||||
transition: color .15s ease-in-out,
|
||||
border-color .15s ease-in-out,
|
||||
background .15s ease-in-out;
|
||||
}
|
||||
|
||||
.customize-section-back {
|
||||
@@ -913,6 +919,12 @@ p.customize-section-description {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.customize-control select,
|
||||
.customize-control input[type="radio"],
|
||||
.customize-control input[type="checkbox"] {
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.customize-control input[type="text"],
|
||||
.customize-control input[type="password"],
|
||||
.customize-control input[type="email"],
|
||||
@@ -921,6 +933,7 @@ p.customize-section-description {
|
||||
.customize-control input[type="tel"],
|
||||
.customize-control input[type="url"] {
|
||||
width: 100%;
|
||||
line-height: 18px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -935,6 +948,8 @@ p.customize-section-description {
|
||||
|
||||
.customize-control select {
|
||||
width: 100%;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.customize-control select[multiple] {
|
||||
@@ -944,7 +959,7 @@ p.customize-section-description {
|
||||
.customize-control-title {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
line-height: 1.75;
|
||||
line-height: 24px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
@@ -952,7 +967,7 @@ p.customize-section-description {
|
||||
.customize-control-description {
|
||||
display: block;
|
||||
font-style: italic;
|
||||
line-height: 1.4;
|
||||
line-height: 18px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
@@ -973,7 +988,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.customize-control .customize-inside-control-row {
|
||||
line-height: 1.6;
|
||||
line-height: 20px;
|
||||
display: block;
|
||||
margin-left: 24px;
|
||||
padding-top: 6px;
|
||||
@@ -993,7 +1008,7 @@ p.customize-section-description {
|
||||
|
||||
.customize-control-radio .customize-control-title {
|
||||
margin-bottom: 0;
|
||||
line-height: 1.6;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.customize-control-radio .customize-control-title + .customize-control-description {
|
||||
@@ -1060,6 +1075,7 @@ p.customize-section-description {
|
||||
bottom: 0;
|
||||
z-index: 10;
|
||||
background: #eee;
|
||||
display: -webkit-box;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@@ -1071,12 +1087,14 @@ p.customize-section-description {
|
||||
|
||||
#available-menu-items .new-content-item .create-item-input,
|
||||
.customize-control-dropdown-pages .new-content-item .create-item-input {
|
||||
-webkit-box-flex: 10;
|
||||
flex-grow: 10;
|
||||
}
|
||||
|
||||
#available-menu-items .new-content-item .add-content,
|
||||
.customize-control-dropdown-pages .new-content-item .add-content {
|
||||
margin: 2px 0 2px 6px;
|
||||
-webkit-box-flex: 10;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
@@ -1087,7 +1105,7 @@ p.customize-section-description {
|
||||
.customize-control-dropdown-pages .add-new-toggle {
|
||||
margin-left: 1px;
|
||||
font-weight: 600;
|
||||
line-height: 2.2;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
#customize-preview iframe {
|
||||
@@ -1197,6 +1215,11 @@ p.customize-section-description {
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
@-webkit-keyframes customize-fade-in {
|
||||
0% { opacity: 0; }
|
||||
100% { opacity: 1; }
|
||||
}
|
||||
|
||||
@keyframes customize-fade-in {
|
||||
0% { opacity: 0; }
|
||||
100% { opacity: 1; }
|
||||
@@ -1209,6 +1232,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
#customize-controls .customize-control-notifications-container.has-overlay-notifications {
|
||||
-webkit-animation: customize-fade-in 0.5s;
|
||||
animation: customize-fade-in 0.5s;
|
||||
z-index: 30;
|
||||
}
|
||||
@@ -1368,7 +1392,6 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.customize-control .attachment-media-view .placeholder,
|
||||
.customize-control .attachment-media-view .button-add-media,
|
||||
.customize-control-header .placeholder {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
@@ -1377,27 +1400,7 @@ p.customize-section-description {
|
||||
border: 1px dashed #b4b9be;
|
||||
box-sizing: border-box;
|
||||
padding: 9px 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.customize-control .attachment-media-view .button-add-media {
|
||||
cursor: pointer;
|
||||
background-color: #edeff0;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.customize-control .attachment-media-view .button-add-media:hover {
|
||||
background-color: #fbfbfc;
|
||||
}
|
||||
|
||||
.customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-style: solid;
|
||||
border-color: #5b9dd9;
|
||||
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.customize-control-header .inner {
|
||||
@@ -1441,7 +1444,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.customize-control-header .header-view.selected:after {
|
||||
content: "";
|
||||
content: '';
|
||||
position: absolute;
|
||||
height: auto;
|
||||
top: 0;
|
||||
@@ -1503,31 +1506,62 @@ p.customize-section-description {
|
||||
|
||||
.customize-control-header .placeholder:hover .dice,
|
||||
.customize-control-header .header-view:hover > button.random .dice {
|
||||
-webkit-animation: dice-color-change 3s infinite;
|
||||
animation: dice-color-change 3s infinite;
|
||||
}
|
||||
|
||||
.button-see-me {
|
||||
-webkit-animation: bounce .7s 1;
|
||||
animation: bounce .7s 1;
|
||||
-webkit-transform-origin: center bottom;
|
||||
transform-origin: center bottom;
|
||||
}
|
||||
|
||||
@-webkit-keyframes bounce {
|
||||
from, 20%, 53%, 80%, to {
|
||||
-webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
}
|
||||
|
||||
40%, 43% {
|
||||
-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
-webkit-transform: translate3d(0, -12px, 0);
|
||||
}
|
||||
|
||||
70% {
|
||||
-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
-webkit-transform: translate3d(0, -6px, 0);
|
||||
}
|
||||
|
||||
90% {
|
||||
-webkit-transform: translate3d(0,-1px,0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes bounce {
|
||||
from, 20%, 53%, 80%, to {
|
||||
-webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
||||
animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
transform: translate3d(0,0,0);
|
||||
}
|
||||
|
||||
40%, 43% {
|
||||
-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
-webkit-transform: translate3d(0, -12px, 0);
|
||||
transform: translate3d(0, -12px, 0);
|
||||
}
|
||||
|
||||
70% {
|
||||
-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
-webkit-transform: translate3d(0, -6px, 0);
|
||||
transform: translate3d(0, -6px, 0);
|
||||
}
|
||||
|
||||
90% {
|
||||
-webkit-transform: translate3d(0,-1px,0);
|
||||
transform: translate3d(0,-1px,0);
|
||||
}
|
||||
}
|
||||
@@ -1542,7 +1576,7 @@ p.customize-section-description {
|
||||
outline: none;
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 3px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 3px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.customize-control-header .uploaded div:last-child > .choice {
|
||||
@@ -1634,10 +1668,10 @@ p.customize-section-description {
|
||||
.theme-browser .theme.active .theme-actions,
|
||||
.wp-customizer .theme-browser .theme .theme-actions {
|
||||
padding: 10px 15px;
|
||||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
|
||||
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
@media screen and ( max-width: 640px ) {
|
||||
.customize-section-description-container + #customize-control-custom_css:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
@@ -1785,18 +1819,20 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.themes-filter-bar .feature-filter-toggle:before {
|
||||
content: "\f111";
|
||||
margin: 0 5px 0 0;
|
||||
font: normal 16px/1 dashicons;
|
||||
vertical-align: text-bottom;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
content: "\f111";
|
||||
margin: 0 5px 0 0;
|
||||
font: normal 16px/1 dashicons;
|
||||
vertical-align: text-bottom;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.themes-filter-bar .feature-filter-toggle.open {
|
||||
background: #eee;
|
||||
border-color: #999;
|
||||
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 );
|
||||
-webkit-transform: translateY(1px);
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
.themes-filter-bar .feature-filter-toggle .filter-count-filters {
|
||||
@@ -1824,6 +1860,17 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
/* Adds a delay before fading in to avoid it "jumping" */
|
||||
@-webkit-keyframes themes-fade-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@keyframes themes-fade-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
@@ -1837,17 +1884,19 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.control-panel-themes .customize-themes-full-container.animate {
|
||||
-webkit-animation: .6s themes-fade-in 1;
|
||||
animation: .6s themes-fade-in 1;
|
||||
}
|
||||
|
||||
.in-themes-panel:not(.animating) .control-panel-themes .filter-themes-count {
|
||||
-webkit-animation: .6s themes-fade-in 1;
|
||||
animation: .6s themes-fade-in 1;
|
||||
}
|
||||
|
||||
.control-panel-themes .filter-themes-count {
|
||||
position: relative;
|
||||
float: right;
|
||||
line-height: 2.6;
|
||||
line-height: 34px;
|
||||
}
|
||||
|
||||
.control-panel-themes .filter-themes-count .themes-displayed {
|
||||
@@ -2076,7 +2125,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.themes-filter-bar .wp-filter-search {
|
||||
line-height: 1.8;
|
||||
line-height: 25px;
|
||||
padding: 6px 10px 6px 30px;
|
||||
max-width: 100%;
|
||||
width: 40%;
|
||||
@@ -2090,7 +2139,7 @@ p.customize-section-description {
|
||||
|
||||
/* Unstick the filter bar on short windows/screens. This breakpoint is based on the
|
||||
current length of .org feature filters assuming translations do not wrap lines. */
|
||||
@media screen and (max-height: 540px), screen and (max-width: 1018px) {
|
||||
@media screen and (max-height:540px), screen and (max-width:1018px) {
|
||||
.customize-preview-header.themes-filter-bar {
|
||||
position: relative;
|
||||
left: 0;
|
||||
@@ -2113,13 +2162,13 @@ p.customize-section-description {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1018px) {
|
||||
@media screen and (max-width:1018px) {
|
||||
.filter-drawer .filter-group {
|
||||
width: calc( (100% - 50px) / 2);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
@media screen and (max-width:900px) {
|
||||
.customize-preview-header.themes-filter-bar {
|
||||
height: 86px;
|
||||
padding-top: 46px;
|
||||
@@ -2140,7 +2189,7 @@ p.customize-section-description {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 792px) {
|
||||
@media screen and (max-width:792px) {
|
||||
.filter-drawer .filter-group {
|
||||
width: calc( 100% - 25px);
|
||||
}
|
||||
@@ -2151,7 +2200,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
/* Mobile - toggle between themes and filters */
|
||||
@media screen and (max-width: 600px) {
|
||||
@media screen and (max-width:600px) {
|
||||
|
||||
.filter-drawer {
|
||||
top: 132px;
|
||||
@@ -2204,7 +2253,7 @@ p.customize-section-description {
|
||||
height: 46px;
|
||||
width: 26px;
|
||||
display: block;
|
||||
line-height: 2.3;
|
||||
line-height: 46px;
|
||||
padding: 0 8px 0 8px;
|
||||
border-right: 1px solid #ddd;
|
||||
}
|
||||
@@ -2254,7 +2303,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
.wp-customizer .theme-overlay .theme-backdrop {
|
||||
background: rgba(238, 238, 238, 0.75);
|
||||
background: rgba( 238, 238, 238, 0.75 );
|
||||
position: fixed;
|
||||
z-index: 110;
|
||||
}
|
||||
@@ -2332,7 +2381,7 @@ p.customize-section-description {
|
||||
}
|
||||
|
||||
/* Small Screens */
|
||||
@media (max-width: 850px), (max-height: 472px) {
|
||||
@media (max-width:850px), (max-height:472px) {
|
||||
.wp-customizer .theme-overlay .theme-wrap {
|
||||
left: 0;
|
||||
right: 0;
|
||||
@@ -2354,7 +2403,7 @@ body.cheatin {
|
||||
padding: 1em 2em;
|
||||
max-width: 700px;
|
||||
min-width: 0;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.13);
|
||||
}
|
||||
|
||||
body.cheatin h1 {
|
||||
@@ -2526,6 +2575,7 @@ body.adding-widget .add-new-widget:hover,
|
||||
body.adding-widget .add-new-widget:before,
|
||||
.adding-menu-items .add-new-menu-item:before,
|
||||
#accordion-section-add_menu .add-new-menu-item.open:before {
|
||||
-webkit-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
@@ -2582,9 +2632,9 @@ body.adding-widget .add-new-widget:before,
|
||||
#available-widgets-filter input,
|
||||
#available-menu-items-search input {
|
||||
width: 100%;
|
||||
min-height: 32px;
|
||||
height: 32px;
|
||||
margin: 1px 0;
|
||||
padding: 0 30px;
|
||||
padding: 6px 30px;
|
||||
}
|
||||
|
||||
#available-widgets-filter input::-ms-clear,
|
||||
@@ -2600,7 +2650,7 @@ body.adding-widget .add-new-widget:before,
|
||||
left: 16px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
line-height: 2.1;
|
||||
line-height: 28px;
|
||||
text-align: center;
|
||||
color: #72777c;
|
||||
}
|
||||
@@ -2652,7 +2702,7 @@ body.adding-widget .add-new-widget:before,
|
||||
#available-menu-items-search .clear-results:focus {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
#available-menu-items-search .search-icon:after,
|
||||
@@ -2704,10 +2754,9 @@ body.adding-widget .add-new-widget:before,
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-left: 4px solid #fff;
|
||||
transition:
|
||||
.15s color ease-in-out,
|
||||
.15s background-color ease-in-out,
|
||||
.15s border-color ease-in-out;
|
||||
transition: .15s color ease-in-out,
|
||||
.15s background-color ease-in-out,
|
||||
.15s border-color ease-in-out;
|
||||
cursor: pointer;
|
||||
display: none;
|
||||
}
|
||||
@@ -2751,7 +2800,7 @@ body.adding-widget .add-new-widget:before,
|
||||
|
||||
.customize-control input[type="radio"] + label + br,
|
||||
.customize-control input[type="checkbox"] + label + br {
|
||||
line-height: 2.5; /* For widgets checkboxes */
|
||||
line-height: 32px; /* For widgets checkboxes */
|
||||
}
|
||||
|
||||
.customize-control .date-time-fields select {
|
||||
@@ -2772,6 +2821,10 @@ body.adding-widget .add-new-widget:before,
|
||||
width: 80px;
|
||||
}
|
||||
|
||||
.date-time-fields .date-timezone {
|
||||
line-height: 3.2;
|
||||
}
|
||||
|
||||
#customize-control-changeset_preview_link a {
|
||||
bottom: 16px;
|
||||
}
|
||||
@@ -2791,7 +2844,7 @@ body.adding-widget .add-new-widget:before,
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px) {
|
||||
@media screen and ( max-width: 1200px ) {
|
||||
.outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,
|
||||
.adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main,
|
||||
.adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main {
|
||||
@@ -2799,7 +2852,7 @@ body.adding-widget .add-new-widget:before,
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
@media screen and ( max-width: 640px ) {
|
||||
|
||||
/* when the sidebar is collapsed and switching to responsive view,
|
||||
bring it back see ticket #35220 */
|
||||
@@ -2816,7 +2869,7 @@ body.adding-widget .add-new-widget:before,
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 48px;
|
||||
line-height: 3.2;
|
||||
line-height: 45px;
|
||||
font-size: 14px;
|
||||
padding: 0 12px;
|
||||
margin: 0;
|
||||
@@ -2864,11 +2917,15 @@ body.adding-widget .add-new-widget:before,
|
||||
}
|
||||
|
||||
.wp-core-ui.wp-customizer .button {
|
||||
min-height: 30px;
|
||||
padding: 0 14px;
|
||||
line-height: 2;
|
||||
padding: 6px 14px;
|
||||
line-height: normal;
|
||||
font-size: 14px;
|
||||
vertical-align: middle;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#publish-settings {
|
||||
height: 31px;
|
||||
}
|
||||
|
||||
#customize-control-changeset_status .customize-inside-control-row {
|
||||
@@ -2943,11 +3000,11 @@ body.adding-widget .add-new-widget:before,
|
||||
.theme-browser .theme.active .theme-actions,
|
||||
.wp-customizer .theme-browser .theme .theme-actions {
|
||||
padding: 9px 15px;
|
||||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
|
||||
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
@media screen and ( max-width: 600px ) {
|
||||
.theme-browser .theme.active .theme-actions,
|
||||
.wp-customizer .theme-browser .theme .theme-actions {
|
||||
padding: 8px 15px;
|
||||
|
||||
2
wp-admin/css/customize-controls.min.css
vendored
2
wp-admin/css/customize-controls.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -37,7 +37,7 @@
|
||||
.customize-control-nav_menu_location .create-menu {
|
||||
margin-right: 6px;
|
||||
vertical-align: middle;
|
||||
line-height: 2.2;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
#customize-controls .customize-control-nav_menu_name {
|
||||
@@ -794,7 +794,7 @@ body.adding-menu-items #customize-preview iframe {
|
||||
}
|
||||
|
||||
#accordion-section-add_menu .customize-add-menu-button {
|
||||
font-weight: 400;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#create-new-menu-submit {
|
||||
@@ -870,17 +870,17 @@ li.assigned-to-menu-location .add-new-menu-item {
|
||||
#available-menu-items .item-add:focus:before {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
#available-menu-items #available-menu-items-search .accordion-section-content {
|
||||
top: 63px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
@media screen and ( max-width: 640px ) {
|
||||
#available-menu-items #available-menu-items-search .accordion-section-content {
|
||||
top: 130px;
|
||||
}
|
||||
|
||||
2
wp-admin/css/customize-nav-menus-rtl.min.css
vendored
2
wp-admin/css/customize-nav-menus-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -37,7 +37,7 @@
|
||||
.customize-control-nav_menu_location .create-menu {
|
||||
margin-left: 6px;
|
||||
vertical-align: middle;
|
||||
line-height: 2.2;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
#customize-controls .customize-control-nav_menu_name {
|
||||
@@ -794,7 +794,7 @@ body.adding-menu-items #customize-preview iframe {
|
||||
}
|
||||
|
||||
#accordion-section-add_menu .customize-add-menu-button {
|
||||
font-weight: 400;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#create-new-menu-submit {
|
||||
@@ -870,17 +870,17 @@ li.assigned-to-menu-location .add-new-menu-item {
|
||||
#available-menu-items .item-add:focus:before {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
#available-menu-items #available-menu-items-search .accordion-section-content {
|
||||
top: 63px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
@media screen and ( max-width: 640px ) {
|
||||
#available-menu-items #available-menu-items-search .accordion-section-content {
|
||||
top: 130px;
|
||||
}
|
||||
|
||||
2
wp-admin/css/customize-nav-menus.min.css
vendored
2
wp-admin/css/customize-nav-menus.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -85,7 +85,7 @@
|
||||
.widget-inside {
|
||||
padding: 1px 10px 10px 10px;
|
||||
border-top: none;
|
||||
line-height: 1.23076923;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
|
||||
@@ -112,7 +112,7 @@
|
||||
.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);
|
||||
box-shadow: 0 0 2px rgba(30,140,190,0.8);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
@@ -189,7 +189,7 @@
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,.4);
|
||||
background: #00a0d2;
|
||||
}
|
||||
|
||||
@@ -235,11 +235,6 @@
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
/* Keep rule that is no longer necessary on widgets.php. */
|
||||
#available-widgets .widget-action {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ios #available-widgets {
|
||||
transition: right 0s;
|
||||
}
|
||||
|
||||
2
wp-admin/css/customize-widgets-rtl.min.css
vendored
2
wp-admin/css/customize-widgets-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -85,7 +85,7 @@
|
||||
.widget-inside {
|
||||
padding: 1px 10px 10px 10px;
|
||||
border-top: none;
|
||||
line-height: 1.23076923;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
|
||||
@@ -112,7 +112,7 @@
|
||||
.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);
|
||||
box-shadow: 0 0 2px rgba(30,140,190,0.8);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
@@ -189,7 +189,7 @@
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,.4);
|
||||
background: #00a0d2;
|
||||
}
|
||||
|
||||
@@ -235,11 +235,6 @@
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
/* Keep rule that is no longer necessary on widgets.php. */
|
||||
#available-widgets .widget-action {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ios #available-widgets {
|
||||
transition: left 0s;
|
||||
}
|
||||
|
||||
2
wp-admin/css/customize-widgets.min.css
vendored
2
wp-admin/css/customize-widgets.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -98,19 +98,21 @@
|
||||
}
|
||||
|
||||
/* Welcome Panel */
|
||||
.welcome-panel {
|
||||
.welcome-panel,
|
||||
.try-gutenberg-panel {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
margin: 16px 0;
|
||||
padding: 23px 10px 0;
|
||||
border: 1px solid #ccd0d4;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
background: #fff;
|
||||
font-size: 13px;
|
||||
line-height: 1.7;
|
||||
line-height: 2.1em;
|
||||
}
|
||||
|
||||
.welcome-panel h2 {
|
||||
.welcome-panel h2,
|
||||
.try-gutenberg-panel h2 {
|
||||
margin: 0;
|
||||
font-size: 21px;
|
||||
font-weight: 400;
|
||||
@@ -122,25 +124,43 @@
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.welcome-panel li {
|
||||
.try-gutenberg-panel h3 {
|
||||
margin: 17px 0 0;
|
||||
font-size: 16px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.welcome-panel li,
|
||||
.try-gutenberg-panel li {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.welcome-panel p {
|
||||
.welcome-panel p,
|
||||
.try-gutenberg-panel p {
|
||||
color: #72777c;
|
||||
}
|
||||
|
||||
.welcome-panel li a {
|
||||
.welcome-panel a,
|
||||
.try-gutenberg-action a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.welcome-panel .about-description {
|
||||
.welcome-panel .about-description,
|
||||
.try-gutenberg-panel .about-description {
|
||||
font-size: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-close {
|
||||
.try-gutenberg-panel-content hr {
|
||||
margin: 20px -23px 0 -23px;
|
||||
border-top: 1px solid #f3f4f5;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-close,
|
||||
.try-gutenberg-panel .try-gutenberg-panel-close {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
padding: 10px 21px 10px 15px;
|
||||
@@ -149,7 +169,8 @@
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-close:before {
|
||||
.welcome-panel .welcome-panel-close:before,
|
||||
.try-gutenberg-panel .try-gutenberg-panel-close:before {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 0;
|
||||
@@ -164,11 +185,23 @@
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.welcome-panel-content {
|
||||
margin-right: 13px;
|
||||
.welcome-panel-content,
|
||||
.try-gutenberg-panel-content {
|
||||
margin: 0 13px;
|
||||
max-width: 1500px;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel img {
|
||||
margin-top: 23px;
|
||||
width: calc( 100% - 40px );
|
||||
border: 1px solid #f3f4f5;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel .install-now.updating-message:before,
|
||||
.try-gutenberg-panel .install-now.updated-message:before {
|
||||
margin-top: 11px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column-container {
|
||||
clear: both;
|
||||
position: relative;
|
||||
@@ -180,6 +213,10 @@
|
||||
float: right;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel .try-gutenberg-panel-column > * {
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.ie8 .welcome-panel .welcome-panel-column {
|
||||
min-width: 230px;
|
||||
}
|
||||
@@ -188,25 +225,41 @@
|
||||
width: 36%;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel .try-gutenberg-panel-column-container {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
-ms-grid-columns: 36% 32% 32%;
|
||||
grid-template-columns: 36% 32% 32%;
|
||||
margin-bottom: 13px;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel .try-gutenberg-panel-column:not(.try-gutenberg-panel-image-column) {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
-ms-grid-rows: auto 100px;
|
||||
grid-template-rows: auto 100px;
|
||||
}
|
||||
|
||||
.welcome-panel-column p.hide-if-no-customize {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.welcome-panel-column p {
|
||||
.welcome-panel-column p,
|
||||
.try-gutenberg-panel-column p {
|
||||
margin-top: 7px;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-widgets-menus {
|
||||
line-height: 1.14285714;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column ul {
|
||||
margin: 0.8em 0 1em 1em;
|
||||
margin: 0.8em 0 1em 1em;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column li {
|
||||
line-height: 1.14285714;
|
||||
line-height: 16px;
|
||||
list-style-type: none;
|
||||
padding: 0 0 8px;
|
||||
}
|
||||
@@ -220,7 +273,7 @@
|
||||
.welcome-panel .welcome-icon:before,
|
||||
#dashboard_right_now li a:before,
|
||||
#dashboard_right_now li span:before {
|
||||
color: #606a73;
|
||||
color: #82878c;
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: none;
|
||||
display: inline-block;
|
||||
@@ -245,11 +298,6 @@
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-setup-home:before {
|
||||
content: "\f102";
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-view-site:before {
|
||||
content: "\f115";
|
||||
top: -2px;
|
||||
@@ -260,16 +308,6 @@
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-widgets:before {
|
||||
content: "\f538";
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-menus:before {
|
||||
content: "\f163";
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-comments:before {
|
||||
content: "\f117";
|
||||
top: -1px;
|
||||
@@ -367,7 +405,7 @@
|
||||
.community-events-form label {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
line-height: 2.15384615;
|
||||
line-height: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
@@ -389,7 +427,7 @@
|
||||
#dashboard-widgets .community-events-cancel.button-link {
|
||||
vertical-align: top;
|
||||
/* Same properties as the submit button for cross-browsers alignment. */
|
||||
line-height: 2;
|
||||
line-height: 26px;
|
||||
height: 28px;
|
||||
text-decoration: underline;
|
||||
}
|
||||
@@ -404,7 +442,7 @@
|
||||
.community-events li {
|
||||
margin: 0;
|
||||
padding: 8px 12px;
|
||||
color: #32373c;
|
||||
color: #72777c;
|
||||
}
|
||||
.community-events li:first-child {
|
||||
border-top: 1px solid #eee;
|
||||
@@ -432,7 +470,7 @@
|
||||
}
|
||||
|
||||
.event-icon:before {
|
||||
color: #606a73;
|
||||
color: #82878C;
|
||||
font-size: 18px;
|
||||
}
|
||||
.event-meetup .event-icon:before {
|
||||
@@ -609,15 +647,23 @@ body #dashboard-widgets .postbox form .submit {
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .drafts {
|
||||
#dashboard_quick_press .drafts,
|
||||
#dashboard_quick_press .easy-blogging {
|
||||
padding: 10px 0 0;
|
||||
}
|
||||
|
||||
/* Dashboard Quick Draft - Form styling */
|
||||
|
||||
#dashboard_quick_press label {
|
||||
display: inline-block;
|
||||
margin-bottom: 4px;
|
||||
input#save-post {
|
||||
float: right;
|
||||
}
|
||||
|
||||
form.initial-form.quickpress-open label.prompt {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
form.initial-form.quickpress-open input#title {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#dashboard_quick_press input,
|
||||
@@ -626,6 +672,10 @@ body #dashboard-widgets .postbox form .submit {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#dashboard_quick_press textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
#dashboard-widgets .postbox form .submit {
|
||||
margin: -39px 0;
|
||||
float: left;
|
||||
@@ -635,11 +685,39 @@ body #dashboard-widgets .postbox form .submit {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
#title-wrap #title-prompt-text,
|
||||
.textarea-wrap #content-prompt-text {
|
||||
color: #72777c;
|
||||
}
|
||||
|
||||
#title-wrap #title-prompt-text {
|
||||
font-size: 1.1em;
|
||||
padding: 7px 8px;
|
||||
}
|
||||
|
||||
.input-text-wrap,
|
||||
.textarea-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.input-text-wrap .prompt,
|
||||
.textarea-wrap .prompt {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.textarea-wrap #content-prompt-text {
|
||||
font-size: 1.1em;
|
||||
padding: 7px 8px;
|
||||
}
|
||||
|
||||
.textarea-wrap textarea#content {
|
||||
margin: 0 0 8px;
|
||||
padding: 6px 7px;
|
||||
}
|
||||
|
||||
#quick-press textarea#content {
|
||||
min-height: 90px;
|
||||
max-height: 1300px;
|
||||
margin: 0 0 8px;
|
||||
padding: 6px 7px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
@@ -896,9 +974,8 @@ body #dashboard-widgets .postbox form .submit {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
#dashboard-widgets li a,
|
||||
#dashboard-widgets .button-link,
|
||||
.community-events-footer a {
|
||||
#dashboard-widgets a,
|
||||
#dashboard-widgets .button-link {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -948,7 +1025,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
}
|
||||
|
||||
#latest-comments #the-comment-list .comment-meta {
|
||||
line-height: 1.5;
|
||||
line-height: 1.5em;
|
||||
margin: 0;
|
||||
color: #666;
|
||||
}
|
||||
@@ -971,6 +1048,24 @@ body #dashboard-widgets .postbox form .submit {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* QuickDraft */
|
||||
|
||||
#title-wrap label,
|
||||
#description-wrap label {
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
#title-wrap #title {
|
||||
padding: 2px 6px;
|
||||
font-size: 1.3em;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#title-wrap #title-prompt-text {
|
||||
font-size: 1.1em;
|
||||
padding: 5px 8px;
|
||||
}
|
||||
|
||||
/* Feeds */
|
||||
.rss-widget ul {
|
||||
margin: 0;
|
||||
@@ -981,11 +1076,11 @@ body #dashboard-widgets .postbox form .submit {
|
||||
a.rsswidget {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
line-height: 1.4em;
|
||||
}
|
||||
|
||||
.rss-widget ul li {
|
||||
line-height: 1.5;
|
||||
line-height: 1.5em;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
@@ -1074,28 +1169,6 @@ a.rsswidget {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* PHP Nag */
|
||||
#dashboard_php_nag .dashicons-warning {
|
||||
color: #ffb900;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
#dashboard_php_nag.php-insecure .dashicons-warning {
|
||||
color: #df3232;
|
||||
}
|
||||
|
||||
#dashboard_php_nag p {
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
#dashboard_php_nag h3 {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#dashboard_php_nag .button .dashicons-external {
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
/* =Media Queries
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
@@ -1187,6 +1260,17 @@ a.rsswidget {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.try-gutenberg-panel .try-gutenberg-panel-column-container {
|
||||
-ms-grid-columns: 50% 50%;
|
||||
grid-template-columns: 50% 50%;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel .try-gutenberg-panel-image-column {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 870px) {
|
||||
.welcome-panel .welcome-panel-column,
|
||||
.welcome-panel .welcome-panel-column:first-child {
|
||||
@@ -1195,6 +1279,11 @@ a.rsswidget {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel .try-gutenberg-panel-column-container {
|
||||
-ms-grid-columns: 100%;
|
||||
grid-template-columns: 100%;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column li {
|
||||
display: inline-block;
|
||||
margin-left: 13px;
|
||||
@@ -1203,10 +1292,9 @@ a.rsswidget {
|
||||
.welcome-panel .welcome-panel-column ul {
|
||||
margin: 0.4em 0 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
#dashboard_recent_comments #the-comment-list .comment-item .avatar {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
@@ -1246,7 +1334,8 @@ a.rsswidget {
|
||||
/* Smartphone */
|
||||
@media screen and (max-width: 600px) {
|
||||
/* Keep the close icon from overlapping the Welcome text. */
|
||||
.welcome-panel .welcome-panel-close {
|
||||
.welcome-panel .welcome-panel-close,
|
||||
.try-gutenberg-panel .try-gutenberg-panel-close {
|
||||
overflow: hidden;
|
||||
text-indent: 40px;
|
||||
white-space: nowrap;
|
||||
@@ -1258,7 +1347,8 @@ a.rsswidget {
|
||||
}
|
||||
|
||||
/* Make the close icon larger for tappability. */
|
||||
.welcome-panel .welcome-panel-close:before {
|
||||
.welcome-panel .welcome-panel-close:before,
|
||||
.try-gutenberg-panel .try-gutenberg-panel-close:before {
|
||||
font-size: 20px;
|
||||
top: 5px;
|
||||
right: -35px;
|
||||
|
||||
2
wp-admin/css/dashboard-rtl.min.css
vendored
2
wp-admin/css/dashboard-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -98,19 +98,21 @@
|
||||
}
|
||||
|
||||
/* Welcome Panel */
|
||||
.welcome-panel {
|
||||
.welcome-panel,
|
||||
.try-gutenberg-panel {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
margin: 16px 0;
|
||||
padding: 23px 10px 0;
|
||||
border: 1px solid #ccd0d4;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
background: #fff;
|
||||
font-size: 13px;
|
||||
line-height: 1.7;
|
||||
line-height: 2.1em;
|
||||
}
|
||||
|
||||
.welcome-panel h2 {
|
||||
.welcome-panel h2,
|
||||
.try-gutenberg-panel h2 {
|
||||
margin: 0;
|
||||
font-size: 21px;
|
||||
font-weight: 400;
|
||||
@@ -122,25 +124,43 @@
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.welcome-panel li {
|
||||
.try-gutenberg-panel h3 {
|
||||
margin: 17px 0 0;
|
||||
font-size: 16px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.welcome-panel li,
|
||||
.try-gutenberg-panel li {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.welcome-panel p {
|
||||
.welcome-panel p,
|
||||
.try-gutenberg-panel p {
|
||||
color: #72777c;
|
||||
}
|
||||
|
||||
.welcome-panel li a {
|
||||
.welcome-panel a,
|
||||
.try-gutenberg-action a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.welcome-panel .about-description {
|
||||
.welcome-panel .about-description,
|
||||
.try-gutenberg-panel .about-description {
|
||||
font-size: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-close {
|
||||
.try-gutenberg-panel-content hr {
|
||||
margin: 20px -23px 0 -23px;
|
||||
border-top: 1px solid #f3f4f5;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-close,
|
||||
.try-gutenberg-panel .try-gutenberg-panel-close {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
padding: 10px 15px 10px 21px;
|
||||
@@ -149,7 +169,8 @@
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-close:before {
|
||||
.welcome-panel .welcome-panel-close:before,
|
||||
.try-gutenberg-panel .try-gutenberg-panel-close:before {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 0;
|
||||
@@ -164,11 +185,23 @@
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.welcome-panel-content {
|
||||
margin-left: 13px;
|
||||
.welcome-panel-content,
|
||||
.try-gutenberg-panel-content {
|
||||
margin: 0 13px;
|
||||
max-width: 1500px;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel img {
|
||||
margin-top: 23px;
|
||||
width: calc( 100% - 40px );
|
||||
border: 1px solid #f3f4f5;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel .install-now.updating-message:before,
|
||||
.try-gutenberg-panel .install-now.updated-message:before {
|
||||
margin-top: 11px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column-container {
|
||||
clear: both;
|
||||
position: relative;
|
||||
@@ -180,6 +213,10 @@
|
||||
float: left;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel .try-gutenberg-panel-column > * {
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
.ie8 .welcome-panel .welcome-panel-column {
|
||||
min-width: 230px;
|
||||
}
|
||||
@@ -188,25 +225,41 @@
|
||||
width: 36%;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel .try-gutenberg-panel-column-container {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
-ms-grid-columns: 36% 32% 32%;
|
||||
grid-template-columns: 36% 32% 32%;
|
||||
margin-bottom: 13px;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel .try-gutenberg-panel-column:not(.try-gutenberg-panel-image-column) {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
-ms-grid-rows: auto 100px;
|
||||
grid-template-rows: auto 100px;
|
||||
}
|
||||
|
||||
.welcome-panel-column p.hide-if-no-customize {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.welcome-panel-column p {
|
||||
.welcome-panel-column p,
|
||||
.try-gutenberg-panel-column p {
|
||||
margin-top: 7px;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-widgets-menus {
|
||||
line-height: 1.14285714;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column ul {
|
||||
margin: 0.8em 1em 1em 0;
|
||||
margin: 0.8em 1em 1em 0;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column li {
|
||||
line-height: 1.14285714;
|
||||
line-height: 16px;
|
||||
list-style-type: none;
|
||||
padding: 0 0 8px;
|
||||
}
|
||||
@@ -220,7 +273,7 @@
|
||||
.welcome-panel .welcome-icon:before,
|
||||
#dashboard_right_now li a:before,
|
||||
#dashboard_right_now li span:before {
|
||||
color: #606a73;
|
||||
color: #82878c;
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: none;
|
||||
display: inline-block;
|
||||
@@ -245,11 +298,6 @@
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-setup-home:before {
|
||||
content: "\f102";
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-view-site:before {
|
||||
content: "\f115";
|
||||
top: -2px;
|
||||
@@ -260,16 +308,6 @@
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-widgets:before {
|
||||
content: "\f538";
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-menus:before {
|
||||
content: "\f163";
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-comments:before {
|
||||
content: "\f117";
|
||||
top: -1px;
|
||||
@@ -367,7 +405,7 @@
|
||||
.community-events-form label {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
line-height: 2.15384615;
|
||||
line-height: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
@@ -389,7 +427,7 @@
|
||||
#dashboard-widgets .community-events-cancel.button-link {
|
||||
vertical-align: top;
|
||||
/* Same properties as the submit button for cross-browsers alignment. */
|
||||
line-height: 2;
|
||||
line-height: 26px;
|
||||
height: 28px;
|
||||
text-decoration: underline;
|
||||
}
|
||||
@@ -404,7 +442,7 @@
|
||||
.community-events li {
|
||||
margin: 0;
|
||||
padding: 8px 12px;
|
||||
color: #32373c;
|
||||
color: #72777c;
|
||||
}
|
||||
.community-events li:first-child {
|
||||
border-top: 1px solid #eee;
|
||||
@@ -432,7 +470,7 @@
|
||||
}
|
||||
|
||||
.event-icon:before {
|
||||
color: #606a73;
|
||||
color: #82878C;
|
||||
font-size: 18px;
|
||||
}
|
||||
.event-meetup .event-icon:before {
|
||||
@@ -609,15 +647,23 @@ body #dashboard-widgets .postbox form .submit {
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .drafts {
|
||||
#dashboard_quick_press .drafts,
|
||||
#dashboard_quick_press .easy-blogging {
|
||||
padding: 10px 0 0;
|
||||
}
|
||||
|
||||
/* Dashboard Quick Draft - Form styling */
|
||||
|
||||
#dashboard_quick_press label {
|
||||
display: inline-block;
|
||||
margin-bottom: 4px;
|
||||
input#save-post {
|
||||
float: left;
|
||||
}
|
||||
|
||||
form.initial-form.quickpress-open label.prompt {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
form.initial-form.quickpress-open input#title {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#dashboard_quick_press input,
|
||||
@@ -626,6 +672,10 @@ body #dashboard-widgets .postbox form .submit {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#dashboard_quick_press textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
#dashboard-widgets .postbox form .submit {
|
||||
margin: -39px 0;
|
||||
float: right;
|
||||
@@ -635,11 +685,39 @@ body #dashboard-widgets .postbox form .submit {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
#title-wrap #title-prompt-text,
|
||||
.textarea-wrap #content-prompt-text {
|
||||
color: #72777c;
|
||||
}
|
||||
|
||||
#title-wrap #title-prompt-text {
|
||||
font-size: 1.1em;
|
||||
padding: 7px 8px;
|
||||
}
|
||||
|
||||
.input-text-wrap,
|
||||
.textarea-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.input-text-wrap .prompt,
|
||||
.textarea-wrap .prompt {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.textarea-wrap #content-prompt-text {
|
||||
font-size: 1.1em;
|
||||
padding: 7px 8px;
|
||||
}
|
||||
|
||||
.textarea-wrap textarea#content {
|
||||
margin: 0 0 8px;
|
||||
padding: 6px 7px;
|
||||
}
|
||||
|
||||
#quick-press textarea#content {
|
||||
min-height: 90px;
|
||||
max-height: 1300px;
|
||||
margin: 0 0 8px;
|
||||
padding: 6px 7px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
@@ -896,9 +974,8 @@ body #dashboard-widgets .postbox form .submit {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
#dashboard-widgets li a,
|
||||
#dashboard-widgets .button-link,
|
||||
.community-events-footer a {
|
||||
#dashboard-widgets a,
|
||||
#dashboard-widgets .button-link {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -948,7 +1025,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
}
|
||||
|
||||
#latest-comments #the-comment-list .comment-meta {
|
||||
line-height: 1.5;
|
||||
line-height: 1.5em;
|
||||
margin: 0;
|
||||
color: #666;
|
||||
}
|
||||
@@ -971,6 +1048,24 @@ body #dashboard-widgets .postbox form .submit {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* QuickDraft */
|
||||
|
||||
#title-wrap label,
|
||||
#description-wrap label {
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
#title-wrap #title {
|
||||
padding: 2px 6px;
|
||||
font-size: 1.3em;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#title-wrap #title-prompt-text {
|
||||
font-size: 1.1em;
|
||||
padding: 5px 8px;
|
||||
}
|
||||
|
||||
/* Feeds */
|
||||
.rss-widget ul {
|
||||
margin: 0;
|
||||
@@ -981,11 +1076,11 @@ body #dashboard-widgets .postbox form .submit {
|
||||
a.rsswidget {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
line-height: 1.4em;
|
||||
}
|
||||
|
||||
.rss-widget ul li {
|
||||
line-height: 1.5;
|
||||
line-height: 1.5em;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
@@ -1074,28 +1169,6 @@ a.rsswidget {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* PHP Nag */
|
||||
#dashboard_php_nag .dashicons-warning {
|
||||
color: #ffb900;
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
#dashboard_php_nag.php-insecure .dashicons-warning {
|
||||
color: #df3232;
|
||||
}
|
||||
|
||||
#dashboard_php_nag p {
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
#dashboard_php_nag h3 {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#dashboard_php_nag .button .dashicons-external {
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
/* =Media Queries
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
@@ -1187,6 +1260,17 @@ a.rsswidget {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.try-gutenberg-panel .try-gutenberg-panel-column-container {
|
||||
-ms-grid-columns: 50% 50%;
|
||||
grid-template-columns: 50% 50%;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel .try-gutenberg-panel-image-column {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 870px) {
|
||||
.welcome-panel .welcome-panel-column,
|
||||
.welcome-panel .welcome-panel-column:first-child {
|
||||
@@ -1195,6 +1279,11 @@ a.rsswidget {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.try-gutenberg-panel .try-gutenberg-panel-column-container {
|
||||
-ms-grid-columns: 100%;
|
||||
grid-template-columns: 100%;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column li {
|
||||
display: inline-block;
|
||||
margin-right: 13px;
|
||||
@@ -1203,10 +1292,9 @@ a.rsswidget {
|
||||
.welcome-panel .welcome-panel-column ul {
|
||||
margin: 0.4em 0 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
#dashboard_recent_comments #the-comment-list .comment-item .avatar {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
@@ -1246,7 +1334,8 @@ a.rsswidget {
|
||||
/* Smartphone */
|
||||
@media screen and (max-width: 600px) {
|
||||
/* Keep the close icon from overlapping the Welcome text. */
|
||||
.welcome-panel .welcome-panel-close {
|
||||
.welcome-panel .welcome-panel-close,
|
||||
.try-gutenberg-panel .try-gutenberg-panel-close {
|
||||
overflow: hidden;
|
||||
text-indent: 40px;
|
||||
white-space: nowrap;
|
||||
@@ -1258,7 +1347,8 @@ a.rsswidget {
|
||||
}
|
||||
|
||||
/* Make the close icon larger for tappability. */
|
||||
.welcome-panel .welcome-panel-close:before {
|
||||
.welcome-panel .welcome-panel-close:before,
|
||||
.try-gutenberg-panel .try-gutenberg-panel-close:before {
|
||||
font-size: 20px;
|
||||
top: 5px;
|
||||
left: -35px;
|
||||
|
||||
2
wp-admin/css/dashboard.min.css
vendored
2
wp-admin/css/dashboard.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -206,22 +206,6 @@ span.required {
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
#media-upload .tablenav-pages a,
|
||||
#media-upload .tablenav-pages .current {
|
||||
display: inline-block;
|
||||
padding: 4px 5px 6px;
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#media-upload .tablenav-pages a {
|
||||
min-width: 17px;
|
||||
border: 1px solid #ccc;
|
||||
background: #f7f7f7;
|
||||
}
|
||||
|
||||
#filter .tablenav select {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
@@ -294,11 +278,11 @@ span.required {
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
h3.media-title {
|
||||
h3.media-title {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
|
||||
h4.media-sub-title {
|
||||
h4.media-sub-title {
|
||||
border-bottom: 1px solid #ddd;
|
||||
font-size: 1.3em;
|
||||
margin: 12px;
|
||||
|
||||
2
wp-admin/css/deprecated-media-rtl.min.css
vendored
2
wp-admin/css/deprecated-media-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -206,22 +206,6 @@ span.required {
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
#media-upload .tablenav-pages a,
|
||||
#media-upload .tablenav-pages .current {
|
||||
display: inline-block;
|
||||
padding: 4px 5px 6px;
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#media-upload .tablenav-pages a {
|
||||
min-width: 17px;
|
||||
border: 1px solid #ccc;
|
||||
background: #f7f7f7;
|
||||
}
|
||||
|
||||
#filter .tablenav select {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
@@ -294,11 +278,11 @@ span.required {
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
h3.media-title {
|
||||
h3.media-title {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
|
||||
h4.media-sub-title {
|
||||
h4.media-sub-title {
|
||||
border-bottom: 1px solid #ddd;
|
||||
font-size: 1.3em;
|
||||
margin: 12px;
|
||||
|
||||
2
wp-admin/css/deprecated-media.min.css
vendored
2
wp-admin/css/deprecated-media.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -71,8 +71,7 @@
|
||||
color: #72777c;
|
||||
position: absolute;
|
||||
font-size: 1.7em;
|
||||
padding: 10px;
|
||||
pointer-events: none;
|
||||
padding: 11px 10px;
|
||||
}
|
||||
|
||||
input#link_description,
|
||||
@@ -90,8 +89,8 @@ input#link_url {
|
||||
|
||||
#edit-slug-box,
|
||||
#comment-link-box {
|
||||
line-height: 1.84615384;
|
||||
min-height: 25px;
|
||||
line-height: 24px;
|
||||
min-height: 25px; /* Yes, line-height + 1 */
|
||||
margin-top: 5px;
|
||||
padding: 0 10px;
|
||||
color: #666;
|
||||
@@ -154,8 +153,8 @@ body.post-new-php .submitbox .submitdelete {
|
||||
.postbox {
|
||||
position: relative;
|
||||
min-width: 255px;
|
||||
border: 1px solid #ccd0d4;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
@@ -168,7 +167,7 @@ body.post-new-php .submitbox .submitdelete {
|
||||
border: 0 none;
|
||||
float: left;
|
||||
padding: 0 12px;
|
||||
margin: 0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
.category-add input[type="text"],
|
||||
@@ -187,7 +186,7 @@ ul.category-tabs li,
|
||||
#side-sortables .add-menu-item-tabs li,
|
||||
.wp-tab-bar li {
|
||||
display: inline;
|
||||
line-height: 1.35;
|
||||
line-height: 1.35em;
|
||||
}
|
||||
|
||||
.no-js .category-tabs li.hide-if-no-js {
|
||||
@@ -215,7 +214,7 @@ ul.category-tabs li,
|
||||
|
||||
/* Back-compat for pre-4.4 */
|
||||
#category-adder h4 {
|
||||
margin: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.taxonomy-add-new {
|
||||
@@ -310,10 +309,10 @@ form#tags-filter {
|
||||
#post-status-info {
|
||||
width: 100%;
|
||||
border-spacing: 0;
|
||||
border: 1px solid #ccd0d4;
|
||||
border: 1px solid #e5e5e5;
|
||||
border-top: none;
|
||||
background-color: #f7f7f7;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
@@ -361,7 +360,7 @@ form#tags-filter {
|
||||
|
||||
.wp-editor-expand #wp-content-editor-tools {
|
||||
z-index: 1000;
|
||||
border-bottom: 1px solid #ccd0d4;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
.wp-editor-expand #wp-content-editor-container {
|
||||
@@ -378,7 +377,7 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
.wp-editor-expand #post-status-info {
|
||||
border-top: 1px solid #ccd0d4;
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
.wp-editor-expand div.mce-toolbar-grp {
|
||||
@@ -419,15 +418,16 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
#timestampdiv select {
|
||||
height: 21px;
|
||||
line-height: 14px;
|
||||
padding: 0;
|
||||
vertical-align: top;
|
||||
font-size: 12px;
|
||||
line-height: 1.5; /* 18px */
|
||||
}
|
||||
|
||||
#aa, #jj, #hh, #mn {
|
||||
padding: 6px 1px;
|
||||
padding: 1px;
|
||||
font-size: 12px;
|
||||
line-height: 1.16666666; /* 14px */
|
||||
}
|
||||
|
||||
#jj, #hh, #mn {
|
||||
@@ -447,7 +447,8 @@ form#tags-filter {
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before {
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: #82878c;
|
||||
}
|
||||
|
||||
@@ -485,7 +486,7 @@ form#tags-filter {
|
||||
|
||||
#timestampdiv {
|
||||
padding-top: 5px;
|
||||
line-height: 1.76923076;
|
||||
line-height: 23px;
|
||||
}
|
||||
|
||||
#timestampdiv p {
|
||||
@@ -493,7 +494,8 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
#timestampdiv input {
|
||||
text-align: center;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.notification-dialog {
|
||||
@@ -504,7 +506,7 @@ form#tags-filter {
|
||||
width: 450px;
|
||||
margin-right: -225px;
|
||||
background: #fff;
|
||||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
||||
line-height: 1.5;
|
||||
z-index: 1000005;
|
||||
overflow-y: auto;
|
||||
@@ -577,7 +579,7 @@ form#tags-filter {
|
||||
float: right;
|
||||
margin-left: 25px;
|
||||
font-size: 13px;
|
||||
line-height: 1.8;
|
||||
line-height: 1.8em;
|
||||
cursor: default;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
@@ -605,18 +607,10 @@ form#tags-filter {
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox h2 {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
#poststuff .inside {
|
||||
margin: 6px 0 0 0;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox .inside {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#poststuff .inside #parent_id,
|
||||
#poststuff .inside #page_template {
|
||||
max-width: 100%;
|
||||
@@ -637,7 +631,7 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
#post-visibility-select {
|
||||
line-height: 1.5;
|
||||
line-height: 1.5em;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
@@ -649,13 +643,7 @@ form#tags-filter {
|
||||
|
||||
#post-body-content,
|
||||
.edit-form-section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.wp_attachment_details .attachment-content-description {
|
||||
margin-top: 0.5385em;
|
||||
display: inline-block;
|
||||
min-height: 1.6923em;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Suggested text for privacy policy */
|
||||
@@ -710,7 +698,7 @@ form#tags-filter {
|
||||
|
||||
.privacy-text-actions {
|
||||
height: 32px;
|
||||
line-height: 2.46153846;
|
||||
line-height: 32px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
@@ -866,29 +854,42 @@ form#tags-filter {
|
||||
11.4 - Post formats
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.post-format-icon::before {
|
||||
.post-state-format {
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
margin-left: 5px;
|
||||
margin-top: -4px;
|
||||
margin-left: 7px;
|
||||
color: #ddd;
|
||||
font: normal 20px/1 dashicons;
|
||||
}
|
||||
|
||||
.post-state-format:before {
|
||||
display: block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
font: normal 20px/1 dashicons !important;
|
||||
speak: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.post-state-format:before,
|
||||
.post-format-icon:before {
|
||||
color: #ddd;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
a.post-state-format:hover:before,
|
||||
a.post-format-icon:hover:before {
|
||||
color: #00a0d2;
|
||||
}
|
||||
|
||||
#post-formats-select {
|
||||
line-height: 2;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
#post-formats-select .post-format-icon::before {
|
||||
#post-formats-select .post-format-icon:before {
|
||||
top: 5px;
|
||||
}
|
||||
|
||||
@@ -897,47 +898,77 @@ input.post-format {
|
||||
}
|
||||
|
||||
label.post-format-icon {
|
||||
margin-right: 0;
|
||||
padding: 2px 0;
|
||||
margin-right: 0px;
|
||||
padding: 2px 0px 2px 0;
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-standard::before {
|
||||
.post-format-icon:before {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-left: 7px;
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.post-state-format.post-format-standard:before,
|
||||
.post-format-icon.post-format-standard:before,
|
||||
a.post-state-format.format-standard:before {
|
||||
content: "\f109";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-image::before {
|
||||
.post-state-format.post-format-image:before,
|
||||
.post-format-icon.post-format-image:before,
|
||||
a.post-state-format.format-image:before {
|
||||
content: "\f128";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-gallery::before {
|
||||
.post-state-format.post-format-gallery:before,
|
||||
.post-format-icon.post-format-gallery:before,
|
||||
a.post-state-format.format-gallery:before {
|
||||
content: "\f161";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-audio::before {
|
||||
.post-state-format.post-format-audio:before,
|
||||
.post-format-icon.post-format-audio:before,
|
||||
a.post-state-format.format-audio:before {
|
||||
content: "\f127";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-video::before {
|
||||
.post-state-format.post-format-video:before,
|
||||
.post-format-icon.post-format-video:before,
|
||||
a.post-state-format.format-video:before {
|
||||
content: "\f126";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-chat::before {
|
||||
.post-state-format.post-format-chat:before,
|
||||
.post-format-icon.post-format-chat:before,
|
||||
a.post-state-format.format-chat:before {
|
||||
content: "\f125";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-status::before {
|
||||
.post-state-format.post-format-status:before,
|
||||
.post-format-icon.post-format-status:before,
|
||||
a.post-state-format.format-status:before {
|
||||
content: "\f130";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-aside::before {
|
||||
.post-state-format.post-format-aside:before,
|
||||
.post-format-icon.post-format-aside:before,
|
||||
a.post-state-format.format-aside:before {
|
||||
content: "\f123";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-quote::before {
|
||||
.post-state-format.post-format-quote:before,
|
||||
.post-format-icon.post-format-quote:before,
|
||||
a.post-state-format.format-quote:before {
|
||||
content: "\f122";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-link::before {
|
||||
.post-state-format.post-format-link:before,
|
||||
.post-format-icon.post-format-link:before,
|
||||
a.post-state-format.format-link:before {
|
||||
content: "\f103";
|
||||
}
|
||||
|
||||
@@ -972,11 +1003,11 @@ label.post-format-icon {
|
||||
}
|
||||
|
||||
div.tabs-panel-active {
|
||||
display: block;
|
||||
display:block;
|
||||
}
|
||||
|
||||
div.tabs-panel-inactive {
|
||||
display: none;
|
||||
display:none;
|
||||
}
|
||||
|
||||
#front-page-warning,
|
||||
@@ -993,7 +1024,7 @@ ul.export-filters,
|
||||
ul.categorychecklist li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 1.69230769;
|
||||
line-height: 22px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
@@ -1023,11 +1054,6 @@ ul.categorychecklist li {
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
.form-field select,
|
||||
.form-field p {
|
||||
max-width: 95%;
|
||||
}
|
||||
|
||||
p.description,
|
||||
.form-wrap p {
|
||||
margin: 2px 0 5px;
|
||||
@@ -1042,15 +1068,15 @@ span.description,
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
p.description code {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.form-wrap .form-field {
|
||||
margin: 1em 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.form-wrap .form-field #parent {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.col-wrap h2 {
|
||||
margin: 12px 0;
|
||||
font-size: 1.1em;
|
||||
@@ -1068,12 +1094,8 @@ p.description code {
|
||||
13.0 - Tags
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#poststuff .tagsdiv .ajaxtag {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#poststuff .tagsdiv .howto {
|
||||
margin: 1em 0 6px 0;
|
||||
margin: 0 0 6px 0;
|
||||
}
|
||||
|
||||
.ajaxtag .newtag {
|
||||
@@ -1117,14 +1139,6 @@ p.popular-tags a {
|
||||
margin: 2px 0 12px;
|
||||
}
|
||||
|
||||
#poststuff .inside .the-tagcloud {
|
||||
margin: 5px 0 10px;
|
||||
padding: 8px;
|
||||
border: 1px solid #ddd;
|
||||
line-height: 1.2;
|
||||
word-spacing: 3px;
|
||||
}
|
||||
|
||||
.the-tagcloud ul {
|
||||
margin: 0;
|
||||
}
|
||||
@@ -1167,17 +1181,15 @@ p.popular-tags a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#addtag .spinner {
|
||||
float: none;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#edittag {
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.edit-tag-actions {
|
||||
margin-top: 20px;
|
||||
overflow: hidden;
|
||||
padding: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/* Comments */
|
||||
@@ -1197,7 +1209,7 @@ p.popular-tags a {
|
||||
}
|
||||
|
||||
.comment-ays .comment-content a[href]:after {
|
||||
content: "(" attr( href ) ")";
|
||||
content: '(' attr( href ) ')';
|
||||
display: inline-block;
|
||||
padding: 0 4px;
|
||||
color: #72777C;
|
||||
@@ -1210,7 +1222,7 @@ p.popular-tags a {
|
||||
}
|
||||
|
||||
.comment-ays .comment-content p.edit-comment a[href]:after {
|
||||
content: "";
|
||||
content: '';
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@@ -1221,7 +1233,7 @@ p.popular-tags a {
|
||||
.trash-undo-inside,
|
||||
.spam-undo-inside {
|
||||
margin: 1px 0 1px 8px;
|
||||
line-height: 1.23076923;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.spam-undo-inside .avatar,
|
||||
@@ -1234,15 +1246,6 @@ p.popular-tags a {
|
||||
|
||||
.stuffbox .editcomment {
|
||||
clear: none;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#namediv.stuffbox .editcomment input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#namediv.stuffbox .editcomment.form-table td {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#comment-status-radio p {
|
||||
@@ -1294,10 +1297,12 @@ table.links-table {
|
||||
/* DFW 2
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
#wp-content-wrap .mce-wp-dfw,
|
||||
#qt_content_dfw {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.wp-editor-expand #wp-content-wrap .mce-wp-dfw,
|
||||
.wp-editor-expand #qt_content_dfw {
|
||||
display: inline-block;
|
||||
}
|
||||
@@ -1347,20 +1352,26 @@ table.links-table {
|
||||
.focus-on #adminmenuback,
|
||||
.focus-on #adminmenuwrap {
|
||||
transition-duration: 0.6s;
|
||||
transition-property: -webkit-transform;
|
||||
transition-property: transform;
|
||||
transition-property: transform, -webkit-transform;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
.focus-on #adminmenuback,
|
||||
.focus-on #adminmenuwrap {
|
||||
-webkit-transform: translateX( 100% );
|
||||
transform: translateX( 100% );
|
||||
}
|
||||
|
||||
.focus-off #adminmenuback,
|
||||
.focus-off #adminmenuwrap {
|
||||
-webkit-transform: translateX( 0 );
|
||||
transform: translateX( 0 );
|
||||
transition-duration: 0.2s;
|
||||
transition-property: -webkit-transform;
|
||||
transition-property: transform;
|
||||
transition-property: transform, -webkit-transform;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
@@ -1421,7 +1432,7 @@ table.links-table {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
.wp-core-ui .edit-tag-actions .button-primary {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@@ -1434,20 +1445,12 @@ table.links-table {
|
||||
padding: 10px 10px;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox .inside {
|
||||
padding: 0 0 4px 2px;
|
||||
}
|
||||
|
||||
#poststuff h3.hndle, /* Back-compat for pre-4.4 */
|
||||
#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
|
||||
#poststuff h2 {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
#namediv.stuffbox .editcomment.form-table td {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.post-format-options {
|
||||
padding-left: 0;
|
||||
}
|
||||
@@ -1591,7 +1594,7 @@ table.links-table {
|
||||
|
||||
button.wp-switch-editor {
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
line-height: 1em;
|
||||
margin: 7px 7px 0 0;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
@@ -1627,7 +1630,7 @@ table.links-table {
|
||||
|
||||
#delete-action,
|
||||
#publishing-action {
|
||||
line-height: 3.61538461;
|
||||
line-height: 47px;
|
||||
}
|
||||
|
||||
#publishing-action .spinner {
|
||||
@@ -1654,11 +1657,11 @@ table.links-table {
|
||||
.links-table td {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
|
||||
.privacy-text-box {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
|
||||
.privacy-text-box-toc {
|
||||
float: none;
|
||||
width: auto;
|
||||
|
||||
2
wp-admin/css/edit-rtl.min.css
vendored
2
wp-admin/css/edit-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -71,8 +71,7 @@
|
||||
color: #72777c;
|
||||
position: absolute;
|
||||
font-size: 1.7em;
|
||||
padding: 10px;
|
||||
pointer-events: none;
|
||||
padding: 11px 10px;
|
||||
}
|
||||
|
||||
input#link_description,
|
||||
@@ -90,8 +89,8 @@ input#link_url {
|
||||
|
||||
#edit-slug-box,
|
||||
#comment-link-box {
|
||||
line-height: 1.84615384;
|
||||
min-height: 25px;
|
||||
line-height: 24px;
|
||||
min-height: 25px; /* Yes, line-height + 1 */
|
||||
margin-top: 5px;
|
||||
padding: 0 10px;
|
||||
color: #666;
|
||||
@@ -154,8 +153,8 @@ body.post-new-php .submitbox .submitdelete {
|
||||
.postbox {
|
||||
position: relative;
|
||||
min-width: 255px;
|
||||
border: 1px solid #ccd0d4;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
@@ -168,7 +167,7 @@ body.post-new-php .submitbox .submitdelete {
|
||||
border: 0 none;
|
||||
float: right;
|
||||
padding: 0 12px;
|
||||
margin: 0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
.category-add input[type="text"],
|
||||
@@ -187,7 +186,7 @@ ul.category-tabs li,
|
||||
#side-sortables .add-menu-item-tabs li,
|
||||
.wp-tab-bar li {
|
||||
display: inline;
|
||||
line-height: 1.35;
|
||||
line-height: 1.35em;
|
||||
}
|
||||
|
||||
.no-js .category-tabs li.hide-if-no-js {
|
||||
@@ -215,7 +214,7 @@ ul.category-tabs li,
|
||||
|
||||
/* Back-compat for pre-4.4 */
|
||||
#category-adder h4 {
|
||||
margin: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.taxonomy-add-new {
|
||||
@@ -310,10 +309,10 @@ form#tags-filter {
|
||||
#post-status-info {
|
||||
width: 100%;
|
||||
border-spacing: 0;
|
||||
border: 1px solid #ccd0d4;
|
||||
border: 1px solid #e5e5e5;
|
||||
border-top: none;
|
||||
background-color: #f7f7f7;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
@@ -361,7 +360,7 @@ form#tags-filter {
|
||||
|
||||
.wp-editor-expand #wp-content-editor-tools {
|
||||
z-index: 1000;
|
||||
border-bottom: 1px solid #ccd0d4;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
.wp-editor-expand #wp-content-editor-container {
|
||||
@@ -378,7 +377,7 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
.wp-editor-expand #post-status-info {
|
||||
border-top: 1px solid #ccd0d4;
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
.wp-editor-expand div.mce-toolbar-grp {
|
||||
@@ -419,15 +418,16 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
#timestampdiv select {
|
||||
height: 21px;
|
||||
line-height: 14px;
|
||||
padding: 0;
|
||||
vertical-align: top;
|
||||
font-size: 12px;
|
||||
line-height: 1.5; /* 18px */
|
||||
}
|
||||
|
||||
#aa, #jj, #hh, #mn {
|
||||
padding: 6px 1px;
|
||||
padding: 1px;
|
||||
font-size: 12px;
|
||||
line-height: 1.16666666; /* 14px */
|
||||
}
|
||||
|
||||
#jj, #hh, #mn {
|
||||
@@ -447,7 +447,8 @@ form#tags-filter {
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before {
|
||||
#post-body .misc-pub-revisions:before,
|
||||
span.wp-media-buttons-icon:before {
|
||||
color: #82878c;
|
||||
}
|
||||
|
||||
@@ -485,7 +486,7 @@ form#tags-filter {
|
||||
|
||||
#timestampdiv {
|
||||
padding-top: 5px;
|
||||
line-height: 1.76923076;
|
||||
line-height: 23px;
|
||||
}
|
||||
|
||||
#timestampdiv p {
|
||||
@@ -493,7 +494,8 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
#timestampdiv input {
|
||||
text-align: center;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.notification-dialog {
|
||||
@@ -504,7 +506,7 @@ form#tags-filter {
|
||||
width: 450px;
|
||||
margin-left: -225px;
|
||||
background: #fff;
|
||||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
||||
line-height: 1.5;
|
||||
z-index: 1000005;
|
||||
overflow-y: auto;
|
||||
@@ -577,7 +579,7 @@ form#tags-filter {
|
||||
float: left;
|
||||
margin-right: 25px;
|
||||
font-size: 13px;
|
||||
line-height: 1.8;
|
||||
line-height: 1.8em;
|
||||
cursor: default;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
@@ -605,18 +607,10 @@ form#tags-filter {
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox h2 {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
#poststuff .inside {
|
||||
margin: 6px 0 0 0;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox .inside {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#poststuff .inside #parent_id,
|
||||
#poststuff .inside #page_template {
|
||||
max-width: 100%;
|
||||
@@ -637,7 +631,7 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
#post-visibility-select {
|
||||
line-height: 1.5;
|
||||
line-height: 1.5em;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
@@ -649,13 +643,7 @@ form#tags-filter {
|
||||
|
||||
#post-body-content,
|
||||
.edit-form-section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.wp_attachment_details .attachment-content-description {
|
||||
margin-top: 0.5385em;
|
||||
display: inline-block;
|
||||
min-height: 1.6923em;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Suggested text for privacy policy */
|
||||
@@ -710,7 +698,7 @@ form#tags-filter {
|
||||
|
||||
.privacy-text-actions {
|
||||
height: 32px;
|
||||
line-height: 2.46153846;
|
||||
line-height: 32px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
@@ -866,29 +854,42 @@ form#tags-filter {
|
||||
11.4 - Post formats
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.post-format-icon::before {
|
||||
.post-state-format {
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
margin-right: 5px;
|
||||
margin-top: -4px;
|
||||
margin-right: 7px;
|
||||
color: #ddd;
|
||||
font: normal 20px/1 dashicons;
|
||||
}
|
||||
|
||||
.post-state-format:before {
|
||||
display: block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
font: normal 20px/1 dashicons !important;
|
||||
speak: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.post-state-format:before,
|
||||
.post-format-icon:before {
|
||||
color: #ddd;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
a.post-state-format:hover:before,
|
||||
a.post-format-icon:hover:before {
|
||||
color: #00a0d2;
|
||||
}
|
||||
|
||||
#post-formats-select {
|
||||
line-height: 2;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
#post-formats-select .post-format-icon::before {
|
||||
#post-formats-select .post-format-icon:before {
|
||||
top: 5px;
|
||||
}
|
||||
|
||||
@@ -897,47 +898,77 @@ input.post-format {
|
||||
}
|
||||
|
||||
label.post-format-icon {
|
||||
margin-left: 0;
|
||||
padding: 2px 0;
|
||||
margin-left: 0px;
|
||||
padding: 2px 0 2px 0px;
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-standard::before {
|
||||
.post-format-icon:before {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-right: 7px;
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.post-state-format.post-format-standard:before,
|
||||
.post-format-icon.post-format-standard:before,
|
||||
a.post-state-format.format-standard:before {
|
||||
content: "\f109";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-image::before {
|
||||
.post-state-format.post-format-image:before,
|
||||
.post-format-icon.post-format-image:before,
|
||||
a.post-state-format.format-image:before {
|
||||
content: "\f128";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-gallery::before {
|
||||
.post-state-format.post-format-gallery:before,
|
||||
.post-format-icon.post-format-gallery:before,
|
||||
a.post-state-format.format-gallery:before {
|
||||
content: "\f161";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-audio::before {
|
||||
.post-state-format.post-format-audio:before,
|
||||
.post-format-icon.post-format-audio:before,
|
||||
a.post-state-format.format-audio:before {
|
||||
content: "\f127";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-video::before {
|
||||
.post-state-format.post-format-video:before,
|
||||
.post-format-icon.post-format-video:before,
|
||||
a.post-state-format.format-video:before {
|
||||
content: "\f126";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-chat::before {
|
||||
.post-state-format.post-format-chat:before,
|
||||
.post-format-icon.post-format-chat:before,
|
||||
a.post-state-format.format-chat:before {
|
||||
content: "\f125";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-status::before {
|
||||
.post-state-format.post-format-status:before,
|
||||
.post-format-icon.post-format-status:before,
|
||||
a.post-state-format.format-status:before {
|
||||
content: "\f130";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-aside::before {
|
||||
.post-state-format.post-format-aside:before,
|
||||
.post-format-icon.post-format-aside:before,
|
||||
a.post-state-format.format-aside:before {
|
||||
content: "\f123";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-quote::before {
|
||||
.post-state-format.post-format-quote:before,
|
||||
.post-format-icon.post-format-quote:before,
|
||||
a.post-state-format.format-quote:before {
|
||||
content: "\f122";
|
||||
}
|
||||
|
||||
.post-format-icon.post-format-link::before {
|
||||
.post-state-format.post-format-link:before,
|
||||
.post-format-icon.post-format-link:before,
|
||||
a.post-state-format.format-link:before {
|
||||
content: "\f103";
|
||||
}
|
||||
|
||||
@@ -972,11 +1003,11 @@ label.post-format-icon {
|
||||
}
|
||||
|
||||
div.tabs-panel-active {
|
||||
display: block;
|
||||
display:block;
|
||||
}
|
||||
|
||||
div.tabs-panel-inactive {
|
||||
display: none;
|
||||
display:none;
|
||||
}
|
||||
|
||||
#front-page-warning,
|
||||
@@ -993,7 +1024,7 @@ ul.export-filters,
|
||||
ul.categorychecklist li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 1.69230769;
|
||||
line-height: 22px;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
@@ -1023,11 +1054,6 @@ ul.categorychecklist li {
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
.form-field select,
|
||||
.form-field p {
|
||||
max-width: 95%;
|
||||
}
|
||||
|
||||
p.description,
|
||||
.form-wrap p {
|
||||
margin: 2px 0 5px;
|
||||
@@ -1042,15 +1068,15 @@ span.description,
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
p.description code {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.form-wrap .form-field {
|
||||
margin: 1em 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.form-wrap .form-field #parent {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.col-wrap h2 {
|
||||
margin: 12px 0;
|
||||
font-size: 1.1em;
|
||||
@@ -1068,12 +1094,8 @@ p.description code {
|
||||
13.0 - Tags
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#poststuff .tagsdiv .ajaxtag {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#poststuff .tagsdiv .howto {
|
||||
margin: 1em 0 6px 0;
|
||||
margin: 0 0 6px 0;
|
||||
}
|
||||
|
||||
.ajaxtag .newtag {
|
||||
@@ -1117,14 +1139,6 @@ p.popular-tags a {
|
||||
margin: 2px 0 12px;
|
||||
}
|
||||
|
||||
#poststuff .inside .the-tagcloud {
|
||||
margin: 5px 0 10px;
|
||||
padding: 8px;
|
||||
border: 1px solid #ddd;
|
||||
line-height: 1.2;
|
||||
word-spacing: 3px;
|
||||
}
|
||||
|
||||
.the-tagcloud ul {
|
||||
margin: 0;
|
||||
}
|
||||
@@ -1167,17 +1181,15 @@ p.popular-tags a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#addtag .spinner {
|
||||
float: none;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#edittag {
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.edit-tag-actions {
|
||||
margin-top: 20px;
|
||||
overflow: hidden;
|
||||
padding: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
/* Comments */
|
||||
@@ -1197,7 +1209,7 @@ p.popular-tags a {
|
||||
}
|
||||
|
||||
.comment-ays .comment-content a[href]:after {
|
||||
content: "(" attr( href ) ")";
|
||||
content: '(' attr( href ) ')';
|
||||
display: inline-block;
|
||||
padding: 0 4px;
|
||||
color: #72777C;
|
||||
@@ -1210,7 +1222,7 @@ p.popular-tags a {
|
||||
}
|
||||
|
||||
.comment-ays .comment-content p.edit-comment a[href]:after {
|
||||
content: "";
|
||||
content: '';
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@@ -1221,7 +1233,7 @@ p.popular-tags a {
|
||||
.trash-undo-inside,
|
||||
.spam-undo-inside {
|
||||
margin: 1px 8px 1px 0;
|
||||
line-height: 1.23076923;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.spam-undo-inside .avatar,
|
||||
@@ -1234,15 +1246,6 @@ p.popular-tags a {
|
||||
|
||||
.stuffbox .editcomment {
|
||||
clear: none;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#namediv.stuffbox .editcomment input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#namediv.stuffbox .editcomment.form-table td {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#comment-status-radio p {
|
||||
@@ -1294,10 +1297,12 @@ table.links-table {
|
||||
/* DFW 2
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
#wp-content-wrap .mce-wp-dfw,
|
||||
#qt_content_dfw {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.wp-editor-expand #wp-content-wrap .mce-wp-dfw,
|
||||
.wp-editor-expand #qt_content_dfw {
|
||||
display: inline-block;
|
||||
}
|
||||
@@ -1347,20 +1352,26 @@ table.links-table {
|
||||
.focus-on #adminmenuback,
|
||||
.focus-on #adminmenuwrap {
|
||||
transition-duration: 0.6s;
|
||||
transition-property: -webkit-transform;
|
||||
transition-property: transform;
|
||||
transition-property: transform, -webkit-transform;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
.focus-on #adminmenuback,
|
||||
.focus-on #adminmenuwrap {
|
||||
-webkit-transform: translateX( -100% );
|
||||
transform: translateX( -100% );
|
||||
}
|
||||
|
||||
.focus-off #adminmenuback,
|
||||
.focus-off #adminmenuwrap {
|
||||
-webkit-transform: translateX( 0 );
|
||||
transform: translateX( 0 );
|
||||
transition-duration: 0.2s;
|
||||
transition-property: -webkit-transform;
|
||||
transition-property: transform;
|
||||
transition-property: transform, -webkit-transform;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
@@ -1421,7 +1432,7 @@ table.links-table {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
.wp-core-ui .edit-tag-actions .button-primary {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@@ -1434,20 +1445,12 @@ table.links-table {
|
||||
padding: 10px 10px;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox .inside {
|
||||
padding: 0 2px 4px 0;
|
||||
}
|
||||
|
||||
#poststuff h3.hndle, /* Back-compat for pre-4.4 */
|
||||
#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
|
||||
#poststuff h2 {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
#namediv.stuffbox .editcomment.form-table td {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.post-format-options {
|
||||
padding-right: 0;
|
||||
}
|
||||
@@ -1591,7 +1594,7 @@ table.links-table {
|
||||
|
||||
button.wp-switch-editor {
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
line-height: 1em;
|
||||
margin: 7px 0 0 7px;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
@@ -1627,7 +1630,7 @@ table.links-table {
|
||||
|
||||
#delete-action,
|
||||
#publishing-action {
|
||||
line-height: 3.61538461;
|
||||
line-height: 47px;
|
||||
}
|
||||
|
||||
#publishing-action .spinner {
|
||||
@@ -1654,11 +1657,11 @@ table.links-table {
|
||||
.links-table td {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
|
||||
.privacy-text-box {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
|
||||
.privacy-text-box-toc {
|
||||
float: none;
|
||||
width: auto;
|
||||
|
||||
2
wp-admin/css/edit.min.css
vendored
2
wp-admin/css/edit.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
2
wp-admin/css/forms-rtl.min.css
vendored
2
wp-admin/css/forms-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
2
wp-admin/css/forms.min.css
vendored
2
wp-admin/css/forms.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -471,6 +471,12 @@ div#dashboard-widgets {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
a.post-state-format {
|
||||
text-indent: 0;
|
||||
line-height: 0;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
table.ie-fixed {
|
||||
table-layout: fixed;
|
||||
}
|
||||
@@ -552,7 +558,7 @@ table.ie-fixed {
|
||||
}
|
||||
|
||||
#update-nav-menu #post-body {
|
||||
overflow: hidden;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.menu li {
|
||||
@@ -633,7 +639,7 @@ input[type="password"],
|
||||
.mce-btn i.mce-i-wp_page,
|
||||
.mce-btn i.mce-i-hr,
|
||||
.mce-close {
|
||||
font-family: tinymce, Arial;
|
||||
font-family: 'tinymce', Arial;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-variant: normal;
|
||||
@@ -644,12 +650,12 @@ input[type="password"],
|
||||
|
||||
.mce-btn i.mce-i-wp_fullscreen,
|
||||
.qt-fullscreen {
|
||||
-ie7-icon: "\e023";
|
||||
-ie7-icon: '\e023';
|
||||
}
|
||||
|
||||
.mce-btn i.mce-i-wp_more,
|
||||
.mce-btn i.mce-i-wp_page {
|
||||
-ie7-icon: "\e027";
|
||||
-ie7-icon: '\e027';
|
||||
}
|
||||
|
||||
.mce-btn i.mce-i-wp_adv {
|
||||
@@ -658,7 +664,7 @@ input[type="password"],
|
||||
|
||||
.mce-btn i.mce-i-help,
|
||||
.mce-btn i.mce-i-wp_help {
|
||||
-ie7-icon: "\e016";
|
||||
-ie7-icon: '\e016';
|
||||
}
|
||||
|
||||
|
||||
|
||||
2
wp-admin/css/ie-rtl.min.css
vendored
2
wp-admin/css/ie-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -471,6 +471,12 @@ div#dashboard-widgets {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
a.post-state-format {
|
||||
text-indent: 0;
|
||||
line-height: 0;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
table.ie-fixed {
|
||||
table-layout: fixed;
|
||||
}
|
||||
@@ -552,7 +558,7 @@ table.ie-fixed {
|
||||
}
|
||||
|
||||
#update-nav-menu #post-body {
|
||||
overflow: hidden;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.menu li {
|
||||
@@ -633,7 +639,7 @@ input[type="password"],
|
||||
.mce-btn i.mce-i-wp_page,
|
||||
.mce-btn i.mce-i-hr,
|
||||
.mce-close {
|
||||
font-family: tinymce, Arial;
|
||||
font-family: 'tinymce', Arial;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-variant: normal;
|
||||
@@ -644,12 +650,12 @@ input[type="password"],
|
||||
|
||||
.mce-btn i.mce-i-wp_fullscreen,
|
||||
.qt-fullscreen {
|
||||
-ie7-icon: "\e023";
|
||||
-ie7-icon: '\e023';
|
||||
}
|
||||
|
||||
.mce-btn i.mce-i-wp_more,
|
||||
.mce-btn i.mce-i-wp_page {
|
||||
-ie7-icon: "\e027";
|
||||
-ie7-icon: '\e027';
|
||||
}
|
||||
|
||||
.mce-btn i.mce-i-wp_adv {
|
||||
@@ -658,7 +664,7 @@ input[type="password"],
|
||||
|
||||
.mce-btn i.mce-i-help,
|
||||
.mce-btn i.mce-i-wp_help {
|
||||
-ie7-icon: "\e016";
|
||||
-ie7-icon: '\e016';
|
||||
}
|
||||
|
||||
|
||||
|
||||
2
wp-admin/css/ie.min.css
vendored
2
wp-admin/css/ie.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@ body {
|
||||
padding: 20px 20px 10px 20px;
|
||||
max-width: 700px;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.13);
|
||||
}
|
||||
|
||||
a {
|
||||
@@ -27,7 +27,7 @@ a:focus {
|
||||
color: #124964;
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.ie8 a:focus {
|
||||
@@ -63,7 +63,7 @@ ul, ol, dl {
|
||||
}
|
||||
|
||||
a img {
|
||||
border: 0
|
||||
border:0
|
||||
}
|
||||
abbr {
|
||||
border: 0;
|
||||
@@ -84,7 +84,7 @@ label {
|
||||
margin: 6px 0 14px 0;
|
||||
padding: 0 0 7px 0;
|
||||
border-bottom: none;
|
||||
text-align: center
|
||||
text-align:center
|
||||
}
|
||||
#logo a {
|
||||
background-image: url(../images/w-logo-blue.png?ver=20131202);
|
||||
@@ -96,7 +96,7 @@ label {
|
||||
height: 84px;
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
line-height: 1.3;
|
||||
line-height: 1.3em;
|
||||
margin: -130px auto 25px;
|
||||
padding: 0;
|
||||
text-decoration: none;
|
||||
@@ -107,6 +107,10 @@ label {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#logo a:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.step {
|
||||
margin: 20px 0 15px;
|
||||
}
|
||||
@@ -117,7 +121,7 @@ label {
|
||||
.language-chooser.wp-core-ui .step .button.button-large {
|
||||
height: 36px;
|
||||
font-size: 14px;
|
||||
line-height: 2.35714285;
|
||||
line-height: 33px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
textarea {
|
||||
@@ -149,7 +153,7 @@ textarea {
|
||||
}
|
||||
|
||||
.form-table code {
|
||||
line-height: 1.28571428;
|
||||
line-height: 18px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
@@ -159,11 +163,11 @@ textarea {
|
||||
}
|
||||
|
||||
.form-table input {
|
||||
line-height: 1.33333333;
|
||||
line-height: 20px;
|
||||
font-size: 15px;
|
||||
padding: 3px 5px;
|
||||
border: 1px solid #ddd;
|
||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
|
||||
box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
|
||||
}
|
||||
|
||||
input,
|
||||
@@ -174,9 +178,8 @@ submit {
|
||||
.form-table input[type=text],
|
||||
.form-table input[type=email],
|
||||
.form-table input[type=url],
|
||||
.form-table input[type=password],
|
||||
#pass-strength-result {
|
||||
width: 218px;
|
||||
.form-table input[type=password] {
|
||||
width: 206px;
|
||||
}
|
||||
|
||||
.form-table th p {
|
||||
@@ -205,7 +208,7 @@ submit {
|
||||
|
||||
#error-page p {
|
||||
font-size: 14px;
|
||||
line-height: 1.28571428;
|
||||
line-height: 18px;
|
||||
margin: 25px 0 20px;
|
||||
}
|
||||
|
||||
@@ -213,6 +216,66 @@ submit {
|
||||
font-family: Consolas, Monaco, monospace;
|
||||
}
|
||||
|
||||
.wp-hide-pw > .dashicons {
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
#pass-strength-result {
|
||||
background-color: #eee;
|
||||
border: 1px solid #ddd;
|
||||
color: #23282d;
|
||||
margin: -2px 0px 5px 5px;
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
width: 218px;
|
||||
box-sizing: border-box;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#pass-strength-result.short {
|
||||
background-color: #f1adad;
|
||||
border-color: #e35b5b;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.bad {
|
||||
background-color: #fbc5a9;
|
||||
border-color: #f78b53;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.good {
|
||||
background-color: #ffe399;
|
||||
border-color: #ffc733;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.strong {
|
||||
background-color: #c1e1b9;
|
||||
border-color: #83c373;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass1.short, #pass1-text.short {
|
||||
border-color: #e35b5b;
|
||||
}
|
||||
|
||||
#pass1.bad, #pass1-text.bad {
|
||||
border-color: #f78b53;
|
||||
}
|
||||
|
||||
#pass1.good, #pass1-text.good {
|
||||
border-color: #ffc733;
|
||||
}
|
||||
|
||||
#pass1.strong, #pass1-text.strong {
|
||||
border-color: #83c373;
|
||||
}
|
||||
|
||||
.pw-weak {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.message {
|
||||
border-right: 4px solid #dc3232;
|
||||
padding: .7em .6em;
|
||||
@@ -232,6 +295,20 @@ submit {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
#pass1-text,
|
||||
.show-password #pass1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.show-password #pass1-text
|
||||
{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.form-table span.description.important {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
/* localization */
|
||||
body.rtl,
|
||||
@@ -257,7 +334,7 @@ body.rtl,
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
|
||||
.form-table {
|
||||
margin-top: 0;
|
||||
@@ -301,17 +378,6 @@ body.rtl,
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.wp-pwd #pass1 {
|
||||
padding-left: 50px;
|
||||
}
|
||||
|
||||
.wp-pwd .button.wp-hide-pw {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#pass-strength-result {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
body.language-chooser {
|
||||
@@ -323,22 +389,13 @@ body.language-chooser {
|
||||
width: 100%;
|
||||
display: block;
|
||||
border: 1px solid #ddd;
|
||||
background: #fff;
|
||||
background-color: #fff;
|
||||
color: #32373c;
|
||||
font-size: 16px;
|
||||
font-family: Arial, sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.language-chooser select:focus {
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.language-chooser select option:hover,
|
||||
.language-chooser select option:focus {
|
||||
color: #016087;
|
||||
}
|
||||
|
||||
.language-chooser p {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
2
wp-admin/css/install-rtl.min.css
vendored
2
wp-admin/css/install-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@ body {
|
||||
padding: 20px 20px 10px 20px;
|
||||
max-width: 700px;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.13);
|
||||
}
|
||||
|
||||
a {
|
||||
@@ -27,7 +27,7 @@ a:focus {
|
||||
color: #124964;
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.ie8 a:focus {
|
||||
@@ -63,7 +63,7 @@ ul, ol, dl {
|
||||
}
|
||||
|
||||
a img {
|
||||
border: 0
|
||||
border:0
|
||||
}
|
||||
abbr {
|
||||
border: 0;
|
||||
@@ -84,7 +84,7 @@ label {
|
||||
margin: 6px 0 14px 0;
|
||||
padding: 0 0 7px 0;
|
||||
border-bottom: none;
|
||||
text-align: center
|
||||
text-align:center
|
||||
}
|
||||
#logo a {
|
||||
background-image: url(../images/w-logo-blue.png?ver=20131202);
|
||||
@@ -96,7 +96,7 @@ label {
|
||||
height: 84px;
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
line-height: 1.3;
|
||||
line-height: 1.3em;
|
||||
margin: -130px auto 25px;
|
||||
padding: 0;
|
||||
text-decoration: none;
|
||||
@@ -107,6 +107,10 @@ label {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#logo a:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.step {
|
||||
margin: 20px 0 15px;
|
||||
}
|
||||
@@ -117,7 +121,7 @@ label {
|
||||
.language-chooser.wp-core-ui .step .button.button-large {
|
||||
height: 36px;
|
||||
font-size: 14px;
|
||||
line-height: 2.35714285;
|
||||
line-height: 33px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
textarea {
|
||||
@@ -149,7 +153,7 @@ textarea {
|
||||
}
|
||||
|
||||
.form-table code {
|
||||
line-height: 1.28571428;
|
||||
line-height: 18px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
@@ -159,11 +163,11 @@ textarea {
|
||||
}
|
||||
|
||||
.form-table input {
|
||||
line-height: 1.33333333;
|
||||
line-height: 20px;
|
||||
font-size: 15px;
|
||||
padding: 3px 5px;
|
||||
border: 1px solid #ddd;
|
||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
|
||||
box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
|
||||
}
|
||||
|
||||
input,
|
||||
@@ -174,9 +178,8 @@ submit {
|
||||
.form-table input[type=text],
|
||||
.form-table input[type=email],
|
||||
.form-table input[type=url],
|
||||
.form-table input[type=password],
|
||||
#pass-strength-result {
|
||||
width: 218px;
|
||||
.form-table input[type=password] {
|
||||
width: 206px;
|
||||
}
|
||||
|
||||
.form-table th p {
|
||||
@@ -205,7 +208,7 @@ submit {
|
||||
|
||||
#error-page p {
|
||||
font-size: 14px;
|
||||
line-height: 1.28571428;
|
||||
line-height: 18px;
|
||||
margin: 25px 0 20px;
|
||||
}
|
||||
|
||||
@@ -213,6 +216,66 @@ submit {
|
||||
font-family: Consolas, Monaco, monospace;
|
||||
}
|
||||
|
||||
.wp-hide-pw > .dashicons {
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
#pass-strength-result {
|
||||
background-color: #eee;
|
||||
border: 1px solid #ddd;
|
||||
color: #23282d;
|
||||
margin: -2px 5px 5px 0px;
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
width: 218px;
|
||||
box-sizing: border-box;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#pass-strength-result.short {
|
||||
background-color: #f1adad;
|
||||
border-color: #e35b5b;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.bad {
|
||||
background-color: #fbc5a9;
|
||||
border-color: #f78b53;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.good {
|
||||
background-color: #ffe399;
|
||||
border-color: #ffc733;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.strong {
|
||||
background-color: #c1e1b9;
|
||||
border-color: #83c373;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass1.short, #pass1-text.short {
|
||||
border-color: #e35b5b;
|
||||
}
|
||||
|
||||
#pass1.bad, #pass1-text.bad {
|
||||
border-color: #f78b53;
|
||||
}
|
||||
|
||||
#pass1.good, #pass1-text.good {
|
||||
border-color: #ffc733;
|
||||
}
|
||||
|
||||
#pass1.strong, #pass1-text.strong {
|
||||
border-color: #83c373;
|
||||
}
|
||||
|
||||
.pw-weak {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.message {
|
||||
border-left: 4px solid #dc3232;
|
||||
padding: .7em .6em;
|
||||
@@ -232,6 +295,20 @@ submit {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
#pass1-text,
|
||||
.show-password #pass1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.show-password #pass1-text
|
||||
{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.form-table span.description.important {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
/* localization */
|
||||
body.rtl,
|
||||
@@ -257,7 +334,7 @@ body.rtl,
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
|
||||
.form-table {
|
||||
margin-top: 0;
|
||||
@@ -301,17 +378,6 @@ body.rtl,
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.wp-pwd #pass1 {
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
.wp-pwd .button.wp-hide-pw {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#pass-strength-result {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
body.language-chooser {
|
||||
@@ -323,22 +389,13 @@ body.language-chooser {
|
||||
width: 100%;
|
||||
display: block;
|
||||
border: 1px solid #ddd;
|
||||
background: #fff;
|
||||
background-color: #fff;
|
||||
color: #32373c;
|
||||
font-size: 16px;
|
||||
font-family: Arial, sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.language-chooser select:focus {
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.language-chooser select option:hover,
|
||||
.language-chooser select option:focus {
|
||||
color: #016087;
|
||||
}
|
||||
|
||||
.language-chooser p {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user