Maj WP 5.8.1
This commit is contained in:
parent
54ff551e9c
commit
0ac133602f
6634 changed files with 1641822 additions and 131070 deletions
214
.bash_history
214
.bash_history
|
|
@ -1,214 +0,0 @@
|
|||
#1454923565
|
||||
ls
|
||||
#1454923566
|
||||
ls -l
|
||||
#1454923578
|
||||
mv impleSymfony impleSymfony_test
|
||||
#1454923589
|
||||
mv impleSymfony_test impleSymfony_test
|
||||
#1454923591
|
||||
mv impleSymfony_test impleSymfony
|
||||
#1454923598
|
||||
ls
|
||||
#1454923600
|
||||
ls -l
|
||||
#1454923610
|
||||
ls -l
|
||||
#1454923612
|
||||
ls -l
|
||||
#1454923613
|
||||
ls -l
|
||||
#1454923614
|
||||
ls -l
|
||||
#1454923632
|
||||
cp impleSymfony_test2 impleSymfony_ed
|
||||
#1454923636
|
||||
cp -R impleSymfony_test2 impleSymfony_ed
|
||||
#1454923777
|
||||
ls
|
||||
#1454923786
|
||||
getfacl impleSymfony_test2
|
||||
#1454923853
|
||||
setfacl -b impleSymfony_test2
|
||||
#1454923856
|
||||
getfacl impleSymfony_test2
|
||||
#1454923861
|
||||
setfacl -b impleSymfony_test2
|
||||
#1454923863
|
||||
ls -lrt
|
||||
#1454923928
|
||||
setfacl -x impleSymfony_test2
|
||||
#1454924406
|
||||
setfacl -b impleSymfony_test2
|
||||
#1454924411
|
||||
setfacl -b *
|
||||
#1454924417
|
||||
ls -lrt
|
||||
#1454924428
|
||||
getfacl impleSymfony_test2
|
||||
#1454928622
|
||||
rm -R impleSymfony_test3
|
||||
#1454928635
|
||||
stat impleSymfony_test3
|
||||
#1454928646
|
||||
rm -R impleSymfony_test3
|
||||
#1454928658
|
||||
stat impleSymfony_test3/bin/console
|
||||
#1454928665
|
||||
ls -l impleSymfony_test3/bin/console
|
||||
#1454929035
|
||||
rm -R impleSymfony_test3
|
||||
#1454929040
|
||||
ls -l impleSymfony_test3/bin/symfony_requirements
|
||||
#1454929133
|
||||
rm -R impleSymfony_test3
|
||||
#1454929137
|
||||
stat impleSymfony_test3/bin/symfony_requirements
|
||||
#1454929145
|
||||
ls -l impleSymfony_test3/bin/symfony_requirements
|
||||
#1454929574
|
||||
rm -R impleSymfony_test3
|
||||
#1454929578
|
||||
stat impleSymfony_test3/bin/symfony_requirements
|
||||
#1454929584
|
||||
ls -l impleSymfony_test3/bin/symfony_requirements
|
||||
#1454942762
|
||||
cd cd /u1/
|
||||
#1454942764
|
||||
cd /u1/
|
||||
#1454942766
|
||||
mount
|
||||
#1454942771
|
||||
cd /gv0
|
||||
#1454942794
|
||||
cd /glusterfs/gv0/
|
||||
#1454942795
|
||||
ls
|
||||
#1454942807
|
||||
cd -
|
||||
#1455031608
|
||||
cd
|
||||
#1455031617
|
||||
cd ./impleSymfony_test2/app/config/
|
||||
#1455031617
|
||||
ls
|
||||
#1455031621
|
||||
rm test
|
||||
#1455031624
|
||||
ls -lisa
|
||||
#1455031632
|
||||
rm test
|
||||
#1455031653
|
||||
rm test
|
||||
#1455031654
|
||||
rm test
|
||||
#1455031656
|
||||
ls -l
|
||||
#1455031660
|
||||
rm test
|
||||
#1455031675
|
||||
strace rm test 2>&1 tee /tmp/ed
|
||||
#1455031700
|
||||
strace rm test 2>&1 > /tmp/ed
|
||||
#1455031710
|
||||
strace rm test 2>/tmp/ed
|
||||
#1455031733
|
||||
strace -fff rm test 2>/tmp/ed
|
||||
#1455031756
|
||||
ls -lisa
|
||||
#1455031781
|
||||
rm test
|
||||
#1455031783
|
||||
rm test
|
||||
#1455031784
|
||||
rm test
|
||||
#1455031789
|
||||
whoami
|
||||
#1455031794
|
||||
touch test2
|
||||
#1455031798
|
||||
cd ..
|
||||
#1455031800
|
||||
ls -lisa
|
||||
#1455031816
|
||||
touch test2
|
||||
#1455031832
|
||||
strace -fff touch test2 2>/tmp/ed2
|
||||
#1455031923
|
||||
ls -l
|
||||
#1455031927
|
||||
cd config
|
||||
#1455031929
|
||||
ls -lrt
|
||||
#1455031946
|
||||
ls -lrt ../
|
||||
#1455031969
|
||||
rm tets
|
||||
#1455031973
|
||||
rm test
|
||||
#1455031987
|
||||
chmod ugo+w test
|
||||
#1455032072
|
||||
ls
|
||||
#1455032076
|
||||
ls -lrt
|
||||
#1455032080
|
||||
rm test
|
||||
#1455032611
|
||||
rm test
|
||||
#1455032632
|
||||
touch toto
|
||||
#1455032640
|
||||
ls
|
||||
#1455032644
|
||||
cd ../
|
||||
#1455032647
|
||||
touch toto
|
||||
#1455032649
|
||||
cd ..
|
||||
#1455032649
|
||||
touch toto
|
||||
#1455032651
|
||||
cd ..
|
||||
#1455032652
|
||||
touch toto
|
||||
#1455032656
|
||||
rm toto
|
||||
#1455032658
|
||||
ls -lisa
|
||||
#1455032669
|
||||
ls ./ impleSymfony_test2
|
||||
#1455032678
|
||||
stat impleSymfony_test2
|
||||
#1455032680
|
||||
stat .
|
||||
#1455032706
|
||||
touch ./impleSymfony_test2/
|
||||
#1455032707
|
||||
touch ./impleSymfony_test2/a
|
||||
#1455032715
|
||||
getfacl impleSymfony_test2/
|
||||
#1455032744
|
||||
/glusterfs/gv0/DATA01/webldc/pole-sbv/impleSymfony_test2
|
||||
#1455032747
|
||||
ls -l/glusterfs/gv0/DATA01/webldc/pole-sbv/impleSymfony_test2
|
||||
#1455032750
|
||||
ls -l /glusterfs/gv0/DATA01/webldc/pole-sbv/impleSymfony_test2
|
||||
#1455033047
|
||||
touch toto
|
||||
#1455033051
|
||||
touch ./impleSymfony_test2/toto
|
||||
#1455033054
|
||||
ls -l
|
||||
#1455033061
|
||||
ls -l impleSymfony_test2
|
||||
#1455033065
|
||||
stat impleSymfony_test2/
|
||||
#1455033084
|
||||
rm toto
|
||||
#1455033115
|
||||
stat /glusterfs/gv0/DATA01/webldc/pole-sbv/impleSymfony_test2
|
||||
#1455033129
|
||||
ls ./impleSymfony_test2/
|
||||
#1455033131
|
||||
ls ./impleSymfony_test2/ -l
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -5,6 +5,10 @@
|
|||
.ssh/
|
||||
.upload/
|
||||
.viminfo
|
||||
.env
|
||||
.env.dev
|
||||
.env.prod
|
||||
/vendor/
|
||||
|
||||
# ignore version-checker files
|
||||
version-checker/
|
||||
|
|
|
|||
|
|
@ -375,8 +375,12 @@ RewriteRule ^.* - [F,L]
|
|||
#</IfModule>
|
||||
|
||||
# BEGIN WordPress
|
||||
# Les directives (lignes) entre « BEGIN WordPress » et « END WordPress » sont générées
|
||||
# dynamiquement, et doivent être modifiées uniquement via les filtres WordPress.
|
||||
# Toute modification des directives situées entre ces marqueurs sera surchargée.
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||
RewriteBase /
|
||||
RewriteRule ^index\.php$ - [L]
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
|
|
|
|||
5
composer.json
Normal file
5
composer.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"require": {
|
||||
"vlucas/phpdotenv": "^4.1"
|
||||
}
|
||||
}
|
||||
245
composer.lock
generated
Normal file
245
composer.lock
generated
Normal file
|
|
@ -0,0 +1,245 @@
|
|||
{
|
||||
"_readme": [
|
||||
"This file locks the dependencies of your project to a known state",
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "9f99977b6c116e0f4b83e83371e7f7b5",
|
||||
"packages": [
|
||||
{
|
||||
"name": "phpoption/phpoption",
|
||||
"version": "1.8.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/schmittjoh/php-option.git",
|
||||
"reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/schmittjoh/php-option/zipball/5455cb38aed4523f99977c4a12ef19da4bfe2a28",
|
||||
"reference": "5455cb38aed4523f99977c4a12ef19da4bfe2a28",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.0 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"bamarni/composer-bin-plugin": "^1.4.1",
|
||||
"phpunit/phpunit": "^6.5.14 || ^7.0.20 || ^8.5.19 || ^9.5.8"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.8-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"PhpOption\\": "src/PhpOption/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"Apache-2.0"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Johannes M. Schmitt",
|
||||
"email": "schmittjoh@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Graham Campbell",
|
||||
"email": "hello@gjcampbell.co.uk"
|
||||
}
|
||||
],
|
||||
"description": "Option Type for PHP",
|
||||
"keywords": [
|
||||
"language",
|
||||
"option",
|
||||
"php",
|
||||
"type"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/schmittjoh/php-option/issues",
|
||||
"source": "https://github.com/schmittjoh/php-option/tree/1.8.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://github.com/GrahamCampbell",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption",
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2021-08-28T21:27:29+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-ctype",
|
||||
"version": "v1.23.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-ctype.git",
|
||||
"reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce",
|
||||
"reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.1"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-ctype": "For best performance"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "1.23-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/polyfill",
|
||||
"url": "https://github.com/symfony/polyfill"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Symfony\\Polyfill\\Ctype\\": ""
|
||||
},
|
||||
"files": [
|
||||
"bootstrap.php"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Gert de Pagter",
|
||||
"email": "BackEndTea@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Symfony Community",
|
||||
"homepage": "https://symfony.com/contributors"
|
||||
}
|
||||
],
|
||||
"description": "Symfony polyfill for ctype functions",
|
||||
"homepage": "https://symfony.com",
|
||||
"keywords": [
|
||||
"compatibility",
|
||||
"ctype",
|
||||
"polyfill",
|
||||
"portable"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://symfony.com/sponsor",
|
||||
"type": "custom"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/fabpot",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2021-02-19T12:13:01+00:00"
|
||||
},
|
||||
{
|
||||
"name": "vlucas/phpdotenv",
|
||||
"version": "v4.2.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/vlucas/phpdotenv.git",
|
||||
"reference": "da64796370fc4eb03cc277088f6fede9fde88482"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/da64796370fc4eb03cc277088f6fede9fde88482",
|
||||
"reference": "da64796370fc4eb03cc277088f6fede9fde88482",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^5.5.9 || ^7.0 || ^8.0",
|
||||
"phpoption/phpoption": "^1.7.3",
|
||||
"symfony/polyfill-ctype": "^1.17"
|
||||
},
|
||||
"require-dev": {
|
||||
"bamarni/composer-bin-plugin": "^1.4.1",
|
||||
"ext-filter": "*",
|
||||
"ext-pcre": "*",
|
||||
"phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-filter": "Required to use the boolean validator.",
|
||||
"ext-pcre": "Required to use most of the library."
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "4.1-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Dotenv\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"BSD-3-Clause"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Graham Campbell",
|
||||
"email": "graham@alt-three.com",
|
||||
"homepage": "https://gjcampbell.co.uk/"
|
||||
},
|
||||
{
|
||||
"name": "Vance Lucas",
|
||||
"email": "vance@vancelucas.com",
|
||||
"homepage": "https://vancelucas.com/"
|
||||
}
|
||||
],
|
||||
"description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.",
|
||||
"keywords": [
|
||||
"dotenv",
|
||||
"env",
|
||||
"environment"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/vlucas/phpdotenv/issues",
|
||||
"source": "https://github.com/vlucas/phpdotenv/tree/v4.2.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://github.com/GrahamCampbell",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv",
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2021-01-20T15:11:48+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": [],
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": [],
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "2.0.0"
|
||||
}
|
||||
|
|
@ -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' );
|
||||
require __DIR__ . '/wp-blog-header.php';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
WordPress - Web publishing software
|
||||
|
||||
Copyright 2011-2018 by the contributors
|
||||
Copyright 2011-2021 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
|
||||
|
|
@ -19,8 +19,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
This program incorporates work covered by the following copyright and
|
||||
permission notices:
|
||||
|
||||
b2 is (c) 2001, 2002 Michel Valdrighi - m@tidakada.com -
|
||||
http://tidakada.com
|
||||
b2 is (c) 2001, 2002 Michel Valdrighi - https://cafelog.com
|
||||
|
||||
Wherever third party code has been used, credit has been given in the code's
|
||||
comments.
|
||||
|
|
|
|||
BIN
pole-sbv-content/uploads.tar.gz
Normal file
BIN
pole-sbv-content/uploads.tar.gz
Normal file
Binary file not shown.
194
wp-activate.php
194
wp-activate.php
|
|
@ -9,19 +9,66 @@
|
|||
define( 'WP_INSTALLING', true );
|
||||
|
||||
/** Sets up the WordPress Environment. */
|
||||
require( dirname(__FILE__) . '/wp-load.php' );
|
||||
require __DIR__ . '/wp-load.php';
|
||||
|
||||
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
|
||||
require __DIR__ . '/wp-blog-header.php';
|
||||
|
||||
if ( !is_multisite() ) {
|
||||
if ( ! is_multisite() ) {
|
||||
wp_redirect( wp_registration_url() );
|
||||
die();
|
||||
}
|
||||
|
||||
if ( is_object( $wp_object_cache ) )
|
||||
$wp_object_cache->cache_enabled = false;
|
||||
$valid_error_codes = array( 'already_active', 'blog_taken' );
|
||||
|
||||
// Fix for page title
|
||||
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 ( remove_query_arg( false ) !== $redirect_url ) {
|
||||
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 ( null === $result && 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 ( null === $result || ( 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, true ) ) {
|
||||
status_header( 400 );
|
||||
}
|
||||
}
|
||||
|
||||
nocache_headers();
|
||||
|
||||
if ( is_object( $wp_object_cache ) ) {
|
||||
$wp_object_cache->cache_enabled = false;
|
||||
}
|
||||
|
||||
// Fix for page title.
|
||||
$wp_query->is_404 = false;
|
||||
|
||||
/**
|
||||
|
|
@ -43,10 +90,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' );
|
||||
|
||||
|
|
@ -62,93 +109,105 @@ function wpmu_activate_stylesheet() {
|
|||
#submit, #key { width: 90%; font-size: 24px; }
|
||||
#language { margin-top: .5em; }
|
||||
.error { background: #f66; }
|
||||
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: bold; }
|
||||
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: 600; }
|
||||
</style>
|
||||
<?php
|
||||
}
|
||||
add_action( 'wp_head', 'wpmu_activate_stylesheet' );
|
||||
add_action( 'wp_head', 'wp_strict_cross_origin_referrer' );
|
||||
add_filter( 'wp_robots', 'wp_robots_sensitive_page' );
|
||||
|
||||
get_header( 'wp-activate' );
|
||||
|
||||
$blog_details = get_blog_details();
|
||||
?>
|
||||
|
||||
<div id="signup-content" class="widecolumn">
|
||||
<div class="wp-activate-container">
|
||||
<?php if ( empty($_GET['key']) && empty($_POST['key']) ) { ?>
|
||||
<?php if ( ! $key ) { ?>
|
||||
|
||||
<h2><?php _e('Activation Key Required') ?></h2>
|
||||
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url('wp-activate.php'); ?>">
|
||||
<h2><?php _e( 'Activation Key Required' ); ?></h2>
|
||||
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url( $blog_details->path . '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 {
|
||||
|
||||
$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>';
|
||||
<?php
|
||||
} else {
|
||||
if ( is_wp_error( $result ) && in_array( $result->get_error_code(), $valid_error_codes, true ) ) {
|
||||
$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( $blog_details->path . 'wp-login.php', 'login' ),
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
);
|
||||
} else {
|
||||
?>
|
||||
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
|
||||
<p><?php echo $result->get_error_message(); ?></p>
|
||||
<?php
|
||||
printf(
|
||||
/* 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%2$s">%1$s%2$s</a>', $signup->domain, $blog_details->path ),
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
);
|
||||
}
|
||||
echo '</p>';
|
||||
} elseif ( null === $result || is_wp_error( $result ) ) {
|
||||
?>
|
||||
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
|
||||
<?php if ( is_wp_error( $result ) ) : ?>
|
||||
<p><?php echo $result->get_error_message(); ?></p>
|
||||
<?php endif; ?>
|
||||
<?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 && network_home_url( '', 'http' ) !== $url ) :
|
||||
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 */
|
||||
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 else : ?>
|
||||
<p class="view">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: Login URL, 2: Network home URL. */
|
||||
__( '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( $blog_details->path . 'wp-login.php', 'login' ),
|
||||
network_home_url( $blog_details->path )
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<?php
|
||||
endif;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
@ -158,4 +217,5 @@ 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' );
|
||||
|
|
|
|||
|
|
@ -7,315 +7,272 @@
|
|||
*/
|
||||
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
require_once __DIR__ . '/admin.php';
|
||||
|
||||
wp_enqueue_script( 'underscore' );
|
||||
|
||||
$title = __( 'About' );
|
||||
/* translators: Page title of the About WordPress page in the admin. */
|
||||
$title = _x( 'About', 'page title' );
|
||||
|
||||
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
?>
|
||||
<div class="wrap about-wrap full-width-layout">
|
||||
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
|
||||
<div class="wrap about__container">
|
||||
|
||||
<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 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="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<div class="changelog point-releases">
|
||||
<h3><?php _e( 'Maintenance and Security Releases' ); ?></h3>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||
28
|
||||
),
|
||||
'4.9.5',
|
||||
number_format_i18n( 28 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.5' );
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
1
|
||||
),
|
||||
'4.9.4',
|
||||
number_format_i18n( 1 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.4' );
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
34
|
||||
),
|
||||
'4.9.3',
|
||||
number_format_i18n( 34 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.3' );
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||
22
|
||||
),
|
||||
'4.9.2',
|
||||
number_format_i18n( 22 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.2' );
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||
11
|
||||
),
|
||||
'4.9.1',
|
||||
number_format_i18n( 11 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.1' );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="feature-section one-col">
|
||||
<div class="col">
|
||||
<h2>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: party popper emoji */
|
||||
__( 'Major Customizer Improvements, Code Error Checking, and More! %s' ),
|
||||
'🎉'
|
||||
);
|
||||
?>
|
||||
</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>
|
||||
|
||||
<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 class="about__header">
|
||||
<div class="about__header-title">
|
||||
<h1>
|
||||
<?php _e( 'WordPress' ); ?>
|
||||
<?php echo $display_version; ?>
|
||||
</h1>
|
||||
</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="floating-header-section">
|
||||
<div class="section-header">
|
||||
<h2><?php _e( 'Coding Enhancements' ); ?></h2>
|
||||
<div class="about__header-text">
|
||||
<?php _e( 'The next stop on the road to full site editing' ); ?>
|
||||
</div>
|
||||
|
||||
<div class="section-content">
|
||||
<div class="section-item">
|
||||
<div class="inline-svg">
|
||||
<img src="https://s.w.org/images/core/4.9/syntax-highlighting.svg" alt="">
|
||||
</div>
|
||||
<h3><?php _e( 'Syntax Highlighting and Error Checking? Yes, Please!' ); ?></h3>
|
||||
<p><?php _e( 'You’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="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>
|
||||
<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>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="changelog">
|
||||
<h2><?php
|
||||
printf(
|
||||
/* translators: %s: smiling face with smiling eyes emoji */
|
||||
__( 'Developer Happiness %s' ),
|
||||
'😊'
|
||||
);
|
||||
?></h2>
|
||||
<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. */
|
||||
_n(
|
||||
'<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.',
|
||||
60
|
||||
),
|
||||
'5.8.1',
|
||||
number_format_i18n( 60 )
|
||||
);
|
||||
?>
|
||||
<?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.8.1' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
<hr class="is-large" />
|
||||
|
||||
<div class="about__section">
|
||||
<h2 class="aligncenter">
|
||||
<?php _e( 'Three Essential Powerhouses' ); ?>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div class="about__section has-2-columns is-wider-left">
|
||||
<div class="column about__image is-vertically-aligned-center">
|
||||
<img src="https://s.w.org/images/core/5.8/about-widgets-blocks.png" alt="" />
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3>
|
||||
<?php _e( 'Manage Widgets with Blocks' ); ?>
|
||||
</h3>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: Widgets dev note link. */
|
||||
__( 'After months of hard work, the power of blocks has come to both the Block Widgets Editor and the Customizer. Now you can add blocks both in widget areas across your site and with live preview through the Customizer. This opens up new possibilities to create content: from no-code mini layouts to the vast library of core and third-party blocks. For our developers, you can find more details in the <a href="%s">Widgets dev note</a>.' ),
|
||||
'https://make.wordpress.org/core/2021/06/29/block-based-widgets-editor-in-wordpress-5-8/'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="about__section has-2-columns is-wider-right">
|
||||
<div class="column">
|
||||
<h3>
|
||||
<?php _e( 'Display Posts with New Blocks and Patterns' ); ?>
|
||||
</h3>
|
||||
<p>
|
||||
<?php _e( 'The Query Loop Block makes it possible to display posts based on specified parameters; like a PHP loop without the code. Easily display posts from a specific category, to do things like create a portfolio or a page full of your favorite recipes. Think of it as a more complex and powerful Latest Posts Block! Plus, pattern suggestions make it easier than ever to create a list of posts with the design you want.' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="column about__image is-vertically-aligned-center">
|
||||
<img src="https://s.w.org/images/core/5.8/about-query-loop.png" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="about__section has-2-columns is-wider-left">
|
||||
<div class="column about__image is-vertically-aligned-center">
|
||||
<img src="https://s.w.org/images/core/5.8/about-template.png" alt="" />
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3>
|
||||
<?php _e( 'Edit the Templates Around Posts' ); ?>
|
||||
</h3>
|
||||
<p>
|
||||
<?php
|
||||
_e( 'You can use the familiar block editor to edit templates that hold your content—simply activate a block theme or a theme that has opted in for this feature. Switch from editing your posts to editing your pages and back again, all while using a familiar block editor. There are more than 20 new blocks available within compatible themes. Read more about this feature and how to experiment with it in the release notes.' );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="is-large" />
|
||||
|
||||
<div class="about__section">
|
||||
<h2 class="aligncenter">
|
||||
<?php _e( 'Three Workflow Helpers' ); ?>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div class="about__section has-2-columns is-wider-left">
|
||||
<div class="column about__image is-vertically-aligned-center">
|
||||
<img src="https://s.w.org/images/core/5.8/about-list-view.png" alt="" />
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3>
|
||||
<?php _e( 'Overview of the Page Structure' ); ?>
|
||||
</h3>
|
||||
<p>
|
||||
<?php
|
||||
_e( 'Sometimes you need a simple landing page, but sometimes you need something a little more robust. As blocks increase, patterns emerge, and content creation gets easier, new solutions are needed to make complex content easy to navigate. List View is the best way to jump between layers of content and nested blocks. Since the List View gives you an overview of all the blocks in your content, you can now navigate quickly to the precise block you need. Ready to focus completely on your content? Toggle it on or off to suit your workflow.' );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="about__section has-2-columns is-wider-right">
|
||||
<div class="column">
|
||||
<h3>
|
||||
<?php _e( 'Suggested Patterns for Blocks' ); ?>
|
||||
</h3>
|
||||
<p>
|
||||
<?php
|
||||
_e( 'Starting in this release the Pattern Transformations tool will suggest block patterns based on the block you are using. Right now, you can give it a try in the Query Block and Social Icon Block. As more patterns are added, you will be able to get inspiration for how to style your site without ever leaving the editor!' );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="column about__image is-vertically-aligned-center">
|
||||
<img src="https://s.w.org/images/core/5.8/about-pattern-suggestions.png" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="about__section has-2-columns is-wider-left">
|
||||
<div class="column about__image is-vertically-aligned-center">
|
||||
<img src="https://s.w.org/images/core/5.8/about-duotone.png" alt="" />
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3>
|
||||
<?php _e( 'Style and Colorize Images' ); ?>
|
||||
</h3>
|
||||
<p>
|
||||
<?php
|
||||
_e( 'Colorize your image and cover blocks with duotone filters! Duotone can add a pop of color to your designs and style your images (or videos in the cover block) to integrate well with your themes. You can think of the duotone effect as a black and white filter, but instead of the shadows being black and the highlights being white, you pick your own colors for the shadows and highlights. There’s more to learn about how it works in the documentation.' );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="is-large" />
|
||||
|
||||
<div class="about__section">
|
||||
<h2 class="aligncenter" style="margin-bottom:0;">
|
||||
<?php _e( 'For Developers to Explore' ); ?>
|
||||
</h2>
|
||||
<div class="column about__image is-vertically-aligned-center">
|
||||
<picture>
|
||||
<source srcset="https://s.w.org/images/core/5.8/about-theme-json.png, https://s.w.org/images/core/5.8/about-theme-json-2x.png 2x" />
|
||||
<img src="https://s.w.org/images/core/5.8/about-theme-json.png" alt="" />
|
||||
</picture>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="about__section has-1-column">
|
||||
<div class="column">
|
||||
<h3>
|
||||
<?php _e( 'Theme.json' ); ?>
|
||||
</h3>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: Theme.json dev note link. */
|
||||
__( 'Introducing the Global Styles and Global Settings APIs: control the editor settings, available customization tools, and style blocks using a theme.json file in the active theme. This configuration file enables or disables features and sets default styles for both a website and blocks. If you build themes, you can experiment with this early iteration of a useful new feature. For more about what is currently available and how it works, <a href="%s">check out this dev note</a>.' ),
|
||||
'https://make.wordpress.org/core/2021/06/25/introducing-theme-json-in-wordpress-5-8/'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="about__section has-3-columns">
|
||||
<div class="column">
|
||||
<h3>
|
||||
<?php _e( 'Dropping support for Internet Explorer 11' ); ?>
|
||||
</h3>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: Link to Browse Happy. */
|
||||
__( 'Support for Internet Explorer 11 has been dropped as of this release. This means you may have issues managing your site that will not be fixed in the future. If you are currently using IE11, it is strongly recommended that you <a href="%s">switch to a more modern browser</a>.' ),
|
||||
'https://browsehappy.com/'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3>
|
||||
<?php _e( 'Adding support for WebP' ); ?>
|
||||
</h3>
|
||||
<p>
|
||||
<?php
|
||||
_e( 'WebP is a modern image format that provides improved lossless and lossy compression for images on the web. WebP images are around 30% smaller on average than their JPEG or PNG equivalents, resulting in sites that are faster and use less bandwidth.' );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3>
|
||||
<?php _e( 'Adding Additional Block Supports' ); ?>
|
||||
</h3>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %1$s: Link to 5.6's block dev notes. %2$s: Link to 5.7's block dev notes. %3$s: Link to 5.8's block dev notes. */
|
||||
__( 'Expanding on previously implemented block supports in WordPress <a href="%1$s">5.6</a> and <a href="%2$s">5.7</a>, WordPress 5.8 introduces several new block support flags and new options to customize your registered blocks. More information is available in the <a href="%3$s">block supports dev note</a>.' ),
|
||||
'https://make.wordpress.org/core/2020/11/18/block-supports-in-wordpress-5-6/',
|
||||
'https://make.wordpress.org/core/2021/02/24/changes-to-block-editor-components-and-blocks/',
|
||||
'https://make.wordpress.org/core/2021/06/25/block-supports-api-updates-for-wordpress-5-8/'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="is-small" />
|
||||
|
||||
<div class="about__section">
|
||||
<div class="column">
|
||||
<h3><?php _e( 'Check the Field Guide for more!' ); ?></h3>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress 5.8 Field Guide link. */
|
||||
__( 'Check out the latest version of the WordPress Field Guide. It highlights developer notes for each change you may want to be aware of. <a href="%s">WordPress 5.8 Field Guide.</a>' ),
|
||||
'https://make.wordpress.org/core/2021/07/03/wordpress-5-8-field-guide/'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -324,110 +281,17 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||
<div class="return-to-dashboard">
|
||||
<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
|
||||
<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
|
||||
<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard → Updates' ); ?>
|
||||
<?php is_multisite() ? _e( 'Go to Updates' ) : _e( 'Go to Dashboard → Updates' ); ?>
|
||||
</a> |
|
||||
<?php endif; ?>
|
||||
<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 require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
|
||||
|
||||
<?php
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
||||
|
||||
// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
|
||||
return;
|
||||
|
||||
|
|
@ -440,22 +304,28 @@ __( '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: Codex URL */
|
||||
/* translators: %s: Documentation URL. */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' );
|
||||
|
|
|
|||
|
|
@ -19,23 +19,24 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
|||
}
|
||||
|
||||
/** Load WordPress Bootstrap */
|
||||
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
require_once dirname( __DIR__ ) . '/wp-load.php';
|
||||
|
||||
/** Allow for cross-domain requests (from the front end). */
|
||||
send_origin_headers();
|
||||
|
||||
// Require an action parameter
|
||||
if ( empty( $_REQUEST['action'] ) )
|
||||
header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
|
||||
header( 'X-Robots-Tag: noindex' );
|
||||
|
||||
// Require an action parameter.
|
||||
if ( empty( $_REQUEST['action'] ) ) {
|
||||
wp_die( '0', 400 );
|
||||
}
|
||||
|
||||
/** Load WordPress Administration APIs */
|
||||
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
|
||||
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' );
|
||||
require_once ABSPATH . 'wp-admin/includes/ajax-actions.php';
|
||||
|
||||
send_nosniff_header();
|
||||
nocache_headers();
|
||||
|
|
@ -44,72 +45,161 @@ 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',
|
||||
'fetch-list',
|
||||
'ajax-tag-search',
|
||||
'wp-compression-test',
|
||||
'imgedit-preview',
|
||||
'oembed-cache',
|
||||
'autocomplete-user',
|
||||
'dashboard-widgets',
|
||||
'logged-in',
|
||||
'rest-nonce',
|
||||
);
|
||||
|
||||
$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', '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',
|
||||
'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',
|
||||
'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',
|
||||
'toggle-auto-updates',
|
||||
'send-password-reset',
|
||||
);
|
||||
|
||||
// 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 );
|
||||
// Deprecated.
|
||||
$core_actions_post_deprecated = array(
|
||||
'wp-fullscreen-save-post',
|
||||
'press-this-save-post',
|
||||
'press-this-add-category',
|
||||
'health-check-dotorg-communication',
|
||||
'health-check-is-in-debug-mode',
|
||||
'health-check-background-updates',
|
||||
'health-check-loopback-requests',
|
||||
);
|
||||
$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, true ) ) {
|
||||
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, true ) ) {
|
||||
add_action( 'wp_ajax_' . $_POST['action'], 'wp_ajax_' . str_replace( '-', '_', $_POST['action'] ), 1 );
|
||||
}
|
||||
|
||||
add_action( 'wp_ajax_nopriv_generate-password', 'wp_ajax_nopriv_generate_password' );
|
||||
|
||||
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_' . $_REQUEST['action'] ) ) {
|
||||
if ( ! has_action( "wp_ajax_{$action}" ) ) {
|
||||
wp_die( '0', 400 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Fires authenticated Ajax actions for logged-in users.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$_REQUEST['action']`,
|
||||
* refers to the name of the Ajax action callback being fired.
|
||||
* The dynamic portion of the hook name, `$action`, refers
|
||||
* to the name of the Ajax action callback being fired.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( 'wp_ajax_' . $_REQUEST['action'] );
|
||||
do_action( "wp_ajax_{$action}" );
|
||||
} else {
|
||||
// If no action is registered, return a Bad Request response.
|
||||
if ( ! has_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] ) ) {
|
||||
if ( ! has_action( "wp_ajax_nopriv_{$action}" ) ) {
|
||||
wp_die( '0', 400 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Fires non-authenticated Ajax actions for logged-out users.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$_REQUEST['action']`,
|
||||
* refers to the name of the Ajax action callback being fired.
|
||||
* The dynamic portion of the hook name, `$action`, refers
|
||||
* to the name of the Ajax action callback being fired.
|
||||
*
|
||||
* @since 2.8.0
|
||||
*/
|
||||
do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] );
|
||||
do_action( "wp_ajax_nopriv_{$action}" );
|
||||
}
|
||||
// Default status
|
||||
// Default status.
|
||||
wp_die( '0' );
|
||||
|
|
|
|||
|
|
@ -6,9 +6,10 @@
|
|||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
// don't load directly
|
||||
if ( !defined('ABSPATH') )
|
||||
die('-1');
|
||||
// Don't load directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @global string $hook_suffix
|
||||
|
|
@ -31,7 +32,12 @@ global $hook_suffix;
|
|||
?>
|
||||
<p id="footer-left" class="alignleft">
|
||||
<?php
|
||||
$text = sprintf( __( 'Thank you for creating with <a href="%s">WordPress</a>.' ), __( 'https://wordpress.org/' ) );
|
||||
$text = sprintf(
|
||||
/* translators: %s: https://wordpress.org/ */
|
||||
__( 'Thank you for creating with <a href="%s">WordPress</a>.' ),
|
||||
__( 'https://wordpress.org/' )
|
||||
);
|
||||
|
||||
/**
|
||||
* Filters the "Thank you" text displayed in the admin footer.
|
||||
*
|
||||
|
|
@ -79,7 +85,7 @@ do_action( 'admin_footer', '' );
|
|||
*
|
||||
* @since 4.6.0
|
||||
*/
|
||||
do_action( "admin_print_footer_scripts-{$hook_suffix}" );
|
||||
do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/**
|
||||
* Prints any scripts and data queued for the footer.
|
||||
|
|
@ -96,17 +102,18 @@ do_action( 'admin_print_footer_scripts' );
|
|||
*
|
||||
* @since 2.8.0
|
||||
*/
|
||||
do_action( "admin_footer-{$hook_suffix}" );
|
||||
do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
// 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') )
|
||||
compression_test();
|
||||
// get_site_option() won't exist when auto upgrading from <= 2.7.
|
||||
if ( function_exists( 'get_site_option' )
|
||||
&& false === get_site_option( 'can_compress_scripts' )
|
||||
) {
|
||||
compression_test();
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div class="clear"></div></div><!-- wpwrap -->
|
||||
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
|
||||
<script type="text/javascript">if(typeof wpOnload==='function')wpOnload();</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -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,17 +6,18 @@
|
|||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
|
||||
if ( ! defined( 'WP_ADMIN' ) )
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
|
||||
if ( ! defined( 'WP_ADMIN' ) ) {
|
||||
require_once __DIR__ . '/admin.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* In case admin-header.php is included in a function.
|
||||
*
|
||||
* @global string $title
|
||||
* @global string $hook_suffix
|
||||
* @global WP_Screen $current_screen
|
||||
* @global WP_Locale $wp_locale
|
||||
* @global WP_Screen $current_screen WordPress current screen object.
|
||||
* @global WP_Locale $wp_locale WordPress date and time locale object.
|
||||
* @global string $pagenow
|
||||
* @global string $update_title
|
||||
* @global int $total_update_count
|
||||
|
|
@ -26,30 +27,36 @@ 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 ) );
|
||||
$title = strip_tags( $title );
|
||||
|
||||
if ( is_network_admin() ) {
|
||||
/* translators: Network admin screen title. 1: Network name */
|
||||
$admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_network()->site_name ) );
|
||||
/* translators: Network admin screen title. %s: Network title. */
|
||||
$admin_title = sprintf( __( 'Network Admin: %s' ), get_network()->site_name );
|
||||
} elseif ( is_user_admin() ) {
|
||||
/* translators: User dashboard screen title. 1: Network name */
|
||||
$admin_title = sprintf( __( 'User Dashboard: %s' ), esc_html( get_network()->site_name ) );
|
||||
/* translators: User dashboard screen title. %s: Network title. */
|
||||
$admin_title = sprintf( __( 'User Dashboard: %s' ), get_network()->site_name );
|
||||
} else {
|
||||
$admin_title = get_bloginfo( 'name' );
|
||||
}
|
||||
|
||||
if ( $admin_title == $title ) {
|
||||
/* translators: Admin screen title. 1: Admin screen name */
|
||||
$admin_title = sprintf( __( '%1$s — WordPress' ), $title );
|
||||
if ( $admin_title === $title ) {
|
||||
/* translators: Admin screen title. %s: Admin screen name. */
|
||||
$admin_title = sprintf( __( '%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.
|
||||
*
|
||||
|
|
@ -64,27 +71,25 @@ wp_user_settings();
|
|||
|
||||
_wp_admin_html_begin();
|
||||
?>
|
||||
<title><?php echo $admin_title; ?></title>
|
||||
<title><?php echo esc_html( $admin_title ); ?></title>
|
||||
<?php
|
||||
|
||||
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();}}};
|
||||
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>',
|
||||
pagenow = '<?php echo $current_screen->id; ?>',
|
||||
typenow = '<?php echo $current_screen->post_type; ?>',
|
||||
adminpage = '<?php echo $admin_body_class; ?>',
|
||||
thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
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();}}};
|
||||
var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>',
|
||||
pagenow = '<?php echo esc_js( $current_screen->id ); ?>',
|
||||
typenow = '<?php echo esc_js( $current_screen->post_type ); ?>',
|
||||
adminpage = '<?php echo esc_js( $admin_body_class ); ?>',
|
||||
thousandsSeparator = '<?php echo esc_js( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo esc_js( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
isRtl = <?php echo (int) is_rtl(); ?>;
|
||||
</script>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<?php
|
||||
|
||||
/**
|
||||
|
|
@ -101,7 +106,7 @@ do_action( 'admin_enqueue_scripts', $hook_suffix );
|
|||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
do_action( "admin_print_styles-{$hook_suffix}" );
|
||||
do_action( "admin_print_styles-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/**
|
||||
* Fires when styles are printed for all admin pages.
|
||||
|
|
@ -115,7 +120,7 @@ do_action( 'admin_print_styles' );
|
|||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "admin_print_scripts-{$hook_suffix}" );
|
||||
do_action( "admin_print_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/**
|
||||
* Fires when scripts are printed for all admin pages.
|
||||
|
|
@ -132,7 +137,7 @@ do_action( 'admin_print_scripts' );
|
|||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "admin_head-{$hook_suffix}" );
|
||||
do_action( "admin_head-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/**
|
||||
* Fires in head section for all admin pages.
|
||||
|
|
@ -141,40 +146,66 @@ do_action( "admin_head-{$hook_suffix}" );
|
|||
*/
|
||||
do_action( 'admin_head' );
|
||||
|
||||
if ( get_user_setting('mfold') == 'f' )
|
||||
if ( 'f' === get_user_setting( 'mfold' ) ) {
|
||||
$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 .= ' branch-' . str_replace( array( '.', ',' ), '-', (float) 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() ) {
|
||||
$admin_body_class .= ' block-editor-page wp-embed-responsive';
|
||||
}
|
||||
|
||||
$error_get_last = error_get_last();
|
||||
|
||||
// Print a CSS class to make PHP errors visible.
|
||||
if ( $error_get_last && WP_DEBUG && WP_DEBUG_DISPLAY && ini_get( 'display_errors' )
|
||||
// Don't print the class for PHP notices in wp-config.php, as they happen before WP_DEBUG takes effect,
|
||||
// and should not be displayed with the `error_reporting` level previously set in wp-load.php.
|
||||
&& ( E_NOTICE !== $error_get_last['type'] || 'wp-config.php' !== wp_basename( $error_get_last['file'] ) )
|
||||
) {
|
||||
$admin_body_class .= ' php-error';
|
||||
}
|
||||
|
||||
unset( $error_get_last );
|
||||
|
||||
?>
|
||||
</head>
|
||||
<?php
|
||||
|
|
@ -193,8 +224,9 @@ $admin_body_class .= ' no-customize-support no-svg';
|
|||
* @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 . ' ' . $admin_body_class; ?>">
|
||||
<body class="wp-admin wp-core-ui no-js <?php echo $admin_body_classes; ?>">
|
||||
<script type="text/javascript">
|
||||
document.body.className = document.body.className.replace('no-js','js');
|
||||
</script>
|
||||
|
|
@ -207,7 +239,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
|
||||
|
|
@ -221,13 +253,13 @@ do_action( 'in_admin_header' );
|
|||
|
||||
<div id="wpbody" role="main">
|
||||
<?php
|
||||
unset($title_class, $blog_name, $total_update_count, $update_title);
|
||||
unset( $blog_name, $total_update_count, $update_title );
|
||||
|
||||
$current_screen->set_parentage( $parent_file );
|
||||
|
||||
?>
|
||||
|
||||
<div id="wpbody-content" aria-label="<?php esc_attr_e('Main content'); ?>" tabindex="0">
|
||||
<div id="wpbody-content">
|
||||
<?php
|
||||
|
||||
$current_screen->render_screen_meta();
|
||||
|
|
@ -262,5 +294,6 @@ if ( is_network_admin() ) {
|
|||
*/
|
||||
do_action( 'all_admin_notices' );
|
||||
|
||||
if ( $parent_file == 'options-general.php' )
|
||||
require(ABSPATH . 'wp-admin/options-head.php');
|
||||
if ( 'options-general.php' === $parent_file ) {
|
||||
require ABSPATH . 'wp-admin/options-head.php';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,15 +13,16 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
|||
define( 'WP_ADMIN', true );
|
||||
}
|
||||
|
||||
if ( defined('ABSPATH') )
|
||||
require_once(ABSPATH . 'wp-load.php');
|
||||
else
|
||||
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
if ( defined( 'ABSPATH' ) ) {
|
||||
require_once ABSPATH . 'wp-load.php';
|
||||
} else {
|
||||
require_once dirname( __DIR__ ) . '/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();
|
||||
|
||||
|
|
@ -30,10 +31,10 @@ do_action( 'admin_init' );
|
|||
|
||||
$action = empty( $_REQUEST['action'] ) ? '' : $_REQUEST['action'];
|
||||
|
||||
if ( ! wp_validate_auth_cookie() ) {
|
||||
if ( ! is_user_logged_in() ) {
|
||||
if ( empty( $action ) ) {
|
||||
/**
|
||||
* Fires on a non-authenticated admin post request where no action was supplied.
|
||||
* Fires on a non-authenticated admin post request where no action is supplied.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
|
|
@ -52,7 +53,7 @@ if ( ! wp_validate_auth_cookie() ) {
|
|||
} else {
|
||||
if ( empty( $action ) ) {
|
||||
/**
|
||||
* Fires on an authenticated admin post request where no action was supplied.
|
||||
* Fires on an authenticated admin post request where no action is supplied.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,26 +15,30 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
|||
define( 'WP_ADMIN', true );
|
||||
}
|
||||
|
||||
if ( ! defined('WP_NETWORK_ADMIN') )
|
||||
define('WP_NETWORK_ADMIN', false);
|
||||
|
||||
if ( ! defined('WP_USER_ADMIN') )
|
||||
define('WP_USER_ADMIN', false);
|
||||
|
||||
if ( ! WP_NETWORK_ADMIN && ! WP_USER_ADMIN ) {
|
||||
define('WP_BLOG_ADMIN', true);
|
||||
if ( ! defined( 'WP_NETWORK_ADMIN' ) ) {
|
||||
define( 'WP_NETWORK_ADMIN', false );
|
||||
}
|
||||
|
||||
if ( isset($_GET['import']) && !defined('WP_LOAD_IMPORTERS') )
|
||||
define('WP_LOAD_IMPORTERS', true);
|
||||
if ( ! defined( 'WP_USER_ADMIN' ) ) {
|
||||
define( 'WP_USER_ADMIN', false );
|
||||
}
|
||||
|
||||
require_once(dirname(dirname(__FILE__)) . '/wp-load.php');
|
||||
if ( ! WP_NETWORK_ADMIN && ! WP_USER_ADMIN ) {
|
||||
define( 'WP_BLOG_ADMIN', true );
|
||||
}
|
||||
|
||||
if ( isset( $_GET['import'] ) && ! defined( 'WP_LOAD_IMPORTERS' ) ) {
|
||||
define( 'WP_LOAD_IMPORTERS', true );
|
||||
}
|
||||
|
||||
require_once dirname( __DIR__ ) . '/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.
|
||||
|
|
@ -42,10 +46,15 @@ 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 ( ! wp_doing_ajax() && empty( $_POST )
|
||||
&& (int) get_option( 'db_version' ) !== $wp_db_version
|
||||
) {
|
||||
|
||||
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.
|
||||
|
|
@ -57,37 +66,44 @@ 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 3.0.0
|
||||
* @since MU (3.0.0)
|
||||
*
|
||||
* @param bool $do_mu_upgrade Whether to perform the Multisite upgrade routine. Default true.
|
||||
*/
|
||||
} elseif ( apply_filters( 'do_mu_upgrade', true ) ) {
|
||||
if ( 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 ) ) {
|
||||
require_once( ABSPATH . WPINC . '/http.php' );
|
||||
$response = wp_remote_get( admin_url( 'upgrade.php?step=1' ), array( 'timeout' => 120, 'httpversion' => '1.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',
|
||||
)
|
||||
);
|
||||
/** 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');
|
||||
// Schedule Trash collection.
|
||||
if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() ) {
|
||||
wp_schedule_event( time(), 'daily', 'wp_scheduled_delete' );
|
||||
}
|
||||
|
||||
// Schedule Transient cleanup.
|
||||
// Schedule transient cleanup.
|
||||
if ( ! wp_next_scheduled( 'delete_expired_transients' ) && ! wp_installing() ) {
|
||||
wp_schedule_event( time(), 'daily', 'delete_expired_transients' );
|
||||
}
|
||||
|
|
@ -117,27 +133,30 @@ $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' );
|
||||
|
|
@ -155,26 +174,30 @@ 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;
|
||||
if ( ! $page_hook = get_plugin_page_hook($plugin_page, $the_parent) ) {
|
||||
$page_hook = get_plugin_page_hook($plugin_page, $plugin_page);
|
||||
}
|
||||
|
||||
$page_hook = get_plugin_page_hook( $plugin_page, $the_parent );
|
||||
if ( ! $page_hook ) {
|
||||
$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') ) {
|
||||
// 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( $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 {
|
||||
$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 = '';
|
||||
|
|
@ -189,7 +212,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.
|
||||
|
|
@ -211,14 +234,26 @@ if ( isset($plugin_page) ) {
|
|||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "load-{$page_hook}" );
|
||||
if (! isset($_GET['noheader']))
|
||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||
do_action( "load-{$page_hook}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
if ( ! isset( $_GET['noheader'] ) ) {
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* Used to call the registered callback for a plugin screen.
|
||||
*
|
||||
* @ignore
|
||||
* 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()
|
||||
*
|
||||
* @since 1.5.0
|
||||
*/
|
||||
do_action( $page_hook );
|
||||
|
|
@ -227,8 +262,12 @@ 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") ) )
|
||||
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" ) )
|
||||
) {
|
||||
/* translators: %s: Admin page generated by a plugin. */
|
||||
wp_die( sprintf( __( 'Cannot load %s.' ), htmlentities( $plugin_page ) ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Fires before a particular screen is loaded.
|
||||
|
|
@ -242,34 +281,36 @@ if ( isset($plugin_page) ) {
|
|||
*
|
||||
* @since 1.5.0
|
||||
*/
|
||||
do_action( "load-{$plugin_page}" );
|
||||
do_action( "load-{$plugin_page}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
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');
|
||||
require_once ABSPATH . 'wp-admin/admin-footer.php';
|
||||
|
||||
exit();
|
||||
exit;
|
||||
} elseif ( isset( $_GET['import'] ) ) {
|
||||
|
||||
$importer = $_GET['import'];
|
||||
|
||||
if ( ! current_user_can( 'import' ) ) {
|
||||
wp_die( __( 'Sorry, you are not allowed to import content.' ) );
|
||||
wp_die( __( 'Sorry, you are not allowed to import content into this site.' ) );
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
@ -281,18 +322,19 @@ if ( isset($plugin_page) ) {
|
|||
*
|
||||
* @since 3.5.0
|
||||
*/
|
||||
do_action( "load-importer-{$importer}" );
|
||||
do_action( "load-importer-{$importer}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
$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.
|
||||
|
|
@ -308,14 +350,14 @@ 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');
|
||||
require_once ABSPATH . 'wp-admin/admin-footer.php';
|
||||
|
||||
// Make sure rules are flushed
|
||||
flush_rewrite_rules(false);
|
||||
// Make sure rules are flushed.
|
||||
flush_rewrite_rules( false );
|
||||
|
||||
exit();
|
||||
exit;
|
||||
} else {
|
||||
/**
|
||||
* Fires before a particular screen is loaded.
|
||||
|
|
@ -329,35 +371,39 @@ if ( isset($plugin_page) ) {
|
|||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "load-{$pagenow}" );
|
||||
do_action( "load-{$pagenow}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/*
|
||||
* 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' );
|
||||
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 ( 'page' === $typenow ) {
|
||||
if ( 'post-new.php' === $pagenow ) {
|
||||
do_action( 'load-page-new.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
} elseif ( 'post.php' === $pagenow ) {
|
||||
do_action( 'load-page.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
}
|
||||
} elseif ( 'edit-tags.php' === $pagenow ) {
|
||||
if ( 'category' === $taxnow ) {
|
||||
do_action( 'load-categories.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
} elseif ( 'link_category' === $taxnow ) {
|
||||
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 ( ! empty( $_REQUEST['action'] ) ) {
|
||||
$action = $_REQUEST['action'];
|
||||
|
||||
/**
|
||||
* Fires when an 'action' request variable is sent.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$_REQUEST['action']`,
|
||||
* refers to the action derived from the `GET` or `POST` request.
|
||||
* The dynamic portion of the hook name, `$action`, refers to
|
||||
* the action derived from the `GET` or `POST` request.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
do_action( 'admin_action_' . $_REQUEST['action'] );
|
||||
do_action( "admin_action_{$action}" );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,17 +15,17 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
|||
}
|
||||
|
||||
if ( defined( 'ABSPATH' ) ) {
|
||||
require_once( ABSPATH . 'wp-load.php' );
|
||||
require_once ABSPATH . 'wp-load.php';
|
||||
} else {
|
||||
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
require_once dirname( __DIR__ ) . '/wp-load.php';
|
||||
}
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/admin.php' );
|
||||
require_once ABSPATH . 'wp-admin/admin.php';
|
||||
|
||||
header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
|
||||
header( 'Content-Type: text/plain; charset=' . get_option( 'blog_charset' ) );
|
||||
|
||||
if ( isset( $_REQUEST['action'] ) && 'upload-attachment' === $_REQUEST['action'] ) {
|
||||
include( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
|
||||
require ABSPATH . 'wp-admin/includes/ajax-actions.php';
|
||||
|
||||
send_nosniff_header();
|
||||
nocache_headers();
|
||||
|
|
@ -38,52 +38,94 @@ if ( ! current_user_can( 'upload_files' ) ) {
|
|||
wp_die( __( 'Sorry, you are not allowed to upload files.' ) );
|
||||
}
|
||||
|
||||
// just fetch the detail form for that attachment
|
||||
if ( isset($_REQUEST['attachment_id']) && ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
|
||||
// Just fetch the detail form for that attachment.
|
||||
if ( isset( $_REQUEST['attachment_id'] ) && (int) $_REQUEST['attachment_id'] && $_REQUEST['fetch'] ) {
|
||||
$id = (int) $_REQUEST['attachment_id'];
|
||||
$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 ) )
|
||||
wp_die( __( 'Sorry, you are not allowed to edit this item.' ) );
|
||||
}
|
||||
|
||||
switch ( $_REQUEST['fetch'] ) {
|
||||
case 3 :
|
||||
if ( $thumb_url = wp_get_attachment_image_src( $id, 'thumbnail', true ) )
|
||||
echo '<img class="pinkynail" src="' . esc_url( $thumb_url[0] ) . '" alt="" />';
|
||||
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" target="_blank">' . _x( 'Edit', 'media item' ) . '</a>';
|
||||
case 3:
|
||||
?>
|
||||
<div class="media-item-wrapper">
|
||||
<div class="attachment-details">
|
||||
<?php
|
||||
$thumb_url = wp_get_attachment_image_src( $id, 'thumbnail', true );
|
||||
if ( $thumb_url ) {
|
||||
echo '<img class="pinkynail" src="' . esc_url( $thumb_url[0] ) . '" alt="" />';
|
||||
}
|
||||
|
||||
// Title shouldn't ever be empty, but use filename just in case.
|
||||
$file = get_attached_file( $post->ID );
|
||||
$title = $post->post_title ? $post->post_title : wp_basename( $file );
|
||||
echo '<div class="filename new"><span class="title">' . esc_html( wp_html_excerpt( $title, 60, '…' ) ) . '</span></div>';
|
||||
// Title shouldn't ever be empty, but use filename just in case.
|
||||
$file = get_attached_file( $post->ID );
|
||||
$file_url = wp_get_attachment_url( $post->ID );
|
||||
$title = $post->post_title ? $post->post_title : wp_basename( $file );
|
||||
?>
|
||||
<div class="filename new">
|
||||
<span class="media-list-title"><strong><?php echo esc_html( wp_html_excerpt( $title, 60, '…' ) ); ?></strong></span>
|
||||
<span class="media-list-subtitle"><?php echo wp_basename( $file ); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="attachment-tools">
|
||||
<span class="media-item-copy-container copy-to-clipboard-container edit-attachment">
|
||||
<button type="button" class="button button-small copy-attachment-url" data-clipboard-text="<?php echo $file_url; ?>"><?php _e( 'Copy URL to clipboard' ); ?></button>
|
||||
<span class="success hidden" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
|
||||
</span>
|
||||
<?php
|
||||
if ( current_user_can( 'edit_post', $id ) ) {
|
||||
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" target="_blank">' . _x( 'Edit', 'media item' ) . '</a>';
|
||||
} else {
|
||||
echo '<span class="edit-attachment">' . _x( 'Success', 'media item' ) . '</span>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
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) ) {
|
||||
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>';
|
||||
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() )
|
||||
);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
@ -91,14 +133,20 @@ if ( $_REQUEST['short'] ) {
|
|||
// Short form response - attachment ID only.
|
||||
echo $id;
|
||||
} else {
|
||||
// Long form response - big chunk o html.
|
||||
// Long form response - big chunk of HTML.
|
||||
$type = $_REQUEST['type'];
|
||||
|
||||
/**
|
||||
* Filters the returned ID of an uploaded attachment.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$type`, refers to the attachment type,
|
||||
* such as 'image', 'audio', 'video', 'file', etc.
|
||||
* The dynamic portion of the hook name, `$type`, refers to the attachment type.
|
||||
*
|
||||
* Possible hook names include:
|
||||
*
|
||||
* - `async_upload_audio`
|
||||
* - `async_upload_file`
|
||||
* - `async_upload_image`
|
||||
* - `async_upload_video`
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
|
|
|
|||
312
wp-admin/authorize-application.php
Normal file
312
wp-admin/authorize-application.php
Normal file
|
|
@ -0,0 +1,312 @@
|
|||
<?php
|
||||
/**
|
||||
* Authorize Application Screen
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once __DIR__ . '/admin.php';
|
||||
|
||||
$error = null;
|
||||
$new_password = '';
|
||||
|
||||
// This is the no-js fallback script. Generally this will all be handled by `auth-app.js`.
|
||||
if ( isset( $_POST['action'] ) && 'authorize_application_password' === $_POST['action'] ) {
|
||||
check_admin_referer( 'authorize_application_password' );
|
||||
|
||||
$success_url = $_POST['success_url'];
|
||||
$reject_url = $_POST['reject_url'];
|
||||
$app_name = $_POST['app_name'];
|
||||
$app_id = $_POST['app_id'];
|
||||
$redirect = '';
|
||||
|
||||
if ( isset( $_POST['reject'] ) ) {
|
||||
if ( $reject_url ) {
|
||||
$redirect = $reject_url;
|
||||
} else {
|
||||
$redirect = admin_url();
|
||||
}
|
||||
} elseif ( isset( $_POST['approve'] ) ) {
|
||||
$created = WP_Application_Passwords::create_new_application_password(
|
||||
get_current_user_id(),
|
||||
array(
|
||||
'name' => $app_name,
|
||||
'app_id' => $app_id,
|
||||
)
|
||||
);
|
||||
|
||||
if ( is_wp_error( $created ) ) {
|
||||
$error = $created;
|
||||
} else {
|
||||
list( $new_password ) = $created;
|
||||
|
||||
if ( $success_url ) {
|
||||
$redirect = add_query_arg(
|
||||
array(
|
||||
'site_url' => urlencode( site_url() ),
|
||||
'user_login' => urlencode( wp_get_current_user()->user_login ),
|
||||
'password' => urlencode( $new_password ),
|
||||
),
|
||||
$success_url
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( $redirect ) {
|
||||
// Explicitly not using wp_safe_redirect b/c sends to arbitrary domain.
|
||||
wp_redirect( $redirect );
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
$title = __( 'Authorize Application' );
|
||||
|
||||
$app_name = ! empty( $_REQUEST['app_name'] ) ? $_REQUEST['app_name'] : '';
|
||||
$app_id = ! empty( $_REQUEST['app_id'] ) ? $_REQUEST['app_id'] : '';
|
||||
$success_url = ! empty( $_REQUEST['success_url'] ) ? $_REQUEST['success_url'] : null;
|
||||
|
||||
if ( ! empty( $_REQUEST['reject_url'] ) ) {
|
||||
$reject_url = $_REQUEST['reject_url'];
|
||||
} elseif ( $success_url ) {
|
||||
$reject_url = add_query_arg( 'success', 'false', $success_url );
|
||||
} else {
|
||||
$reject_url = null;
|
||||
}
|
||||
|
||||
$user = wp_get_current_user();
|
||||
|
||||
$request = compact( 'app_name', 'app_id', 'success_url', 'reject_url' );
|
||||
$is_valid = wp_is_authorize_application_password_request_valid( $request, $user );
|
||||
|
||||
if ( is_wp_error( $is_valid ) ) {
|
||||
wp_die(
|
||||
__( 'The Authorize Application request is not allowed.' ) . ' ' . implode( ' ', $is_valid->get_error_messages() ),
|
||||
__( 'Cannot Authorize Application' )
|
||||
);
|
||||
}
|
||||
|
||||
if ( wp_is_site_protected_by_basic_auth( 'front' ) ) {
|
||||
wp_die(
|
||||
__( 'Your website appears to use Basic Authentication, which is not currently compatible with Application Passwords.' ),
|
||||
__( 'Cannot Authorize Application' ),
|
||||
array(
|
||||
'response' => 501,
|
||||
'link_text' => __( 'Go Back' ),
|
||||
'link_url' => $reject_url ? add_query_arg( 'error', 'disabled', $reject_url ) : admin_url(),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if ( ! wp_is_application_passwords_available_for_user( $user ) ) {
|
||||
if ( wp_is_application_passwords_available() ) {
|
||||
$message = __( 'Application passwords are not available for your account. Please contact the site administrator for assistance.' );
|
||||
} else {
|
||||
$message = __( 'Application passwords are not available.' );
|
||||
}
|
||||
|
||||
wp_die(
|
||||
$message,
|
||||
__( 'Cannot Authorize Application' ),
|
||||
array(
|
||||
'response' => 501,
|
||||
'link_text' => __( 'Go Back' ),
|
||||
'link_url' => $reject_url ? add_query_arg( 'error', 'disabled', $reject_url ) : admin_url(),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
wp_enqueue_script( 'auth-app' );
|
||||
wp_localize_script(
|
||||
'auth-app',
|
||||
'authApp',
|
||||
array(
|
||||
'site_url' => site_url(),
|
||||
'user_login' => $user->user_login,
|
||||
'success' => $success_url,
|
||||
'reject' => $reject_url ? $reject_url : admin_url(),
|
||||
)
|
||||
);
|
||||
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h1><?php echo esc_html( $title ); ?></h1>
|
||||
|
||||
<?php if ( is_wp_error( $error ) ) : ?>
|
||||
<div class="notice notice-error"><p><?php echo $error->get_error_message(); ?></p></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="card auth-app-card">
|
||||
<h2 class="title"><?php _e( 'An application would like to connect to your account.' ); ?></h2>
|
||||
<?php if ( $app_name ) : ?>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: Application name. */
|
||||
__( 'Would you like to give the application identifying itself as %s access to your account? You should only do this if you trust the app in question.' ),
|
||||
'<strong>' . esc_html( $app_name ) . '</strong>'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<?php else : ?>
|
||||
<p><?php _e( 'Would you like to give this application access to your account? You should only do this if you trust the app in question.' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
if ( is_multisite() ) {
|
||||
$blogs = get_blogs_of_user( $user->ID, true );
|
||||
$blogs_count = count( $blogs );
|
||||
if ( $blogs_count > 1 ) {
|
||||
?>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */
|
||||
_n(
|
||||
'This will grant access to <a href="%1$s">the %2$s site in this installation that you have permissions on</a>.',
|
||||
'This will grant access to <a href="%1$s">all %2$s sites in this installation that you have permissions on</a>.',
|
||||
$blogs_count
|
||||
),
|
||||
admin_url( 'my-sites.php' ),
|
||||
number_format_i18n( $blogs_count )
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if ( $new_password ) : ?>
|
||||
<div class="notice notice-success notice-alt below-h2">
|
||||
<p class="application-password-display">
|
||||
<label for="new-application-password-value">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: Application name. */
|
||||
esc_html__( 'Your new password for %s is:' ),
|
||||
'<strong>' . esc_html( $app_name ) . '</strong>'
|
||||
);
|
||||
?>
|
||||
</label>
|
||||
<input id="new-application-password-value" type="text" class="code" readonly="readonly" value="<?php esc_attr( WP_Application_Passwords::chunk_password( $new_password ) ); ?>" />
|
||||
</p>
|
||||
<p><?php _e( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ); ?></p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
/**
|
||||
* Fires in the Authorize Application Password new password section in the no-JS version.
|
||||
*
|
||||
* In most cases, this should be used in combination with the {@see 'wp_application_passwords_approve_app_request_success'}
|
||||
* action to ensure that both the JS and no-JS variants are handled.
|
||||
*
|
||||
* @since 5.6.0
|
||||
* @since 5.6.1 Corrected action name and signature.
|
||||
*
|
||||
* @param string $new_password The newly generated application password.
|
||||
* @param array $request The array of request data. All arguments are optional and may be empty.
|
||||
* @param WP_User $user The user authorizing the application.
|
||||
*/
|
||||
do_action( 'wp_authorize_application_password_form_approved_no_js', $new_password, $request, $user );
|
||||
?>
|
||||
<?php else : ?>
|
||||
<form action="<?php echo esc_url( admin_url( 'authorize-application.php' ) ); ?>" method="post" class="form-wrap">
|
||||
<?php wp_nonce_field( 'authorize_application_password' ); ?>
|
||||
<input type="hidden" name="action" value="authorize_application_password" />
|
||||
<input type="hidden" name="app_id" value="<?php echo esc_attr( $app_id ); ?>" />
|
||||
<input type="hidden" name="success_url" value="<?php echo esc_url( $success_url ); ?>" />
|
||||
<input type="hidden" name="reject_url" value="<?php echo esc_url( $reject_url ); ?>" />
|
||||
|
||||
<div class="form-field">
|
||||
<label for="app_name"><?php _e( 'New Application Password Name' ); ?></label>
|
||||
<input type="text" id="app_name" name="app_name" value="<?php echo esc_attr( $app_name ); ?>" placeholder="<?php esc_attr_e( 'WordPress App on My Phone' ); ?>" required />
|
||||
</div>
|
||||
|
||||
<?php
|
||||
/**
|
||||
* Fires in the Authorize Application Password form before the submit buttons.
|
||||
*
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @param array $request {
|
||||
* The array of request data. All arguments are optional and may be empty.
|
||||
*
|
||||
* @type string $app_name The suggested name of the application.
|
||||
* @type string $success_url The url the user will be redirected to after approving the application.
|
||||
* @type string $reject_url The url the user will be redirected to after rejecting the application.
|
||||
* }
|
||||
* @param WP_User $user The user authorizing the application.
|
||||
*/
|
||||
do_action( 'wp_authorize_application_password_form', $request, $user );
|
||||
?>
|
||||
|
||||
<?php
|
||||
submit_button(
|
||||
__( 'Yes, I approve of this connection.' ),
|
||||
'primary',
|
||||
'approve',
|
||||
false,
|
||||
array(
|
||||
'aria-describedby' => 'description-approve',
|
||||
)
|
||||
);
|
||||
?>
|
||||
<p class="description" id="description-approve">
|
||||
<?php
|
||||
if ( $success_url ) {
|
||||
printf(
|
||||
/* translators: %s: The URL the user is being redirected to. */
|
||||
__( 'You will be sent to %s' ),
|
||||
'<strong><kbd>' . esc_html(
|
||||
add_query_arg(
|
||||
array(
|
||||
'site_url' => site_url(),
|
||||
'user_login' => $user->user_login,
|
||||
'password' => '[------]',
|
||||
),
|
||||
$success_url
|
||||
)
|
||||
) . '</kbd></strong>'
|
||||
);
|
||||
} else {
|
||||
_e( 'You will be given a password to manually enter into the application in question.' );
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
|
||||
<?php
|
||||
submit_button(
|
||||
__( 'No, I do not approve of this connection.' ),
|
||||
'secondary',
|
||||
'reject',
|
||||
false,
|
||||
array(
|
||||
'aria-describedby' => 'description-reject',
|
||||
)
|
||||
);
|
||||
?>
|
||||
<p class="description" id="description-reject">
|
||||
<?php
|
||||
if ( $reject_url ) {
|
||||
printf(
|
||||
/* translators: %s: The URL the user is being redirected to. */
|
||||
__( 'You will be sent to %s' ),
|
||||
'<strong><kbd>' . esc_html( $reject_url ) . '</kbd></strong>'
|
||||
);
|
||||
} else {
|
||||
_e( 'You will be returned to the WordPress Dashboard, and no changes will be made.' );
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
require_once ABSPATH . 'wp-admin/admin-footer.php';
|
||||
|
|
@ -7,171 +7,188 @@
|
|||
*/
|
||||
|
||||
/** Load WordPress Bootstrap */
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
require_once __DIR__ . '/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 ) {
|
||||
if ( isset( $_REQUEST['c'] ) ) {
|
||||
$comment_id = absint( $_REQUEST['c'] );
|
||||
$comment = get_comment( $comment_id );
|
||||
|
||||
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();
|
||||
// Prevent actions on a comment associated with a trashed post.
|
||||
if ( $comment && 'trash' === get_post_status( $comment->comment_post_ID ) ) {
|
||||
wp_die(
|
||||
__( 'You can’t edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
|
||||
);
|
||||
}
|
||||
} else {
|
||||
$comment = null;
|
||||
}
|
||||
|
||||
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>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
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';
|
||||
|
||||
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 );
|
||||
|
||||
require ABSPATH . 'wp-admin/edit-form-comment.php';
|
||||
|
||||
break;
|
||||
|
||||
case 'delete':
|
||||
case 'approve':
|
||||
case 'trash':
|
||||
case 'spam':
|
||||
$title = __( 'Moderate Comment' );
|
||||
|
||||
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 ( str_replace( '1', 'approve', $comment->comment_approved ) === $action ) {
|
||||
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 ( '0' !== $comment->comment_approved ) { // 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>
|
||||
<td><?php comment_author( $comment ); ?></td>
|
||||
<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>
|
||||
<td><?php comment_author_email( $comment ); ?></td>
|
||||
<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>
|
||||
<td><a href="<?php comment_author_url( $comment ); ?>"><?php comment_author_url( $comment ); ?></a></td>
|
||||
<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 ) );
|
||||
|
|
@ -183,151 +200,173 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
|
|||
$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>
|
||||
<th scope="row"><?php _e( 'Submitted on' ); ?></th>
|
||||
<td>
|
||||
<?php
|
||||
/* translators: 1: comment date, 2: comment time */
|
||||
$submitted = sprintf( __( '%1$s at %2$s' ),
|
||||
/* translators: comment date format. See https://secure.php.net/date */
|
||||
<?php
|
||||
$submitted = sprintf(
|
||||
/* translators: 1: Comment date, 2: Comment time. */
|
||||
__( '%1$s at %2$s' ),
|
||||
/* translators: Comment date format. See https://www.php.net/manual/datetime.format.php */
|
||||
get_comment_date( __( 'Y/m/d' ), $comment ),
|
||||
/* translators: Comment time format. See https://www.php.net/manual/datetime.format.php */
|
||||
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>
|
||||
<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 esc_url( 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">
|
||||
<p>
|
||||
<?php submit_button( $button, 'primary', 'submit', false ); ?>
|
||||
<a href="<?php echo esc_url( 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" />
|
||||
<?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;
|
||||
<?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' ), true ) ) {
|
||||
check_admin_referer( 'approve-comment_' . $comment_id );
|
||||
} else {
|
||||
check_admin_referer( 'delete-comment_' . $comment_id );
|
||||
}
|
||||
|
||||
$noredir = isset($_REQUEST['noredir']);
|
||||
$noredir = isset( $_REQUEST['noredir'] );
|
||||
|
||||
if ( !$comment = get_comment($comment_id) )
|
||||
comment_footer_die( __( 'Invalid comment ID.' ) . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'edit-comments.php') );
|
||||
if ( !current_user_can( 'edit_comment', $comment->comment_ID ) )
|
||||
comment_footer_die( __('Sorry, you are not allowed to edit comments on this post.') );
|
||||
$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 ( '' != 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' ), true ) ) {
|
||||
$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' :
|
||||
case 'editedcomment':
|
||||
$comment_id = absint( $_POST['comment_ID'] );
|
||||
$comment_post_id = absint( $_POST['comment_post_ID'] );
|
||||
|
||||
$comment_id = absint( $_POST['comment_ID'] );
|
||||
$comment_post_id = absint( $_POST['comment_post_ID'] );
|
||||
check_admin_referer( 'update-comment_' . $comment_id );
|
||||
|
||||
check_admin_referer( 'update-comment_' . $comment_id );
|
||||
$updated = edit_comment();
|
||||
if ( is_wp_error( $updated ) ) {
|
||||
wp_die( $updated->get_error_message() );
|
||||
}
|
||||
|
||||
edit_comment();
|
||||
$location = ( empty( $_POST['referredby'] ) ? "edit-comments.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id;
|
||||
|
||||
$location = ( empty( $_POST['referredby'] ) ? "edit-comments.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id;
|
||||
/**
|
||||
* Filters the URI the user is redirected to after editing a comment in the admin.
|
||||
*
|
||||
* @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 );
|
||||
|
||||
/**
|
||||
* 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 );
|
||||
wp_redirect( $location );
|
||||
exit;
|
||||
|
||||
exit();
|
||||
default:
|
||||
wp_die( __( 'Unknown action.' ) );
|
||||
|
||||
default:
|
||||
wp_die( __('Unknown action.') );
|
||||
} // End switch.
|
||||
|
||||
} // end switch
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
||||
require_once ABSPATH . 'wp-admin/admin-footer.php';
|
||||
|
|
|
|||
|
|
@ -7,117 +7,123 @@
|
|||
*/
|
||||
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
require_once( dirname( __FILE__ ) . '/includes/credits.php' );
|
||||
require_once __DIR__ . '/admin.php';
|
||||
require_once __DIR__ . '/includes/credits.php';
|
||||
|
||||
$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="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<div class="about-wrap-content">
|
||||
<?php
|
||||
require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
$credits = wp_credits();
|
||||
?>
|
||||
<div class="wrap about__container">
|
||||
|
||||
<div class="about__header">
|
||||
<div class="about__header-title">
|
||||
<h1>
|
||||
<?php _e( 'Contributors' ); ?>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div class="about__header-text">
|
||||
<?php _e( 'WordPress 5.8 was created by a worldwide team of passionate individuals' ); ?>
|
||||
</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 has-1-column">
|
||||
<div class="column aligncenter">
|
||||
<?php if ( ! $credits ) : ?>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: https://wordpress.org/about/ */
|
||||
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals.' ),
|
||||
__( 'https://wordpress.org/about/' )
|
||||
);
|
||||
?>
|
||||
<br />
|
||||
<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
|
||||
</p>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<p>
|
||||
<?php _e( 'Want to see your name in lights on this page?' ); ?>
|
||||
<br />
|
||||
<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
|
||||
</p>
|
||||
|
||||
<?php endif; ?>
|
||||
</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' );
|
||||
require_once ABSPATH . 'wp-admin/admin-footer.php';
|
||||
exit;
|
||||
}
|
||||
|
||||
echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "</p>\n";
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
<p class="clear"><?php
|
||||
/* translators: %s: https://make.wordpress.org/ */
|
||||
printf( __( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
|
||||
__( 'https://make.wordpress.org/' )
|
||||
);
|
||||
?></p>
|
||||
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
<div class="about__section">
|
||||
<div class="column is-edge-to-edge">
|
||||
<?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>
|
||||
<?php
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
||||
require_once ABSPATH . 'wp-admin/admin-footer.php';
|
||||
|
||||
return;
|
||||
|
||||
// These are strings returned by the API that we want to be translatable
|
||||
// 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
|
|
@ -1,9 +1,10 @@
|
|||
/*! This file is auto-generated */
|
||||
#adminmenuback,
|
||||
#adminmenuwrap,
|
||||
#adminmenu,
|
||||
#adminmenu .wp-submenu {
|
||||
width: 160px;
|
||||
background-color: #23282d;
|
||||
background-color: #1d2327;
|
||||
}
|
||||
|
||||
#adminmenuback {
|
||||
|
|
@ -13,6 +14,15 @@
|
|||
z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */
|
||||
}
|
||||
|
||||
.php-error #adminmenuback {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.php-error #adminmenuback,
|
||||
.php-error #adminmenuwrap {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
#adminmenu {
|
||||
clear: right;
|
||||
margin: 12px 0;
|
||||
|
|
@ -38,9 +48,9 @@
|
|||
/* New Menu icons */
|
||||
|
||||
.icon16:before {
|
||||
color: #82878c; /* same as new icons */
|
||||
color: #8c8f94; /* same as new icons */
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: none;
|
||||
speak: never;
|
||||
padding: 6px 0;
|
||||
height: 34px;
|
||||
width: 20px;
|
||||
|
|
@ -146,8 +156,6 @@
|
|||
/* side admin menu */
|
||||
#adminmenu * {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -159,14 +167,18 @@
|
|||
|
||||
#adminmenu a {
|
||||
display: block;
|
||||
line-height: 18px;
|
||||
line-height: 1.3;
|
||||
padding: 2px 5px;
|
||||
color: #eee;
|
||||
color: #f0f0f1;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a {
|
||||
color: #b4b9be;
|
||||
color: rgba(240,245,250,0.7);
|
||||
color: #c3c4c7;
|
||||
color: rgba(240, 246, 252, 0.7);
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:hover,
|
||||
|
|
@ -178,7 +190,14 @@
|
|||
#adminmenu li.menu-top > a:focus,
|
||||
#adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-submenu a:focus {
|
||||
color: #00b9eb;
|
||||
color: #72aee6;
|
||||
}
|
||||
|
||||
#adminmenu a:hover,
|
||||
#adminmenu a:focus,
|
||||
.folded #adminmenu .wp-submenu-head:hover {
|
||||
box-shadow: inset -4px 0 0 0 currentColor;
|
||||
transition: box-shadow .1s linear;
|
||||
}
|
||||
|
||||
#adminmenu li.menu-top {
|
||||
|
|
@ -194,15 +213,10 @@
|
|||
right: 160px;
|
||||
overflow: visible;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu,
|
||||
.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
||||
padding: 7px 0 8px;
|
||||
z-index: 9999;
|
||||
background-color: #32373c;
|
||||
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
|
||||
background-color: #2c3338;
|
||||
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.js #adminmenu .sub-open,
|
||||
|
|
@ -212,9 +226,12 @@
|
|||
top: -1px;
|
||||
}
|
||||
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
.no-js li.wp-has-current-submenu:hover .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu {
|
||||
position: relative;
|
||||
|
|
@ -226,7 +243,10 @@
|
|||
border: 0 none;
|
||||
margin-top: 0;
|
||||
box-shadow: none;
|
||||
background-color: #32373c;
|
||||
}
|
||||
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
||||
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */
|
||||
|
|
@ -234,8 +254,8 @@
|
|||
#adminmenu li.opensub > a.menu-top,
|
||||
#adminmenu li > a.menu-top:focus {
|
||||
position: relative;
|
||||
background-color: #191e23;
|
||||
color: #00b9eb;
|
||||
background-color: #1d2327;
|
||||
color: #72aee6;
|
||||
}
|
||||
|
||||
.folded #adminmenu li.menu-top:hover,
|
||||
|
|
@ -246,12 +266,10 @@
|
|||
|
||||
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
|
||||
#adminmenu li.current a.menu-top,
|
||||
.folded #adminmenu li.wp-has-current-submenu,
|
||||
.folded #adminmenu li.current.menu-top,
|
||||
#adminmenu .wp-menu-arrow,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
|
||||
#adminmenu .wp-menu-arrow div {
|
||||
background: #0073aa;
|
||||
background: #2271b1;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -276,13 +294,7 @@
|
|||
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
||||
min-width: 160px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a {
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
border-right: 5px solid transparent;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current,
|
||||
|
|
@ -298,7 +310,8 @@
|
|||
.folded #adminmenu .wp-has-current-submenu li > a {
|
||||
padding-left: 16px;
|
||||
padding-right: 14px;
|
||||
transition: all .1s ease-in-out;
|
||||
/* Exclude from the transition the outline for Windows High Contrast mode */
|
||||
transition: all .1s ease-in-out, outline 0s;
|
||||
}
|
||||
|
||||
#adminmenu .wp-has-current-submenu ul > li > a,
|
||||
|
|
@ -310,7 +323,7 @@
|
|||
#adminmenu .wp-submenu-head {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 18px;
|
||||
line-height: 1.3;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
|
@ -330,7 +343,6 @@
|
|||
#adminmenu .wp-submenu li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#adminmenu .wp-menu-image img {
|
||||
|
|
@ -340,7 +352,13 @@
|
|||
}
|
||||
|
||||
#adminmenu div.wp-menu-name {
|
||||
padding: 8px 0;
|
||||
padding: 8px 36px 8px 8px;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
-ms-word-break: break-all;
|
||||
word-break: break-word;
|
||||
-webkit-hyphens: auto;
|
||||
hyphens: auto;
|
||||
}
|
||||
|
||||
#adminmenu div.wp-menu-image {
|
||||
|
|
@ -358,15 +376,15 @@
|
|||
}
|
||||
|
||||
div.wp-menu-image:before {
|
||||
color: #a0a5aa;
|
||||
color: rgba(240,245,250,0.6);
|
||||
color: #a7aaad;
|
||||
color: rgba(240, 246, 252, 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: #a7aaad;
|
||||
color: rgba(240, 246, 252, 0.6);
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,
|
||||
|
|
@ -382,12 +400,7 @@ div.wp-menu-image:before {
|
|||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #00b9eb;
|
||||
}
|
||||
|
||||
/* IE8 doesn't redraw the pseudo elements unless you make a change to the content, this restore the initial color after hover */
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #a0a5aa;
|
||||
color: #72aee6;
|
||||
}
|
||||
|
||||
.folded #adminmenu div.wp-menu-image {
|
||||
|
|
@ -401,20 +414,6 @@ div.wp-menu-image:before {
|
|||
height: 34px;
|
||||
}
|
||||
|
||||
/* No @font-face support */
|
||||
.no-font-face #adminmenu .wp-menu-image {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.no-font-face #adminmenu div.wp-menu-name {
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
.no-font-face.auto-fold #adminmenu .wp-menu-name {
|
||||
margin-right: 0;
|
||||
}
|
||||
/* End no @font-face support */
|
||||
|
||||
/* Sticky admin menu */
|
||||
.sticky-menu #adminmenuwrap {
|
||||
position: fixed;
|
||||
|
|
@ -439,12 +438,13 @@ ul#adminmenu > li.current > a.current:after {
|
|||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
border-left-color: #f1f1f1;
|
||||
border-left-color: #f0f0f1;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
|
||||
.folded ul#adminmenu li:hover a.wp-has-current-submenu:after {
|
||||
.folded ul#adminmenu li:hover a.wp-has-current-submenu:after,
|
||||
.folded ul#adminmenu li.wp-has-current-submenu:focus-within a.wp-has-current-submenu:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
@ -455,27 +455,29 @@ ul#adminmenu > li.current > a.current:after {
|
|||
}
|
||||
|
||||
/* flyout menu arrow */
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
left: 0;
|
||||
border: solid transparent;
|
||||
border: 8px solid transparent;
|
||||
content: " ";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
border-width: 8px;
|
||||
top: 10px;
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
|
||||
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
|
||||
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-width: 4px;
|
||||
margin-top: -4px;
|
||||
top: 18px;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
border-left-color: #32373c;
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-left-color: #2c3338;
|
||||
}
|
||||
|
||||
#adminmenu li.menu-top:hover .wp-menu-image img,
|
||||
|
|
@ -501,8 +503,11 @@ ul#adminmenu > li.current > a.current:after {
|
|||
color: #fff;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
padding: 8px 11px 8px 4px;
|
||||
margin: -7px 0px 4px;
|
||||
padding: 5px 11px 5px 4px;
|
||||
margin: -7px -5px 4px 0px;
|
||||
border-width: 3px 5px 3px 0;
|
||||
border-style: solid;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
#adminmenu li.current,
|
||||
|
|
@ -515,22 +520,23 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#adminmenu .update-plugins {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin: 1px 2px 0 0;
|
||||
box-sizing: border-box;
|
||||
margin: 1px 2px -1px 0;
|
||||
padding: 0 5px;
|
||||
min-width: 7px;
|
||||
height: 17px;
|
||||
border-radius: 11px;
|
||||
background-color: #ca4a1f;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 9px;
|
||||
background-color: #d63638;
|
||||
color: #fff;
|
||||
font-size: 9px;
|
||||
line-height: 17px;
|
||||
font-size: 11px;
|
||||
line-height: 1.6;
|
||||
text-align: center;
|
||||
z-index: 26;
|
||||
}
|
||||
|
||||
#adminmenu li.current a .awaiting-mod,
|
||||
#adminmenu li a.wp-has-current-submenu .update-plugins {
|
||||
background-color: #00b9eb;
|
||||
background-color: #d63638;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -547,16 +553,20 @@ ul#adminmenu > li.current > a.current:after {
|
|||
padding: 0;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
line-height: 34px;
|
||||
background: none;
|
||||
color: #aaa;
|
||||
color: #a7aaad;
|
||||
cursor: pointer;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:hover {
|
||||
color: #72aee6;
|
||||
}
|
||||
|
||||
#collapse-button:focus {
|
||||
color: #00b9eb;
|
||||
color: #72aee6;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 1px solid transparent;
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon,
|
||||
|
|
@ -566,7 +576,10 @@ ul#adminmenu > li.current > a.current:after {
|
|||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
line-height: 34px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-label {
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon {
|
||||
|
|
@ -589,7 +602,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
top: 7px;
|
||||
text-align: center;
|
||||
font: normal 20px/1 dashicons !important;
|
||||
speak: none;
|
||||
speak: never;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
|
@ -597,12 +610,10 @@ 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;
|
||||
}
|
||||
|
||||
|
|
@ -689,7 +700,7 @@ li#wp-admin-bar-menu-toggle {
|
|||
}
|
||||
|
||||
.auto-fold #adminmenu a.menu-top {
|
||||
height: 34px;
|
||||
min-height: 34px;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenu li.wp-menu-open {
|
||||
|
|
@ -700,11 +711,13 @@ li#wp-admin-bar-menu-toggle {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
|
||||
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,
|
||||
.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
|
||||
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
|
||||
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-width: 4px;
|
||||
margin-top: -4px;
|
||||
top: 16px;
|
||||
|
|
@ -728,18 +741,16 @@ 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;
|
||||
|
|
@ -761,6 +772,10 @@ li#wp-admin-bar-menu-toggle {
|
|||
z-index: 100;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenuback {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenuback,
|
||||
.auto-fold #adminmenuwrap {
|
||||
display: none;
|
||||
|
|
@ -788,7 +803,6 @@ li#wp-admin-bar-menu-toggle {
|
|||
/* Restore the menu names */
|
||||
.auto-fold #adminmenu .wp-menu-name {
|
||||
position: static;
|
||||
margin-right: 35px;
|
||||
}
|
||||
|
||||
/* Switch the arrow side */
|
||||
|
|
@ -798,7 +812,8 @@ li#wp-admin-bar-menu-toggle {
|
|||
margin-top: -8px;
|
||||
}
|
||||
|
||||
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
|
||||
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
|
||||
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
@ -830,7 +845,8 @@ li#wp-admin-bar-menu-toggle {
|
|||
display: block;
|
||||
}
|
||||
|
||||
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
|
||||
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,
|
||||
.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
|
@ -842,6 +858,11 @@ li#wp-admin-bar-menu-toggle {
|
|||
top: 0;
|
||||
}
|
||||
|
||||
#adminmenu .wp-not-current-submenu .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/* Remove submenu headers and adjust sub meu*/
|
||||
#adminmenu .wp-submenu .wp-submenu-head {
|
||||
display: none;
|
||||
|
|
@ -871,7 +892,7 @@ li#wp-admin-bar-menu-toggle {
|
|||
}
|
||||
|
||||
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
|
||||
background: #32373c;
|
||||
background: #2c3338;
|
||||
}
|
||||
|
||||
li#wp-admin-bar-menu-toggle {
|
||||
|
|
@ -902,7 +923,7 @@ li#wp-admin-bar-menu-toggle {
|
|||
}
|
||||
|
||||
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
|
||||
color: #00b9eb;
|
||||
color: #72aee6;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
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
|
|
@ -3,7 +3,7 @@
|
|||
#adminmenu,
|
||||
#adminmenu .wp-submenu {
|
||||
width: 160px;
|
||||
background-color: #23282d;
|
||||
background-color: #1d2327;
|
||||
}
|
||||
|
||||
#adminmenuback {
|
||||
|
|
@ -13,6 +13,15 @@
|
|||
z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */
|
||||
}
|
||||
|
||||
.php-error #adminmenuback {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.php-error #adminmenuback,
|
||||
.php-error #adminmenuwrap {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
#adminmenu {
|
||||
clear: left;
|
||||
margin: 12px 0;
|
||||
|
|
@ -38,9 +47,9 @@
|
|||
/* New Menu icons */
|
||||
|
||||
.icon16:before {
|
||||
color: #82878c; /* same as new icons */
|
||||
color: #8c8f94; /* same as new icons */
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: none;
|
||||
speak: never;
|
||||
padding: 6px 0;
|
||||
height: 34px;
|
||||
width: 20px;
|
||||
|
|
@ -146,8 +155,6 @@
|
|||
/* side admin menu */
|
||||
#adminmenu * {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -159,14 +166,18 @@
|
|||
|
||||
#adminmenu a {
|
||||
display: block;
|
||||
line-height: 18px;
|
||||
line-height: 1.3;
|
||||
padding: 2px 5px;
|
||||
color: #eee;
|
||||
color: #f0f0f1;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a {
|
||||
color: #b4b9be;
|
||||
color: rgba(240,245,250,0.7);
|
||||
color: #c3c4c7;
|
||||
color: rgba(240, 246, 252, 0.7);
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:hover,
|
||||
|
|
@ -178,7 +189,14 @@
|
|||
#adminmenu li.menu-top > a:focus,
|
||||
#adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-submenu a:focus {
|
||||
color: #00b9eb;
|
||||
color: #72aee6;
|
||||
}
|
||||
|
||||
#adminmenu a:hover,
|
||||
#adminmenu a:focus,
|
||||
.folded #adminmenu .wp-submenu-head:hover {
|
||||
box-shadow: inset 4px 0 0 0 currentColor;
|
||||
transition: box-shadow .1s linear;
|
||||
}
|
||||
|
||||
#adminmenu li.menu-top {
|
||||
|
|
@ -194,15 +212,10 @@
|
|||
left: 160px;
|
||||
overflow: visible;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu,
|
||||
.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
||||
padding: 7px 0 8px;
|
||||
z-index: 9999;
|
||||
background-color: #32373c;
|
||||
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
|
||||
background-color: #2c3338;
|
||||
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.js #adminmenu .sub-open,
|
||||
|
|
@ -212,9 +225,12 @@
|
|||
top: -1px;
|
||||
}
|
||||
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
.no-js li.wp-has-current-submenu:hover .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu {
|
||||
position: relative;
|
||||
|
|
@ -226,7 +242,10 @@
|
|||
border: 0 none;
|
||||
margin-top: 0;
|
||||
box-shadow: none;
|
||||
background-color: #32373c;
|
||||
}
|
||||
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
||||
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */
|
||||
|
|
@ -234,8 +253,8 @@
|
|||
#adminmenu li.opensub > a.menu-top,
|
||||
#adminmenu li > a.menu-top:focus {
|
||||
position: relative;
|
||||
background-color: #191e23;
|
||||
color: #00b9eb;
|
||||
background-color: #1d2327;
|
||||
color: #72aee6;
|
||||
}
|
||||
|
||||
.folded #adminmenu li.menu-top:hover,
|
||||
|
|
@ -246,12 +265,10 @@
|
|||
|
||||
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
|
||||
#adminmenu li.current a.menu-top,
|
||||
.folded #adminmenu li.wp-has-current-submenu,
|
||||
.folded #adminmenu li.current.menu-top,
|
||||
#adminmenu .wp-menu-arrow,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
|
||||
#adminmenu .wp-menu-arrow div {
|
||||
background: #0073aa;
|
||||
background: #2271b1;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -276,13 +293,7 @@
|
|||
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
||||
min-width: 160px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a {
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
border-left: 5px solid transparent;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current,
|
||||
|
|
@ -298,7 +309,8 @@
|
|||
.folded #adminmenu .wp-has-current-submenu li > a {
|
||||
padding-right: 16px;
|
||||
padding-left: 14px;
|
||||
transition: all .1s ease-in-out;
|
||||
/* Exclude from the transition the outline for Windows High Contrast mode */
|
||||
transition: all .1s ease-in-out, outline 0s;
|
||||
}
|
||||
|
||||
#adminmenu .wp-has-current-submenu ul > li > a,
|
||||
|
|
@ -310,7 +322,7 @@
|
|||
#adminmenu .wp-submenu-head {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 18px;
|
||||
line-height: 1.3;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
|
@ -330,7 +342,6 @@
|
|||
#adminmenu .wp-submenu li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#adminmenu .wp-menu-image img {
|
||||
|
|
@ -340,7 +351,13 @@
|
|||
}
|
||||
|
||||
#adminmenu div.wp-menu-name {
|
||||
padding: 8px 0;
|
||||
padding: 8px 8px 8px 36px;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
-ms-word-break: break-all;
|
||||
word-break: break-word;
|
||||
-webkit-hyphens: auto;
|
||||
hyphens: auto;
|
||||
}
|
||||
|
||||
#adminmenu div.wp-menu-image {
|
||||
|
|
@ -358,15 +375,15 @@
|
|||
}
|
||||
|
||||
div.wp-menu-image:before {
|
||||
color: #a0a5aa;
|
||||
color: rgba(240,245,250,0.6);
|
||||
color: #a7aaad;
|
||||
color: rgba(240, 246, 252, 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: #a7aaad;
|
||||
color: rgba(240, 246, 252, 0.6);
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,
|
||||
|
|
@ -382,12 +399,7 @@ div.wp-menu-image:before {
|
|||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #00b9eb;
|
||||
}
|
||||
|
||||
/* IE8 doesn't redraw the pseudo elements unless you make a change to the content, this restore the initial color after hover */
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #a0a5aa;
|
||||
color: #72aee6;
|
||||
}
|
||||
|
||||
.folded #adminmenu div.wp-menu-image {
|
||||
|
|
@ -401,20 +413,6 @@ div.wp-menu-image:before {
|
|||
height: 34px;
|
||||
}
|
||||
|
||||
/* No @font-face support */
|
||||
.no-font-face #adminmenu .wp-menu-image {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.no-font-face #adminmenu div.wp-menu-name {
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
.no-font-face.auto-fold #adminmenu .wp-menu-name {
|
||||
margin-left: 0;
|
||||
}
|
||||
/* End no @font-face support */
|
||||
|
||||
/* Sticky admin menu */
|
||||
.sticky-menu #adminmenuwrap {
|
||||
position: fixed;
|
||||
|
|
@ -439,12 +437,13 @@ ul#adminmenu > li.current > a.current:after {
|
|||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
border-right-color: #f1f1f1;
|
||||
border-right-color: #f0f0f1;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
|
||||
.folded ul#adminmenu li:hover a.wp-has-current-submenu:after {
|
||||
.folded ul#adminmenu li:hover a.wp-has-current-submenu:after,
|
||||
.folded ul#adminmenu li.wp-has-current-submenu:focus-within a.wp-has-current-submenu:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
@ -455,27 +454,29 @@ ul#adminmenu > li.current > a.current:after {
|
|||
}
|
||||
|
||||
/* flyout menu arrow */
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
right: 0;
|
||||
border: solid transparent;
|
||||
border: 8px solid transparent;
|
||||
content: " ";
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
border-width: 8px;
|
||||
top: 10px;
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
|
||||
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
|
||||
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-width: 4px;
|
||||
margin-top: -4px;
|
||||
top: 18px;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
border-right-color: #32373c;
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-right-color: #2c3338;
|
||||
}
|
||||
|
||||
#adminmenu li.menu-top:hover .wp-menu-image img,
|
||||
|
|
@ -501,8 +502,11 @@ ul#adminmenu > li.current > a.current:after {
|
|||
color: #fff;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
padding: 8px 4px 8px 11px;
|
||||
margin: -7px 0px 4px;
|
||||
padding: 5px 4px 5px 11px;
|
||||
margin: -7px 0px 4px -5px;
|
||||
border-width: 3px 0 3px 5px;
|
||||
border-style: solid;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
#adminmenu li.current,
|
||||
|
|
@ -515,22 +519,23 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#adminmenu .update-plugins {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin: 1px 0 0 2px;
|
||||
box-sizing: border-box;
|
||||
margin: 1px 0 -1px 2px;
|
||||
padding: 0 5px;
|
||||
min-width: 7px;
|
||||
height: 17px;
|
||||
border-radius: 11px;
|
||||
background-color: #ca4a1f;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 9px;
|
||||
background-color: #d63638;
|
||||
color: #fff;
|
||||
font-size: 9px;
|
||||
line-height: 17px;
|
||||
font-size: 11px;
|
||||
line-height: 1.6;
|
||||
text-align: center;
|
||||
z-index: 26;
|
||||
}
|
||||
|
||||
#adminmenu li.current a .awaiting-mod,
|
||||
#adminmenu li a.wp-has-current-submenu .update-plugins {
|
||||
background-color: #00b9eb;
|
||||
background-color: #d63638;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -547,16 +552,20 @@ ul#adminmenu > li.current > a.current:after {
|
|||
padding: 0;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
line-height: 34px;
|
||||
background: none;
|
||||
color: #aaa;
|
||||
color: #a7aaad;
|
||||
cursor: pointer;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:hover {
|
||||
color: #72aee6;
|
||||
}
|
||||
|
||||
#collapse-button:focus {
|
||||
color: #00b9eb;
|
||||
color: #72aee6;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 1px solid transparent;
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon,
|
||||
|
|
@ -566,7 +575,10 @@ ul#adminmenu > li.current > a.current:after {
|
|||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
line-height: 34px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-label {
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon {
|
||||
|
|
@ -589,7 +601,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
top: 7px;
|
||||
text-align: center;
|
||||
font: normal 20px/1 dashicons !important;
|
||||
speak: none;
|
||||
speak: never;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
|
@ -597,12 +609,10 @@ 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;
|
||||
}
|
||||
|
||||
|
|
@ -689,7 +699,7 @@ li#wp-admin-bar-menu-toggle {
|
|||
}
|
||||
|
||||
.auto-fold #adminmenu a.menu-top {
|
||||
height: 34px;
|
||||
min-height: 34px;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenu li.wp-menu-open {
|
||||
|
|
@ -700,11 +710,13 @@ li#wp-admin-bar-menu-toggle {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
|
||||
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,
|
||||
.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
|
||||
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
|
||||
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-width: 4px;
|
||||
margin-top: -4px;
|
||||
top: 16px;
|
||||
|
|
@ -728,18 +740,16 @@ 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;
|
||||
|
|
@ -761,6 +771,10 @@ li#wp-admin-bar-menu-toggle {
|
|||
z-index: 100;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenuback {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.auto-fold #adminmenuback,
|
||||
.auto-fold #adminmenuwrap {
|
||||
display: none;
|
||||
|
|
@ -788,7 +802,6 @@ li#wp-admin-bar-menu-toggle {
|
|||
/* Restore the menu names */
|
||||
.auto-fold #adminmenu .wp-menu-name {
|
||||
position: static;
|
||||
margin-left: 35px;
|
||||
}
|
||||
|
||||
/* Switch the arrow side */
|
||||
|
|
@ -798,7 +811,8 @@ li#wp-admin-bar-menu-toggle {
|
|||
margin-top: -8px;
|
||||
}
|
||||
|
||||
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {
|
||||
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
|
||||
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
@ -830,7 +844,8 @@ li#wp-admin-bar-menu-toggle {
|
|||
display: block;
|
||||
}
|
||||
|
||||
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after {
|
||||
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,
|
||||
.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
|
@ -842,6 +857,11 @@ li#wp-admin-bar-menu-toggle {
|
|||
top: 0;
|
||||
}
|
||||
|
||||
#adminmenu .wp-not-current-submenu .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
/* Remove submenu headers and adjust sub meu*/
|
||||
#adminmenu .wp-submenu .wp-submenu-head {
|
||||
display: none;
|
||||
|
|
@ -871,7 +891,7 @@ li#wp-admin-bar-menu-toggle {
|
|||
}
|
||||
|
||||
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
|
||||
background: #32373c;
|
||||
background: #2c3338;
|
||||
}
|
||||
|
||||
li#wp-admin-bar-menu-toggle {
|
||||
|
|
@ -902,7 +922,7 @@ li#wp-admin-bar-menu-toggle {
|
|||
}
|
||||
|
||||
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
|
||||
color: #00b9eb;
|
||||
color: #72aee6;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
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
|
|
@ -1,3 +1,4 @@
|
|||
/*! This file is auto-generated */
|
||||
.wrap [class*="CodeMirror-lint-marker"],
|
||||
.wp-core-ui [class*="CodeMirror-lint-message"],
|
||||
.wrap .CodeMirror-lint-marker-multiple {
|
||||
|
|
@ -28,31 +29,31 @@
|
|||
|
||||
.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;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-message-warning {
|
||||
background-color: #fff8e5;
|
||||
border-right: 4px solid #ffb900;
|
||||
background-color: #fcf9e8;
|
||||
border-right: 4px solid #dba617;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror-lint-marker-warning:before,
|
||||
.wp-core-ui .CodeMirror-lint-message-warning:before {
|
||||
content: "\f534";
|
||||
color: #f6a306;
|
||||
color: #dba617;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-message-error {
|
||||
background-color: #fbeaea;
|
||||
border-right: 4px solid #dc3232;
|
||||
background-color: #fcf0f1;
|
||||
border-right: 4px solid #d63638;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror-lint-marker-error:before,
|
||||
.wp-core-ui .CodeMirror-lint-message-error:before {
|
||||
content: "\f153";
|
||||
color: #dc3232;
|
||||
color: #d63638;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-tooltip {
|
||||
|
|
@ -63,10 +64,14 @@
|
|||
}
|
||||
|
||||
.wrap .CodeMirror .CodeMirror-matchingbracket {
|
||||
background: rgba(255, 150, 0, .3);
|
||||
background: rgba(219, 166, 23, 0.3);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.CodeMirror {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror .CodeMirror-linenumber {
|
||||
color: #646970;
|
||||
}
|
||||
|
|
|
|||
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: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}
|
||||
.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:#fcf9e8;border-right:4px solid #dba617}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#dba617}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fcf0f1;border-right:4px solid #d63638}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#d63638}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:rtl}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(219,166,23,.3);color:inherit}.CodeMirror{text-align:right}.wrap .CodeMirror .CodeMirror-linenumber{color:#646970}
|
||||
|
|
@ -28,31 +28,31 @@
|
|||
|
||||
.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;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-message-warning {
|
||||
background-color: #fff8e5;
|
||||
border-left: 4px solid #ffb900;
|
||||
background-color: #fcf9e8;
|
||||
border-left: 4px solid #dba617;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror-lint-marker-warning:before,
|
||||
.wp-core-ui .CodeMirror-lint-message-warning:before {
|
||||
content: "\f534";
|
||||
color: #f6a306;
|
||||
color: #dba617;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-message-error {
|
||||
background-color: #fbeaea;
|
||||
border-left: 4px solid #dc3232;
|
||||
background-color: #fcf0f1;
|
||||
border-left: 4px solid #d63638;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror-lint-marker-error:before,
|
||||
.wp-core-ui .CodeMirror-lint-message-error:before {
|
||||
content: "\f153";
|
||||
color: #dc3232;
|
||||
color: #d63638;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-tooltip {
|
||||
|
|
@ -63,10 +63,14 @@
|
|||
}
|
||||
|
||||
.wrap .CodeMirror .CodeMirror-matchingbracket {
|
||||
background: rgba(255, 150, 0, .3);
|
||||
background: rgba(219, 166, 23, 0.3);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.CodeMirror {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror .CodeMirror-linenumber {
|
||||
color: #646970;
|
||||
}
|
||||
|
|
|
|||
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: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}
|
||||
.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:#fcf9e8;border-left:4px solid #dba617}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#dba617}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fcf0f1;border-left:4px solid #d63638}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#d63638}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:ltr}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(219,166,23,.3);color:inherit}.CodeMirror{text-align:left}.wrap .CodeMirror .CodeMirror-linenumber{color:#646970}
|
||||
|
|
@ -1,5 +1,8 @@
|
|||
/*! This file is auto-generated */
|
||||
/* rtl:ignore */
|
||||
.wp-color-picker {
|
||||
width: 80px;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.wp-picker-container .hidden {
|
||||
|
|
@ -8,49 +11,48 @@
|
|||
|
||||
/* Needs higher specificiity. */
|
||||
.wp-picker-container .wp-color-result.button {
|
||||
height: 24px;
|
||||
min-height: 30px;
|
||||
margin: 0 0px 6px 6px;
|
||||
padding: 0 30px 0 0;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.wp-color-result-text {
|
||||
background: #f7f7f7;
|
||||
background: #f6f7f7;
|
||||
border-radius: 2px 0 0 2px;
|
||||
border-right: 1px solid #ccc;
|
||||
color: #555;
|
||||
border-right: 1px solid #c3c4c7;
|
||||
color: #50575e;
|
||||
display: block;
|
||||
line-height: 22px;
|
||||
line-height: 2.54545455; /* 28px */
|
||||
padding: 0 6px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-color-result:hover,
|
||||
.wp-color-result:focus {
|
||||
background: #fafafa;
|
||||
border-color: #999;
|
||||
color: #23282d;
|
||||
background: #f6f7f7;
|
||||
border-color: #8c8f94;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
.wp-color-result:hover:after,
|
||||
.wp-color-result:focus:after {
|
||||
color: #23282d;
|
||||
border-color: #a0a5aa;
|
||||
border-right: 1px solid #999;
|
||||
color: #1d2327;
|
||||
border-color: #a7aaad;
|
||||
border-right: 1px solid #8c8f94;
|
||||
}
|
||||
|
||||
.wp-picker-containers {
|
||||
.wp-picker-container {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.wp-color-result:focus {
|
||||
border-color: #5b9dd9;
|
||||
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
|
||||
border-color: #4f94d4;
|
||||
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
|
||||
}
|
||||
|
||||
.wp-color-result:active {
|
||||
/* See Trac ticket #39662 */
|
||||
-webkit-transform: none !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
|
|
@ -69,85 +71,104 @@
|
|||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.wp-picker-input-wrap .button,
|
||||
.wp-customizer .wp-picker-input-wrap .button {
|
||||
margin-right: 6px;
|
||||
.wp-picker-input-wrap .button.wp-picker-default,
|
||||
.wp-picker-input-wrap .button.wp-picker-clear,
|
||||
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,
|
||||
.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear {
|
||||
margin-right: 6px;
|
||||
padding: 0 8px;
|
||||
line-height: 2.54545455; /* 28px */
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
|
||||
background-color: #555
|
||||
background-color: #50575e
|
||||
}
|
||||
|
||||
.wp-picker-container .iris-picker {
|
||||
border-radius: 0;
|
||||
border-color: #ddd;
|
||||
border-color: #dcdcde;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.wp-picker-container input[type="text"].wp-color-picker {
|
||||
width: 65px;
|
||||
width: 4rem;
|
||||
font-size: 12px;
|
||||
font-family: monospace;
|
||||
line-height: 16px;
|
||||
line-height: 2.33333333; /* 28px */
|
||||
margin: 0;
|
||||
padding: 0 5px;
|
||||
vertical-align: top;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
.wp-color-picker::-webkit-input-placeholder {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.wp-color-picker::-moz-placeholder {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.wp-color-picker:-ms-input-placeholder {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.wp-picker-container input[type="text"].iris-error {
|
||||
background-color: #ffebe8;
|
||||
border-color: #c00;
|
||||
background-color: #fcf0f1;
|
||||
border-color: #d63638;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.iris-picker .ui-square-handle:focus,
|
||||
.iris-picker .iris-strip .ui-slider-handle:focus {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
border-color: #3582c4;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #3582c4;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
|
||||
.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);
|
||||
box-shadow: 0 0 0 2px #3582c4;
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 782px ) {
|
||||
@media screen and (max-width: 782px) {
|
||||
.wp-picker-container input[type="text"].wp-color-picker {
|
||||
width: 80px;
|
||||
padding: 6px 5px 5px;
|
||||
width: 5rem;
|
||||
font-size: 16px;
|
||||
line-height: 18px;
|
||||
line-height: 1.875; /* 30px */
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
|
||||
padding: 5px 5px 4px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.wp-picker-input-wrap .button.wp-picker-default,
|
||||
.wp-picker-input-wrap .button.wp-picker-clear {
|
||||
padding: 0 8px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,
|
||||
.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear {
|
||||
padding: 0 8px;
|
||||
font-size: 14px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.wp-picker-container .wp-color-result.button {
|
||||
height: auto;
|
||||
padding: 0 40px 0 0;
|
||||
font-size: 14px;
|
||||
line-height: 29px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container .wp-color-result.button {
|
||||
font-size: 13px;
|
||||
line-height: 26px;
|
||||
font-size: 14px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
}
|
||||
|
||||
.wp-picker-container .wp-color-result-text {
|
||||
|
|
@ -160,14 +181,3 @@
|
|||
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}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{-webkit-transform:none!important;transform:none!important}.wp-picker-input-wrap label,.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 40px 0 0;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
|
||||
.wp-color-picker{width:80px;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:#f6f7f7;border-radius:2px 0 0 2px;border-right:1px solid #c3c4c7;color:#50575e;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#f6f7f7;border-color:#8c8f94;color:#1d2327}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#1d2327;border-color:#a7aaad;border-right:1px solid #8c8f94}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.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-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-clear,.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:#50575e}.wp-picker-container .iris-picker{border-radius:0;border-color:#dcdcde;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:#646970}.wp-color-picker::-moz-placeholder{color:#646970;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#646970}.wp-picker-container input[type=text].iris-error{background-color:#fcf0f1;border-color:#d63638;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{border-color:#3582c4;border-style:solid;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.iris-picker .iris-palette:focus{box-shadow:0 0 0 2px #3582c4}@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-clear,.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-clear,.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}}
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
/* rtl:ignore */
|
||||
.wp-color-picker {
|
||||
width: 80px;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.wp-picker-container .hidden {
|
||||
|
|
@ -8,49 +10,48 @@
|
|||
|
||||
/* Needs higher specificiity. */
|
||||
.wp-picker-container .wp-color-result.button {
|
||||
height: 24px;
|
||||
min-height: 30px;
|
||||
margin: 0 6px 6px 0px;
|
||||
padding: 0 0 0 30px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.wp-color-result-text {
|
||||
background: #f7f7f7;
|
||||
background: #f6f7f7;
|
||||
border-radius: 0 2px 2px 0;
|
||||
border-left: 1px solid #ccc;
|
||||
color: #555;
|
||||
border-left: 1px solid #c3c4c7;
|
||||
color: #50575e;
|
||||
display: block;
|
||||
line-height: 22px;
|
||||
line-height: 2.54545455; /* 28px */
|
||||
padding: 0 6px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-color-result:hover,
|
||||
.wp-color-result:focus {
|
||||
background: #fafafa;
|
||||
border-color: #999;
|
||||
color: #23282d;
|
||||
background: #f6f7f7;
|
||||
border-color: #8c8f94;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
.wp-color-result:hover:after,
|
||||
.wp-color-result:focus:after {
|
||||
color: #23282d;
|
||||
border-color: #a0a5aa;
|
||||
border-left: 1px solid #999;
|
||||
color: #1d2327;
|
||||
border-color: #a7aaad;
|
||||
border-left: 1px solid #8c8f94;
|
||||
}
|
||||
|
||||
.wp-picker-containers {
|
||||
.wp-picker-container {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.wp-color-result:focus {
|
||||
border-color: #5b9dd9;
|
||||
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
|
||||
border-color: #4f94d4;
|
||||
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
|
||||
}
|
||||
|
||||
.wp-color-result:active {
|
||||
/* See Trac ticket #39662 */
|
||||
-webkit-transform: none !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
|
|
@ -69,85 +70,104 @@
|
|||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.wp-picker-input-wrap .button,
|
||||
.wp-customizer .wp-picker-input-wrap .button {
|
||||
margin-left: 6px;
|
||||
.wp-picker-input-wrap .button.wp-picker-default,
|
||||
.wp-picker-input-wrap .button.wp-picker-clear,
|
||||
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,
|
||||
.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear {
|
||||
margin-left: 6px;
|
||||
padding: 0 8px;
|
||||
line-height: 2.54545455; /* 28px */
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
|
||||
background-color: #555
|
||||
background-color: #50575e
|
||||
}
|
||||
|
||||
.wp-picker-container .iris-picker {
|
||||
border-radius: 0;
|
||||
border-color: #ddd;
|
||||
border-color: #dcdcde;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.wp-picker-container input[type="text"].wp-color-picker {
|
||||
width: 65px;
|
||||
width: 4rem;
|
||||
font-size: 12px;
|
||||
font-family: monospace;
|
||||
line-height: 16px;
|
||||
line-height: 2.33333333; /* 28px */
|
||||
margin: 0;
|
||||
padding: 0 5px;
|
||||
vertical-align: top;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
.wp-color-picker::-webkit-input-placeholder {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.wp-color-picker::-moz-placeholder {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.wp-color-picker:-ms-input-placeholder {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.wp-picker-container input[type="text"].iris-error {
|
||||
background-color: #ffebe8;
|
||||
border-color: #c00;
|
||||
background-color: #fcf0f1;
|
||||
border-color: #d63638;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.iris-picker .ui-square-handle:focus,
|
||||
.iris-picker .iris-strip .ui-slider-handle:focus {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
border-color: #3582c4;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #3582c4;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
|
||||
.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);
|
||||
box-shadow: 0 0 0 2px #3582c4;
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 782px ) {
|
||||
@media screen and (max-width: 782px) {
|
||||
.wp-picker-container input[type="text"].wp-color-picker {
|
||||
width: 80px;
|
||||
padding: 6px 5px 5px;
|
||||
width: 5rem;
|
||||
font-size: 16px;
|
||||
line-height: 18px;
|
||||
line-height: 1.875; /* 30px */
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
|
||||
padding: 5px 5px 4px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.wp-picker-input-wrap .button.wp-picker-default,
|
||||
.wp-picker-input-wrap .button.wp-picker-clear {
|
||||
padding: 0 8px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,
|
||||
.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear {
|
||||
padding: 0 8px;
|
||||
font-size: 14px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.wp-picker-container .wp-color-result.button {
|
||||
height: auto;
|
||||
padding: 0 0 0 40px;
|
||||
font-size: 14px;
|
||||
line-height: 29px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container .wp-color-result.button {
|
||||
font-size: 13px;
|
||||
line-height: 26px;
|
||||
font-size: 14px;
|
||||
line-height: 2.14285714; /* 30px */
|
||||
}
|
||||
|
||||
.wp-picker-container .wp-color-result-text {
|
||||
|
|
@ -160,14 +180,3 @@
|
|||
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}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{-webkit-transform:none!important;transform:none!important}.wp-picker-input-wrap label,.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 0 0 40px;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
|
||||
.wp-color-picker{width:80px;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:#f6f7f7;border-radius:0 2px 2px 0;border-left:1px solid #c3c4c7;color:#50575e;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#f6f7f7;border-color:#8c8f94;color:#1d2327}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#1d2327;border-color:#a7aaad;border-left:1px solid #8c8f94}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.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-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-clear,.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:#50575e}.wp-picker-container .iris-picker{border-radius:0;border-color:#dcdcde;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:#646970}.wp-color-picker::-moz-placeholder{color:#646970;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#646970}.wp-picker-container input[type=text].iris-error{background-color:#fcf0f1;border-color:#d63638;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{border-color:#3582c4;border-style:solid;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.iris-picker .iris-palette:focus{box-shadow:0 0 0 2px #3582c4}@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-clear,.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-clear,.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}}
|
||||
|
|
@ -2,6 +2,9 @@
|
|||
@import 'variables';
|
||||
@import 'mixins';
|
||||
|
||||
@function url-friendly-colour( $color ) {
|
||||
@return '%23' + str-slice( '#{ $color }', 2, -1 );
|
||||
}
|
||||
|
||||
body {
|
||||
background: $body-background;
|
||||
|
|
@ -20,21 +23,49 @@ a {
|
|||
}
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
color: $link-focus;
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: $link;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
color: $link-focus;
|
||||
}
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
|
||||
input[type=checkbox]:checked:before {
|
||||
color: $form-checked;
|
||||
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=radio]:checked:before {
|
||||
input[type=radio]:checked::before {
|
||||
background: $form-checked;
|
||||
}
|
||||
|
||||
|
|
@ -43,14 +74,109 @@ 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;
|
||||
}
|
||||
|
||||
@if ( $low-contrast-theme != "true" ) {
|
||||
.button,
|
||||
.button-secondary {
|
||||
color: $highlight-color;
|
||||
border-color: $highlight-color;
|
||||
}
|
||||
|
||||
.button.hover,
|
||||
.button:hover,
|
||||
.button-secondary:hover{
|
||||
border-color: darken($highlight-color, 10);
|
||||
color: darken($highlight-color, 10);
|
||||
}
|
||||
|
||||
.button.focus,
|
||||
.button:focus,
|
||||
.button-secondary:focus {
|
||||
border-color: lighten($highlight-color, 10);
|
||||
color: darken($highlight-color, 20);;
|
||||
box-shadow: 0 0 0 1px lighten($highlight-color, 10);
|
||||
}
|
||||
|
||||
.button-primary {
|
||||
&:hover {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.button-primary {
|
||||
@include button( $button-color );
|
||||
}
|
||||
|
||||
.button-group > .button.active {
|
||||
border-color: $button-color;
|
||||
}
|
||||
|
||||
.wp-ui-primary {
|
||||
color: $text-color;
|
||||
background-color: $base-color;
|
||||
|
|
@ -82,13 +208,28 @@ input[type=radio]:checked:before {
|
|||
|
||||
|
||||
/* List tables */
|
||||
@if $low-contrast-theme == "true" {
|
||||
.wrap .page-title-action:hover {
|
||||
color: $menu-text;
|
||||
background-color: $menu-background;
|
||||
}
|
||||
} @else {
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid $highlight-color;
|
||||
color: $highlight-color;
|
||||
}
|
||||
|
||||
.wrap .add-new-h2:hover, /* deprecated */
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: $menu-text;
|
||||
background-color: $menu-background;
|
||||
.wrap .page-title-action:hover {
|
||||
color: darken($highlight-color, 10);
|
||||
border-color: darken($highlight-color, 10);
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: lighten($highlight-color, 10);
|
||||
color: darken($highlight-color, 20);;
|
||||
box-shadow: 0 0 0 1px lighten($highlight-color, 10);
|
||||
}
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
|
|
@ -132,7 +273,7 @@ input[type=radio]:checked:before {
|
|||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: $body-background;
|
||||
|
|
@ -145,12 +286,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: $menu-submenu-background;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-right-color: $menu-submenu-background;
|
||||
}
|
||||
|
||||
|
|
@ -160,7 +301,6 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: $menu-submenu-text;
|
||||
|
|
@ -198,12 +338,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: $menu-current-icon;
|
||||
}
|
||||
|
||||
|
|
@ -276,7 +416,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: $menu-highlight-icon;
|
||||
color: $menu-submenu-focus-text;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -350,6 +490,26 @@ 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 {
|
||||
|
|
@ -462,6 +622,16 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: $menu-highlight-text;
|
||||
}
|
||||
|
||||
|
||||
/* Nav Menus */
|
||||
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow:
|
||||
0 0 0 1px lighten($button-color, 10),
|
||||
0 0 2px 1px $button-color;
|
||||
}
|
||||
|
||||
|
||||
/* Responsive Component */
|
||||
|
||||
div#wp-responsive-toggle a:before {
|
||||
|
|
@ -491,3 +661,123 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: $highlight-color;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui {
|
||||
#customize-controls .control-section:hover > .accordion-section-title,
|
||||
#customize-controls .control-section .accordion-section-title:hover,
|
||||
#customize-controls .control-section.open .accordion-section-title,
|
||||
#customize-controls .control-section .accordion-section-title:focus {
|
||||
color: $link;
|
||||
border-left-color: $button-color;
|
||||
}
|
||||
|
||||
.customize-controls-close:focus,
|
||||
.customize-controls-close:hover,
|
||||
.customize-controls-preview-toggle:focus,
|
||||
.customize-controls-preview-toggle:hover {
|
||||
color: $link;
|
||||
border-top-color: $button-color;
|
||||
}
|
||||
|
||||
.customize-panel-back:hover,
|
||||
.customize-panel-back:focus,
|
||||
.customize-section-back:hover,
|
||||
.customize-section-back:focus {
|
||||
color: $link;
|
||||
border-left-color: $button-color;
|
||||
}
|
||||
|
||||
.customize-screen-options-toggle:hover,
|
||||
.customize-screen-options-toggle:active,
|
||||
.customize-screen-options-toggle:focus,
|
||||
.active-menu-screen-options .customize-screen-options-toggle,
|
||||
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: $link;
|
||||
}
|
||||
|
||||
.customize-screen-options-toggle:focus:before,
|
||||
#customize-controls .customize-info .customize-help-toggle:focus:before,
|
||||
&.wp-customizer button:focus .toggle-indicator:before,
|
||||
.menu-item-bar .item-delete:focus:before,
|
||||
#available-menu-items .item-add:focus:before,
|
||||
#customize-save-button-wrapper .save:focus,
|
||||
#publish-settings:focus {
|
||||
box-shadow:
|
||||
0 0 0 1px lighten($button-color, 10),
|
||||
0 0 2px 1px $button-color;
|
||||
}
|
||||
|
||||
#customize-controls .customize-info.open .customize-help-toggle,
|
||||
#customize-controls .customize-info .customize-help-toggle:focus,
|
||||
#customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: $link;
|
||||
}
|
||||
|
||||
.control-panel-themes .customize-themes-section-title:focus,
|
||||
.control-panel-themes .customize-themes-section-title:hover {
|
||||
border-left-color: $button-color;
|
||||
color: $link;
|
||||
}
|
||||
|
||||
.control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: $button-color;
|
||||
}
|
||||
|
||||
.control-panel-themes .customize-themes-section-title.selected {
|
||||
color: $link;
|
||||
}
|
||||
|
||||
#customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
#customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
#customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
#customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
#customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
#customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
#customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
#customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: $link;
|
||||
}
|
||||
|
||||
.customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: $button-color;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px $button-color;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
|
||||
.wp-full-overlay-footer .devices button:focus,
|
||||
.wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: $button-color;
|
||||
}
|
||||
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: $button-color;
|
||||
}
|
||||
|
||||
.wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-full-overlay .collapse-sidebar:focus {
|
||||
color: $button-color;
|
||||
}
|
||||
|
||||
.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow:
|
||||
0 0 0 1px lighten($button-color, 10),
|
||||
0 0 2px 1px $button-color;
|
||||
}
|
||||
|
||||
&.wp-customizer .theme-overlay .theme-header .close:focus,
|
||||
&.wp-customizer .theme-overlay .theme-header .close:hover,
|
||||
&.wp-customizer .theme-overlay .theme-header .right:focus,
|
||||
&.wp-customizer .theme-overlay .theme-header .right:hover,
|
||||
&.wp-customizer .theme-overlay .theme-header .left:focus,
|
||||
&.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: $button-color;
|
||||
color: $link;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,54 +1,37 @@
|
|||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
@mixin button( $button-color, $text-color: #fff ) {
|
||||
@mixin button( $button-color, $button-text-color: #fff ) {
|
||||
background: $button-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% );
|
||||
border-color: $button-color;
|
||||
color: $button-text-color;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: lighten( $button-color, 3% );
|
||||
border-color: darken( $button-color, 15% );
|
||||
color: $text-color;
|
||||
box-shadow: 0 1px 0 darken( $button-color, 15% );
|
||||
border-color: darken( $button-color, 3% );
|
||||
color: $button-text-color;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: inset 0 1px 0 darken( $button-color, 10% ),
|
||||
0 0 2px 1px #33b3db;
|
||||
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;
|
||||
}
|
||||
|
||||
&:active,
|
||||
&.active,
|
||||
&.active:focus,
|
||||
&.active:hover {
|
||||
background: darken( $button-color, 10% );
|
||||
background: $button-color;
|
||||
color: $button-text-color;
|
||||
border-color: darken( $button-color, 15% );
|
||||
box-shadow: inset 0 2px 0 darken( $button-color, 15% );
|
||||
box-shadow: inset 0 2px 5px -3px darken( $button-color, 50% );
|
||||
}
|
||||
|
||||
&[disabled],
|
||||
&:disabled,
|
||||
&.button-primary-disabled,
|
||||
&.disabled {
|
||||
color: hsl( hue( $button-color ), 10%, 80% ) !important;
|
||||
background: darken( $button-color, 8% ) !important;
|
||||
border-color: darken( $button-color, 15% ) !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
&.button-hero {
|
||||
box-shadow: 0 2px 0 darken( $button-color, 15% ) !important;
|
||||
&:active {
|
||||
box-shadow: inset 0 3px 0 darken( $button-color, 15% ) !important;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,8 +18,9 @@ $link: #0073aa !default;
|
|||
$link-focus: lighten( $link, 10% ) !default;
|
||||
|
||||
$button-color: $highlight-color !default;
|
||||
$form-checked: $highlight-color !default;
|
||||
$button-text-color: $text-color !default;
|
||||
|
||||
$form-checked: #7e8993 !default;
|
||||
|
||||
// admin menu & admin-bar
|
||||
|
||||
|
|
@ -55,4 +56,10 @@ $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;
|
||||
|
||||
$low-contrast-theme: "false" !default;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,111 +11,202 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #096484;
|
||||
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=radio]:checked:before {
|
||||
background: #096484;
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #096484;
|
||||
border-color: #096484;
|
||||
}
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #064054;
|
||||
color: #064054;
|
||||
}
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
border-color: #0c88b4;
|
||||
color: #021c25;
|
||||
box-shadow: 0 0 0 1px #0c88b4;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary {
|
||||
background: #e1a948;
|
||||
border-color: #d39323 #bd831f #bd831f;
|
||||
border-color: #e1a948;
|
||||
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: #bd831f;
|
||||
border-color: #dfa33b;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e1a948;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #d39323;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #bd831f;
|
||||
box-shadow: inset 0 2px 0 #bd831f;
|
||||
box-shadow: inset 0 2px 5px -3px #241906;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #fff;
|
||||
background-color: #52accc;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #52accc;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #e1a948;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #e1a948;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #e5f8ff;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #52accc;
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid #096484;
|
||||
color: #096484;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: #064054;
|
||||
border-color: #064054;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #0c88b4;
|
||||
color: #021c25;
|
||||
box-shadow: 0 0 0 1px #0c88b4;
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
|
|
@ -155,7 +246,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
|
|
@ -166,12 +257,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #4796b3;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-left-color: #4796b3;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +272,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #e2ecf1;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +292,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +315,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -372,6 +458,25 @@ 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;
|
||||
|
|
@ -474,6 +579,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #e8be74, 0 0 2px 1px #e1a948;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #e5f8ff;
|
||||
|
|
@ -500,3 +610,96 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #096484;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #e1a948;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #e1a948;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #e1a948;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #e8be74, 0 0 2px 1px #e1a948;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-right-color: #e1a948;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #e1a948;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #e1a948;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #e1a948;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #e1a948;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #e1a948;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #e1a948;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #e8be74, 0 0 2px 1px #e1a948;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #e1a948;
|
||||
color: #0073aa;
|
||||
}
|
||||
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 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,111 +11,202 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #096484;
|
||||
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=radio]:checked:before {
|
||||
background: #096484;
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #096484;
|
||||
border-color: #096484;
|
||||
}
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #064054;
|
||||
color: #064054;
|
||||
}
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
border-color: #0c88b4;
|
||||
color: #021c25;
|
||||
box-shadow: 0 0 0 1px #0c88b4;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary {
|
||||
background: #e1a948;
|
||||
border-color: #d39323 #bd831f #bd831f;
|
||||
border-color: #e1a948;
|
||||
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: #bd831f;
|
||||
border-color: #dfa33b;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e1a948;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #d39323;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #bd831f;
|
||||
box-shadow: inset 0 2px 0 #bd831f;
|
||||
box-shadow: inset 0 2px 5px -3px #241906;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #fff;
|
||||
background-color: #52accc;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #52accc;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #e1a948;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #e1a948;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #e5f8ff;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #52accc;
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid #096484;
|
||||
color: #096484;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: #064054;
|
||||
border-color: #064054;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #0c88b4;
|
||||
color: #021c25;
|
||||
box-shadow: 0 0 0 1px #0c88b4;
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
|
|
@ -155,7 +246,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
|
|
@ -166,12 +257,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #4796b3;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-right-color: #4796b3;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +272,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #e2ecf1;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +292,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +315,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -372,6 +458,25 @@ 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;
|
||||
|
|
@ -474,6 +579,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #e8be74, 0 0 2px 1px #e1a948;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #e5f8ff;
|
||||
|
|
@ -500,3 +610,96 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #096484;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #e1a948;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #e1a948;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #e1a948;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #e8be74, 0 0 2px 1px #e1a948;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-left-color: #e1a948;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #e1a948;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #e1a948;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #e1a948;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #e1a948;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #e1a948;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #e1a948;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #e8be74, 0 0 2px 1px #e1a948;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #e1a948;
|
||||
color: #0073aa;
|
||||
}
|
||||
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 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,109 +11,167 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #59524c;
|
||||
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=radio]:checked:before {
|
||||
input[type=radio]:checked::before {
|
||||
background: #59524c;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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: #b78b66 #ae7d55 #ae7d55;
|
||||
border-color: #c7a589;
|
||||
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: #ae7d55;
|
||||
border-color: #c29d7f;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #b78b66;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #ae7d55;
|
||||
box-shadow: inset 0 2px 0 #ae7d55;
|
||||
box-shadow: inset 0 2px 5px -3px #37271a;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #fff;
|
||||
background-color: #59524c;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #59524c;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #c7a589;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #c7a589;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #9ea476;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #9ea476;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f3f2f1;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
.wrap .page-title-action:hover {
|
||||
color: #fff;
|
||||
background-color: #59524c;
|
||||
}
|
||||
|
|
@ -155,7 +213,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
|
|
@ -166,12 +224,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #46403c;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-left-color: #46403c;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +239,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #cdcbc9;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +259,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +282,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -302,7 +355,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #c7a589;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -372,6 +425,25 @@ 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;
|
||||
|
|
@ -474,6 +546,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #d7bfac, 0 0 2px 1px #c7a589;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f3f2f1;
|
||||
|
|
@ -500,3 +577,96 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #c7a589;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #c7a589;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #c7a589;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #c7a589;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #d7bfac, 0 0 2px 1px #c7a589;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-right-color: #c7a589;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #c7a589;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #c7a589;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #c7a589;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #c7a589;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #c7a589;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #c7a589;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #d7bfac, 0 0 2px 1px #c7a589;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #c7a589;
|
||||
color: #0073aa;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,109 +11,167 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #59524c;
|
||||
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=radio]:checked:before {
|
||||
input[type=radio]:checked::before {
|
||||
background: #59524c;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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: #b78b66 #ae7d55 #ae7d55;
|
||||
border-color: #c7a589;
|
||||
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: #ae7d55;
|
||||
border-color: #c29d7f;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #b78b66;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #ae7d55;
|
||||
box-shadow: inset 0 2px 0 #ae7d55;
|
||||
box-shadow: inset 0 2px 5px -3px #37271a;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #fff;
|
||||
background-color: #59524c;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #59524c;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #c7a589;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #c7a589;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #9ea476;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #9ea476;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f3f2f1;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
.wrap .page-title-action:hover {
|
||||
color: #fff;
|
||||
background-color: #59524c;
|
||||
}
|
||||
|
|
@ -155,7 +213,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
|
|
@ -166,12 +224,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #46403c;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-right-color: #46403c;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +239,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #cdcbc9;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +259,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +282,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -302,7 +355,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #c7a589;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -372,6 +425,25 @@ 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;
|
||||
|
|
@ -474,6 +546,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #d7bfac, 0 0 2px 1px #c7a589;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f3f2f1;
|
||||
|
|
@ -500,3 +577,96 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #c7a589;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #c7a589;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #c7a589;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #c7a589;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #d7bfac, 0 0 2px 1px #c7a589;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-left-color: #c7a589;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #c7a589;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #c7a589;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #c7a589;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #c7a589;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #c7a589;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #c7a589;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #d7bfac, 0 0 2px 1px #c7a589;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #c7a589;
|
||||
color: #0073aa;
|
||||
}
|
||||
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,7 @@
|
|||
$base-color: #59524c;
|
||||
$highlight-color: #c7a589;
|
||||
$notification-color: #9ea476;
|
||||
$low-contrast-theme: "true";
|
||||
|
||||
$form-checked: $base-color;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,111 +11,202 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #523f6d;
|
||||
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=radio]:checked:before {
|
||||
input[type=radio]:checked::before {
|
||||
background: #523f6d;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #a3b745;
|
||||
border-color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #829237;
|
||||
color: #829237;
|
||||
}
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
border-color: #b6c669;
|
||||
color: #616d29;
|
||||
box-shadow: 0 0 0 1px #b6c669;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary {
|
||||
background: #a3b745;
|
||||
border-color: #829237 #727f30 #727f30;
|
||||
border-color: #a3b745;
|
||||
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: #727f30;
|
||||
border-color: #99ac41;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #829237;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #727f30;
|
||||
box-shadow: inset 0 2px 0 #727f30;
|
||||
box-shadow: inset 0 2px 5px -3px black;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #fff;
|
||||
background-color: #523f6d;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #523f6d;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #d46f15;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #d46f15;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #ece6f6;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #523f6d;
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid #a3b745;
|
||||
color: #a3b745;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: #829237;
|
||||
border-color: #829237;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #b6c669;
|
||||
color: #616d29;
|
||||
box-shadow: 0 0 0 1px #b6c669;
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
|
|
@ -155,7 +246,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
|
|
@ -166,12 +257,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #413256;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-left-color: #413256;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +272,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #cbc5d3;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +292,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +315,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -302,7 +388,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #a3b745;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -372,6 +458,25 @@ 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;
|
||||
|
|
@ -474,6 +579,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #b6c669, 0 0 2px 1px #a3b745;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #ece6f6;
|
||||
|
|
@ -500,3 +610,96 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #a3b745;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #b6c669, 0 0 2px 1px #a3b745;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-right-color: #a3b745;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #a3b745;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #a3b745;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #a3b745;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #b6c669, 0 0 2px 1px #a3b745;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #a3b745;
|
||||
color: #0073aa;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,111 +11,202 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #523f6d;
|
||||
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=radio]:checked:before {
|
||||
input[type=radio]:checked::before {
|
||||
background: #523f6d;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #a3b745;
|
||||
border-color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #829237;
|
||||
color: #829237;
|
||||
}
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
border-color: #b6c669;
|
||||
color: #616d29;
|
||||
box-shadow: 0 0 0 1px #b6c669;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary {
|
||||
background: #a3b745;
|
||||
border-color: #829237 #727f30 #727f30;
|
||||
border-color: #a3b745;
|
||||
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: #727f30;
|
||||
border-color: #99ac41;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #829237;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #727f30;
|
||||
box-shadow: inset 0 2px 0 #727f30;
|
||||
box-shadow: inset 0 2px 5px -3px black;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #fff;
|
||||
background-color: #523f6d;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #523f6d;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #d46f15;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #d46f15;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #ece6f6;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #523f6d;
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid #a3b745;
|
||||
color: #a3b745;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: #829237;
|
||||
border-color: #829237;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #b6c669;
|
||||
color: #616d29;
|
||||
box-shadow: 0 0 0 1px #b6c669;
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
|
|
@ -155,7 +246,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
|
|
@ -166,12 +257,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #413256;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-right-color: #413256;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +272,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #cbc5d3;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +292,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +315,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -302,7 +388,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #a3b745;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -372,6 +458,25 @@ 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;
|
||||
|
|
@ -474,6 +579,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #b6c669, 0 0 2px 1px #a3b745;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #ece6f6;
|
||||
|
|
@ -500,3 +610,96 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #a3b745;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #b6c669, 0 0 2px 1px #a3b745;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-left-color: #a3b745;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #a3b745;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #a3b745;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #a3b745;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #a3b745;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #b6c669, 0 0 2px 1px #a3b745;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #a3b745;
|
||||
color: #0073aa;
|
||||
}
|
||||
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 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,111 +11,202 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #04a4cc;
|
||||
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=radio]:checked:before {
|
||||
background: #04a4cc;
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #04a4cc;
|
||||
border-color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #037c9a;
|
||||
color: #037c9a;
|
||||
}
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
border-color: #09cafa;
|
||||
color: #025468;
|
||||
box-shadow: 0 0 0 1px #09cafa;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary {
|
||||
background: #04a4cc;
|
||||
border-color: #037c9a #036881 #036881;
|
||||
border-color: #04a4cc;
|
||||
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: #036881;
|
||||
border-color: #0498bd;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #037c9a;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #036881;
|
||||
box-shadow: inset 0 2px 0 #036881;
|
||||
box-shadow: inset 0 2px 5px -3px black;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #333;
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #e5e5e5;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #888;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #d64e07;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #d64e07;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #333;
|
||||
background-color: #e5e5e5;
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid #04a4cc;
|
||||
color: #04a4cc;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: #037c9a;
|
||||
border-color: #037c9a;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #09cafa;
|
||||
color: #025468;
|
||||
box-shadow: 0 0 0 1px #09cafa;
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
|
|
@ -155,7 +246,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f5f5f5;
|
||||
|
|
@ -166,12 +257,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-left-color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +272,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #686868;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +292,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +315,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
|
|
@ -302,7 +388,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #ccc;
|
||||
color: #04a4cc;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -372,6 +458,25 @@ 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;
|
||||
|
|
@ -474,6 +579,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #09cafa, 0 0 2px 1px #04a4cc;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #999;
|
||||
|
|
@ -501,20 +611,101 @@ div#wp-responsive-toggle a:before {
|
|||
background: #04a4cc;
|
||||
}
|
||||
|
||||
/* temporary fix for admin-bar hover color */
|
||||
#wpadminbar .ab-top-menu > li:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.hover > .ab-item,
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default li:hover span.ab-label,
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label,
|
||||
#wpadminbar .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
|
||||
color: #333;
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #09cafa, 0 0 2px 1px #04a4cc;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-right-color: #04a4cc;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #04a4cc;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #04a4cc;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #09cafa, 0 0 2px 1px #04a4cc;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #04a4cc;
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
/* Override the theme filter highlight color for this scheme */
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
}
|
||||
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 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,111 +11,202 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #04a4cc;
|
||||
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=radio]:checked:before {
|
||||
background: #04a4cc;
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #04a4cc;
|
||||
border-color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #037c9a;
|
||||
color: #037c9a;
|
||||
}
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
border-color: #09cafa;
|
||||
color: #025468;
|
||||
box-shadow: 0 0 0 1px #09cafa;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary {
|
||||
background: #04a4cc;
|
||||
border-color: #037c9a #036881 #036881;
|
||||
border-color: #04a4cc;
|
||||
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: #036881;
|
||||
border-color: #0498bd;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #037c9a;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #036881;
|
||||
box-shadow: inset 0 2px 0 #036881;
|
||||
box-shadow: inset 0 2px 5px -3px black;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #333;
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #e5e5e5;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #888;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #d64e07;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #d64e07;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #333;
|
||||
background-color: #e5e5e5;
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid #04a4cc;
|
||||
color: #04a4cc;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: #037c9a;
|
||||
border-color: #037c9a;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #09cafa;
|
||||
color: #025468;
|
||||
box-shadow: 0 0 0 1px #09cafa;
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
|
|
@ -155,7 +246,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f5f5f5;
|
||||
|
|
@ -166,12 +257,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-right-color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +272,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #686868;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +292,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +315,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
|
|
@ -302,7 +388,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #ccc;
|
||||
color: #04a4cc;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -372,6 +458,25 @@ 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;
|
||||
|
|
@ -474,6 +579,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #09cafa, 0 0 2px 1px #04a4cc;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #999;
|
||||
|
|
@ -501,20 +611,101 @@ div#wp-responsive-toggle a:before {
|
|||
background: #04a4cc;
|
||||
}
|
||||
|
||||
/* temporary fix for admin-bar hover color */
|
||||
#wpadminbar .ab-top-menu > li:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.hover > .ab-item,
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default li:hover span.ab-label,
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label,
|
||||
#wpadminbar .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
|
||||
color: #333;
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #09cafa, 0 0 2px 1px #04a4cc;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-left-color: #04a4cc;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #04a4cc;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #04a4cc;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #04a4cc;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #09cafa, 0 0 2px 1px #04a4cc;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #04a4cc;
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
/* Override the theme filter highlight color for this scheme */
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
}
|
||||
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
|
|
@ -19,18 +19,6 @@ $menu-collapse-focus-icon: #555;
|
|||
|
||||
@import "../_admin.scss";
|
||||
|
||||
/* temporary fix for admin-bar hover color */
|
||||
#wpadminbar .ab-top-menu > li:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.hover > .ab-item,
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-root-default li:hover span.ab-label,
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary li.hover span.ab-label,
|
||||
#wpadminbar .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
|
||||
color: $text-color;
|
||||
}
|
||||
|
||||
/* Override the theme filter highlight color for this scheme */
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,111 +11,202 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #e14d43;
|
||||
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=radio]:checked:before {
|
||||
background: #e14d43;
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #e14d43;
|
||||
border-color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #d02c21;
|
||||
color: #d02c21;
|
||||
}
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
border-color: #e8776f;
|
||||
color: #a4231a;
|
||||
box-shadow: 0 0 0 1px #e8776f;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary {
|
||||
background: #e14d43;
|
||||
border-color: #d02c21 #ba281e #ba281e;
|
||||
border-color: #e14d43;
|
||||
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: #ba281e;
|
||||
border-color: #df4136;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #d02c21;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #ba281e;
|
||||
box-shadow: inset 0 2px 0 #ba281e;
|
||||
box-shadow: inset 0 2px 5px -3px #200705;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #fff;
|
||||
background-color: #363b3f;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #363b3f;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #69a8bb;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #69a8bb;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f1f2f3;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #363b3f;
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid #e14d43;
|
||||
color: #e14d43;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: #d02c21;
|
||||
border-color: #d02c21;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #e8776f;
|
||||
color: #a4231a;
|
||||
box-shadow: 0 0 0 1px #e8776f;
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
|
|
@ -155,7 +246,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
|
|
@ -166,12 +257,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #26292c;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-left-color: #26292c;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +272,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #c3c4c5;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +292,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +315,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -302,7 +388,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #e14d43;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -372,6 +458,25 @@ 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;
|
||||
|
|
@ -474,6 +579,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #e8776f, 0 0 2px 1px #e14d43;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f1f2f3;
|
||||
|
|
@ -500,3 +610,96 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #e14d43;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #e8776f, 0 0 2px 1px #e14d43;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-right-color: #e14d43;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #e14d43;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #e14d43;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #e14d43;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #e8776f, 0 0 2px 1px #e14d43;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #e14d43;
|
||||
color: #0073aa;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,111 +11,202 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #e14d43;
|
||||
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=radio]:checked:before {
|
||||
background: #e14d43;
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #e14d43;
|
||||
border-color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #d02c21;
|
||||
color: #d02c21;
|
||||
}
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
border-color: #e8776f;
|
||||
color: #a4231a;
|
||||
box-shadow: 0 0 0 1px #e8776f;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary {
|
||||
background: #e14d43;
|
||||
border-color: #d02c21 #ba281e #ba281e;
|
||||
border-color: #e14d43;
|
||||
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: #ba281e;
|
||||
border-color: #df4136;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #d02c21;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #ba281e;
|
||||
box-shadow: inset 0 2px 0 #ba281e;
|
||||
box-shadow: inset 0 2px 5px -3px #200705;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #fff;
|
||||
background-color: #363b3f;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #363b3f;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #69a8bb;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #69a8bb;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f1f2f3;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #363b3f;
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid #e14d43;
|
||||
color: #e14d43;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: #d02c21;
|
||||
border-color: #d02c21;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #e8776f;
|
||||
color: #a4231a;
|
||||
box-shadow: 0 0 0 1px #e8776f;
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
|
|
@ -155,7 +246,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
|
|
@ -166,12 +257,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #26292c;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-right-color: #26292c;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +272,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #c3c4c5;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +292,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +315,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -302,7 +388,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #e14d43;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -372,6 +458,25 @@ 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;
|
||||
|
|
@ -474,6 +579,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #e8776f, 0 0 2px 1px #e14d43;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f1f2f3;
|
||||
|
|
@ -500,3 +610,96 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #e14d43;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #e8776f, 0 0 2px 1px #e14d43;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-left-color: #e14d43;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #e14d43;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #e14d43;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #e14d43;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #e14d43;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #e8776f, 0 0 2px 1px #e14d43;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #e14d43;
|
||||
color: #0073aa;
|
||||
}
|
||||
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
705
wp-admin/css/colors/modern/colors-rtl.css
Normal file
705
wp-admin/css/colors/modern/colors-rtl.css
Normal file
|
|
@ -0,0 +1,705 @@
|
|||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
a {
|
||||
color: #3858e9;
|
||||
}
|
||||
a:hover, a:active, a:focus {
|
||||
color: #183ad6;
|
||||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #183ad6;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* 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=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #183ad6;
|
||||
}
|
||||
|
||||
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: #3858e9;
|
||||
box-shadow: 0 0 0 1px #3858e9;
|
||||
}
|
||||
|
||||
/* 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: #3858e9;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #3858e9;
|
||||
}
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
.wp-core-ui .button,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #3858e9;
|
||||
border-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #183ad6;
|
||||
color: #183ad6;
|
||||
}
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
border-color: #667fee;
|
||||
color: #132ea8;
|
||||
box-shadow: 0 0 0 1px #667fee;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary {
|
||||
background: #3858e9;
|
||||
border-color: #3858e9;
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #4664eb;
|
||||
border-color: #2a4ce7;
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3858e9;
|
||||
}
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #2145e6;
|
||||
border-color: #2145e6;
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #3858e9;
|
||||
color: #fff;
|
||||
border-color: #1534bf;
|
||||
box-shadow: inset 0 2px 5px -3px #03081f;
|
||||
}
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #1e1e1e;
|
||||
}
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #1e1e1e;
|
||||
}
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid #3858e9;
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: #183ad6;
|
||||
border-color: #183ad6;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #667fee;
|
||||
color: #132ea8;
|
||||
box-shadow: 0 0 0 1px #667fee;
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
color: #1e1e1e;
|
||||
}
|
||||
|
||||
.view-switch a:hover:before {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
/* Admin Menu */
|
||||
#adminmenuback,
|
||||
#adminmenuwrap,
|
||||
#adminmenu {
|
||||
background: #1e1e1e;
|
||||
}
|
||||
|
||||
#adminmenu a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu div.wp-menu-image:before {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#adminmenu a:hover,
|
||||
#adminmenu li.menu-top:hover,
|
||||
#adminmenu li.opensub > a.menu-top,
|
||||
#adminmenu li > a.menu-top:focus {
|
||||
color: #fff;
|
||||
background-color: #3858e9;
|
||||
}
|
||||
|
||||
#adminmenu li.menu-top:hover div.wp-menu-image:before,
|
||||
#adminmenu li.opensub > a.menu-top div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #0c0c0c;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-left-color: #0c0c0c;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu .wp-submenu-head {
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #bcbcbc;
|
||||
}
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Menu: current */
|
||||
#adminmenu .wp-submenu li.current a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-left-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
|
||||
#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,
|
||||
.folded #adminmenu li.current.menu-top {
|
||||
color: #fff;
|
||||
background: #3858e9;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Admin Menu: bubble */
|
||||
#adminmenu .awaiting-mod,
|
||||
#adminmenu .update-plugins {
|
||||
color: #fff;
|
||||
background: #3858e9;
|
||||
}
|
||||
|
||||
#adminmenu li.current a .awaiting-mod,
|
||||
#adminmenu li a.wp-has-current-submenu .update-plugins,
|
||||
#adminmenu li:hover a .awaiting-mod,
|
||||
#adminmenu li.menu-top:hover > a .update-plugins {
|
||||
color: #fff;
|
||||
background: #0c0c0c;
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
#wpadminbar {
|
||||
color: #fff;
|
||||
background: #1e1e1e;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-item,
|
||||
#wpadminbar a.ab-item,
|
||||
#wpadminbar > #wp-toolbar span.ab-label,
|
||||
#wpadminbar > #wp-toolbar span.noticon {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-icon,
|
||||
#wpadminbar .ab-icon:before,
|
||||
#wpadminbar .ab-item:before,
|
||||
#wpadminbar .ab-item:after {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
|
||||
color: #33f078;
|
||||
background: #0c0c0c;
|
||||
}
|
||||
|
||||
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
|
||||
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
|
||||
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
#wpadminbar .menupop .ab-sub-wrapper {
|
||||
background: #0c0c0c;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||
background: #303030;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-submenu .ab-item,
|
||||
#wpadminbar .quicklinks .menupop ul li a,
|
||||
#wpadminbar .quicklinks .menupop.hover ul li a,
|
||||
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li .blavatar,
|
||||
#wpadminbar .menupop .menupop > .ab-item:before {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul li a:hover,
|
||||
#wpadminbar .quicklinks .menupop ul li a:focus,
|
||||
#wpadminbar .quicklinks .menupop ul li a:hover strong,
|
||||
#wpadminbar .quicklinks .menupop ul li a:focus strong,
|
||||
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
|
||||
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
|
||||
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
|
||||
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
|
||||
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,
|
||||
#wpadminbar li:hover .ab-icon:before,
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
#wpadminbar li #adminbarsearch.adminbar-focused:before {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li a:hover .blavatar,
|
||||
#wpadminbar .quicklinks li a:focus .blavatar,
|
||||
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
|
||||
#wpadminbar .menupop .menupop > .ab-item:hover:before,
|
||||
#wpadminbar.mobile .quicklinks .ab-icon:before,
|
||||
#wpadminbar.mobile .quicklinks .ab-item:before {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
|
||||
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
/* Admin Bar: search */
|
||||
#wpadminbar #adminbarsearch:before {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
|
||||
color: #fff;
|
||||
background: #303030;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #3858e9;
|
||||
}
|
||||
|
||||
#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: #324fd2;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #303030;
|
||||
background-color: #303030;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info .display-name {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info a:hover .display-name {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info .username {
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
/* Pointers */
|
||||
.wp-pointer .wp-pointer-content h3 {
|
||||
background-color: #3858e9;
|
||||
border-color: #2145e6;
|
||||
}
|
||||
|
||||
.wp-pointer .wp-pointer-content h3:before {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
|
||||
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
|
||||
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
|
||||
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
|
||||
border-bottom-color: #3858e9;
|
||||
}
|
||||
|
||||
/* Media */
|
||||
.media-item .bar,
|
||||
.media-progress-bar div {
|
||||
background-color: #3858e9;
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #3858e9;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #3858e9;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #3858e9;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3858e9;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
.theme-browser .theme.active .theme-name,
|
||||
.theme-browser .theme.add-new-theme a:hover:after,
|
||||
.theme-browser .theme.add-new-theme a:focus:after {
|
||||
background: #3858e9;
|
||||
}
|
||||
|
||||
.theme-browser .theme.add-new-theme a:hover span:after,
|
||||
.theme-browser .theme.add-new-theme a:focus span:after {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: #1e1e1e;
|
||||
}
|
||||
|
||||
body.more-filters-opened .more-filters {
|
||||
color: #fff;
|
||||
background-color: #1e1e1e;
|
||||
}
|
||||
|
||||
body.more-filters-opened .more-filters:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
body.more-filters-opened .more-filters:hover,
|
||||
body.more-filters-opened .more-filters:focus {
|
||||
background-color: #3858e9;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
body.more-filters-opened .more-filters:hover:before,
|
||||
body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Widgets */
|
||||
.widgets-chooser li.widgets-chooser-selected {
|
||||
background-color: #3858e9;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.widgets-chooser li.widgets-chooser-selected:before,
|
||||
.widgets-chooser li.widgets-chooser-selected:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #667fee, 0 0 2px 1px #3858e9;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
.wp-responsive-open div#wp-responsive-toggle a {
|
||||
border-color: transparent;
|
||||
background: #3858e9;
|
||||
}
|
||||
|
||||
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
|
||||
background: #0c0c0c;
|
||||
}
|
||||
|
||||
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
/* TinyMCE */
|
||||
.mce-container.mce-menu .mce-menu-item:hover,
|
||||
.mce-container.mce-menu .mce-menu-item.mce-selected,
|
||||
.mce-container.mce-menu .mce-menu-item:focus,
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #3858e9;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #3858e9;
|
||||
border-right-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #3858e9;
|
||||
border-top-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #3858e9;
|
||||
border-right-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #667fee, 0 0 2px 1px #3858e9;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-right-color: #3858e9;
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #3858e9;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #3858e9;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #3858e9;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #667fee, 0 0 2px 1px #3858e9;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #3858e9;
|
||||
color: #3858e9;
|
||||
}
|
||||
2
wp-admin/css/colors/modern/colors-rtl.min.css
vendored
Normal file
2
wp-admin/css/colors/modern/colors-rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
705
wp-admin/css/colors/modern/colors.css
Normal file
705
wp-admin/css/colors/modern/colors.css
Normal file
|
|
@ -0,0 +1,705 @@
|
|||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
a {
|
||||
color: #3858e9;
|
||||
}
|
||||
a:hover, a:active, a:focus {
|
||||
color: #183ad6;
|
||||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #183ad6;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* 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=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #183ad6;
|
||||
}
|
||||
|
||||
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: #3858e9;
|
||||
box-shadow: 0 0 0 1px #3858e9;
|
||||
}
|
||||
|
||||
/* 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: #3858e9;
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #3858e9;
|
||||
}
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
.wp-core-ui .button,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #3858e9;
|
||||
border-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #183ad6;
|
||||
color: #183ad6;
|
||||
}
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
border-color: #667fee;
|
||||
color: #132ea8;
|
||||
box-shadow: 0 0 0 1px #667fee;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary {
|
||||
background: #3858e9;
|
||||
border-color: #3858e9;
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #4664eb;
|
||||
border-color: #2a4ce7;
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3858e9;
|
||||
}
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #2145e6;
|
||||
border-color: #2145e6;
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #3858e9;
|
||||
color: #fff;
|
||||
border-color: #1534bf;
|
||||
box-shadow: inset 0 2px 5px -3px #03081f;
|
||||
}
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #1e1e1e;
|
||||
}
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #1e1e1e;
|
||||
}
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid #3858e9;
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: #183ad6;
|
||||
border-color: #183ad6;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #667fee;
|
||||
color: #132ea8;
|
||||
box-shadow: 0 0 0 1px #667fee;
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
color: #1e1e1e;
|
||||
}
|
||||
|
||||
.view-switch a:hover:before {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
/* Admin Menu */
|
||||
#adminmenuback,
|
||||
#adminmenuwrap,
|
||||
#adminmenu {
|
||||
background: #1e1e1e;
|
||||
}
|
||||
|
||||
#adminmenu a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu div.wp-menu-image:before {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#adminmenu a:hover,
|
||||
#adminmenu li.menu-top:hover,
|
||||
#adminmenu li.opensub > a.menu-top,
|
||||
#adminmenu li > a.menu-top:focus {
|
||||
color: #fff;
|
||||
background-color: #3858e9;
|
||||
}
|
||||
|
||||
#adminmenu li.menu-top:hover div.wp-menu-image:before,
|
||||
#adminmenu li.opensub > a.menu-top div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #0c0c0c;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-right-color: #0c0c0c;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu .wp-submenu-head {
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #bcbcbc;
|
||||
}
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Menu: current */
|
||||
#adminmenu .wp-submenu li.current a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-right-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
|
||||
#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,
|
||||
.folded #adminmenu li.current.menu-top {
|
||||
color: #fff;
|
||||
background: #3858e9;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Admin Menu: bubble */
|
||||
#adminmenu .awaiting-mod,
|
||||
#adminmenu .update-plugins {
|
||||
color: #fff;
|
||||
background: #3858e9;
|
||||
}
|
||||
|
||||
#adminmenu li.current a .awaiting-mod,
|
||||
#adminmenu li a.wp-has-current-submenu .update-plugins,
|
||||
#adminmenu li:hover a .awaiting-mod,
|
||||
#adminmenu li.menu-top:hover > a .update-plugins {
|
||||
color: #fff;
|
||||
background: #0c0c0c;
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
#wpadminbar {
|
||||
color: #fff;
|
||||
background: #1e1e1e;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-item,
|
||||
#wpadminbar a.ab-item,
|
||||
#wpadminbar > #wp-toolbar span.ab-label,
|
||||
#wpadminbar > #wp-toolbar span.noticon {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-icon,
|
||||
#wpadminbar .ab-icon:before,
|
||||
#wpadminbar .ab-item:before,
|
||||
#wpadminbar .ab-item:after {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
|
||||
color: #33f078;
|
||||
background: #0c0c0c;
|
||||
}
|
||||
|
||||
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
|
||||
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
|
||||
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
#wpadminbar .menupop .ab-sub-wrapper {
|
||||
background: #0c0c0c;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||
background: #303030;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-submenu .ab-item,
|
||||
#wpadminbar .quicklinks .menupop ul li a,
|
||||
#wpadminbar .quicklinks .menupop.hover ul li a,
|
||||
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li .blavatar,
|
||||
#wpadminbar .menupop .menupop > .ab-item:before {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul li a:hover,
|
||||
#wpadminbar .quicklinks .menupop ul li a:focus,
|
||||
#wpadminbar .quicklinks .menupop ul li a:hover strong,
|
||||
#wpadminbar .quicklinks .menupop ul li a:focus strong,
|
||||
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
|
||||
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
|
||||
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
|
||||
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
|
||||
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,
|
||||
#wpadminbar li:hover .ab-icon:before,
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
#wpadminbar li #adminbarsearch.adminbar-focused:before {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li a:hover .blavatar,
|
||||
#wpadminbar .quicklinks li a:focus .blavatar,
|
||||
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
|
||||
#wpadminbar .menupop .menupop > .ab-item:hover:before,
|
||||
#wpadminbar.mobile .quicklinks .ab-icon:before,
|
||||
#wpadminbar.mobile .quicklinks .ab-item:before {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
|
||||
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
/* Admin Bar: search */
|
||||
#wpadminbar #adminbarsearch:before {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
|
||||
color: #fff;
|
||||
background: #303030;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: #fff;
|
||||
background-color: #3858e9;
|
||||
}
|
||||
|
||||
#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: #324fd2;
|
||||
}
|
||||
|
||||
/* Admin Bar: my account */
|
||||
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||
border-color: #303030;
|
||||
background-color: #303030;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info .display-name {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info a:hover .display-name {
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info .username {
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
/* Pointers */
|
||||
.wp-pointer .wp-pointer-content h3 {
|
||||
background-color: #3858e9;
|
||||
border-color: #2145e6;
|
||||
}
|
||||
|
||||
.wp-pointer .wp-pointer-content h3:before {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
|
||||
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
|
||||
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
|
||||
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
|
||||
border-bottom-color: #3858e9;
|
||||
}
|
||||
|
||||
/* Media */
|
||||
.media-item .bar,
|
||||
.media-progress-bar div {
|
||||
background-color: #3858e9;
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #3858e9;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #3858e9;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #3858e9;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3858e9;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
.theme-browser .theme.active .theme-name,
|
||||
.theme-browser .theme.add-new-theme a:hover:after,
|
||||
.theme-browser .theme.add-new-theme a:focus:after {
|
||||
background: #3858e9;
|
||||
}
|
||||
|
||||
.theme-browser .theme.add-new-theme a:hover span:after,
|
||||
.theme-browser .theme.add-new-theme a:focus span:after {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: #1e1e1e;
|
||||
}
|
||||
|
||||
body.more-filters-opened .more-filters {
|
||||
color: #fff;
|
||||
background-color: #1e1e1e;
|
||||
}
|
||||
|
||||
body.more-filters-opened .more-filters:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
body.more-filters-opened .more-filters:hover,
|
||||
body.more-filters-opened .more-filters:focus {
|
||||
background-color: #3858e9;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
body.more-filters-opened .more-filters:hover:before,
|
||||
body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Widgets */
|
||||
.widgets-chooser li.widgets-chooser-selected {
|
||||
background-color: #3858e9;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.widgets-chooser li.widgets-chooser-selected:before,
|
||||
.widgets-chooser li.widgets-chooser-selected:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #667fee, 0 0 2px 1px #3858e9;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
.wp-responsive-open div#wp-responsive-toggle a {
|
||||
border-color: transparent;
|
||||
background: #3858e9;
|
||||
}
|
||||
|
||||
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
|
||||
background: #0c0c0c;
|
||||
}
|
||||
|
||||
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
/* TinyMCE */
|
||||
.mce-container.mce-menu .mce-menu-item:hover,
|
||||
.mce-container.mce-menu .mce-menu-item.mce-selected,
|
||||
.mce-container.mce-menu .mce-menu-item:focus,
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #3858e9;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #3858e9;
|
||||
border-left-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #3858e9;
|
||||
border-top-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #3858e9;
|
||||
border-left-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #667fee, 0 0 2px 1px #3858e9;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-left-color: #3858e9;
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #3858e9;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #3858e9;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #3858e9;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #3858e9;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #667fee, 0 0 2px 1px #3858e9;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #3858e9;
|
||||
color: #3858e9;
|
||||
}
|
||||
2
wp-admin/css/colors/modern/colors.min.css
vendored
Normal file
2
wp-admin/css/colors/modern/colors.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
9
wp-admin/css/colors/modern/colors.scss
Normal file
9
wp-admin/css/colors/modern/colors.scss
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
$base-color: #1e1e1e;
|
||||
$highlight-color: #3858e9;
|
||||
$menu-submenu-focus-text: #33f078;
|
||||
$notification-color: $highlight-color;
|
||||
|
||||
$link: $highlight-color;
|
||||
$link-focus: darken($highlight-color, 10%);
|
||||
|
||||
@import "../_admin.scss";
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,109 +11,167 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #738e96;
|
||||
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=radio]:checked:before {
|
||||
input[type=radio]:checked::before {
|
||||
background: #738e96;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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: #80a583 #719a74 #719a74;
|
||||
border-color: #9ebaa0;
|
||||
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: #719a74;
|
||||
border-color: #95b497;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #80a583;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #719a74;
|
||||
box-shadow: inset 0 2px 0 #719a74;
|
||||
box-shadow: inset 0 2px 5px -3px #253426;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #fff;
|
||||
background-color: #738e96;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #738e96;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #9ebaa0;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #9ebaa0;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #aa9d88;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #aa9d88;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f2fcff;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
.wrap .page-title-action:hover {
|
||||
color: #fff;
|
||||
background-color: #738e96;
|
||||
}
|
||||
|
|
@ -155,7 +213,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
|
|
@ -166,12 +224,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #627c83;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-left-color: #627c83;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +239,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #d5dde0;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +259,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +282,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -302,7 +355,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #9ebaa0;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -372,6 +425,25 @@ 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;
|
||||
|
|
@ -474,6 +546,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #bccfbd, 0 0 2px 1px #9ebaa0;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f2fcff;
|
||||
|
|
@ -500,3 +577,96 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #9ebaa0;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #bccfbd, 0 0 2px 1px #9ebaa0;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-right-color: #9ebaa0;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #9ebaa0;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #9ebaa0;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #bccfbd, 0 0 2px 1px #9ebaa0;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #9ebaa0;
|
||||
color: #0073aa;
|
||||
}
|
||||
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 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,109 +11,167 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #738e96;
|
||||
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=radio]:checked:before {
|
||||
input[type=radio]:checked::before {
|
||||
background: #738e96;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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: #80a583 #719a74 #719a74;
|
||||
border-color: #9ebaa0;
|
||||
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: #719a74;
|
||||
border-color: #95b497;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #80a583;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #719a74;
|
||||
box-shadow: inset 0 2px 0 #719a74;
|
||||
box-shadow: inset 0 2px 5px -3px #253426;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #fff;
|
||||
background-color: #738e96;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #738e96;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #9ebaa0;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #9ebaa0;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #aa9d88;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #aa9d88;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f2fcff;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
.wrap .page-title-action:hover {
|
||||
color: #fff;
|
||||
background-color: #738e96;
|
||||
}
|
||||
|
|
@ -155,7 +213,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
|
|
@ -166,12 +224,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #627c83;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-right-color: #627c83;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +239,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #d5dde0;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +259,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +282,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -302,7 +355,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #9ebaa0;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -372,6 +425,25 @@ 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;
|
||||
|
|
@ -474,6 +546,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #bccfbd, 0 0 2px 1px #9ebaa0;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f2fcff;
|
||||
|
|
@ -500,3 +577,96 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #9ebaa0;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #bccfbd, 0 0 2px 1px #9ebaa0;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-left-color: #9ebaa0;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #9ebaa0;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #9ebaa0;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #9ebaa0;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #bccfbd, 0 0 2px 1px #9ebaa0;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #9ebaa0;
|
||||
color: #0073aa;
|
||||
}
|
||||
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
|
|
@ -2,6 +2,7 @@ $base-color: #738e96;
|
|||
$icon-color: #f2fcff;
|
||||
$highlight-color: #9ebaa0;
|
||||
$notification-color: #aa9d88;
|
||||
$low-contrast-theme: "true";
|
||||
|
||||
$form-checked: $base-color;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,111 +11,202 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #dd823b;
|
||||
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=radio]:checked:before {
|
||||
background: #dd823b;
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #dd823b;
|
||||
border-color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #c36922;
|
||||
color: #c36922;
|
||||
}
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
border-color: #e59e66;
|
||||
color: #98511a;
|
||||
box-shadow: 0 0 0 1px #e59e66;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary {
|
||||
background: #dd823b;
|
||||
border-color: #c36922 #ad5d1e #ad5d1e;
|
||||
border-color: #dd823b;
|
||||
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: #ad5d1e;
|
||||
border-color: #db7a2e;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #c36922;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #ad5d1e;
|
||||
box-shadow: inset 0 2px 0 #ad5d1e;
|
||||
box-shadow: inset 0 2px 5px -3px #150b04;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #fff;
|
||||
background-color: #cf4944;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #cf4944;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #ccaf0b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #ccaf0b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #cf4944;
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid #dd823b;
|
||||
color: #dd823b;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: #c36922;
|
||||
border-color: #c36922;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #e59e66;
|
||||
color: #98511a;
|
||||
box-shadow: 0 0 0 1px #e59e66;
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
|
|
@ -155,7 +246,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
|
|
@ -166,12 +257,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #be3631;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-left-color: #be3631;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +272,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #f1c8c7;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +292,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +315,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -302,7 +388,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #f7e3d3;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -372,6 +458,25 @@ 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;
|
||||
|
|
@ -474,6 +579,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #e59e66, 0 0 2px 1px #dd823b;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f3f1f1;
|
||||
|
|
@ -500,3 +610,96 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #dd823b;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-right-color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #e59e66, 0 0 2px 1px #dd823b;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-right-color: #dd823b;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #dd823b;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #dd823b;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #dd823b;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #e59e66, 0 0 2px 1px #dd823b;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #dd823b;
|
||||
color: #0073aa;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
|
|
@ -11,111 +11,202 @@ body {
|
|||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
#media-upload a.del-link:hover,
|
||||
div.dashboard-widget-submit input:hover,
|
||||
.subsubsub a:hover,
|
||||
.subsubsub a.current:hover {
|
||||
#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;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment,
|
||||
.media-modal .trash-attachment,
|
||||
.media-modal .untrash-attachment,
|
||||
.wp-core-ui .button-link-delete {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.media-modal .delete-attachment:hover,
|
||||
.media-modal .trash-attachment:hover,
|
||||
.media-modal .untrash-attachment:hover,
|
||||
.media-modal .delete-attachment:focus,
|
||||
.media-modal .trash-attachment:focus,
|
||||
.media-modal .untrash-attachment:focus,
|
||||
.wp-core-ui .button-link-delete:hover,
|
||||
.wp-core-ui .button-link-delete:focus {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input[type=checkbox]:checked:before {
|
||||
color: #dd823b;
|
||||
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=radio]:checked:before {
|
||||
background: #dd823b;
|
||||
input[type=radio]:checked::before {
|
||||
background: #7e8993;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #dd823b;
|
||||
border-color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #c36922;
|
||||
color: #c36922;
|
||||
}
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
border-color: #e59e66;
|
||||
color: #98511a;
|
||||
box-shadow: 0 0 0 1px #e59e66;
|
||||
}
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-core-ui .button-primary {
|
||||
background: #dd823b;
|
||||
border-color: #c36922 #ad5d1e #ad5d1e;
|
||||
border-color: #dd823b;
|
||||
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: #ad5d1e;
|
||||
border-color: #db7a2e;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #c36922;
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #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;
|
||||
border-color: #ad5d1e;
|
||||
box-shadow: inset 0 2px 0 #ad5d1e;
|
||||
box-shadow: inset 0 2px 5px -3px #150b04;
|
||||
}
|
||||
|
||||
.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: #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 {
|
||||
color: #fff;
|
||||
background-color: #cf4944;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #cf4944;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #ccaf0b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #ccaf0b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #cf4944;
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid #dd823b;
|
||||
color: #dd823b;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: #c36922;
|
||||
border-color: #c36922;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: #e59e66;
|
||||
color: #98511a;
|
||||
box-shadow: 0 0 0 1px #e59e66;
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
|
|
@ -155,7 +246,7 @@ input[type=radio]:checked:before {
|
|||
}
|
||||
|
||||
/* Active tabs use a bottom border color that matches the page background color. */
|
||||
.about-wrap h2 .nav-tab-active,
|
||||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #f1f1f1;
|
||||
|
|
@ -166,12 +257,12 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
background: #be3631;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
||||
border-right-color: #be3631;
|
||||
}
|
||||
|
||||
|
|
@ -181,17 +272,13 @@ input[type=radio]:checked:before {
|
|||
|
||||
#adminmenu .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #f1c8c7;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||
|
|
@ -205,7 +292,6 @@ input[type=radio]:checked:before {
|
|||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
|
|
@ -229,12 +315,12 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||
#adminmenu li.current div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||
#adminmenu li:hover div.wp-menu-image:before,
|
||||
#adminmenu li a:focus div.wp-menu-image:before,
|
||||
#adminmenu li.opensub div.wp-menu-image:before,
|
||||
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||
#adminmenu li.opensub div.wp-menu-image:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -302,7 +388,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: #fff;
|
||||
color: #f7e3d3;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -372,6 +458,25 @@ 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;
|
||||
|
|
@ -474,6 +579,11 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
/* Nav Menus */
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow: 0 0 0 1px #e59e66, 0 0 2px 1px #dd823b;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f3f1f1;
|
||||
|
|
@ -500,3 +610,96 @@ div#wp-responsive-toggle a:before {
|
|||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #dd823b;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.wp-core-ui #customize-controls .control-section:hover > .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:hover,
|
||||
.wp-core-ui #customize-controls .control-section.open .accordion-section-title,
|
||||
.wp-core-ui #customize-controls .control-section .accordion-section-title:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .customize-controls-close:focus,
|
||||
.wp-core-ui .customize-controls-close:hover,
|
||||
.wp-core-ui .customize-controls-preview-toggle:focus,
|
||||
.wp-core-ui .customize-controls-preview-toggle:hover {
|
||||
color: #0073aa;
|
||||
border-top-color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .customize-panel-back:hover,
|
||||
.wp-core-ui .customize-panel-back:focus,
|
||||
.wp-core-ui .customize-section-back:hover,
|
||||
.wp-core-ui .customize-section-back:focus {
|
||||
color: #0073aa;
|
||||
border-left-color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:hover,
|
||||
.wp-core-ui .customize-screen-options-toggle:active,
|
||||
.wp-core-ui .customize-screen-options-toggle:focus,
|
||||
.wp-core-ui .active-menu-screen-options .customize-screen-options-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
.wp-core-ui #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-screen-options-toggle:focus:before,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus:before, .wp-core-ui.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-core-ui .menu-item-bar .item-delete:focus:before,
|
||||
.wp-core-ui #available-menu-items .item-add:focus:before,
|
||||
.wp-core-ui #customize-save-button-wrapper .save:focus,
|
||||
.wp-core-ui #publish-settings:focus {
|
||||
box-shadow: 0 0 0 1px #e59e66, 0 0 2px 1px #dd823b;
|
||||
}
|
||||
.wp-core-ui #customize-controls .customize-info.open .customize-help-toggle,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:focus,
|
||||
.wp-core-ui #customize-controls .customize-info .customize-help-toggle:hover {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:focus,
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title:hover {
|
||||
border-left-color: #dd823b;
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: #dd823b;
|
||||
}
|
||||
.wp-core-ui .control-panel-themes .customize-themes-section-title.selected {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui #customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-theme-controls .control-section .accordion-section-title:focus:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:hover:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section.open .accordion-section-title:after,
|
||||
.wp-core-ui #customize-outer-theme-controls .control-section .accordion-section-title:focus:after {
|
||||
color: #0073aa;
|
||||
}
|
||||
.wp-core-ui .customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: #dd823b;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px #dd823b;
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button.active:hover {
|
||||
border-bottom-color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-core-ui .wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus {
|
||||
color: #dd823b;
|
||||
}
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
|
||||
.wp-core-ui .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
|
||||
box-shadow: 0 0 0 1px #e59e66, 0 0 2px 1px #dd823b;
|
||||
}
|
||||
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
|
||||
border-bottom-color: #dd823b;
|
||||
color: #0073aa;
|
||||
}
|
||||
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
File diff suppressed because it is too large
Load diff
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
File diff suppressed because it is too large
Load diff
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
File diff suppressed because it is too large
Load diff
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
File diff suppressed because it is too large
Load diff
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
|
|
@ -1,10 +1,11 @@
|
|||
/*! This file is auto-generated */
|
||||
#customize-theme-controls #accordion-section-menu_locations {
|
||||
position: relative;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
|
||||
border-bottom-color: #ddd;
|
||||
border-bottom-color: #dcdcde;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
|
|
@ -29,7 +30,7 @@
|
|||
#customize-controls .theme-location-set,
|
||||
#customize-controls .control-section .accordion-section-title:focus .menu-in-location,
|
||||
#customize-controls .control-section .accordion-section-title:hover .menu-in-location {
|
||||
color: #555;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */
|
||||
|
|
@ -37,7 +38,7 @@
|
|||
.customize-control-nav_menu_location .create-menu {
|
||||
margin-right: 6px;
|
||||
vertical-align: middle;
|
||||
line-height: 28px;
|
||||
line-height: 2.2;
|
||||
}
|
||||
|
||||
#customize-controls .customize-control-nav_menu_name {
|
||||
|
|
@ -65,6 +66,7 @@
|
|||
|
||||
.wp-customizer .menu-item-bar .menu-item-handle {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -83,7 +85,7 @@
|
|||
}
|
||||
|
||||
.customize-control-nav_menu_item.has-notifications .menu-item-handle {
|
||||
border-right: 4px solid #00a0d2;
|
||||
border-right: 4px solid #72aee6;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item-settings {
|
||||
|
|
@ -91,8 +93,8 @@
|
|||
overflow: hidden;
|
||||
z-index: 8;
|
||||
padding: 10px;
|
||||
background: #eee;
|
||||
border: 1px solid #999;
|
||||
background: #f0f0f1;
|
||||
border: 1px solid #8c8f94;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
|
|
@ -193,7 +195,7 @@
|
|||
}
|
||||
|
||||
.wp-customizer .menu-settings .menu-theme-locations {
|
||||
border-top: 1px solid #ccc;
|
||||
border-top: 1px solid #c3c4c7;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-settings {
|
||||
|
|
@ -208,7 +210,7 @@
|
|||
|
||||
.wp-customizer .control-section-nav_menu .menu-location-settings {
|
||||
margin-top: 24px;
|
||||
border-top: 1px solid #ddd;
|
||||
border-top: 1px solid #dcdcde;
|
||||
}
|
||||
|
||||
.wp-customizer .control-section-nav_menu .menu-location-settings,
|
||||
|
|
@ -233,14 +235,14 @@
|
|||
}
|
||||
|
||||
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle {
|
||||
color: #555;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
/* Screen Options */
|
||||
.customize-screen-options-toggle {
|
||||
background: none;
|
||||
border: none;
|
||||
color: #555;
|
||||
color: #50575e;
|
||||
cursor: pointer;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
|
|
@ -264,12 +266,13 @@
|
|||
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
color: #2271b1;
|
||||
}
|
||||
|
||||
.customize-screen-options-toggle:focus,
|
||||
#customize-controls .customize-info .customize-help-toggle:focus {
|
||||
outline: none;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 1px solid transparent;
|
||||
}
|
||||
|
||||
.customize-screen-options-toggle:before {
|
||||
|
|
@ -295,7 +298,7 @@
|
|||
.wp-customizer #screen-options-wrap {
|
||||
display: none;
|
||||
background: #fff;
|
||||
border-top: 1px solid #ddd;
|
||||
border-top: 1px solid #dcdcde;
|
||||
padding: 4px 15px 15px;
|
||||
}
|
||||
|
||||
|
|
@ -321,9 +324,9 @@
|
|||
content: "\f140";
|
||||
display: block;
|
||||
padding: 1px 0px 1px 2px;
|
||||
speak: none;
|
||||
speak: never;
|
||||
border-radius: 50%;
|
||||
color: #72777c;
|
||||
color: #787c82;
|
||||
font: normal 20px/1 dashicons;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
|
@ -429,7 +432,7 @@
|
|||
max-width: calc(100% - 2px);
|
||||
float: right;
|
||||
display: list-item;
|
||||
border-color: #a0a5aa;
|
||||
border-color: #a7aaad;
|
||||
}
|
||||
|
||||
.menu-item-transport li.customize-control {
|
||||
|
|
@ -454,7 +457,7 @@
|
|||
}
|
||||
|
||||
.menu-item-bar .item-delete {
|
||||
color: #a00;
|
||||
color: #d63638;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: -19px;
|
||||
|
|
@ -475,15 +478,11 @@
|
|||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.ie8 .menu-item-bar .item-delete:before {
|
||||
top: -10px;
|
||||
}
|
||||
|
||||
.menu-item-bar .item-delete:hover,
|
||||
.menu-item-bar .item-delete:focus {
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
color: #dc3232;
|
||||
color: #d63638;
|
||||
}
|
||||
|
||||
.adding-menu-items .menu-item-bar .item-edit {
|
||||
|
|
@ -514,14 +513,12 @@
|
|||
transition: background-color 0.15s;
|
||||
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
|
||||
-webkit-user-select: auto;
|
||||
-moz-user-select: auto;
|
||||
-ms-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
|
||||
#available-menu-items .open .accordion-section-title,
|
||||
#available-menu-items #available-menu-items-search .accordion-section-title {
|
||||
background: #eee;
|
||||
background: #f0f0f1;
|
||||
}
|
||||
|
||||
/* rework the arrow indicator implementation for NVDA bug see #32715 */
|
||||
|
|
@ -532,12 +529,12 @@
|
|||
#available-menu-items .accordion-section-title:hover .toggle-indicator:before,
|
||||
#available-menu-items .button-link:hover .toggle-indicator:before,
|
||||
#available-menu-items .button-link:focus .toggle-indicator:before {
|
||||
color: #23282d;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
#available-menu-items .open .accordion-section-title .toggle-indicator:before {
|
||||
content: "\f142";
|
||||
color: #23282d;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
#available-menu-items .available-menu-items-list {
|
||||
|
|
@ -571,7 +568,7 @@
|
|||
|
||||
#available-menu-items .cannot-expand .accordion-section-title .no-items {
|
||||
float: left;
|
||||
color: #555d66;
|
||||
color: #50575e;
|
||||
font-weight: 400;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
|
@ -608,7 +605,7 @@
|
|||
.menu-name-field.invalid:focus,
|
||||
#available-menu-items .new-content-item .create-item-input.invalid,
|
||||
#available-menu-items .new-content-item .create-item-input.invalid:focus {
|
||||
border: 1px solid #dc3232;
|
||||
border: 1px solid #d63638;
|
||||
}
|
||||
|
||||
#available-menu-items .menu-item-handle .item-type {
|
||||
|
|
@ -641,7 +638,7 @@
|
|||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
color: #82878c;
|
||||
color: #8c8f94;
|
||||
width: 30px;
|
||||
height: 38px;
|
||||
box-shadow: none;
|
||||
|
|
@ -651,7 +648,7 @@
|
|||
}
|
||||
|
||||
#available-menu-items .menu-item-handle .item-add:focus {
|
||||
color: #23282d;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
#available-menu-items .item-add:before {
|
||||
|
|
@ -669,7 +666,7 @@
|
|||
#available-menu-items .menu-item-handle.item-added .item-title,
|
||||
#available-menu-items .menu-item-handle.item-added:hover .item-add,
|
||||
#available-menu-items .menu-item-handle.item-added .item-add:focus {
|
||||
color: #82878c;
|
||||
color: #8c8f94;
|
||||
}
|
||||
|
||||
#available-menu-items .menu-item-handle.item-added .item-add:before {
|
||||
|
|
@ -764,7 +761,7 @@ body.adding-menu-items #customize-preview iframe {
|
|||
cursor: default;
|
||||
opacity: .5;
|
||||
background: #fff;
|
||||
color: #727773;
|
||||
color: #787c82;
|
||||
}
|
||||
|
||||
.added-menu-item .menu-item-handle {
|
||||
|
|
@ -776,7 +773,7 @@ body.adding-menu-items #customize-preview iframe {
|
|||
/* Add/delete Menus */
|
||||
|
||||
#customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title {
|
||||
border-bottom-color: #ddd;
|
||||
border-bottom-color: #dcdcde;
|
||||
}
|
||||
|
||||
/* @todo update selector */
|
||||
|
|
@ -794,7 +791,7 @@ body.adding-menu-items #customize-preview iframe {
|
|||
}
|
||||
|
||||
#accordion-section-add_menu .customize-add-menu-button {
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
#create-new-menu-submit {
|
||||
|
|
@ -830,17 +827,17 @@ li.assigned-to-menu-location .add-new-menu-item {
|
|||
.menu-item-handle:hover {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
color: #0073aa;
|
||||
color: #2271b1;
|
||||
}
|
||||
|
||||
.menu-item-handle:hover .item-type,
|
||||
.menu-item-handle:hover .item-edit,
|
||||
#available-menu-items .menu-item-handle:hover .item-add {
|
||||
color: #0073aa;
|
||||
color: #2271b1;
|
||||
}
|
||||
|
||||
.menu-item-edit-active .menu-item-handle {
|
||||
border-color: #999;
|
||||
border-color: #8c8f94;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
|
|
@ -869,18 +866,18 @@ li.assigned-to-menu-location .add-new-menu-item {
|
|||
.menu-item-bar .item-delete:focus:before,
|
||||
#available-menu-items .item-add:focus:before {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
0 0 0 1px #4f94d4,
|
||||
0 0 2px 1px rgba(79, 148, 212, 0.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
|
|
@ -4,7 +4,7 @@
|
|||
}
|
||||
|
||||
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
|
||||
border-bottom-color: #ddd;
|
||||
border-bottom-color: #dcdcde;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
#customize-controls .theme-location-set,
|
||||
#customize-controls .control-section .accordion-section-title:focus .menu-in-location,
|
||||
#customize-controls .control-section .accordion-section-title:hover .menu-in-location {
|
||||
color: #555;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
.customize-control-nav_menu_location .create-menu {
|
||||
margin-left: 6px;
|
||||
vertical-align: middle;
|
||||
line-height: 28px;
|
||||
line-height: 2.2;
|
||||
}
|
||||
|
||||
#customize-controls .customize-control-nav_menu_name {
|
||||
|
|
@ -65,6 +65,7 @@
|
|||
|
||||
.wp-customizer .menu-item-bar .menu-item-handle {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
|
|
@ -83,7 +84,7 @@
|
|||
}
|
||||
|
||||
.customize-control-nav_menu_item.has-notifications .menu-item-handle {
|
||||
border-left: 4px solid #00a0d2;
|
||||
border-left: 4px solid #72aee6;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item-settings {
|
||||
|
|
@ -91,8 +92,8 @@
|
|||
overflow: hidden;
|
||||
z-index: 8;
|
||||
padding: 10px;
|
||||
background: #eee;
|
||||
border: 1px solid #999;
|
||||
background: #f0f0f1;
|
||||
border: 1px solid #8c8f94;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
|
|
@ -193,7 +194,7 @@
|
|||
}
|
||||
|
||||
.wp-customizer .menu-settings .menu-theme-locations {
|
||||
border-top: 1px solid #ccc;
|
||||
border-top: 1px solid #c3c4c7;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-settings {
|
||||
|
|
@ -208,7 +209,7 @@
|
|||
|
||||
.wp-customizer .control-section-nav_menu .menu-location-settings {
|
||||
margin-top: 24px;
|
||||
border-top: 1px solid #ddd;
|
||||
border-top: 1px solid #dcdcde;
|
||||
}
|
||||
|
||||
.wp-customizer .control-section-nav_menu .menu-location-settings,
|
||||
|
|
@ -233,14 +234,14 @@
|
|||
}
|
||||
|
||||
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle {
|
||||
color: #555;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
/* Screen Options */
|
||||
.customize-screen-options-toggle {
|
||||
background: none;
|
||||
border: none;
|
||||
color: #555;
|
||||
color: #50575e;
|
||||
cursor: pointer;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
|
|
@ -264,12 +265,13 @@
|
|||
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
||||
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
||||
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus {
|
||||
color: #0073aa;
|
||||
color: #2271b1;
|
||||
}
|
||||
|
||||
.customize-screen-options-toggle:focus,
|
||||
#customize-controls .customize-info .customize-help-toggle:focus {
|
||||
outline: none;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 1px solid transparent;
|
||||
}
|
||||
|
||||
.customize-screen-options-toggle:before {
|
||||
|
|
@ -295,7 +297,7 @@
|
|||
.wp-customizer #screen-options-wrap {
|
||||
display: none;
|
||||
background: #fff;
|
||||
border-top: 1px solid #ddd;
|
||||
border-top: 1px solid #dcdcde;
|
||||
padding: 4px 15px 15px;
|
||||
}
|
||||
|
||||
|
|
@ -321,9 +323,9 @@
|
|||
content: "\f140";
|
||||
display: block;
|
||||
padding: 1px 2px 1px 0px;
|
||||
speak: none;
|
||||
speak: never;
|
||||
border-radius: 50%;
|
||||
color: #72777c;
|
||||
color: #787c82;
|
||||
font: normal 20px/1 dashicons;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
|
@ -429,7 +431,7 @@
|
|||
max-width: calc(100% - 2px);
|
||||
float: left;
|
||||
display: list-item;
|
||||
border-color: #a0a5aa;
|
||||
border-color: #a7aaad;
|
||||
}
|
||||
|
||||
.menu-item-transport li.customize-control {
|
||||
|
|
@ -454,7 +456,7 @@
|
|||
}
|
||||
|
||||
.menu-item-bar .item-delete {
|
||||
color: #a00;
|
||||
color: #d63638;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: -19px;
|
||||
|
|
@ -475,15 +477,11 @@
|
|||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.ie8 .menu-item-bar .item-delete:before {
|
||||
top: -10px;
|
||||
}
|
||||
|
||||
.menu-item-bar .item-delete:hover,
|
||||
.menu-item-bar .item-delete:focus {
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
color: #dc3232;
|
||||
color: #d63638;
|
||||
}
|
||||
|
||||
.adding-menu-items .menu-item-bar .item-edit {
|
||||
|
|
@ -514,14 +512,12 @@
|
|||
transition: background-color 0.15s;
|
||||
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
|
||||
-webkit-user-select: auto;
|
||||
-moz-user-select: auto;
|
||||
-ms-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
|
||||
#available-menu-items .open .accordion-section-title,
|
||||
#available-menu-items #available-menu-items-search .accordion-section-title {
|
||||
background: #eee;
|
||||
background: #f0f0f1;
|
||||
}
|
||||
|
||||
/* rework the arrow indicator implementation for NVDA bug see #32715 */
|
||||
|
|
@ -532,12 +528,12 @@
|
|||
#available-menu-items .accordion-section-title:hover .toggle-indicator:before,
|
||||
#available-menu-items .button-link:hover .toggle-indicator:before,
|
||||
#available-menu-items .button-link:focus .toggle-indicator:before {
|
||||
color: #23282d;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
#available-menu-items .open .accordion-section-title .toggle-indicator:before {
|
||||
content: "\f142";
|
||||
color: #23282d;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
#available-menu-items .available-menu-items-list {
|
||||
|
|
@ -571,7 +567,7 @@
|
|||
|
||||
#available-menu-items .cannot-expand .accordion-section-title .no-items {
|
||||
float: right;
|
||||
color: #555d66;
|
||||
color: #50575e;
|
||||
font-weight: 400;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
|
@ -608,7 +604,7 @@
|
|||
.menu-name-field.invalid:focus,
|
||||
#available-menu-items .new-content-item .create-item-input.invalid,
|
||||
#available-menu-items .new-content-item .create-item-input.invalid:focus {
|
||||
border: 1px solid #dc3232;
|
||||
border: 1px solid #d63638;
|
||||
}
|
||||
|
||||
#available-menu-items .menu-item-handle .item-type {
|
||||
|
|
@ -641,7 +637,7 @@
|
|||
position: absolute;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
color: #82878c;
|
||||
color: #8c8f94;
|
||||
width: 30px;
|
||||
height: 38px;
|
||||
box-shadow: none;
|
||||
|
|
@ -651,7 +647,7 @@
|
|||
}
|
||||
|
||||
#available-menu-items .menu-item-handle .item-add:focus {
|
||||
color: #23282d;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
#available-menu-items .item-add:before {
|
||||
|
|
@ -669,7 +665,7 @@
|
|||
#available-menu-items .menu-item-handle.item-added .item-title,
|
||||
#available-menu-items .menu-item-handle.item-added:hover .item-add,
|
||||
#available-menu-items .menu-item-handle.item-added .item-add:focus {
|
||||
color: #82878c;
|
||||
color: #8c8f94;
|
||||
}
|
||||
|
||||
#available-menu-items .menu-item-handle.item-added .item-add:before {
|
||||
|
|
@ -764,7 +760,7 @@ body.adding-menu-items #customize-preview iframe {
|
|||
cursor: default;
|
||||
opacity: .5;
|
||||
background: #fff;
|
||||
color: #727773;
|
||||
color: #787c82;
|
||||
}
|
||||
|
||||
.added-menu-item .menu-item-handle {
|
||||
|
|
@ -776,7 +772,7 @@ body.adding-menu-items #customize-preview iframe {
|
|||
/* Add/delete Menus */
|
||||
|
||||
#customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title {
|
||||
border-bottom-color: #ddd;
|
||||
border-bottom-color: #dcdcde;
|
||||
}
|
||||
|
||||
/* @todo update selector */
|
||||
|
|
@ -794,7 +790,7 @@ body.adding-menu-items #customize-preview iframe {
|
|||
}
|
||||
|
||||
#accordion-section-add_menu .customize-add-menu-button {
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
#create-new-menu-submit {
|
||||
|
|
@ -830,17 +826,17 @@ li.assigned-to-menu-location .add-new-menu-item {
|
|||
.menu-item-handle:hover {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
color: #0073aa;
|
||||
color: #2271b1;
|
||||
}
|
||||
|
||||
.menu-item-handle:hover .item-type,
|
||||
.menu-item-handle:hover .item-edit,
|
||||
#available-menu-items .menu-item-handle:hover .item-add {
|
||||
color: #0073aa;
|
||||
color: #2271b1;
|
||||
}
|
||||
|
||||
.menu-item-edit-active .menu-item-handle {
|
||||
border-color: #999;
|
||||
border-color: #8c8f94;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
|
|
@ -869,18 +865,18 @@ li.assigned-to-menu-location .add-new-menu-item {
|
|||
.menu-item-bar .item-delete:focus:before,
|
||||
#available-menu-items .item-add:focus:before {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
0 0 0 1px #4f94d4,
|
||||
0 0 2px 1px rgba(79, 148, 212, 0.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
|
|
@ -1,3 +1,4 @@
|
|||
/*! This file is auto-generated */
|
||||
.wp-full-overlay-sidebar {
|
||||
overflow: visible;
|
||||
}
|
||||
|
|
@ -25,12 +26,12 @@
|
|||
}
|
||||
|
||||
.customize-control .widget-action {
|
||||
color: #72777c;
|
||||
color: #787c82;
|
||||
}
|
||||
|
||||
.customize-control .widget-top:hover .widget-action,
|
||||
.customize-control .widget-action:focus {
|
||||
color: #23282d;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
.customize-control-widget_form:not(.widget-rendered) .widget-top {
|
||||
|
|
@ -53,9 +54,7 @@
|
|||
.customize-control-widget_form.widget-form-disabled .widget-content {
|
||||
opacity: 0.7;
|
||||
pointer-events: none;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -67,7 +66,7 @@
|
|||
position: fixed;
|
||||
right: 299px;
|
||||
top: 25%;
|
||||
border: 1px solid rgb(229, 229, 229);
|
||||
border: 1px solid #dcdcde;
|
||||
overflow: auto;
|
||||
}
|
||||
.customize-control-widget_form.wide-widget-control .widget-inside > .form {
|
||||
|
|
@ -79,13 +78,13 @@
|
|||
}
|
||||
.customize-control-widget_form.wide-widget-control.expanding .widget-top,
|
||||
.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top {
|
||||
background-color: rgb(227, 227, 227);
|
||||
background-color: #dcdcde;
|
||||
}
|
||||
|
||||
.widget-inside {
|
||||
padding: 1px 10px 10px 10px;
|
||||
border-top: none;
|
||||
line-height: 16px;
|
||||
line-height: 1.23076923;
|
||||
}
|
||||
|
||||
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
|
||||
|
|
@ -112,7 +111,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(79, 148, 212, 0.8);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
|
@ -128,7 +127,7 @@
|
|||
#customize-theme-controls .widget-reorder-nav {
|
||||
display: none;
|
||||
float: left;
|
||||
background-color: #fafafa;
|
||||
background-color: #f6f7f7;
|
||||
}
|
||||
|
||||
.move-widget:before {
|
||||
|
|
@ -138,7 +137,7 @@
|
|||
#customize-theme-controls .move-widget-area {
|
||||
display: none;
|
||||
background: #fff;
|
||||
border: 1px solid #ddd;
|
||||
border: 1px solid #c3c4c7;
|
||||
border-top: none;
|
||||
cursor: auto;
|
||||
}
|
||||
|
|
@ -163,12 +162,10 @@
|
|||
position: relative;
|
||||
margin: 0;
|
||||
padding: 13px 42px 15px 15px;
|
||||
color: #555;
|
||||
border-top: 1px solid #eee;
|
||||
color: #50575e;
|
||||
border-top: 1px solid #c3c4c7;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -184,13 +181,12 @@
|
|||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select li:last-child {
|
||||
border-bottom: 1px solid #eee;
|
||||
border-bottom: 1px solid #c3c4c7;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,.4);
|
||||
background: #00a0d2;
|
||||
background: #2271b1;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected:before {
|
||||
|
|
@ -235,16 +231,21 @@
|
|||
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;
|
||||
}
|
||||
|
||||
#available-widgets .widget-tpl:hover,
|
||||
#available-widgets .widget-tpl.selected {
|
||||
background: #f3f3f5;
|
||||
border-bottom-color: #ccc;
|
||||
color: #0073aa;
|
||||
border-right: 4px solid #0073aa;
|
||||
background: #f6f7f7;
|
||||
border-bottom-color: #c3c4c7;
|
||||
color: #2271b1;
|
||||
border-right: 4px solid #2271b1;
|
||||
}
|
||||
|
||||
#customize-controls .widget-title h3 {
|
||||
|
|
@ -258,7 +259,7 @@
|
|||
|
||||
#available-widgets .widget .widget-description {
|
||||
padding: 0;
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#customize-preview {
|
||||
|
|
@ -297,7 +298,7 @@ body.adding-widget #customize-preview {
|
|||
margin-left: 20px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
color: #32373c;
|
||||
color: #2c3338;
|
||||
font: normal 20px/1 dashicons;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
|
|
@ -305,76 +306,76 @@ body.adding-widget #customize-preview {
|
|||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* smiley */
|
||||
/* dashicons-smiley */
|
||||
#available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; }
|
||||
|
||||
/* star-filled */
|
||||
/* dashicons-star-filled */
|
||||
#available-widgets [class*="super"] .widget-title:before,
|
||||
#available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; }
|
||||
|
||||
/* wordpress */
|
||||
/* dashicons-wordpress */
|
||||
#available-widgets [class*="meta"] .widget-title:before { content: "\f120"; }
|
||||
|
||||
/* archive-box */
|
||||
/* dashicons-archive */
|
||||
#available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; }
|
||||
|
||||
/* category */
|
||||
/* dashicons-category */
|
||||
#available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; }
|
||||
|
||||
/* comments */
|
||||
/* dashicons-admin-comments */
|
||||
#available-widgets [class*="comment"] .widget-title:before,
|
||||
#available-widgets [class*="testimonial"] .widget-title:before,
|
||||
#available-widgets [class*="chat"] .widget-title:before { content: "\f101"; }
|
||||
|
||||
/* post */
|
||||
/* dashicons-admin-post */
|
||||
#available-widgets [class*="post"] .widget-title:before { content: "\f109"; }
|
||||
|
||||
/* admin-page */
|
||||
/* dashicons-admin-page */
|
||||
#available-widgets [class*="page"] .widget-title:before { content: "\f105"; }
|
||||
|
||||
/* text */
|
||||
/* dashicons-text */
|
||||
#available-widgets [class*="text"] .widget-title:before { content: "\f478"; }
|
||||
|
||||
/* links */
|
||||
/* dashicons-admin-links */
|
||||
#available-widgets [class*="link"] .widget-title:before { content: "\f103"; }
|
||||
|
||||
/* search */
|
||||
/* dashicons-search */
|
||||
#available-widgets [class*="search"] .widget-title:before { content: "\f179"; }
|
||||
|
||||
/* menu */
|
||||
/* dashicons-menu */
|
||||
#available-widgets [class*="menu"] .widget-title:before,
|
||||
#available-widgets [class*="nav"] .widget-title:before { content: "\f333"; }
|
||||
|
||||
/* tag-cloud */
|
||||
/* dashicons-tagcloud */
|
||||
#available-widgets [class*="tag"] .widget-title:before { content: "\f479"; }
|
||||
|
||||
/* rss */
|
||||
/* dashicons-rss */
|
||||
#available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; }
|
||||
|
||||
/* calendar */
|
||||
/* dashicons-calendar */
|
||||
#available-widgets [class*="event"] .widget-title:before,
|
||||
#available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;}
|
||||
|
||||
/* format-image */
|
||||
/* dashicons-format-image */
|
||||
#available-widgets [class*="image"] .widget-title:before,
|
||||
#available-widgets [class*="photo"] .widget-title:before,
|
||||
#available-widgets [class*="slide"] .widget-title:before,
|
||||
#available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; }
|
||||
|
||||
/* format-gallery */
|
||||
/* dashicons-format-gallery */
|
||||
#available-widgets [class*="album"] .widget-title:before,
|
||||
#available-widgets [class*="galler"] .widget-title:before { content: "\f161"; }
|
||||
|
||||
/* format-video */
|
||||
/* dashicons-format-video */
|
||||
#available-widgets [class*="video"] .widget-title:before,
|
||||
#available-widgets [class*="tube"] .widget-title:before { content: "\f126"; }
|
||||
|
||||
/* format-audio */
|
||||
/* dashicons-format-audio */
|
||||
#available-widgets [class*="music"] .widget-title:before,
|
||||
#available-widgets [class*="radio"] .widget-title:before,
|
||||
#available-widgets [class*="audio"] .widget-title:before { content: "\f127"; }
|
||||
|
||||
/* admin-users */
|
||||
/* dashicons-admin-users */
|
||||
#available-widgets [class*="login"] .widget-title:before,
|
||||
#available-widgets [class*="user"] .widget-title:before,
|
||||
#available-widgets [class*="member"] .widget-title:before,
|
||||
|
|
@ -383,51 +384,51 @@ body.adding-widget #customize-preview {
|
|||
#available-widgets [class*="profile"] .widget-title:before,
|
||||
#available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; }
|
||||
|
||||
/* cart */
|
||||
/* dashicons-cart */
|
||||
#available-widgets [class*="commerce"] .widget-title:before,
|
||||
#available-widgets [class*="shop"] .widget-title:before,
|
||||
#available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; }
|
||||
|
||||
/* shield */
|
||||
/* dashicons-shield */
|
||||
#available-widgets [class*="secur"] .widget-title:before,
|
||||
#available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; }
|
||||
|
||||
/* chart-bar */
|
||||
/* dashicons-chart-bar */
|
||||
#available-widgets [class*="analytic"] .widget-title:before,
|
||||
#available-widgets [class*="stat"] .widget-title:before,
|
||||
#available-widgets [class*="poll"] .widget-title:before { content: "\f185"; }
|
||||
|
||||
/* feedback */
|
||||
/* dashicons-feedback */
|
||||
#available-widgets [class*="form"] .widget-title:before { content: "\f175"; }
|
||||
|
||||
/* email-alt */
|
||||
/* dashicons-email-alt */
|
||||
#available-widgets [class*="subscribe"] .widget-title:before,
|
||||
#available-widgets [class*="news"] .widget-title:before,
|
||||
#available-widgets [class*="contact"] .widget-title:before,
|
||||
#available-widgets [class*="mail"] .widget-title:before { content: "\f466"; }
|
||||
|
||||
/* share */
|
||||
/* dashicons-share */
|
||||
#available-widgets [class*="share"] .widget-title:before,
|
||||
#available-widgets [class*="socia"] .widget-title:before { content: "\f237"; }
|
||||
|
||||
/* translation */
|
||||
/* dashicons-translation */
|
||||
#available-widgets [class*="lang"] .widget-title:before,
|
||||
#available-widgets [class*="translat"] .widget-title:before { content: "\f326"; }
|
||||
|
||||
/* location-alt */
|
||||
/* dashicons-location-alt */
|
||||
#available-widgets [class*="locat"] .widget-title:before,
|
||||
#available-widgets [class*="map"] .widget-title:before { content: "\f231"; }
|
||||
|
||||
/* download */
|
||||
/* dashicons-download */
|
||||
#available-widgets [class*="download"] .widget-title:before { content: "\f316"; }
|
||||
|
||||
/* cloud */
|
||||
/* dashicons-cloud */
|
||||
#available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;}
|
||||
|
||||
/* facebook */
|
||||
/* dashicons-facebook */
|
||||
#available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; }
|
||||
|
||||
/* twitter */
|
||||
/* dashicons-twitter */
|
||||
#available-widgets [class*="tweet"] .widget-title:before,
|
||||
#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
|
||||
|
||||
|
|
|
|||
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
|
|
@ -25,12 +25,12 @@
|
|||
}
|
||||
|
||||
.customize-control .widget-action {
|
||||
color: #72777c;
|
||||
color: #787c82;
|
||||
}
|
||||
|
||||
.customize-control .widget-top:hover .widget-action,
|
||||
.customize-control .widget-action:focus {
|
||||
color: #23282d;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
.customize-control-widget_form:not(.widget-rendered) .widget-top {
|
||||
|
|
@ -53,9 +53,7 @@
|
|||
.customize-control-widget_form.widget-form-disabled .widget-content {
|
||||
opacity: 0.7;
|
||||
pointer-events: none;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -67,7 +65,7 @@
|
|||
position: fixed;
|
||||
left: 299px;
|
||||
top: 25%;
|
||||
border: 1px solid rgb(229, 229, 229);
|
||||
border: 1px solid #dcdcde;
|
||||
overflow: auto;
|
||||
}
|
||||
.customize-control-widget_form.wide-widget-control .widget-inside > .form {
|
||||
|
|
@ -79,13 +77,13 @@
|
|||
}
|
||||
.customize-control-widget_form.wide-widget-control.expanding .widget-top,
|
||||
.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top {
|
||||
background-color: rgb(227, 227, 227);
|
||||
background-color: #dcdcde;
|
||||
}
|
||||
|
||||
.widget-inside {
|
||||
padding: 1px 10px 10px 10px;
|
||||
border-top: none;
|
||||
line-height: 16px;
|
||||
line-height: 1.23076923;
|
||||
}
|
||||
|
||||
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
|
||||
|
|
@ -112,7 +110,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(79, 148, 212, 0.8);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
|
@ -128,7 +126,7 @@
|
|||
#customize-theme-controls .widget-reorder-nav {
|
||||
display: none;
|
||||
float: right;
|
||||
background-color: #fafafa;
|
||||
background-color: #f6f7f7;
|
||||
}
|
||||
|
||||
.move-widget:before {
|
||||
|
|
@ -138,7 +136,7 @@
|
|||
#customize-theme-controls .move-widget-area {
|
||||
display: none;
|
||||
background: #fff;
|
||||
border: 1px solid #ddd;
|
||||
border: 1px solid #c3c4c7;
|
||||
border-top: none;
|
||||
cursor: auto;
|
||||
}
|
||||
|
|
@ -163,12 +161,10 @@
|
|||
position: relative;
|
||||
margin: 0;
|
||||
padding: 13px 15px 15px 42px;
|
||||
color: #555;
|
||||
border-top: 1px solid #eee;
|
||||
color: #50575e;
|
||||
border-top: 1px solid #c3c4c7;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
@ -184,13 +180,12 @@
|
|||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select li:last-child {
|
||||
border-bottom: 1px solid #eee;
|
||||
border-bottom: 1px solid #c3c4c7;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,.4);
|
||||
background: #00a0d2;
|
||||
background: #2271b1;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected:before {
|
||||
|
|
@ -235,16 +230,21 @@
|
|||
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;
|
||||
}
|
||||
|
||||
#available-widgets .widget-tpl:hover,
|
||||
#available-widgets .widget-tpl.selected {
|
||||
background: #f3f3f5;
|
||||
border-bottom-color: #ccc;
|
||||
color: #0073aa;
|
||||
border-left: 4px solid #0073aa;
|
||||
background: #f6f7f7;
|
||||
border-bottom-color: #c3c4c7;
|
||||
color: #2271b1;
|
||||
border-left: 4px solid #2271b1;
|
||||
}
|
||||
|
||||
#customize-controls .widget-title h3 {
|
||||
|
|
@ -258,7 +258,7 @@
|
|||
|
||||
#available-widgets .widget .widget-description {
|
||||
padding: 0;
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#customize-preview {
|
||||
|
|
@ -297,7 +297,7 @@ body.adding-widget #customize-preview {
|
|||
margin-right: 20px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
color: #32373c;
|
||||
color: #2c3338;
|
||||
font: normal 20px/1 dashicons;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
|
|
@ -305,76 +305,76 @@ body.adding-widget #customize-preview {
|
|||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* smiley */
|
||||
/* dashicons-smiley */
|
||||
#available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; }
|
||||
|
||||
/* star-filled */
|
||||
/* dashicons-star-filled */
|
||||
#available-widgets [class*="super"] .widget-title:before,
|
||||
#available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; }
|
||||
|
||||
/* wordpress */
|
||||
/* dashicons-wordpress */
|
||||
#available-widgets [class*="meta"] .widget-title:before { content: "\f120"; }
|
||||
|
||||
/* archive-box */
|
||||
/* dashicons-archive */
|
||||
#available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; }
|
||||
|
||||
/* category */
|
||||
/* dashicons-category */
|
||||
#available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; }
|
||||
|
||||
/* comments */
|
||||
/* dashicons-admin-comments */
|
||||
#available-widgets [class*="comment"] .widget-title:before,
|
||||
#available-widgets [class*="testimonial"] .widget-title:before,
|
||||
#available-widgets [class*="chat"] .widget-title:before { content: "\f101"; }
|
||||
|
||||
/* post */
|
||||
/* dashicons-admin-post */
|
||||
#available-widgets [class*="post"] .widget-title:before { content: "\f109"; }
|
||||
|
||||
/* admin-page */
|
||||
/* dashicons-admin-page */
|
||||
#available-widgets [class*="page"] .widget-title:before { content: "\f105"; }
|
||||
|
||||
/* text */
|
||||
/* dashicons-text */
|
||||
#available-widgets [class*="text"] .widget-title:before { content: "\f478"; }
|
||||
|
||||
/* links */
|
||||
/* dashicons-admin-links */
|
||||
#available-widgets [class*="link"] .widget-title:before { content: "\f103"; }
|
||||
|
||||
/* search */
|
||||
/* dashicons-search */
|
||||
#available-widgets [class*="search"] .widget-title:before { content: "\f179"; }
|
||||
|
||||
/* menu */
|
||||
/* dashicons-menu */
|
||||
#available-widgets [class*="menu"] .widget-title:before,
|
||||
#available-widgets [class*="nav"] .widget-title:before { content: "\f333"; }
|
||||
|
||||
/* tag-cloud */
|
||||
/* dashicons-tagcloud */
|
||||
#available-widgets [class*="tag"] .widget-title:before { content: "\f479"; }
|
||||
|
||||
/* rss */
|
||||
/* dashicons-rss */
|
||||
#available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; }
|
||||
|
||||
/* calendar */
|
||||
/* dashicons-calendar */
|
||||
#available-widgets [class*="event"] .widget-title:before,
|
||||
#available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;}
|
||||
|
||||
/* format-image */
|
||||
/* dashicons-format-image */
|
||||
#available-widgets [class*="image"] .widget-title:before,
|
||||
#available-widgets [class*="photo"] .widget-title:before,
|
||||
#available-widgets [class*="slide"] .widget-title:before,
|
||||
#available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; }
|
||||
|
||||
/* format-gallery */
|
||||
/* dashicons-format-gallery */
|
||||
#available-widgets [class*="album"] .widget-title:before,
|
||||
#available-widgets [class*="galler"] .widget-title:before { content: "\f161"; }
|
||||
|
||||
/* format-video */
|
||||
/* dashicons-format-video */
|
||||
#available-widgets [class*="video"] .widget-title:before,
|
||||
#available-widgets [class*="tube"] .widget-title:before { content: "\f126"; }
|
||||
|
||||
/* format-audio */
|
||||
/* dashicons-format-audio */
|
||||
#available-widgets [class*="music"] .widget-title:before,
|
||||
#available-widgets [class*="radio"] .widget-title:before,
|
||||
#available-widgets [class*="audio"] .widget-title:before { content: "\f127"; }
|
||||
|
||||
/* admin-users */
|
||||
/* dashicons-admin-users */
|
||||
#available-widgets [class*="login"] .widget-title:before,
|
||||
#available-widgets [class*="user"] .widget-title:before,
|
||||
#available-widgets [class*="member"] .widget-title:before,
|
||||
|
|
@ -383,51 +383,51 @@ body.adding-widget #customize-preview {
|
|||
#available-widgets [class*="profile"] .widget-title:before,
|
||||
#available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; }
|
||||
|
||||
/* cart */
|
||||
/* dashicons-cart */
|
||||
#available-widgets [class*="commerce"] .widget-title:before,
|
||||
#available-widgets [class*="shop"] .widget-title:before,
|
||||
#available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; }
|
||||
|
||||
/* shield */
|
||||
/* dashicons-shield */
|
||||
#available-widgets [class*="secur"] .widget-title:before,
|
||||
#available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; }
|
||||
|
||||
/* chart-bar */
|
||||
/* dashicons-chart-bar */
|
||||
#available-widgets [class*="analytic"] .widget-title:before,
|
||||
#available-widgets [class*="stat"] .widget-title:before,
|
||||
#available-widgets [class*="poll"] .widget-title:before { content: "\f185"; }
|
||||
|
||||
/* feedback */
|
||||
/* dashicons-feedback */
|
||||
#available-widgets [class*="form"] .widget-title:before { content: "\f175"; }
|
||||
|
||||
/* email-alt */
|
||||
/* dashicons-email-alt */
|
||||
#available-widgets [class*="subscribe"] .widget-title:before,
|
||||
#available-widgets [class*="news"] .widget-title:before,
|
||||
#available-widgets [class*="contact"] .widget-title:before,
|
||||
#available-widgets [class*="mail"] .widget-title:before { content: "\f466"; }
|
||||
|
||||
/* share */
|
||||
/* dashicons-share */
|
||||
#available-widgets [class*="share"] .widget-title:before,
|
||||
#available-widgets [class*="socia"] .widget-title:before { content: "\f237"; }
|
||||
|
||||
/* translation */
|
||||
/* dashicons-translation */
|
||||
#available-widgets [class*="lang"] .widget-title:before,
|
||||
#available-widgets [class*="translat"] .widget-title:before { content: "\f326"; }
|
||||
|
||||
/* location-alt */
|
||||
/* dashicons-location-alt */
|
||||
#available-widgets [class*="locat"] .widget-title:before,
|
||||
#available-widgets [class*="map"] .widget-title:before { content: "\f231"; }
|
||||
|
||||
/* download */
|
||||
/* dashicons-download */
|
||||
#available-widgets [class*="download"] .widget-title:before { content: "\f316"; }
|
||||
|
||||
/* cloud */
|
||||
/* dashicons-cloud */
|
||||
#available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;}
|
||||
|
||||
/* facebook */
|
||||
/* dashicons-facebook */
|
||||
#available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; }
|
||||
|
||||
/* twitter */
|
||||
/* dashicons-twitter */
|
||||
#available-widgets [class*="tweet"] .widget-title:before,
|
||||
#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
|
||||
|
||||
|
|
|
|||
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
|
|
@ -1,3 +1,4 @@
|
|||
/*! This file is auto-generated */
|
||||
#wpbody-content #dashboard-widgets.columns-1 .postbox-container {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
@ -38,24 +39,6 @@
|
|||
border: none !important;
|
||||
}
|
||||
|
||||
.ie8 #wpbody-content #dashboard-widgets .postbox-container {
|
||||
width: 49.5%;
|
||||
}
|
||||
|
||||
.ie8 #wpbody-content #dashboard-widgets #postbox-container-2,
|
||||
.ie8 #wpbody-content #dashboard-widgets #postbox-container-3,
|
||||
.ie8 #wpbody-content #dashboard-widgets #postbox-container-4 {
|
||||
float: left;
|
||||
width: 50.5%;
|
||||
}
|
||||
|
||||
.ie8 #dashboard-widgets #postbox-container-3 .empty-container,
|
||||
.ie8 #dashboard-widgets #postbox-container-4 .empty-container {
|
||||
border: 0 none;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
#dashboard-widgets-wrap {
|
||||
overflow: hidden;
|
||||
margin: 0 -8px;
|
||||
|
|
@ -66,10 +49,41 @@
|
|||
}
|
||||
|
||||
#dashboard-widgets .meta-box-sortables {
|
||||
margin: 0 8px;
|
||||
display: flow-root; /* avoid margin collapsing between parent and first/last child elements */
|
||||
/* Required min-height to make the jQuery UI Sortable drop zone work. */
|
||||
min-height: 100px;
|
||||
margin: 0 8px 20px;
|
||||
}
|
||||
|
||||
#dashboard-widgets .postbox-container .empty-container {
|
||||
outline: 3px dashed #c3c4c7;
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
/* Only highlight drop zones when dragging and only in the 2 columns layout. */
|
||||
.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables {
|
||||
outline: 3px dashed #646970;
|
||||
/* Prevent margin on the child from collapsing with margin on the parent. */
|
||||
display: flow-root;
|
||||
}
|
||||
|
||||
#dashboard-widgets .postbox-container .empty-container:after {
|
||||
content: attr(data-emptystring);
|
||||
margin: auto;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
left: 0;
|
||||
transform: translateY( -50% );
|
||||
padding: 0 2em;
|
||||
text-align: center;
|
||||
color: #646970;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* @todo: this was originally in this section, but likely belongs elsewhere */
|
||||
#the-comment-list td.comment p.comment-author {
|
||||
margin-top: 0;
|
||||
|
|
@ -103,11 +117,11 @@
|
|||
overflow: auto;
|
||||
margin: 16px 0;
|
||||
padding: 23px 10px 0;
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
border: 1px solid #c3c4c7;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
background: #fff;
|
||||
font-size: 13px;
|
||||
line-height: 2.1em;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.welcome-panel h2 {
|
||||
|
|
@ -127,10 +141,10 @@
|
|||
}
|
||||
|
||||
.welcome-panel p {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.welcome-panel a {
|
||||
.welcome-panel li a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
|
@ -180,10 +194,6 @@
|
|||
float: right;
|
||||
}
|
||||
|
||||
.ie8 .welcome-panel .welcome-panel-column {
|
||||
min-width: 230px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column:first-child {
|
||||
width: 36%;
|
||||
}
|
||||
|
|
@ -194,11 +204,11 @@
|
|||
|
||||
.welcome-panel-column p {
|
||||
margin-top: 7px;
|
||||
color: #444;
|
||||
color: #3c434a;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-widgets-menus {
|
||||
line-height: 16px;
|
||||
line-height: 1.14285714;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column ul {
|
||||
|
|
@ -206,7 +216,7 @@
|
|||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column li {
|
||||
line-height: 16px;
|
||||
line-height: 1.14285714;
|
||||
list-style-type: none;
|
||||
padding: 0 0 8px;
|
||||
}
|
||||
|
|
@ -219,10 +229,11 @@
|
|||
|
||||
.welcome-panel .welcome-icon:before,
|
||||
#dashboard_right_now li a:before,
|
||||
#dashboard_right_now li span:before {
|
||||
color: #82878c;
|
||||
#dashboard_right_now li span:before,
|
||||
#dashboard_right_now .search-engines-info:before {
|
||||
color: #646970;
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: none;
|
||||
speak: never;
|
||||
display: inline-block;
|
||||
padding: 0 0 0 10px;
|
||||
position: relative;
|
||||
|
|
@ -245,6 +256,11 @@
|
|||
top: -1px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-setup-home:before {
|
||||
content: "\f102";
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-view-site:before {
|
||||
content: "\f115";
|
||||
top: -2px;
|
||||
|
|
@ -255,6 +271,16 @@
|
|||
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;
|
||||
|
|
@ -267,6 +293,7 @@
|
|||
|
||||
/* Right Now specific Icons styles */
|
||||
|
||||
#dashboard_right_now .search-engines-info:before,
|
||||
#dashboard_right_now li a:before,
|
||||
#dashboard_right_now li > span:before { /* get only the first level span to exclude screen-reader-text in mu-storage */
|
||||
content: "\f159"; /* generic icon for items added by CPTs ? */
|
||||
|
|
@ -299,6 +326,10 @@
|
|||
content: "\f153";
|
||||
}
|
||||
|
||||
#dashboard_right_now .search-engines-info:before {
|
||||
content: "\f348";
|
||||
}
|
||||
|
||||
/* Dashboard WordPress events */
|
||||
|
||||
.community-events-errors {
|
||||
|
|
@ -346,13 +377,17 @@
|
|||
}
|
||||
|
||||
.community-events li.event-none {
|
||||
border-right: 4px solid #00a0d2;
|
||||
border-right: 4px solid #72aee6;
|
||||
}
|
||||
|
||||
#dashboard-widgets .community-events li.event-none a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.community-events-form label {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
line-height: 28px;
|
||||
line-height: 2.15384615;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
|
|
@ -374,13 +409,13 @@
|
|||
#dashboard-widgets .community-events-cancel.button-link {
|
||||
vertical-align: top;
|
||||
/* Same properties as the submit button for cross-browsers alignment. */
|
||||
line-height: 26px;
|
||||
line-height: 2;
|
||||
height: 28px;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.community-events ul {
|
||||
background-color: #fafafa;
|
||||
background-color: #f6f7f7;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
padding-bottom: 0;
|
||||
|
|
@ -389,18 +424,18 @@
|
|||
.community-events li {
|
||||
margin: 0;
|
||||
padding: 8px 12px;
|
||||
color: #72777c;
|
||||
color: #2c3338;
|
||||
}
|
||||
.community-events li:first-child {
|
||||
border-top: 1px solid #eee;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
}
|
||||
|
||||
.community-events li ~ li {
|
||||
border-top: 1px solid #eee;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
}
|
||||
|
||||
.community-events .activity-block.last {
|
||||
border-bottom: 1px solid #eee;
|
||||
border-bottom: 1px solid #f0f0f1;
|
||||
padding-top: 0;
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
|
@ -417,7 +452,7 @@
|
|||
}
|
||||
|
||||
.event-icon:before {
|
||||
color: #82878C;
|
||||
color: #646970;
|
||||
font-size: 18px;
|
||||
}
|
||||
.event-meetup .event-icon:before {
|
||||
|
|
@ -441,8 +476,8 @@
|
|||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding: 12px;
|
||||
border-top: 1px solid #eee;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
color: #dcdcde;
|
||||
}
|
||||
|
||||
/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */
|
||||
|
|
@ -478,7 +513,7 @@ body #dashboard-widgets .postbox form .submit {
|
|||
}
|
||||
|
||||
.rssSummary {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
|
|
@ -498,7 +533,7 @@ body #dashboard-widgets .postbox form .submit {
|
|||
|
||||
#dashboard_primary .rss-widget span,
|
||||
#dashboard_primary .rss-widget span.rss-date {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#dashboard_primary .rss-widget span.rss-date {
|
||||
|
|
@ -544,6 +579,10 @@ body #dashboard-widgets .postbox form .submit {
|
|||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#dashboard_right_now p.search-engines-info {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.mu-storage {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
|
@ -558,14 +597,14 @@ body #dashboard-widgets .postbox form .submit {
|
|||
/* Dashboard right now - Colors */
|
||||
|
||||
#dashboard_right_now .sub {
|
||||
color: #555d66;
|
||||
background: #f5f5f5;
|
||||
border-top: 1px solid #eee;
|
||||
color: #50575e;
|
||||
background: #f6f7f7;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
padding: 10px 12px 6px 12px;
|
||||
}
|
||||
|
||||
#dashboard_right_now .sub h3 {
|
||||
color: #555;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
#dashboard_right_now .sub p {
|
||||
|
|
@ -574,7 +613,7 @@ body #dashboard-widgets .postbox form .submit {
|
|||
|
||||
#dashboard_right_now .warning a:before,
|
||||
#dashboard_right_now .warning span:before {
|
||||
color: #d54e21;
|
||||
color: #d63638;
|
||||
}
|
||||
|
||||
/* Dashboard Quick Draft */
|
||||
|
|
@ -586,7 +625,7 @@ body #dashboard-widgets .postbox form .submit {
|
|||
|
||||
#dashboard_quick_press div.updated {
|
||||
margin-bottom: 10px;
|
||||
border: 1px solid #eee;
|
||||
border: 1px solid #f0f0f1;
|
||||
border-width: 1px 0 1px 1px;
|
||||
}
|
||||
|
||||
|
|
@ -594,23 +633,15 @@ body #dashboard-widgets .postbox form .submit {
|
|||
margin: 12px;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .drafts,
|
||||
#dashboard_quick_press .easy-blogging {
|
||||
#dashboard_quick_press .drafts {
|
||||
padding: 10px 0 0;
|
||||
}
|
||||
|
||||
/* Dashboard Quick Draft - Form styling */
|
||||
|
||||
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 label {
|
||||
display: inline-block;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
#dashboard_quick_press input,
|
||||
|
|
@ -619,10 +650,6 @@ form.initial-form.quickpress-open input#title {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
#dashboard_quick_press textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
#dashboard-widgets .postbox form .submit {
|
||||
margin: -39px 0;
|
||||
float: left;
|
||||
|
|
@ -632,46 +659,18 @@ form.initial-form.quickpress-open input#title {
|
|||
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;
|
||||
}
|
||||
|
||||
/* Dashboard Quick Draft - Drafts list */
|
||||
|
||||
.js #dashboard_quick_press .drafts {
|
||||
border-top: 1px solid #eee;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .drafts abbr {
|
||||
|
|
@ -695,7 +694,7 @@ form.initial-form.quickpress-open input#title {
|
|||
margin-bottom: 1em;
|
||||
}
|
||||
#dashboard_quick_press .drafts li time {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .drafts p {
|
||||
|
|
@ -721,7 +720,7 @@ form.initial-form.quickpress-open input#title {
|
|||
padding: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #23282d;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .drafts h2 {
|
||||
|
|
@ -753,43 +752,25 @@ form.initial-form.quickpress-open input#title {
|
|||
|
||||
#dashboard_activity .no-activity {
|
||||
overflow: hidden;
|
||||
padding: 0 0 12px;
|
||||
padding: 12px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#dashboard_activity .no-activity p {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#dashboard_activity .no-activity .smiley {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#dashboard_activity .no-activity .smiley:before {
|
||||
content: "\f328";
|
||||
font: normal 120px/1 dashicons;
|
||||
speak: none;
|
||||
display: block;
|
||||
margin: 0 0 0 5px;
|
||||
padding: 0;
|
||||
text-indent: 0;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
#dashboard_activity .subsubsub {
|
||||
float: none;
|
||||
border-top: 1px solid #eee;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
margin: 0 -12px;
|
||||
padding: 8px 12px 4px;
|
||||
}
|
||||
|
||||
#dashboard_activity .subsubsub a .count,
|
||||
#dashboard_activity .subsubsub a.current .count {
|
||||
color: #72777c; /* white background on the dashboard but #f1f1f1 on list tables */
|
||||
color: #646970; /* white background on the dashboard but #f0f0f1 on list tables */
|
||||
}
|
||||
|
||||
#future-posts ul,
|
||||
|
|
@ -808,11 +789,11 @@ form.initial-form.quickpress-open input#title {
|
|||
display: inline-block;
|
||||
margin-left: 5px;
|
||||
min-width: 150px;
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.activity-block {
|
||||
border-bottom: 1px solid #eee;
|
||||
border-bottom: 1px solid #f0f0f1;
|
||||
margin: 0 -12px;
|
||||
padding: 8px 12px 4px;
|
||||
}
|
||||
|
|
@ -822,7 +803,7 @@ form.initial-form.quickpress-open input#title {
|
|||
}
|
||||
|
||||
.activity-block .subsubsub li {
|
||||
color: #ddd;
|
||||
color: #dcdcde;
|
||||
}
|
||||
|
||||
/* Dashboard activity widget - Comments */
|
||||
|
|
@ -836,7 +817,7 @@ form.initial-form.quickpress-open input#title {
|
|||
}
|
||||
|
||||
#activity-widget #the-comment-list .comment-item {
|
||||
background: #fafafa;
|
||||
background: #f6f7f7;
|
||||
padding: 12px;
|
||||
position: relative;
|
||||
}
|
||||
|
|
@ -846,7 +827,7 @@ form.initial-form.quickpress-open input#title {
|
|||
top: 12px;
|
||||
}
|
||||
|
||||
#activity-widget #the-comment-list .dashboard-comment-wrap {
|
||||
#activity-widget #the-comment-list .dashboard-comment-wrap.has-avatar {
|
||||
padding-right: 63px;
|
||||
}
|
||||
|
||||
|
|
@ -859,11 +840,11 @@ form.initial-form.quickpress-open input#title {
|
|||
}
|
||||
|
||||
#activity-widget #the-comment-list .comment-item:first-child {
|
||||
border-top: 1px solid #eeeeee;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
}
|
||||
|
||||
#activity-widget #the-comment-list .unapproved {
|
||||
background-color: #fef7f1;
|
||||
background-color: #fcf9e8;
|
||||
}
|
||||
|
||||
#activity-widget #the-comment-list .unapproved:before {
|
||||
|
|
@ -873,7 +854,7 @@ form.initial-form.quickpress-open input#title {
|
|||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: #d54e21;
|
||||
background: #d63638;
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
|
|
@ -921,8 +902,9 @@ form.initial-form.quickpress-open input#title {
|
|||
min-width: 0;
|
||||
}
|
||||
|
||||
#dashboard-widgets a,
|
||||
#dashboard-widgets .button-link {
|
||||
#dashboard-widgets li a,
|
||||
#dashboard-widgets .button-link,
|
||||
.community-events-footer a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
|
@ -972,9 +954,9 @@ form.initial-form.quickpress-open input#title {
|
|||
}
|
||||
|
||||
#latest-comments #the-comment-list .comment-meta {
|
||||
line-height: 1.5em;
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
color: #666;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#latest-comments #the-comment-list .comment-meta cite {
|
||||
|
|
@ -995,24 +977,6 @@ form.initial-form.quickpress-open input#title {
|
|||
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;
|
||||
|
|
@ -1023,16 +987,16 @@ form.initial-form.quickpress-open input#title {
|
|||
a.rsswidget {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4em;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.rss-widget ul li {
|
||||
line-height: 1.5em;
|
||||
line-height: 1.5;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.rss-widget span.rss-date {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
font-size: 13px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
|
@ -1063,33 +1027,23 @@ a.rsswidget {
|
|||
}
|
||||
|
||||
#dashboard_browser_nag p.browser-update-nag.has-browser-icon {
|
||||
padding-left: 125px;
|
||||
padding-left: 128px;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag .browser-icon {
|
||||
margin-top: -35px;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag.postbox.browser-insecure {
|
||||
background-color: #ac1b1b;
|
||||
border-color: #ac1b1b;
|
||||
margin-top: -32px;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag.postbox {
|
||||
background-color: #e29808;
|
||||
background-color: #b32d2e;
|
||||
background-image: none;
|
||||
border-color: #edc048;
|
||||
border-color: #b32d2e;
|
||||
color: #fff;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag.postbox.browser-insecure h2 {
|
||||
border-bottom-color: #cd5a5a;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag.postbox h2 {
|
||||
border-bottom-color: #f6e2ac;
|
||||
border-bottom-color: transparent;
|
||||
background: transparent none;
|
||||
color: #fff;
|
||||
box-shadow: none;
|
||||
|
|
@ -1099,6 +1053,10 @@ a.rsswidget {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag.postbox .postbox-header {
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag h2.hndle {
|
||||
border: none;
|
||||
font-weight: 600;
|
||||
|
|
@ -1116,6 +1074,32 @@ a.rsswidget {
|
|||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* PHP Nag */
|
||||
#dashboard_php_nag .dashicons-warning {
|
||||
color: #dba617;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
#dashboard_php_nag.php-insecure .dashicons-warning {
|
||||
color: #d63638;
|
||||
}
|
||||
|
||||
#dashboard_php_nag h2 {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#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
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
|
|
@ -1124,6 +1108,18 @@ a.rsswidget {
|
|||
#wpbody-content #dashboard-widgets .postbox-container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#dashboard-widgets .meta-box-sortables {
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
#dashboard-widgets .meta-box-sortables.empty-container {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* two columns on the dash, but keep the setting if one is selected */
|
||||
|
|
@ -1141,9 +1137,10 @@ a.rsswidget {
|
|||
|
||||
#dashboard-widgets #postbox-container-3 .empty-container,
|
||||
#dashboard-widgets #postbox-container-4 .empty-container {
|
||||
border: 0 none;
|
||||
outline: none;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#dashboard-widgets #postbox-container-3 .empty-container:after,
|
||||
|
|
@ -1155,10 +1152,11 @@ a.rsswidget {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
#wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container {
|
||||
border: 0 none;
|
||||
#wpbody #dashboard-widgets .metabox-holder.columns-1 .postbox-container .empty-container {
|
||||
outline: none;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* show the radio buttons for column prefs only for one or two columns */
|
||||
|
|
@ -1172,7 +1170,7 @@ a.rsswidget {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.metabox-holder .postbox-container .empty-container:after {
|
||||
#dashboard-widgets .postbox-container .empty-container:after {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
@ -1193,16 +1191,24 @@ a.rsswidget {
|
|||
}
|
||||
|
||||
#dashboard-widgets #postbox-container-4 .empty-container {
|
||||
border: 0 none;
|
||||
outline: none;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#dashboard-widgets #postbox-container-4 .empty-container:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.metabox-holder .postbox-container .empty-container:after {
|
||||
#dashboard-widgets .postbox-container .empty-container:after {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
/* Always show the "Drag boxes here" CSS generated content on large screens. */
|
||||
@media only screen and (min-width: 1801px) {
|
||||
#dashboard-widgets .postbox-container .empty-container:after {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
@ -1226,7 +1232,11 @@ a.rsswidget {
|
|||
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 782px ) {
|
||||
@media screen and (max-width: 782px) {
|
||||
#dashboard-widgets h2 {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
#dashboard_recent_comments #the-comment-list .comment-item .avatar {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
|
|
|
|||
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
|
|
@ -38,24 +38,6 @@
|
|||
border: none !important;
|
||||
}
|
||||
|
||||
.ie8 #wpbody-content #dashboard-widgets .postbox-container {
|
||||
width: 49.5%;
|
||||
}
|
||||
|
||||
.ie8 #wpbody-content #dashboard-widgets #postbox-container-2,
|
||||
.ie8 #wpbody-content #dashboard-widgets #postbox-container-3,
|
||||
.ie8 #wpbody-content #dashboard-widgets #postbox-container-4 {
|
||||
float: right;
|
||||
width: 50.5%;
|
||||
}
|
||||
|
||||
.ie8 #dashboard-widgets #postbox-container-3 .empty-container,
|
||||
.ie8 #dashboard-widgets #postbox-container-4 .empty-container {
|
||||
border: 0 none;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
#dashboard-widgets-wrap {
|
||||
overflow: hidden;
|
||||
margin: 0 -8px;
|
||||
|
|
@ -66,10 +48,41 @@
|
|||
}
|
||||
|
||||
#dashboard-widgets .meta-box-sortables {
|
||||
margin: 0 8px;
|
||||
display: flow-root; /* avoid margin collapsing between parent and first/last child elements */
|
||||
/* Required min-height to make the jQuery UI Sortable drop zone work. */
|
||||
min-height: 100px;
|
||||
margin: 0 8px 20px;
|
||||
}
|
||||
|
||||
#dashboard-widgets .postbox-container .empty-container {
|
||||
outline: 3px dashed #c3c4c7;
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
/* Only highlight drop zones when dragging and only in the 2 columns layout. */
|
||||
.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables {
|
||||
outline: 3px dashed #646970;
|
||||
/* Prevent margin on the child from collapsing with margin on the parent. */
|
||||
display: flow-root;
|
||||
}
|
||||
|
||||
#dashboard-widgets .postbox-container .empty-container:after {
|
||||
content: attr(data-emptystring);
|
||||
margin: auto;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
transform: translateY( -50% );
|
||||
padding: 0 2em;
|
||||
text-align: center;
|
||||
color: #646970;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* @todo: this was originally in this section, but likely belongs elsewhere */
|
||||
#the-comment-list td.comment p.comment-author {
|
||||
margin-top: 0;
|
||||
|
|
@ -103,11 +116,11 @@
|
|||
overflow: auto;
|
||||
margin: 16px 0;
|
||||
padding: 23px 10px 0;
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
border: 1px solid #c3c4c7;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
background: #fff;
|
||||
font-size: 13px;
|
||||
line-height: 2.1em;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.welcome-panel h2 {
|
||||
|
|
@ -127,10 +140,10 @@
|
|||
}
|
||||
|
||||
.welcome-panel p {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.welcome-panel a {
|
||||
.welcome-panel li a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
|
@ -180,10 +193,6 @@
|
|||
float: left;
|
||||
}
|
||||
|
||||
.ie8 .welcome-panel .welcome-panel-column {
|
||||
min-width: 230px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column:first-child {
|
||||
width: 36%;
|
||||
}
|
||||
|
|
@ -194,11 +203,11 @@
|
|||
|
||||
.welcome-panel-column p {
|
||||
margin-top: 7px;
|
||||
color: #444;
|
||||
color: #3c434a;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-widgets-menus {
|
||||
line-height: 16px;
|
||||
line-height: 1.14285714;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column ul {
|
||||
|
|
@ -206,7 +215,7 @@
|
|||
}
|
||||
|
||||
.welcome-panel .welcome-panel-column li {
|
||||
line-height: 16px;
|
||||
line-height: 1.14285714;
|
||||
list-style-type: none;
|
||||
padding: 0 0 8px;
|
||||
}
|
||||
|
|
@ -219,10 +228,11 @@
|
|||
|
||||
.welcome-panel .welcome-icon:before,
|
||||
#dashboard_right_now li a:before,
|
||||
#dashboard_right_now li span:before {
|
||||
color: #82878c;
|
||||
#dashboard_right_now li span:before,
|
||||
#dashboard_right_now .search-engines-info:before {
|
||||
color: #646970;
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: none;
|
||||
speak: never;
|
||||
display: inline-block;
|
||||
padding: 0 10px 0 0;
|
||||
position: relative;
|
||||
|
|
@ -245,6 +255,11 @@
|
|||
top: -1px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-setup-home:before {
|
||||
content: "\f102";
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-view-site:before {
|
||||
content: "\f115";
|
||||
top: -2px;
|
||||
|
|
@ -255,6 +270,16 @@
|
|||
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;
|
||||
|
|
@ -267,6 +292,7 @@
|
|||
|
||||
/* Right Now specific Icons styles */
|
||||
|
||||
#dashboard_right_now .search-engines-info:before,
|
||||
#dashboard_right_now li a:before,
|
||||
#dashboard_right_now li > span:before { /* get only the first level span to exclude screen-reader-text in mu-storage */
|
||||
content: "\f159"; /* generic icon for items added by CPTs ? */
|
||||
|
|
@ -299,6 +325,10 @@
|
|||
content: "\f153";
|
||||
}
|
||||
|
||||
#dashboard_right_now .search-engines-info:before {
|
||||
content: "\f348";
|
||||
}
|
||||
|
||||
/* Dashboard WordPress events */
|
||||
|
||||
.community-events-errors {
|
||||
|
|
@ -346,13 +376,17 @@
|
|||
}
|
||||
|
||||
.community-events li.event-none {
|
||||
border-left: 4px solid #00a0d2;
|
||||
border-left: 4px solid #72aee6;
|
||||
}
|
||||
|
||||
#dashboard-widgets .community-events li.event-none a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.community-events-form label {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
line-height: 28px;
|
||||
line-height: 2.15384615;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
|
|
@ -374,13 +408,13 @@
|
|||
#dashboard-widgets .community-events-cancel.button-link {
|
||||
vertical-align: top;
|
||||
/* Same properties as the submit button for cross-browsers alignment. */
|
||||
line-height: 26px;
|
||||
line-height: 2;
|
||||
height: 28px;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.community-events ul {
|
||||
background-color: #fafafa;
|
||||
background-color: #f6f7f7;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
padding-bottom: 0;
|
||||
|
|
@ -389,18 +423,18 @@
|
|||
.community-events li {
|
||||
margin: 0;
|
||||
padding: 8px 12px;
|
||||
color: #72777c;
|
||||
color: #2c3338;
|
||||
}
|
||||
.community-events li:first-child {
|
||||
border-top: 1px solid #eee;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
}
|
||||
|
||||
.community-events li ~ li {
|
||||
border-top: 1px solid #eee;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
}
|
||||
|
||||
.community-events .activity-block.last {
|
||||
border-bottom: 1px solid #eee;
|
||||
border-bottom: 1px solid #f0f0f1;
|
||||
padding-top: 0;
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
|
@ -417,7 +451,7 @@
|
|||
}
|
||||
|
||||
.event-icon:before {
|
||||
color: #82878C;
|
||||
color: #646970;
|
||||
font-size: 18px;
|
||||
}
|
||||
.event-meetup .event-icon:before {
|
||||
|
|
@ -441,8 +475,8 @@
|
|||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding: 12px;
|
||||
border-top: 1px solid #eee;
|
||||
color: #ddd;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
color: #dcdcde;
|
||||
}
|
||||
|
||||
/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */
|
||||
|
|
@ -478,7 +512,7 @@ body #dashboard-widgets .postbox form .submit {
|
|||
}
|
||||
|
||||
.rssSummary {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
|
|
@ -498,7 +532,7 @@ body #dashboard-widgets .postbox form .submit {
|
|||
|
||||
#dashboard_primary .rss-widget span,
|
||||
#dashboard_primary .rss-widget span.rss-date {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#dashboard_primary .rss-widget span.rss-date {
|
||||
|
|
@ -544,6 +578,10 @@ body #dashboard-widgets .postbox form .submit {
|
|||
margin-left: 5px;
|
||||
}
|
||||
|
||||
#dashboard_right_now p.search-engines-info {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.mu-storage {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
|
@ -558,14 +596,14 @@ body #dashboard-widgets .postbox form .submit {
|
|||
/* Dashboard right now - Colors */
|
||||
|
||||
#dashboard_right_now .sub {
|
||||
color: #555d66;
|
||||
background: #f5f5f5;
|
||||
border-top: 1px solid #eee;
|
||||
color: #50575e;
|
||||
background: #f6f7f7;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
padding: 10px 12px 6px 12px;
|
||||
}
|
||||
|
||||
#dashboard_right_now .sub h3 {
|
||||
color: #555;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
#dashboard_right_now .sub p {
|
||||
|
|
@ -574,7 +612,7 @@ body #dashboard-widgets .postbox form .submit {
|
|||
|
||||
#dashboard_right_now .warning a:before,
|
||||
#dashboard_right_now .warning span:before {
|
||||
color: #d54e21;
|
||||
color: #d63638;
|
||||
}
|
||||
|
||||
/* Dashboard Quick Draft */
|
||||
|
|
@ -586,7 +624,7 @@ body #dashboard-widgets .postbox form .submit {
|
|||
|
||||
#dashboard_quick_press div.updated {
|
||||
margin-bottom: 10px;
|
||||
border: 1px solid #eee;
|
||||
border: 1px solid #f0f0f1;
|
||||
border-width: 1px 1px 1px 0;
|
||||
}
|
||||
|
||||
|
|
@ -594,23 +632,15 @@ body #dashboard-widgets .postbox form .submit {
|
|||
margin: 12px;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .drafts,
|
||||
#dashboard_quick_press .easy-blogging {
|
||||
#dashboard_quick_press .drafts {
|
||||
padding: 10px 0 0;
|
||||
}
|
||||
|
||||
/* Dashboard Quick Draft - Form styling */
|
||||
|
||||
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 label {
|
||||
display: inline-block;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
#dashboard_quick_press input,
|
||||
|
|
@ -619,10 +649,6 @@ form.initial-form.quickpress-open input#title {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
#dashboard_quick_press textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
#dashboard-widgets .postbox form .submit {
|
||||
margin: -39px 0;
|
||||
float: right;
|
||||
|
|
@ -632,46 +658,18 @@ form.initial-form.quickpress-open input#title {
|
|||
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;
|
||||
}
|
||||
|
||||
/* Dashboard Quick Draft - Drafts list */
|
||||
|
||||
.js #dashboard_quick_press .drafts {
|
||||
border-top: 1px solid #eee;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .drafts abbr {
|
||||
|
|
@ -695,7 +693,7 @@ form.initial-form.quickpress-open input#title {
|
|||
margin-bottom: 1em;
|
||||
}
|
||||
#dashboard_quick_press .drafts li time {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .drafts p {
|
||||
|
|
@ -721,7 +719,7 @@ form.initial-form.quickpress-open input#title {
|
|||
padding: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #23282d;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .drafts h2 {
|
||||
|
|
@ -753,43 +751,25 @@ form.initial-form.quickpress-open input#title {
|
|||
|
||||
#dashboard_activity .no-activity {
|
||||
overflow: hidden;
|
||||
padding: 0 0 12px;
|
||||
padding: 12px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#dashboard_activity .no-activity p {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#dashboard_activity .no-activity .smiley {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#dashboard_activity .no-activity .smiley:before {
|
||||
content: "\f328";
|
||||
font: normal 120px/1 dashicons;
|
||||
speak: none;
|
||||
display: block;
|
||||
margin: 0 5px 0 0;
|
||||
padding: 0;
|
||||
text-indent: 0;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
#dashboard_activity .subsubsub {
|
||||
float: none;
|
||||
border-top: 1px solid #eee;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
margin: 0 -12px;
|
||||
padding: 8px 12px 4px;
|
||||
}
|
||||
|
||||
#dashboard_activity .subsubsub a .count,
|
||||
#dashboard_activity .subsubsub a.current .count {
|
||||
color: #72777c; /* white background on the dashboard but #f1f1f1 on list tables */
|
||||
color: #646970; /* white background on the dashboard but #f0f0f1 on list tables */
|
||||
}
|
||||
|
||||
#future-posts ul,
|
||||
|
|
@ -808,11 +788,11 @@ form.initial-form.quickpress-open input#title {
|
|||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
min-width: 150px;
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.activity-block {
|
||||
border-bottom: 1px solid #eee;
|
||||
border-bottom: 1px solid #f0f0f1;
|
||||
margin: 0 -12px;
|
||||
padding: 8px 12px 4px;
|
||||
}
|
||||
|
|
@ -822,7 +802,7 @@ form.initial-form.quickpress-open input#title {
|
|||
}
|
||||
|
||||
.activity-block .subsubsub li {
|
||||
color: #ddd;
|
||||
color: #dcdcde;
|
||||
}
|
||||
|
||||
/* Dashboard activity widget - Comments */
|
||||
|
|
@ -836,7 +816,7 @@ form.initial-form.quickpress-open input#title {
|
|||
}
|
||||
|
||||
#activity-widget #the-comment-list .comment-item {
|
||||
background: #fafafa;
|
||||
background: #f6f7f7;
|
||||
padding: 12px;
|
||||
position: relative;
|
||||
}
|
||||
|
|
@ -846,7 +826,7 @@ form.initial-form.quickpress-open input#title {
|
|||
top: 12px;
|
||||
}
|
||||
|
||||
#activity-widget #the-comment-list .dashboard-comment-wrap {
|
||||
#activity-widget #the-comment-list .dashboard-comment-wrap.has-avatar {
|
||||
padding-left: 63px;
|
||||
}
|
||||
|
||||
|
|
@ -859,11 +839,11 @@ form.initial-form.quickpress-open input#title {
|
|||
}
|
||||
|
||||
#activity-widget #the-comment-list .comment-item:first-child {
|
||||
border-top: 1px solid #eeeeee;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
}
|
||||
|
||||
#activity-widget #the-comment-list .unapproved {
|
||||
background-color: #fef7f1;
|
||||
background-color: #fcf9e8;
|
||||
}
|
||||
|
||||
#activity-widget #the-comment-list .unapproved:before {
|
||||
|
|
@ -873,7 +853,7 @@ form.initial-form.quickpress-open input#title {
|
|||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: #d54e21;
|
||||
background: #d63638;
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
|
|
@ -921,8 +901,9 @@ form.initial-form.quickpress-open input#title {
|
|||
min-width: 0;
|
||||
}
|
||||
|
||||
#dashboard-widgets a,
|
||||
#dashboard-widgets .button-link {
|
||||
#dashboard-widgets li a,
|
||||
#dashboard-widgets .button-link,
|
||||
.community-events-footer a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
|
@ -972,9 +953,9 @@ form.initial-form.quickpress-open input#title {
|
|||
}
|
||||
|
||||
#latest-comments #the-comment-list .comment-meta {
|
||||
line-height: 1.5em;
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
color: #666;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#latest-comments #the-comment-list .comment-meta cite {
|
||||
|
|
@ -995,24 +976,6 @@ form.initial-form.quickpress-open input#title {
|
|||
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;
|
||||
|
|
@ -1023,16 +986,16 @@ form.initial-form.quickpress-open input#title {
|
|||
a.rsswidget {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4em;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.rss-widget ul li {
|
||||
line-height: 1.5em;
|
||||
line-height: 1.5;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.rss-widget span.rss-date {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
font-size: 13px;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
|
@ -1063,33 +1026,23 @@ a.rsswidget {
|
|||
}
|
||||
|
||||
#dashboard_browser_nag p.browser-update-nag.has-browser-icon {
|
||||
padding-right: 125px;
|
||||
padding-right: 128px;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag .browser-icon {
|
||||
margin-top: -35px;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag.postbox.browser-insecure {
|
||||
background-color: #ac1b1b;
|
||||
border-color: #ac1b1b;
|
||||
margin-top: -32px;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag.postbox {
|
||||
background-color: #e29808;
|
||||
background-color: #b32d2e;
|
||||
background-image: none;
|
||||
border-color: #edc048;
|
||||
border-color: #b32d2e;
|
||||
color: #fff;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag.postbox.browser-insecure h2 {
|
||||
border-bottom-color: #cd5a5a;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag.postbox h2 {
|
||||
border-bottom-color: #f6e2ac;
|
||||
border-bottom-color: transparent;
|
||||
background: transparent none;
|
||||
color: #fff;
|
||||
box-shadow: none;
|
||||
|
|
@ -1099,6 +1052,10 @@ a.rsswidget {
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag.postbox .postbox-header {
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
#dashboard_browser_nag h2.hndle {
|
||||
border: none;
|
||||
font-weight: 600;
|
||||
|
|
@ -1116,6 +1073,32 @@ a.rsswidget {
|
|||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* PHP Nag */
|
||||
#dashboard_php_nag .dashicons-warning {
|
||||
color: #dba617;
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
#dashboard_php_nag.php-insecure .dashicons-warning {
|
||||
color: #d63638;
|
||||
}
|
||||
|
||||
#dashboard_php_nag h2 {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#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
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
|
|
@ -1124,6 +1107,18 @@ a.rsswidget {
|
|||
#wpbody-content #dashboard-widgets .postbox-container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#dashboard-widgets .meta-box-sortables {
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables {
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
#dashboard-widgets .meta-box-sortables.empty-container {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* two columns on the dash, but keep the setting if one is selected */
|
||||
|
|
@ -1141,9 +1136,10 @@ a.rsswidget {
|
|||
|
||||
#dashboard-widgets #postbox-container-3 .empty-container,
|
||||
#dashboard-widgets #postbox-container-4 .empty-container {
|
||||
border: 0 none;
|
||||
outline: none;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#dashboard-widgets #postbox-container-3 .empty-container:after,
|
||||
|
|
@ -1155,10 +1151,11 @@ a.rsswidget {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
#wpbody #wpbody-content .metabox-holder.columns-1 .postbox-container .empty-container {
|
||||
border: 0 none;
|
||||
#wpbody #dashboard-widgets .metabox-holder.columns-1 .postbox-container .empty-container {
|
||||
outline: none;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* show the radio buttons for column prefs only for one or two columns */
|
||||
|
|
@ -1172,7 +1169,7 @@ a.rsswidget {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.metabox-holder .postbox-container .empty-container:after {
|
||||
#dashboard-widgets .postbox-container .empty-container:after {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
@ -1193,16 +1190,24 @@ a.rsswidget {
|
|||
}
|
||||
|
||||
#dashboard-widgets #postbox-container-4 .empty-container {
|
||||
border: 0 none;
|
||||
outline: none;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#dashboard-widgets #postbox-container-4 .empty-container:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.metabox-holder .postbox-container .empty-container:after {
|
||||
#dashboard-widgets .postbox-container .empty-container:after {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
/* Always show the "Drag boxes here" CSS generated content on large screens. */
|
||||
@media only screen and (min-width: 1801px) {
|
||||
#dashboard-widgets .postbox-container .empty-container:after {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
@ -1226,7 +1231,11 @@ a.rsswidget {
|
|||
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 782px ) {
|
||||
@media screen and (max-width: 782px) {
|
||||
#dashboard-widgets h2 {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
#dashboard_recent_comments #the-comment-list .comment-item .avatar {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
|
|
|
|||
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
|
|
@ -1,3 +1,4 @@
|
|||
/*! This file is auto-generated */
|
||||
/* Styles for the media library iframe (not used on the Library screen) */
|
||||
|
||||
div#media-upload-header {
|
||||
|
|
@ -5,8 +6,8 @@ div#media-upload-header {
|
|||
padding: 5px 5px 0;
|
||||
font-weight: 600;
|
||||
position: relative;
|
||||
border-bottom: 1px solid #ddd;
|
||||
background: #f9f9f9;
|
||||
border-bottom: 1px solid #dcdcde;
|
||||
background: #f6f7f7;
|
||||
}
|
||||
|
||||
#sidemenu {
|
||||
|
|
@ -27,9 +28,9 @@ div#media-upload-header {
|
|||
display: block;
|
||||
float: right;
|
||||
line-height: 28px;
|
||||
border-top: 1px solid #f9f9f9;
|
||||
border-bottom: 1px solid #ddd;
|
||||
background-color: #f9f9f9;
|
||||
border-top: 1px solid #f6f7f7;
|
||||
border-bottom: 1px solid #dcdcde;
|
||||
background-color: #f6f7f7;
|
||||
text-decoration: none;
|
||||
transition: none;
|
||||
}
|
||||
|
|
@ -48,9 +49,9 @@ div#media-upload-header {
|
|||
font-weight: 400;
|
||||
padding-right: 6px;
|
||||
padding-left: 6px;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom-color: #f1f1f1;
|
||||
background-color: #f1f1f1;
|
||||
border: 1px solid #dcdcde;
|
||||
border-bottom-color: #f0f0f1;
|
||||
background-color: #f0f0f1;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
|
|
@ -61,7 +62,7 @@ div#media-upload-header {
|
|||
}
|
||||
|
||||
#media-upload .slidetoggle {
|
||||
border-top-color: #ddd;
|
||||
border-top-color: #dcdcde;
|
||||
}
|
||||
|
||||
#media-upload input[type="radio"] {
|
||||
|
|
@ -70,7 +71,7 @@ div#media-upload-header {
|
|||
|
||||
.media-upload-form label.form-help,
|
||||
td.help {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
form {
|
||||
|
|
@ -107,19 +108,19 @@ th {
|
|||
/* specific to the image upload form */
|
||||
|
||||
.image-align-none-label {
|
||||
background: url(../images/align-none.png) no-repeat center left;
|
||||
background: url(../images/align-none.png) no-repeat center right;
|
||||
}
|
||||
|
||||
.image-align-left-label {
|
||||
background: url(../images/align-left.png) no-repeat center left;
|
||||
background: url(../images/align-left.png) no-repeat center right;
|
||||
}
|
||||
|
||||
.image-align-center-label {
|
||||
background: url(../images/align-center.png) no-repeat center left;
|
||||
background: url(../images/align-center.png) no-repeat center right;
|
||||
}
|
||||
|
||||
.image-align-right-label {
|
||||
background: url(../images/align-right.png) no-repeat center left;
|
||||
background: url(../images/align-right.png) no-repeat center right;
|
||||
}
|
||||
|
||||
tr.image-size td {
|
||||
|
|
@ -206,6 +207,22 @@ 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 #c3c4c7;
|
||||
background: #f6f7f7;
|
||||
}
|
||||
|
||||
#filter .tablenav select {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
|
|
@ -226,7 +243,7 @@ span.required {
|
|||
}
|
||||
|
||||
.menu_order_input {
|
||||
border: 1px solid #ddd;
|
||||
border: 1px solid #dcdcde;
|
||||
font-size: 10px;
|
||||
padding: 1px;
|
||||
width: 23px;
|
||||
|
|
@ -234,7 +251,7 @@ span.required {
|
|||
|
||||
.ui-sortable-helper {
|
||||
background-color: #fff;
|
||||
border: 1px solid #a0a5aa;
|
||||
border: 1px solid #a7aaad;
|
||||
opacity: 0.6;
|
||||
filter: alpha(opacity=60);
|
||||
}
|
||||
|
|
@ -275,15 +292,15 @@ span.required {
|
|||
clear: both;
|
||||
padding: 0 0 3px;
|
||||
font-size: 1.6em;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-bottom: 1px solid #dcdcde;
|
||||
}
|
||||
|
||||
h3.media-title {
|
||||
h3.media-title {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
|
||||
h4.media-sub-title {
|
||||
border-bottom: 1px solid #ddd;
|
||||
h4.media-sub-title {
|
||||
border-bottom: 1px solid #dcdcde;
|
||||
font-size: 1.3em;
|
||||
margin: 12px;
|
||||
padding: 0 0 3px;
|
||||
|
|
@ -294,7 +311,7 @@ h3.media-title,
|
|||
h4.media-sub-title {
|
||||
font-family: Georgia,"Times New Roman",Times,serif;
|
||||
font-weight: 400;
|
||||
color: #5A5A5A;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
#gallery-settings .describe td {
|
||||
|
|
@ -327,7 +344,7 @@ h4.media-sub-title {
|
|||
#gallery-settings label,
|
||||
#gallery-settings legend {
|
||||
font-size: 13px;
|
||||
color: #444;
|
||||
color: #3c434a;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
|
|
@ -336,7 +353,7 @@ h4.media-sub-title {
|
|||
}
|
||||
|
||||
#gallery-settings p.ml-submit {
|
||||
border-top: 1px solid #ddd;
|
||||
border-top: 1px solid #dcdcde;
|
||||
}
|
||||
|
||||
#gallery-settings select#columns {
|
||||
|
|
|
|||
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
|
|
@ -5,8 +5,8 @@ div#media-upload-header {
|
|||
padding: 5px 5px 0;
|
||||
font-weight: 600;
|
||||
position: relative;
|
||||
border-bottom: 1px solid #ddd;
|
||||
background: #f9f9f9;
|
||||
border-bottom: 1px solid #dcdcde;
|
||||
background: #f6f7f7;
|
||||
}
|
||||
|
||||
#sidemenu {
|
||||
|
|
@ -27,9 +27,9 @@ div#media-upload-header {
|
|||
display: block;
|
||||
float: left;
|
||||
line-height: 28px;
|
||||
border-top: 1px solid #f9f9f9;
|
||||
border-bottom: 1px solid #ddd;
|
||||
background-color: #f9f9f9;
|
||||
border-top: 1px solid #f6f7f7;
|
||||
border-bottom: 1px solid #dcdcde;
|
||||
background-color: #f6f7f7;
|
||||
text-decoration: none;
|
||||
transition: none;
|
||||
}
|
||||
|
|
@ -48,9 +48,9 @@ div#media-upload-header {
|
|||
font-weight: 400;
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom-color: #f1f1f1;
|
||||
background-color: #f1f1f1;
|
||||
border: 1px solid #dcdcde;
|
||||
border-bottom-color: #f0f0f1;
|
||||
background-color: #f0f0f1;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ div#media-upload-header {
|
|||
}
|
||||
|
||||
#media-upload .slidetoggle {
|
||||
border-top-color: #ddd;
|
||||
border-top-color: #dcdcde;
|
||||
}
|
||||
|
||||
#media-upload input[type="radio"] {
|
||||
|
|
@ -70,7 +70,7 @@ div#media-upload-header {
|
|||
|
||||
.media-upload-form label.form-help,
|
||||
td.help {
|
||||
color: #72777c;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
form {
|
||||
|
|
@ -206,6 +206,22 @@ 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 #c3c4c7;
|
||||
background: #f6f7f7;
|
||||
}
|
||||
|
||||
#filter .tablenav select {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
|
|
@ -226,7 +242,7 @@ span.required {
|
|||
}
|
||||
|
||||
.menu_order_input {
|
||||
border: 1px solid #ddd;
|
||||
border: 1px solid #dcdcde;
|
||||
font-size: 10px;
|
||||
padding: 1px;
|
||||
width: 23px;
|
||||
|
|
@ -234,7 +250,7 @@ span.required {
|
|||
|
||||
.ui-sortable-helper {
|
||||
background-color: #fff;
|
||||
border: 1px solid #a0a5aa;
|
||||
border: 1px solid #a7aaad;
|
||||
opacity: 0.6;
|
||||
filter: alpha(opacity=60);
|
||||
}
|
||||
|
|
@ -275,15 +291,15 @@ span.required {
|
|||
clear: both;
|
||||
padding: 0 0 3px;
|
||||
font-size: 1.6em;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-bottom: 1px solid #dcdcde;
|
||||
}
|
||||
|
||||
h3.media-title {
|
||||
h3.media-title {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
|
||||
h4.media-sub-title {
|
||||
border-bottom: 1px solid #ddd;
|
||||
h4.media-sub-title {
|
||||
border-bottom: 1px solid #dcdcde;
|
||||
font-size: 1.3em;
|
||||
margin: 12px;
|
||||
padding: 0 0 3px;
|
||||
|
|
@ -294,7 +310,7 @@ h3.media-title,
|
|||
h4.media-sub-title {
|
||||
font-family: Georgia,"Times New Roman",Times,serif;
|
||||
font-weight: 400;
|
||||
color: #5A5A5A;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
#gallery-settings .describe td {
|
||||
|
|
@ -327,7 +343,7 @@ h4.media-sub-title {
|
|||
#gallery-settings label,
|
||||
#gallery-settings legend {
|
||||
font-size: 13px;
|
||||
color: #444;
|
||||
color: #3c434a;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
|
|
@ -336,7 +352,7 @@ h4.media-sub-title {
|
|||
}
|
||||
|
||||
#gallery-settings p.ml-submit {
|
||||
border-top: 1px solid #ddd;
|
||||
border-top: 1px solid #dcdcde;
|
||||
}
|
||||
|
||||
#gallery-settings select#columns {
|
||||
|
|
|
|||
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
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue