mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
Compare commits
89 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6abb46bec8 | ||
|
|
f57ba99bf6 | ||
|
|
988044f90e | ||
|
|
2b296c1659 | ||
|
|
a678bae4c0 | ||
|
|
e0d16abd7f | ||
|
|
c981126ec0 | ||
|
|
00e8b60dd6 | ||
|
|
2b2e3ea59c | ||
|
|
7c8ee53ae9 | ||
|
|
1a47005704 | ||
|
|
407857c066 | ||
|
|
f08889ff98 | ||
|
|
69510095d9 | ||
|
|
eb38224f75 | ||
|
|
b50b64bf38 | ||
|
|
7bf145d081 | ||
|
|
10c9401224 | ||
|
|
da7659ba0b | ||
|
|
40f1fb870e | ||
|
|
0e7e24543d | ||
|
|
73da499a65 | ||
|
|
70c0cdd88c | ||
|
|
77c2292ddc | ||
|
|
a3f384f09d | ||
|
|
25ef9e6dea | ||
|
|
16d782aaae | ||
|
|
6babe0cfa3 | ||
|
|
eff2eaac73 | ||
|
|
ec08ab68fd | ||
|
|
437ee0607c | ||
|
|
eb3de583d6 | ||
|
|
e3c622e0c0 | ||
|
|
c9915d5cd3 | ||
|
|
019b2bf7a4 | ||
|
|
3b56f5bbf3 | ||
|
|
13d7e96210 | ||
|
|
fe0244083a | ||
|
|
85d63dedf1 | ||
|
|
e6dee5ed5a | ||
|
|
1bb7777b42 | ||
|
|
720cc884d9 | ||
|
|
7aaf81c7cc | ||
|
|
226f7f7964 | ||
|
|
60f27fbaad | ||
|
|
3a58544234 | ||
|
|
664c3049d1 | ||
|
|
7d29e45bbe | ||
|
|
2cd5737c13 | ||
|
|
cf2a77dd22 | ||
|
|
d255bb0e77 | ||
|
|
9aff3ae1f2 | ||
|
|
04a6d30e15 | ||
|
|
1245f70570 | ||
|
|
f924a35270 | ||
|
|
7e0367b392 | ||
|
|
a867d33702 | ||
|
|
0c1cb371ab | ||
|
|
66cf685d19 | ||
|
|
0526401c81 | ||
|
|
2612745032 | ||
|
|
eb4fce03e8 | ||
|
|
1abe32ce7c | ||
|
|
ea7e427fbd | ||
|
|
527f8961c5 | ||
|
|
32855251cb | ||
|
|
18a12d76c3 | ||
|
|
087e4c994a | ||
|
|
7a8425521a | ||
|
|
37b16304d7 | ||
|
|
0405629247 | ||
|
|
92c3cda921 | ||
|
|
852039442a | ||
|
|
560bd94c82 | ||
|
|
c9462062a6 | ||
|
|
d91fbfad55 | ||
|
|
218cf8089b | ||
|
|
b3c1dfabd4 | ||
|
|
1200804e11 | ||
|
|
2f988c78b6 | ||
|
|
aea47f2bb5 | ||
|
|
4e8ce277f7 | ||
|
|
0bc304103f | ||
|
|
f7ae536731 | ||
|
|
ce2064a69a | ||
|
|
33f62d1dcb | ||
|
|
0c4d743c9b | ||
|
|
48030e4dbf | ||
|
|
fa5acb8e7a |
|
|
@ -1,6 +1,6 @@
|
|||
WordPress - Web publishing software
|
||||
|
||||
Copyright 2011-2025 by the contributors
|
||||
Copyright 2011-2024 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
|
||||
|
|
|
|||
|
|
@ -53,6 +53,62 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
|||
<a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
|
||||
</nav>
|
||||
|
||||
<div class="about__section changelog has-subtle-background-color">
|
||||
<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 %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
35
|
||||
),
|
||||
'6.7.2',
|
||||
'35'
|
||||
);
|
||||
?>
|
||||
<?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( '6.7.2' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</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.',
|
||||
16
|
||||
),
|
||||
'6.7.1',
|
||||
'16'
|
||||
);
|
||||
?>
|
||||
<?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( '6.7.1' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="about__section">
|
||||
<div class="column">
|
||||
<h2>
|
||||
|
|
|
|||
|
|
@ -9,11 +9,6 @@
|
|||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
// Don't load directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
_deprecated_file( basename( __FILE__ ), '2.5.0', 'wp-admin/includes/admin.php' );
|
||||
|
||||
/** WordPress Administration API: Includes all Administration functions. */
|
||||
|
|
|
|||
|
|
@ -6,11 +6,6 @@
|
|||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
// Don't load directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
|
||||
if ( ! defined( 'WP_ADMIN' ) ) {
|
||||
require_once __DIR__ . '/admin.php';
|
||||
|
|
@ -214,11 +209,6 @@ if ( $current_screen->is_block_editor() ) {
|
|||
$admin_body_class .= ' block-editor-page wp-embed-responsive';
|
||||
}
|
||||
|
||||
$admin_body_class .= ' wp-theme-' . sanitize_html_class( get_template() );
|
||||
if ( is_child_theme() ) {
|
||||
$admin_body_class .= ' wp-child-theme-' . sanitize_html_class( get_stylesheet() );
|
||||
}
|
||||
|
||||
$error_get_last = error_get_last();
|
||||
|
||||
// Print a CSS class to make PHP errors visible.
|
||||
|
|
|
|||
|
|
@ -13,8 +13,11 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
|||
define( 'WP_ADMIN', true );
|
||||
}
|
||||
|
||||
/** Load WordPress Bootstrap */
|
||||
require_once dirname( __DIR__ ) . '/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();
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ if ( isset( $_GET['import'] ) && ! defined( 'WP_LOAD_IMPORTERS' ) ) {
|
|||
define( 'WP_LOAD_IMPORTERS', true );
|
||||
}
|
||||
|
||||
/** Load WordPress Bootstrap */
|
||||
require_once dirname( __DIR__ ) . '/wp-load.php';
|
||||
|
||||
nocache_headers();
|
||||
|
|
|
|||
|
|
@ -14,8 +14,11 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
|||
define( 'WP_ADMIN', true );
|
||||
}
|
||||
|
||||
/** Load WordPress Bootstrap */
|
||||
require_once dirname( __DIR__ ) . '/wp-load.php';
|
||||
if ( defined( 'ABSPATH' ) ) {
|
||||
require_once ABSPATH . 'wp-load.php';
|
||||
} else {
|
||||
require_once dirname( __DIR__ ) . '/wp-load.php';
|
||||
}
|
||||
|
||||
require_once ABSPATH . 'wp-admin/admin.php';
|
||||
|
||||
|
|
|
|||
|
|
@ -133,19 +133,5 @@ __( 'Lead Developer' );
|
|||
__( 'Release Lead' );
|
||||
__( 'Release Design Lead' );
|
||||
__( 'Release Deputy' );
|
||||
__( 'Release Coordination' );
|
||||
__( 'Minor Release Lead' );
|
||||
__( 'Core Developer' );
|
||||
__( 'Core Tech Lead' );
|
||||
__( 'Core Triage Lead' );
|
||||
__( 'Editor Tech Lead' );
|
||||
__( 'Editor Triage Lead' );
|
||||
__( 'Documentation Lead' );
|
||||
__( 'Test Lead' );
|
||||
__( 'Design Lead' );
|
||||
__( 'Performance Lead' );
|
||||
__( 'Default Theme Design Lead' );
|
||||
__( 'Default Theme Development Lead' );
|
||||
__( 'Tech Lead' );
|
||||
__( 'Triage Lead' );
|
||||
__( 'External Libraries' );
|
||||
|
|
|
|||
|
|
@ -181,7 +181,9 @@
|
|||
|
||||
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
|
||||
#adminmenu li.current a.menu-top,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head {
|
||||
#adminmenu .wp-menu-arrow,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
|
||||
#adminmenu .wp-menu-arrow div {
|
||||
background: #2271b1;
|
||||
color: #fff;
|
||||
}
|
||||
|
|
@ -332,6 +334,12 @@ div.wp-menu-image:before {
|
|||
position: fixed;
|
||||
}
|
||||
|
||||
/* A new arrow */
|
||||
|
||||
.wp-menu-arrow {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
ul#adminmenu a.wp-has-current-submenu {
|
||||
position: relative;
|
||||
}
|
||||
|
|
@ -345,7 +353,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
border-left-color: #fff;
|
||||
border-left-color: #f0f0f1;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
|
|
|
|||
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
|
|
@ -180,7 +180,9 @@
|
|||
|
||||
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
|
||||
#adminmenu li.current a.menu-top,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head {
|
||||
#adminmenu .wp-menu-arrow,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
|
||||
#adminmenu .wp-menu-arrow div {
|
||||
background: #2271b1;
|
||||
color: #fff;
|
||||
}
|
||||
|
|
@ -331,6 +333,12 @@ div.wp-menu-image:before {
|
|||
position: fixed;
|
||||
}
|
||||
|
||||
/* A new arrow */
|
||||
|
||||
.wp-menu-arrow {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
ul#adminmenu a.wp-has-current-submenu {
|
||||
position: relative;
|
||||
}
|
||||
|
|
@ -344,7 +352,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
width: 0;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
border-right-color: #fff;
|
||||
border-right-color: #f0f0f1;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
|
|
|
|||
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,31 +1,29 @@
|
|||
@use 'sass:color';
|
||||
@use 'sass:string';
|
||||
@forward 'variables' show $scheme-name, $base-color, $body-background, $button-color, $custom-welcome-panel, $dashboard-accent-1, $dashboard-accent-2, $dashboard-icon-background, $form-checked, $highlight-color, $icon-color, $link, $link-focus, $low-contrast-theme, $menu-bubble-text, $menu-collapse-focus-icon, $menu-collapse-text, $menu-highlight-background, $menu-highlight-icon, $menu-highlight-text, $menu-submenu-text, $menu-submenu-focus-text, $menu-submenu-background, $notification-color, $text-color;
|
||||
@use 'variables';
|
||||
@use 'mixins';
|
||||
|
||||
@import 'variables';
|
||||
@import 'mixins';
|
||||
|
||||
/**
|
||||
* This function name uses British English to maintain backward compatibility, as developers
|
||||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
@function url-friendly-colour( $color ) {
|
||||
@return '%23' + string.slice( '#{ $color }', 2, -1 );
|
||||
@return '%23' + str-slice( '#{ $color }', 2, -1 );
|
||||
}
|
||||
|
||||
body {
|
||||
background: variables.$body-background;
|
||||
background: $body-background;
|
||||
}
|
||||
|
||||
|
||||
/* Links */
|
||||
|
||||
a {
|
||||
color: variables.$link;
|
||||
color: $link;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
color: variables.$link-focus;
|
||||
color: $link-focus;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -38,12 +36,12 @@ span.wp-media-buttons-icon:before {
|
|||
}
|
||||
|
||||
.wp-core-ui .button-link {
|
||||
color: variables.$link;
|
||||
color: $link;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
color: variables.$link-focus;
|
||||
color: $link-focus;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -68,16 +66,16 @@ span.wp-media-buttons-icon:before {
|
|||
/* Forms */
|
||||
|
||||
input[type=checkbox]:checked::before {
|
||||
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27#{url-friendly-colour(variables.$form-checked)}%27%2F%3E%3C%2Fsvg%3E");
|
||||
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 {
|
||||
background: variables.$form-checked;
|
||||
background: $form-checked;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
color: variables.$link-focus;
|
||||
color: $link-focus;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
|
|
@ -99,8 +97,8 @@ input[type="checkbox"]:focus,
|
|||
input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: variables.$highlight-color;
|
||||
box-shadow: 0 0 0 1px variables.$highlight-color;
|
||||
border-color: $highlight-color;
|
||||
box-shadow: 0 0 0 1px $highlight-color;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -137,35 +135,35 @@ textarea:focus {
|
|||
.button.active,
|
||||
.button.active:focus,
|
||||
.button.active:hover {
|
||||
border-color: variables.$button-color;
|
||||
border-color: $button-color;
|
||||
color: color.adjust(#32373c, $lightness: -5%);
|
||||
box-shadow: inset 0 2px 5px -3px variables.$button-color;
|
||||
box-shadow: inset 0 2px 5px -3px $button-color;
|
||||
}
|
||||
|
||||
.button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
@if ( variables.$low-contrast-theme != "true" ) {
|
||||
@if ( $low-contrast-theme != "true" ) {
|
||||
.button,
|
||||
.button-secondary {
|
||||
color: variables.$highlight-color;
|
||||
border-color: variables.$highlight-color;
|
||||
color: $highlight-color;
|
||||
border-color: $highlight-color;
|
||||
}
|
||||
|
||||
.button.hover,
|
||||
.button:hover,
|
||||
.button-secondary:hover{
|
||||
border-color: color.adjust(variables.$highlight-color, $lightness: -10%);
|
||||
color: color.adjust(variables.$highlight-color, $lightness: -10%);
|
||||
border-color: color.adjust($highlight-color, $lightness: -10%);
|
||||
color: color.adjust($highlight-color, $lightness: -10%);
|
||||
}
|
||||
|
||||
.button.focus,
|
||||
.button:focus,
|
||||
.button-secondary:focus {
|
||||
border-color: color.adjust(variables.$highlight-color, $lightness: 10%);
|
||||
color: color.adjust(variables.$highlight-color, $lightness: -20%);
|
||||
box-shadow: 0 0 0 1px color.adjust(variables.$highlight-color, $lightness: 10%);
|
||||
border-color: color.adjust($highlight-color, $lightness: 10%);
|
||||
color: color.adjust($highlight-color, $lightness: -20%);
|
||||
box-shadow: 0 0 0 1px color.adjust($highlight-color, $lightness: 10%);
|
||||
}
|
||||
|
||||
.button-primary {
|
||||
|
|
@ -176,74 +174,74 @@ textarea:focus {
|
|||
}
|
||||
|
||||
.button-primary {
|
||||
@include mixins.button( variables.$button-color );
|
||||
@include button( $button-color );
|
||||
}
|
||||
|
||||
.button-group > .button.active {
|
||||
border-color: variables.$button-color;
|
||||
border-color: $button-color;
|
||||
}
|
||||
|
||||
.wp-ui-primary {
|
||||
color: variables.$text-color;
|
||||
background-color: variables.$base-color;
|
||||
color: $text-color;
|
||||
background-color: $base-color;
|
||||
}
|
||||
.wp-ui-text-primary {
|
||||
color: variables.$base-color;
|
||||
color: $base-color;
|
||||
}
|
||||
|
||||
.wp-ui-highlight {
|
||||
color: variables.$menu-highlight-text;
|
||||
background-color: variables.$menu-highlight-background;
|
||||
color: $menu-highlight-text;
|
||||
background-color: $menu-highlight-background;
|
||||
}
|
||||
.wp-ui-text-highlight {
|
||||
color: variables.$menu-highlight-background;
|
||||
color: $menu-highlight-background;
|
||||
}
|
||||
|
||||
.wp-ui-notification {
|
||||
color: variables.$menu-bubble-text;
|
||||
background-color: variables.$menu-bubble-background;
|
||||
color: $menu-bubble-text;
|
||||
background-color: $menu-bubble-background;
|
||||
}
|
||||
.wp-ui-text-notification {
|
||||
color: variables.$menu-bubble-background;
|
||||
color: $menu-bubble-background;
|
||||
}
|
||||
|
||||
.wp-ui-text-icon {
|
||||
color: variables.$menu-icon;
|
||||
color: $menu-icon;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* List tables */
|
||||
@if variables.$low-contrast-theme == "true" {
|
||||
@if $low-contrast-theme == "true" {
|
||||
.wrap .page-title-action:hover {
|
||||
color: variables.$menu-text;
|
||||
background-color: variables.$menu-background;
|
||||
color: $menu-text;
|
||||
background-color: $menu-background;
|
||||
}
|
||||
} @else {
|
||||
.wrap .page-title-action,
|
||||
.wrap .page-title-action:active {
|
||||
border: 1px solid variables.$highlight-color;
|
||||
color: variables.$highlight-color;
|
||||
border: 1px solid $highlight-color;
|
||||
color: $highlight-color;
|
||||
}
|
||||
|
||||
.wrap .page-title-action:hover {
|
||||
color: color.adjust(variables.$highlight-color, $lightness: -10%);
|
||||
border-color: color.adjust(variables.$highlight-color, $lightness: -10%);
|
||||
color: color.adjust($highlight-color, $lightness: -10%);
|
||||
border-color: color.adjust($highlight-color, $lightness: -10%);
|
||||
}
|
||||
|
||||
.wrap .page-title-action:focus {
|
||||
border-color: color.adjust(variables.$highlight-color, $lightness: 10%);
|
||||
color: color.adjust(variables.$highlight-color, $lightness: -20%);
|
||||
box-shadow: 0 0 0 1px color.adjust(variables.$highlight-color, $lightness: 10%);
|
||||
border-color: color.adjust($highlight-color, $lightness: 10%);
|
||||
color: color.adjust($highlight-color, $lightness: -20%);
|
||||
box-shadow: 0 0 0 1px color.adjust($highlight-color, $lightness: 10%);
|
||||
}
|
||||
}
|
||||
|
||||
.view-switch a.current:before {
|
||||
color: variables.$menu-background;
|
||||
color: $menu-background;
|
||||
}
|
||||
|
||||
.view-switch a:hover:before {
|
||||
color: variables.$menu-bubble-background;
|
||||
color: $menu-bubble-background;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -252,28 +250,28 @@ textarea:focus {
|
|||
#adminmenuback,
|
||||
#adminmenuwrap,
|
||||
#adminmenu {
|
||||
background: variables.$menu-background;
|
||||
background: $menu-background;
|
||||
}
|
||||
|
||||
#adminmenu a {
|
||||
color: variables.$menu-text;
|
||||
color: $menu-text;
|
||||
}
|
||||
|
||||
#adminmenu div.wp-menu-image:before {
|
||||
color: variables.$menu-icon;
|
||||
color: $menu-icon;
|
||||
}
|
||||
|
||||
#adminmenu a:hover,
|
||||
#adminmenu li.menu-top:hover,
|
||||
#adminmenu li.opensub > a.menu-top,
|
||||
#adminmenu li > a.menu-top:focus {
|
||||
color: variables.$menu-highlight-text;
|
||||
background-color: variables.$menu-highlight-background;
|
||||
color: $menu-highlight-text;
|
||||
background-color: $menu-highlight-background;
|
||||
}
|
||||
|
||||
#adminmenu li.menu-top:hover div.wp-menu-image:before,
|
||||
#adminmenu li.opensub > a.menu-top div.wp-menu-image:before {
|
||||
color: variables.$menu-highlight-icon;
|
||||
color: $menu-highlight-icon;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -282,8 +280,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: variables.$body-background;
|
||||
border-bottom-color: variables.$body-background;
|
||||
background-color: $body-background;
|
||||
border-bottom-color: $body-background;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -293,26 +291,26 @@ textarea:focus {
|
|||
#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: variables.$menu-submenu-background;
|
||||
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:focus-within:after {
|
||||
border-right-color: variables.$menu-submenu-background;
|
||||
border-right-color: $menu-submenu-background;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu .wp-submenu-head {
|
||||
color: variables.$menu-submenu-text;
|
||||
color: $menu-submenu-text;
|
||||
}
|
||||
|
||||
#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: variables.$menu-submenu-text;
|
||||
color: $menu-submenu-text;
|
||||
|
||||
&:focus, &:hover {
|
||||
color: variables.$menu-submenu-focus-text;
|
||||
color: $menu-submenu-focus-text;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -322,24 +320,24 @@ textarea:focus {
|
|||
#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: variables.$menu-submenu-current-text;
|
||||
color: $menu-submenu-current-text;
|
||||
|
||||
&:hover, &:focus {
|
||||
color: variables.$menu-submenu-focus-text;
|
||||
color: $menu-submenu-focus-text;
|
||||
}
|
||||
}
|
||||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-right-color: variables.$body-background;
|
||||
border-right-color: $body-background;
|
||||
}
|
||||
|
||||
#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: variables.$menu-current-text;
|
||||
background: variables.$menu-current-background;
|
||||
color: $menu-current-text;
|
||||
background: $menu-current-background;
|
||||
}
|
||||
|
||||
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||
|
|
@ -350,7 +348,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#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: variables.$menu-current-icon;
|
||||
color: $menu-current-icon;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -359,49 +357,49 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#adminmenu .menu-counter,
|
||||
#adminmenu .awaiting-mod,
|
||||
#adminmenu .update-plugins {
|
||||
color: variables.$menu-bubble-text;
|
||||
background: variables.$menu-bubble-background;
|
||||
color: $menu-bubble-text;
|
||||
background: $menu-bubble-background;
|
||||
}
|
||||
|
||||
#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: variables.$menu-bubble-current-text;
|
||||
background: variables.$menu-bubble-current-background;
|
||||
color: $menu-bubble-current-text;
|
||||
background: $menu-bubble-current-background;
|
||||
}
|
||||
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
|
||||
#collapse-button {
|
||||
color: variables.$menu-collapse-text;
|
||||
color: $menu-collapse-text;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: variables.$menu-submenu-focus-text;
|
||||
color: $menu-submenu-focus-text;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
|
||||
#wpadminbar {
|
||||
color: variables.$menu-text;
|
||||
background: variables.$menu-background;
|
||||
color: $menu-text;
|
||||
background: $menu-background;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-item,
|
||||
#wpadminbar a.ab-item,
|
||||
#wpadminbar > #wp-toolbar span.ab-label,
|
||||
#wpadminbar > #wp-toolbar span.noticon {
|
||||
color: variables.$menu-text;
|
||||
color: $menu-text;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-icon,
|
||||
#wpadminbar .ab-icon:before,
|
||||
#wpadminbar .ab-item:before,
|
||||
#wpadminbar .ab-item:after {
|
||||
color: variables.$menu-icon;
|
||||
color: $menu-icon;
|
||||
}
|
||||
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
|
||||
|
|
@ -409,45 +407,45 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#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: variables.$menu-submenu-focus-text;
|
||||
background: variables.$menu-submenu-background;
|
||||
color: $menu-submenu-focus-text;
|
||||
background: $menu-submenu-background;
|
||||
}
|
||||
|
||||
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
|
||||
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
|
||||
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
|
||||
color: variables.$menu-submenu-focus-text;
|
||||
color: $menu-submenu-focus-text;
|
||||
}
|
||||
|
||||
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||
color: variables.$menu-submenu-focus-text;
|
||||
color: $menu-submenu-focus-text;
|
||||
}
|
||||
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
||||
#wpadminbar .menupop .ab-sub-wrapper {
|
||||
background: variables.$menu-submenu-background;
|
||||
background: $menu-submenu-background;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||
background: variables.$menu-submenu-background-alt;
|
||||
background: $menu-submenu-background-alt;
|
||||
}
|
||||
|
||||
#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: variables.$menu-submenu-text;
|
||||
color: $menu-submenu-text;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li .blavatar,
|
||||
#wpadminbar .menupop .menupop > .ab-item:before {
|
||||
color: variables.$menu-icon;
|
||||
color: $menu-icon;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul li a:hover,
|
||||
|
|
@ -468,7 +466,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
#wpadminbar li #adminbarsearch.adminbar-focused:before {
|
||||
color: variables.$menu-submenu-focus-text;
|
||||
color: $menu-submenu-focus-text;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li a:hover .blavatar,
|
||||
|
|
@ -477,82 +475,82 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar .menupop .menupop > .ab-item:hover:before,
|
||||
#wpadminbar.mobile .quicklinks .ab-icon:before,
|
||||
#wpadminbar.mobile .quicklinks .ab-item:before {
|
||||
color: variables.$menu-submenu-focus-text;
|
||||
color: $menu-submenu-focus-text;
|
||||
}
|
||||
|
||||
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
|
||||
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
|
||||
color: variables.$menu-icon;
|
||||
color: $menu-icon;
|
||||
}
|
||||
|
||||
|
||||
/* Admin Bar: search */
|
||||
|
||||
#wpadminbar #adminbarsearch:before {
|
||||
color: variables.$menu-icon;
|
||||
color: $menu-icon;
|
||||
}
|
||||
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
|
||||
color: variables.$menu-text;
|
||||
background: variables.$adminbar-input-background;
|
||||
color: $menu-text;
|
||||
background: $adminbar-input-background;
|
||||
}
|
||||
|
||||
/* Admin Bar: recovery mode */
|
||||
|
||||
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||
color: variables.$adminbar-recovery-exit-text;
|
||||
background-color: variables.$adminbar-recovery-exit-background;
|
||||
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: variables.$adminbar-recovery-exit-text;
|
||||
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: variables.$adminbar-recovery-exit-text;
|
||||
background-color: variables.$adminbar-recovery-exit-background-alt;
|
||||
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 {
|
||||
border-color: variables.$adminbar-avatar-frame;
|
||||
background-color: variables.$adminbar-avatar-frame;
|
||||
border-color: $adminbar-avatar-frame;
|
||||
background-color: $adminbar-avatar-frame;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info .display-name {
|
||||
color: variables.$menu-text;
|
||||
color: $menu-text;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info a:hover .display-name {
|
||||
color: variables.$menu-submenu-focus-text;
|
||||
color: $menu-submenu-focus-text;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info .username {
|
||||
color: variables.$menu-submenu-text;
|
||||
color: $menu-submenu-text;
|
||||
}
|
||||
|
||||
|
||||
/* Pointers */
|
||||
|
||||
.wp-pointer .wp-pointer-content h3 {
|
||||
background-color: variables.$highlight-color;
|
||||
border-color: color.adjust(variables.$highlight-color, $lightness: -5%);
|
||||
background-color: $highlight-color;
|
||||
border-color: color.adjust($highlight-color, $lightness: -5%);
|
||||
}
|
||||
|
||||
.wp-pointer .wp-pointer-content h3:before {
|
||||
color: variables.$highlight-color;
|
||||
color: $highlight-color;
|
||||
}
|
||||
|
||||
.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: variables.$highlight-color;
|
||||
border-bottom-color: $highlight-color;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -560,22 +558,22 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
.media-item .bar,
|
||||
.media-progress-bar div {
|
||||
background-color: variables.$highlight-color;
|
||||
background-color: $highlight-color;
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
box-shadow:
|
||||
inset 0 0 0 3px #fff,
|
||||
inset 0 0 0 7px variables.$highlight-color;
|
||||
inset 0 0 0 7px $highlight-color;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: variables.$highlight-color;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px variables.$highlight-color;
|
||||
background-color: $highlight-color;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px $highlight-color;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px variables.$highlight-color;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px $highlight-color;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -584,49 +582,49 @@ ul#adminmenu > li.current > a.current:after {
|
|||
.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: variables.$highlight-color;
|
||||
background: $highlight-color;
|
||||
}
|
||||
|
||||
.theme-browser .theme.add-new-theme a:hover span:after,
|
||||
.theme-browser .theme.add-new-theme a:focus span:after {
|
||||
color: variables.$highlight-color;
|
||||
color: $highlight-color;
|
||||
}
|
||||
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: variables.$menu-background;
|
||||
border-bottom-color: $menu-background;
|
||||
}
|
||||
|
||||
body.more-filters-opened .more-filters {
|
||||
color: variables.$menu-text;
|
||||
background-color: variables.$menu-background;
|
||||
color: $menu-text;
|
||||
background-color: $menu-background;
|
||||
}
|
||||
|
||||
body.more-filters-opened .more-filters:before {
|
||||
color: variables.$menu-text;
|
||||
color: $menu-text;
|
||||
}
|
||||
|
||||
body.more-filters-opened .more-filters:hover,
|
||||
body.more-filters-opened .more-filters:focus {
|
||||
background-color: variables.$menu-highlight-background;
|
||||
color: variables.$menu-highlight-text;
|
||||
background-color: $menu-highlight-background;
|
||||
color: $menu-highlight-text;
|
||||
}
|
||||
|
||||
body.more-filters-opened .more-filters:hover:before,
|
||||
body.more-filters-opened .more-filters:focus:before {
|
||||
color: variables.$menu-highlight-text;
|
||||
color: $menu-highlight-text;
|
||||
}
|
||||
|
||||
/* Widgets */
|
||||
|
||||
.widgets-chooser li.widgets-chooser-selected {
|
||||
background-color: variables.$menu-highlight-background;
|
||||
color: variables.$menu-highlight-text;
|
||||
background-color: $menu-highlight-background;
|
||||
color: $menu-highlight-text;
|
||||
}
|
||||
|
||||
.widgets-chooser li.widgets-chooser-selected:before,
|
||||
.widgets-chooser li.widgets-chooser-selected:focus:before {
|
||||
color: variables.$menu-highlight-text;
|
||||
color: $menu-highlight-text;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -634,29 +632,29 @@ body.more-filters-opened .more-filters:focus:before {
|
|||
|
||||
.nav-menus-php .item-edit:focus:before {
|
||||
box-shadow:
|
||||
0 0 0 1px color.adjust(variables.$button-color, $lightness: 10%),
|
||||
0 0 2px 1px variables.$button-color;
|
||||
0 0 0 1px color.adjust($button-color, $lightness: 10%),
|
||||
0 0 2px 1px $button-color;
|
||||
}
|
||||
|
||||
|
||||
/* Responsive Component */
|
||||
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: variables.$menu-icon;
|
||||
color: $menu-icon;
|
||||
}
|
||||
|
||||
.wp-responsive-open div#wp-responsive-toggle a {
|
||||
// ToDo: make inset border
|
||||
border-color: transparent;
|
||||
background: variables.$menu-highlight-background;
|
||||
background: $menu-highlight-background;
|
||||
}
|
||||
|
||||
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
|
||||
background: variables.$menu-submenu-background;
|
||||
background: $menu-submenu-background;
|
||||
}
|
||||
|
||||
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
|
||||
color: variables.$menu-icon;
|
||||
color: $menu-icon;
|
||||
}
|
||||
|
||||
/* TinyMCE */
|
||||
|
|
@ -666,7 +664,7 @@ div#wp-responsive-toggle a:before {
|
|||
.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: variables.$highlight-color;
|
||||
background: $highlight-color;
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
|
|
@ -675,24 +673,24 @@ div#wp-responsive-toggle a:before {
|
|||
#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: variables.$link;
|
||||
border-left-color: variables.$button-color;
|
||||
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: variables.$link;
|
||||
border-top-color: variables.$button-color;
|
||||
color: $link;
|
||||
border-top-color: $button-color;
|
||||
}
|
||||
|
||||
.customize-panel-back:hover,
|
||||
.customize-panel-back:focus,
|
||||
.customize-section-back:hover,
|
||||
.customize-section-back:focus {
|
||||
color: variables.$link;
|
||||
border-left-color: variables.$button-color;
|
||||
color: $link;
|
||||
border-left-color: $button-color;
|
||||
}
|
||||
|
||||
.customize-screen-options-toggle:hover,
|
||||
|
|
@ -702,7 +700,7 @@ div#wp-responsive-toggle a:before {
|
|||
#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: variables.$link;
|
||||
color: $link;
|
||||
}
|
||||
|
||||
.customize-screen-options-toggle:focus:before,
|
||||
|
|
@ -713,28 +711,28 @@ div#wp-responsive-toggle a:before {
|
|||
#customize-save-button-wrapper .save:focus,
|
||||
#publish-settings:focus {
|
||||
box-shadow:
|
||||
0 0 0 1px color.adjust(variables.$button-color, $lightness: 10%),
|
||||
0 0 2px 1px variables.$button-color;
|
||||
0 0 0 1px color.adjust($button-color, $lightness: 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: variables.$link;
|
||||
color: $link;
|
||||
}
|
||||
|
||||
.control-panel-themes .customize-themes-section-title:focus,
|
||||
.control-panel-themes .customize-themes-section-title:hover {
|
||||
border-left-color: variables.$button-color;
|
||||
color: variables.$link;
|
||||
border-left-color: $button-color;
|
||||
color: $link;
|
||||
}
|
||||
|
||||
.control-panel-themes .theme-section .customize-themes-section-title.selected:after {
|
||||
background: variables.$button-color;
|
||||
background: $button-color;
|
||||
}
|
||||
|
||||
.control-panel-themes .customize-themes-section-title.selected {
|
||||
color: variables.$link;
|
||||
color: $link;
|
||||
}
|
||||
|
||||
#customize-theme-controls .control-section:hover > .accordion-section-title:after,
|
||||
|
|
@ -745,37 +743,37 @@ div#wp-responsive-toggle a:before {
|
|||
#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: variables.$link;
|
||||
color: $link;
|
||||
}
|
||||
|
||||
.customize-control .attachment-media-view .button-add-media:focus {
|
||||
background-color: #fbfbfc;
|
||||
border-color: variables.$button-color;
|
||||
border-color: $button-color;
|
||||
border-style: solid;
|
||||
box-shadow: 0 0 0 1px variables.$button-color;
|
||||
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: variables.$button-color;
|
||||
border-bottom-color: $button-color;
|
||||
}
|
||||
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: variables.$button-color;
|
||||
color: $button-color;
|
||||
}
|
||||
|
||||
.wp-full-overlay .collapse-sidebar:hover,
|
||||
.wp-full-overlay .collapse-sidebar:focus {
|
||||
color: variables.$button-color;
|
||||
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 color.adjust(variables.$button-color, $lightness: 10%),
|
||||
0 0 2px 1px variables.$button-color;
|
||||
0 0 0 1px color.adjust($button-color, $lightness: 10%),
|
||||
0 0 2px 1px $button-color;
|
||||
}
|
||||
|
||||
&.wp-customizer .theme-overlay .theme-header .close:focus,
|
||||
|
|
@ -784,7 +782,7 @@ div#wp-responsive-toggle a:before {
|
|||
&.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: variables.$button-color;
|
||||
color: variables.$link;
|
||||
border-bottom-color: $button-color;
|
||||
color: $link;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
@use 'sass:color';
|
||||
|
||||
/*
|
||||
* Button mixin- creates a button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
@use "sass:color";
|
||||
|
||||
// assign default value to all undefined variables
|
||||
|
||||
$scheme-name: "default" !default;
|
||||
|
|
@ -15,7 +13,7 @@ $notification-color: #d54e21 !default;
|
|||
|
||||
// global
|
||||
|
||||
$body-background: #fff !default;
|
||||
$body-background: #f1f1f1 !default;
|
||||
|
||||
$link: #0073aa !default;
|
||||
$link-focus: color.adjust($link, $lightness: 10%) !default;
|
||||
|
|
@ -39,7 +37,7 @@ $menu-current-text: $menu-highlight-text !default;
|
|||
$menu-current-icon: $menu-highlight-icon !default;
|
||||
$menu-current-background: $menu-highlight-background !default;
|
||||
|
||||
$menu-submenu-text: color.mix( $base-color, $text-color, 30% ) !default;
|
||||
$menu-submenu-text: mix( $base-color, $text-color, 30% ) !default;
|
||||
$menu-submenu-background: color.adjust($base-color, $lightness: -7%) !default;
|
||||
$menu-submenu-background-alt: color.adjust(color.adjust($menu-background, $lightness: 7%), $saturation: -7%) !default;
|
||||
|
||||
|
|
@ -61,9 +59,9 @@ $adminbar-input-background: color.adjust($menu-background, $lightness: 7%) !defa
|
|||
|
||||
$adminbar-recovery-exit-text: $menu-bubble-text !default;
|
||||
$adminbar-recovery-exit-background: $menu-bubble-background !default;
|
||||
$adminbar-recovery-exit-background-alt: color.mix(black, $adminbar-recovery-exit-background, 10%) !default;
|
||||
$adminbar-recovery-exit-background-alt: mix(black, $adminbar-recovery-exit-background, 10%) !default;
|
||||
|
||||
$menu-customizer-text: color.mix( $base-color, $text-color, 40% ) !default;
|
||||
$menu-customizer-text: mix( $base-color, $text-color, 40% ) !default;
|
||||
|
||||
// Dashboard Colors
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -253,8 +253,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -306,7 +306,7 @@ textarea:focus {
|
|||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-left-color: #fff;
|
||||
border-left-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
|
|||
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
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -253,8 +253,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -306,7 +306,7 @@ textarea:focus {
|
|||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-right-color: #fff;
|
||||
border-right-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
|
|||
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,16 +1,16 @@
|
|||
@use "sass:color";
|
||||
|
||||
$scheme-name: "blue";
|
||||
$base-color: #52accc;
|
||||
$icon-color: #e5f8ff;
|
||||
$highlight-color: #096484;
|
||||
$notification-color: #e1a948;
|
||||
$button-color: #e1a948;
|
||||
|
||||
@use "../_admin.scss" with (
|
||||
$scheme-name: "blue",
|
||||
$base-color: #52accc,
|
||||
$icon-color: #e5f8ff,
|
||||
$highlight-color: $highlight-color,
|
||||
$notification-color: #e1a948,
|
||||
$button-color: #e1a948,
|
||||
$menu-submenu-text: #e2ecf1;
|
||||
$menu-submenu-focus-text: #fff;
|
||||
$menu-submenu-background: #4796b3;
|
||||
|
||||
$menu-submenu-text: #e2ecf1,
|
||||
$menu-submenu-focus-text: #fff,
|
||||
$menu-submenu-background: #4796b3,
|
||||
$dashboard-icon-background: $highlight-color;
|
||||
|
||||
$dashboard-icon-background: $highlight-color
|
||||
);
|
||||
@import "../_admin.scss";
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -220,8 +220,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -273,7 +273,7 @@ textarea:focus {
|
|||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-left-color: #fff;
|
||||
border-left-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -220,8 +220,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -273,7 +273,7 @@ textarea:focus {
|
|||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-right-color: #fff;
|
||||
border-right-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
|
|||
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,11 +1,11 @@
|
|||
@use "sass:color";
|
||||
|
||||
$scheme-name: "coffee";
|
||||
$base-color: #59524c;
|
||||
$highlight-color: #c7a589;
|
||||
$notification-color: #9ea476;
|
||||
$low-contrast-theme: "true";
|
||||
|
||||
@use "../_admin.scss" with (
|
||||
$scheme-name: "coffee",
|
||||
$base-color: $base-color,
|
||||
$highlight-color: #c7a589,
|
||||
$notification-color: #9ea476,
|
||||
$form-checked: $base-color,
|
||||
$form-checked: $base-color;
|
||||
|
||||
$low-contrast-theme: "true"
|
||||
);
|
||||
@import "../_admin.scss";
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -253,8 +253,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -306,7 +306,7 @@ textarea:focus {
|
|||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-left-color: #fff;
|
||||
border-left-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -253,8 +253,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -306,7 +306,7 @@ textarea:focus {
|
|||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-right-color: #fff;
|
||||
border-right-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
|
|||
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,11 +1,11 @@
|
|||
@use "sass:color";
|
||||
|
||||
$scheme-name: "ectoplasm";
|
||||
$base-color: #523f6d;
|
||||
$icon-color: #ece6f6;
|
||||
$highlight-color: #a3b745;
|
||||
$notification-color: #d46f15;
|
||||
|
||||
@use "../_admin.scss" with (
|
||||
$scheme-name: "ectoplasm",
|
||||
$base-color: $base-color,
|
||||
$icon-color: #ece6f6,
|
||||
$highlight-color: #a3b745,
|
||||
$notification-color: #d46f15,
|
||||
$form-checked: $base-color;
|
||||
|
||||
$form-checked: $base-color,
|
||||
);
|
||||
@import "../_admin.scss";
|
||||
|
|
|
|||
|
|
@ -1,36 +1,33 @@
|
|||
@use "sass:color";
|
||||
|
||||
$highlight-color: #04a4cc;
|
||||
$scheme-name: "light";
|
||||
$base-color: #e5e5e5;
|
||||
$icon-color: #999;
|
||||
$text-color: #333;
|
||||
$highlight-color: #04a4cc;
|
||||
$notification-color: #d64e07;
|
||||
|
||||
$body-background: #f5f5f5;
|
||||
|
||||
$menu-highlight-text: #fff;
|
||||
$menu-highlight-icon: #ccc;
|
||||
$menu-highlight-background: #888;
|
||||
|
||||
$menu-bubble-text: #fff;
|
||||
$menu-avatar-frame: #aaa;
|
||||
$menu-submenu-background: #fff;
|
||||
|
||||
@use "../_admin.scss" with (
|
||||
$scheme-name: "light",
|
||||
$base-color: #e5e5e5,
|
||||
$icon-color: #999,
|
||||
$text-color: $text-color,
|
||||
$highlight-color: $highlight-color,
|
||||
$notification-color: #d64e07,
|
||||
$menu-collapse-text: #777;
|
||||
$menu-collapse-focus-icon: #555;
|
||||
|
||||
$body-background: #f5f5f5,
|
||||
$dashboard-accent-1: $highlight-color;
|
||||
$dashboard-accent-2: color.adjust(color.adjust($highlight-color, $lightness: 7%), $saturation: -15%);
|
||||
$dashboard-icon-background: $text-color;
|
||||
|
||||
$menu-highlight-text: #fff,
|
||||
$menu-highlight-icon: #ccc,
|
||||
$menu-highlight-background: #888,
|
||||
|
||||
$menu-bubble-text: #fff,
|
||||
$menu-submenu-background: #fff,
|
||||
|
||||
$menu-collapse-text: #777,
|
||||
$menu-collapse-focus-icon: #555,
|
||||
|
||||
$dashboard-accent-1: $highlight-color,
|
||||
$dashboard-accent-2: color.adjust(color.adjust($highlight-color, $lightness: 7%), $saturation: -15%),
|
||||
$dashboard-icon-background: $text-color
|
||||
);
|
||||
@import "../_admin.scss";
|
||||
|
||||
/* Override the theme filter highlight color for this scheme */
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: admin.$highlight-color;
|
||||
border-bottom-color: $highlight-color;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -253,8 +253,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -306,7 +306,7 @@ textarea:focus {
|
|||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-left-color: #fff;
|
||||
border-left-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -253,8 +253,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -306,7 +306,7 @@ textarea:focus {
|
|||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-right-color: #fff;
|
||||
border-right-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
|
|||
2
wp-admin/css/colors/midnight/colors.min.css
vendored
2
wp-admin/css/colors/midnight/colors.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,14 +1,10 @@
|
|||
@use "sass:color";
|
||||
|
||||
$scheme-name: "midnight";
|
||||
$base-color: #363b3f;
|
||||
$highlight-color: #e14d43;
|
||||
$notification-color: #69a8bb;
|
||||
|
||||
@use "../_admin.scss" with (
|
||||
$scheme-name: "midnight",
|
||||
$base-color: $base-color,
|
||||
$highlight-color: $highlight-color,
|
||||
$notification-color: $notification-color,
|
||||
$dashboard-accent-2: mix($base-color, $notification-color, 90%);
|
||||
|
||||
$dashboard-accent-2: color.mix($base-color, $notification-color, 90%),
|
||||
);
|
||||
@import "../_admin.scss";
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -253,8 +253,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -287,7 +287,7 @@ textarea: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: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Menu: current */
|
||||
|
|
@ -301,12 +301,12 @@ textarea:focus {
|
|||
#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: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-left-color: #fff;
|
||||
border-left-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
@ -351,7 +351,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
|
|
@ -379,21 +379,21 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#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: #7b90ff;
|
||||
color: #33f078;
|
||||
background: rgb(12.15, 12.15, 12.15);
|
||||
}
|
||||
|
||||
#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: #7b90ff;
|
||||
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: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -436,7 +436,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
#wpadminbar li #adminbarsearch.adminbar-focused:before {
|
||||
color: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li a:hover .blavatar,
|
||||
|
|
@ -445,7 +445,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar .menupop .menupop > .ab-item:hover:before,
|
||||
#wpadminbar.mobile .quicklinks .ab-icon:before,
|
||||
#wpadminbar.mobile .quicklinks .ab-item:before {
|
||||
color: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
|
||||
|
|
@ -493,7 +493,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info a:hover .display-name {
|
||||
color: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info .username {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -253,8 +253,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -287,7 +287,7 @@ textarea: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: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Menu: current */
|
||||
|
|
@ -301,12 +301,12 @@ textarea:focus {
|
|||
#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: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-right-color: #fff;
|
||||
border-right-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
@ -351,7 +351,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
|
|
@ -379,21 +379,21 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#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: #7b90ff;
|
||||
color: #33f078;
|
||||
background: rgb(12.15, 12.15, 12.15);
|
||||
}
|
||||
|
||||
#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: #7b90ff;
|
||||
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: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
/* Admin Bar: submenu */
|
||||
|
|
@ -436,7 +436,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
#wpadminbar li #adminbarsearch.adminbar-focused:before {
|
||||
color: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks li a:hover .blavatar,
|
||||
|
|
@ -445,7 +445,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
#wpadminbar .menupop .menupop > .ab-item:hover:before,
|
||||
#wpadminbar.mobile .quicklinks .ab-icon:before,
|
||||
#wpadminbar.mobile .quicklinks .ab-item:before {
|
||||
color: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
|
||||
|
|
@ -493,7 +493,7 @@ ul#adminmenu > li.current > a.current:after {
|
|||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info a:hover .display-name {
|
||||
color: #7b90ff;
|
||||
color: #33f078;
|
||||
}
|
||||
|
||||
#wpadminbar #wp-admin-bar-user-info .username {
|
||||
|
|
|
|||
2
wp-admin/css/colors/modern/colors.min.css
vendored
2
wp-admin/css/colors/modern/colors.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,16 +1,14 @@
|
|||
@use "sass:color";
|
||||
|
||||
$scheme-name: "modern";
|
||||
$base-color: #1e1e1e;
|
||||
$highlight-color: #3858e9;
|
||||
$menu-submenu-focus-text: #33f078;
|
||||
$notification-color: $highlight-color;
|
||||
|
||||
@use "../_admin.scss" with (
|
||||
$scheme-name: "modern",
|
||||
$base-color: #1e1e1e,
|
||||
$highlight-color: #3858e9,
|
||||
$menu-submenu-focus-text: #7b90ff,
|
||||
$notification-color: $highlight-color,
|
||||
$link: $highlight-color;
|
||||
$link-focus: color.adjust($highlight-color, $lightness: -10%);
|
||||
|
||||
$link: $highlight-color,
|
||||
$link-focus: color.adjust($highlight-color, $lightness: -10%),
|
||||
$custom-welcome-panel: "false";
|
||||
|
||||
$custom-welcome-panel: "false"
|
||||
);
|
||||
@import "../_admin.scss";
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -220,8 +220,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -273,7 +273,7 @@ textarea:focus {
|
|||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-left-color: #fff;
|
||||
border-left-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
|
|||
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
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -220,8 +220,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -273,7 +273,7 @@ textarea:focus {
|
|||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-right-color: #fff;
|
||||
border-right-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
|
|||
2
wp-admin/css/colors/ocean/colors.min.css
vendored
2
wp-admin/css/colors/ocean/colors.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,12 +1,12 @@
|
|||
@use "sass:color";
|
||||
|
||||
$scheme-name: "ocean";
|
||||
$base-color: #738e96;
|
||||
$icon-color: #f2fcff;
|
||||
$highlight-color: #9ebaa0;
|
||||
$notification-color: #aa9d88;
|
||||
$low-contrast-theme: "true";
|
||||
|
||||
@use "../_admin.scss" with (
|
||||
$scheme-name: "ocean",
|
||||
$base-color: $base-color,
|
||||
$icon-color: #f2fcff,
|
||||
$highlight-color: #9ebaa0,
|
||||
$notification-color: #aa9d88,
|
||||
$form-checked: $base-color,
|
||||
$form-checked: $base-color;
|
||||
|
||||
$low-contrast-theme: "true"
|
||||
);
|
||||
@import "../_admin.scss";
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -253,8 +253,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -306,7 +306,7 @@ textarea:focus {
|
|||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-left-color: #fff;
|
||||
border-left-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -8,7 +8,7 @@
|
|||
* may use the function in their own admin CSS files. See #56811.
|
||||
*/
|
||||
body {
|
||||
background: #fff;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
|
@ -253,8 +253,8 @@ textarea:focus {
|
|||
.about-wrap .nav-tab-active,
|
||||
.nav-tab-active,
|
||||
.nav-tab-active:hover {
|
||||
background-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
background-color: #f1f1f1;
|
||||
border-bottom-color: #f1f1f1;
|
||||
}
|
||||
|
||||
/* Admin Menu: submenu */
|
||||
|
|
@ -306,7 +306,7 @@ textarea:focus {
|
|||
|
||||
ul#adminmenu a.wp-has-current-submenu:after,
|
||||
ul#adminmenu > li.current > a.current:after {
|
||||
border-right-color: #fff;
|
||||
border-right-color: #f1f1f1;
|
||||
}
|
||||
|
||||
#adminmenu li.current a.menu-top,
|
||||
|
|
|
|||
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
|
|
@ -1,11 +1,9 @@
|
|||
@use "sass:color";
|
||||
|
||||
$scheme-name: "sunrise";
|
||||
$base-color: #cf4944;
|
||||
$highlight-color: #dd823b;
|
||||
$notification-color: #ccaf0b;
|
||||
$menu-submenu-focus-text: color.adjust($highlight-color, $lightness: 35%);
|
||||
|
||||
@use "../_admin.scss" with (
|
||||
$scheme-name: "sunrise",
|
||||
$base-color: #cf4944,
|
||||
$highlight-color: $highlight-color,
|
||||
$notification-color: #ccaf0b,
|
||||
$menu-submenu-focus-text: color.adjust($highlight-color, $lightness: 35%)
|
||||
);
|
||||
@import "../_admin.scss";
|
||||
|
|
|
|||
|
|
@ -123,6 +123,7 @@
|
|||
.screen-reader-text span,
|
||||
.ui-helper-hidden-accessible {
|
||||
border: 0;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
|
|
@ -220,6 +221,7 @@ body {
|
|||
}
|
||||
|
||||
body {
|
||||
background: #f0f0f1;
|
||||
color: #3c434a;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
|
|
@ -1115,6 +1117,11 @@ th.action-links {
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.wp-filter .search-form.search-plugins {
|
||||
/* This element is a flex item: the inherited float won't have any effect. */
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.wp-filter .search-form.search-plugins select,
|
||||
.wp-filter .search-form.search-plugins .wp-filter-search,
|
||||
.no-js .wp-filter .search-form.search-plugins .button {
|
||||
|
|
@ -1347,12 +1354,6 @@ th.action-links {
|
|||
float: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1138px) {
|
||||
.wp-filter .search-form {
|
||||
margin: 11px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1120px) {
|
||||
.filter-drawer {
|
||||
border-bottom: 1px solid #f0f0f1;
|
||||
|
|
|
|||
2
wp-admin/css/common-rtl.min.css
vendored
2
wp-admin/css/common-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -122,6 +122,7 @@
|
|||
.screen-reader-text span,
|
||||
.ui-helper-hidden-accessible {
|
||||
border: 0;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
|
|
@ -219,6 +220,7 @@ body {
|
|||
}
|
||||
|
||||
body {
|
||||
background: #f0f0f1;
|
||||
color: #3c434a;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
|
|
@ -1114,6 +1116,11 @@ th.action-links {
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.wp-filter .search-form.search-plugins {
|
||||
/* This element is a flex item: the inherited float won't have any effect. */
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.wp-filter .search-form.search-plugins select,
|
||||
.wp-filter .search-form.search-plugins .wp-filter-search,
|
||||
.no-js .wp-filter .search-form.search-plugins .button {
|
||||
|
|
@ -1346,12 +1353,6 @@ th.action-links {
|
|||
float: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1138px) {
|
||||
.wp-filter .search-form {
|
||||
margin: 11px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1120px) {
|
||||
.filter-drawer {
|
||||
border-bottom: 1px solid #f0f0f1;
|
||||
|
|
|
|||
2
wp-admin/css/common.min.css
vendored
2
wp-admin/css/common.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -448,9 +448,6 @@ body.trashing #publish-settings {
|
|||
#customize-controls .customize-info .preview-notice {
|
||||
font-size: 13px;
|
||||
line-height: 1.9;
|
||||
margin: 0;
|
||||
font-weight: 400;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
#customize-controls .customize-pane-child .customize-section-title h3,
|
||||
|
|
@ -2645,19 +2642,6 @@ body.adding-widget .add-new-widget:before,
|
|||
|
||||
#available-widgets .customize-section-title,
|
||||
#available-menu-items .customize-section-title {
|
||||
border: 0;
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
word-wrap: normal !important;
|
||||
}
|
||||
|
||||
#available-widgets .customize-section-title button,
|
||||
#available-menu-items .customize-section-title button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
@ -2994,19 +2978,8 @@ body.adding-widget .add-new-widget:before,
|
|||
|
||||
#available-widgets .customize-section-title,
|
||||
#available-menu-items .customize-section-title {
|
||||
border: 0;
|
||||
clip-path: none;
|
||||
height: inherit;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
width: auto;
|
||||
position: static;
|
||||
}
|
||||
|
||||
#available-widgets .customize-section-title button,
|
||||
#available-menu-items .customize-section-title button {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#available-widgets .customize-section-back,
|
||||
|
|
|
|||
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
|
|
@ -447,9 +447,6 @@ body.trashing #publish-settings {
|
|||
#customize-controls .customize-info .preview-notice {
|
||||
font-size: 13px;
|
||||
line-height: 1.9;
|
||||
margin: 0;
|
||||
font-weight: 400;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
#customize-controls .customize-pane-child .customize-section-title h3,
|
||||
|
|
@ -2644,19 +2641,6 @@ body.adding-widget .add-new-widget:before,
|
|||
|
||||
#available-widgets .customize-section-title,
|
||||
#available-menu-items .customize-section-title {
|
||||
border: 0;
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
word-wrap: normal !important;
|
||||
}
|
||||
|
||||
#available-widgets .customize-section-title button,
|
||||
#available-menu-items .customize-section-title button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
@ -2993,19 +2977,8 @@ body.adding-widget .add-new-widget:before,
|
|||
|
||||
#available-widgets .customize-section-title,
|
||||
#available-menu-items .customize-section-title {
|
||||
border: 0;
|
||||
clip-path: none;
|
||||
height: inherit;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
width: auto;
|
||||
position: static;
|
||||
}
|
||||
|
||||
#available-widgets .customize-section-title button,
|
||||
#available-menu-items .customize-section-title button {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#available-widgets .customize-section-back,
|
||||
|
|
|
|||
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
|
|
@ -860,7 +860,7 @@ ul#add-to-blog-users {
|
|||
padding: 20px 0 20px 10px;
|
||||
width: 200px;
|
||||
line-height: 1.3;
|
||||
font-weight: 400;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */
|
||||
|
|
|
|||
2
wp-admin/css/forms-rtl.min.css
vendored
2
wp-admin/css/forms-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -859,7 +859,7 @@ ul#add-to-blog-users {
|
|||
padding: 20px 10px 20px 0;
|
||||
width: 200px;
|
||||
line-height: 1.3;
|
||||
font-weight: 400;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */
|
||||
|
|
|
|||
2
wp-admin/css/forms.min.css
vendored
2
wp-admin/css/forms.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -350,6 +350,7 @@ body.language-chooser {
|
|||
.screen-reader-input,
|
||||
.screen-reader-text {
|
||||
border: 0;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
|
|
|
|||
2
wp-admin/css/install-rtl.min.css
vendored
2
wp-admin/css/install-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -349,6 +349,7 @@ body.language-chooser {
|
|||
.screen-reader-input,
|
||||
.screen-reader-text {
|
||||
border: 0;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
|
|
|
|||
2
wp-admin/css/install.min.css
vendored
2
wp-admin/css/install.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -140,7 +140,8 @@ p {
|
|||
}
|
||||
|
||||
.login form {
|
||||
margin: 24px 0;
|
||||
margin-top: 20px;
|
||||
margin-right: 0;
|
||||
padding: 26px 24px;
|
||||
font-weight: 400;
|
||||
overflow: hidden;
|
||||
|
|
@ -284,7 +285,7 @@ p {
|
|||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
line-height: 1.3;
|
||||
margin: 0 auto 24px;
|
||||
margin: 0 auto 25px;
|
||||
padding: 0;
|
||||
text-decoration: none;
|
||||
width: 84px;
|
||||
|
|
@ -407,6 +408,7 @@ body.interim-login {
|
|||
.screen-reader-text,
|
||||
.screen-reader-text span {
|
||||
border: 0;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
|
|
|
|||
2
wp-admin/css/login-rtl.min.css
vendored
2
wp-admin/css/login-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -139,7 +139,8 @@ p {
|
|||
}
|
||||
|
||||
.login form {
|
||||
margin: 24px 0;
|
||||
margin-top: 20px;
|
||||
margin-left: 0;
|
||||
padding: 26px 24px;
|
||||
font-weight: 400;
|
||||
overflow: hidden;
|
||||
|
|
@ -283,7 +284,7 @@ p {
|
|||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
line-height: 1.3;
|
||||
margin: 0 auto 24px;
|
||||
margin: 0 auto 25px;
|
||||
padding: 0;
|
||||
text-decoration: none;
|
||||
width: 84px;
|
||||
|
|
@ -406,6 +407,7 @@ body.interim-login {
|
|||
.screen-reader-text,
|
||||
.screen-reader-text span {
|
||||
border: 0;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
|
|
|
|||
2
wp-admin/css/login.min.css
vendored
2
wp-admin/css/login.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -175,7 +175,7 @@
|
|||
|
||||
.media-item .pinkynail {
|
||||
float: right;
|
||||
margin: 14px;
|
||||
margin: 0 0 0 10px;
|
||||
max-height: 70px;
|
||||
max-width: 70px;
|
||||
}
|
||||
|
|
|
|||
2
wp-admin/css/media-rtl.min.css
vendored
2
wp-admin/css/media-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -174,7 +174,7 @@
|
|||
|
||||
.media-item .pinkynail {
|
||||
float: left;
|
||||
margin: 14px;
|
||||
margin: 0 10px 0 0;
|
||||
max-height: 70px;
|
||||
max-width: 70px;
|
||||
}
|
||||
|
|
|
|||
2
wp-admin/css/media.min.css
vendored
2
wp-admin/css/media.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -12,10 +12,6 @@
|
|||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.themes-php #adminmenuwrap {
|
||||
z-index: 10001; /* above Theme Overlay */
|
||||
}
|
||||
|
||||
body.js .theme-browser.search-loading {
|
||||
display: none;
|
||||
}
|
||||
|
|
@ -377,7 +373,6 @@ body.js .theme-browser.search-loading {
|
|||
background: #f0f0f1;
|
||||
background: rgba(240, 240, 241, 0.9);
|
||||
z-index: 10000; /* Over WP Pointers. */
|
||||
min-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
|
||||
}
|
||||
|
||||
.theme-overlay .theme-header {
|
||||
|
|
@ -921,10 +916,6 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
|||
padding-right: 4%;
|
||||
padding-left: 4%;
|
||||
}
|
||||
|
||||
.theme-install-php .wp-filter .filter-count {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 650px) {
|
||||
|
|
@ -945,7 +936,6 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
|||
.theme-overlay .theme-screenshots {
|
||||
width: 100%;
|
||||
float: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-overlay .theme-info {
|
||||
|
|
|
|||
2
wp-admin/css/themes-rtl.min.css
vendored
2
wp-admin/css/themes-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -11,10 +11,6 @@
|
|||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.themes-php #adminmenuwrap {
|
||||
z-index: 10001; /* above Theme Overlay */
|
||||
}
|
||||
|
||||
body.js .theme-browser.search-loading {
|
||||
display: none;
|
||||
}
|
||||
|
|
@ -376,7 +372,6 @@ body.js .theme-browser.search-loading {
|
|||
background: #f0f0f1;
|
||||
background: rgba(240, 240, 241, 0.9);
|
||||
z-index: 10000; /* Over WP Pointers. */
|
||||
min-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
|
||||
}
|
||||
|
||||
.theme-overlay .theme-header {
|
||||
|
|
@ -920,10 +915,6 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
|||
padding-left: 4%;
|
||||
padding-right: 4%;
|
||||
}
|
||||
|
||||
.theme-install-php .wp-filter .filter-count {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 650px) {
|
||||
|
|
@ -944,7 +935,6 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
|||
.theme-overlay .theme-screenshots {
|
||||
width: 100%;
|
||||
float: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.theme-overlay .theme-info {
|
||||
|
|
|
|||
2
wp-admin/css/themes.min.css
vendored
2
wp-admin/css/themes.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -9,11 +9,6 @@
|
|||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
// Don't load directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
_deprecated_file( basename( __FILE__ ), '5.3.0', 'wp-admin/includes/class-custom-background.php' );
|
||||
|
||||
/** Custom_Background class */
|
||||
|
|
|
|||
|
|
@ -9,11 +9,6 @@
|
|||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
// Don't load directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
_deprecated_file( basename( __FILE__ ), '5.3.0', 'wp-admin/includes/class-custom-image-header.php' );
|
||||
|
||||
/** Custom_Image_Header class */
|
||||
|
|
|
|||
|
|
@ -76,8 +76,8 @@ if ( $wp_customize->changeset_post_id() ) {
|
|||
|
||||
if ( in_array( get_post_status( $changeset_post->ID ), array( 'publish', 'trash' ), true ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'An error occurred while saving your changeset.' ) . '</h1>' .
|
||||
'<p>' . __( 'Please try again or start a new changeset. This changeset cannot be further modified.' ) . '</p>' .
|
||||
'<h1>' . __( 'Something went wrong.' ) . '</h1>' .
|
||||
'<p>' . __( 'This changeset cannot be further modified.' ) . '</p>' .
|
||||
'<p><a href="' . esc_url( remove_query_arg( 'changeset_uuid' ) ) . '">' . __( 'Customize New Changes' ) . '</a></p>',
|
||||
403
|
||||
);
|
||||
|
|
@ -100,12 +100,6 @@ if ( ! empty( $autofocus ) ) {
|
|||
$wp_customize->set_autofocus( $autofocus );
|
||||
}
|
||||
|
||||
// Let's roll.
|
||||
header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
|
||||
|
||||
wp_user_settings();
|
||||
_wp_admin_html_begin();
|
||||
|
||||
$registered = $wp_scripts->registered;
|
||||
$wp_scripts = new WP_Scripts();
|
||||
$wp_scripts->registered = $registered;
|
||||
|
|
@ -132,6 +126,12 @@ wp_enqueue_style( 'customize-controls' );
|
|||
*/
|
||||
do_action( 'customize_controls_enqueue_scripts' );
|
||||
|
||||
// Let's roll.
|
||||
header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
|
||||
|
||||
wp_user_settings();
|
||||
_wp_admin_html_begin();
|
||||
|
||||
$body_class = 'wp-core-ui wp-customizer js';
|
||||
|
||||
if ( wp_is_mobile() ) :
|
||||
|
|
@ -233,12 +233,12 @@ do_action( 'customize_controls_head' );
|
|||
<div class="wp-full-overlay-sidebar-content" tabindex="-1">
|
||||
<div id="customize-info" class="accordion-section customize-info" data-block-theme="<?php echo (int) wp_is_block_theme(); ?>">
|
||||
<div class="accordion-section-title">
|
||||
<h2 class="preview-notice">
|
||||
<span class="preview-notice">
|
||||
<?php
|
||||
/* translators: %s: The site/panel title in the Customizer. */
|
||||
printf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name', 'display' ) . '</strong>' );
|
||||
?>
|
||||
</h2>
|
||||
</span>
|
||||
<button type="button" class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text">
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. */
|
||||
|
|
|
|||
|
|
@ -25,7 +25,14 @@ $current_screen->is_block_editor( false );
|
|||
if ( is_multisite() ) {
|
||||
add_action( 'admin_footer', '_admin_notice_post_locked' );
|
||||
} else {
|
||||
if ( get_user_count() > 1 ) {
|
||||
$check_users = get_users(
|
||||
array(
|
||||
'fields' => 'ID',
|
||||
'number' => 2,
|
||||
)
|
||||
);
|
||||
|
||||
if ( count( $check_users ) > 1 ) {
|
||||
add_action( 'admin_footer', '_admin_notice_post_locked' );
|
||||
}
|
||||
|
||||
|
|
@ -283,9 +290,9 @@ if ( 'post' === $post_type ) {
|
|||
);
|
||||
|
||||
$title_and_editor = '<p>' . __( '<strong>Title</strong> — Enter a title for your post. After you enter a title, you’ll see the permalink below, which you can edit.' ) . '</p>';
|
||||
$title_and_editor .= '<p>' . __( '<strong>Post editor</strong> — Enter the text for your post. There are two modes of editing: Visual and Code. Choose the mode by clicking on the appropriate tab.' ) . '</p>';
|
||||
$title_and_editor .= '<p>' . __( '<strong>Post editor</strong> — Enter the text for your post. There are two modes of editing: Visual and Text. Choose the mode by clicking on the appropriate tab.' ) . '</p>';
|
||||
$title_and_editor .= '<p>' . __( 'Visual mode gives you an editor that is similar to a word processor. Click the Toolbar Toggle button to get a second row of controls.' ) . '</p>';
|
||||
$title_and_editor .= '<p>' . __( 'The Code mode allows you to enter HTML along with your post text. Note that <p> and <br> tags are converted to line breaks when switching to the Code editor to make it less cluttered. When you type, a single line break can be used instead of typing <br>, and two line breaks instead of paragraph tags. The line breaks are converted back to tags automatically.' ) . '</p>';
|
||||
$title_and_editor .= '<p>' . __( 'The Text mode allows you to enter HTML along with your post text. Note that <p> and <br> tags are converted to line breaks when switching to the Text editor to make it less cluttered. When you type, a single line break can be used instead of typing <br>, and two line breaks instead of paragraph tags. The line breaks are converted back to tags automatically.' ) . '</p>';
|
||||
$title_and_editor .= '<p>' . __( 'You can insert media files by clicking the button above the post editor and following the directions. You can align or edit images using the inline formatting toolbar available in Visual mode.' ) . '</p>';
|
||||
$title_and_editor .= '<p>' . __( 'You can enable distraction-free writing mode using the icon to the right. This feature is not available for old browsers or devices with small screens, and requires that the full-height editor be enabled in Screen Options.' ) . '</p>';
|
||||
$title_and_editor .= '<p>' . sprintf(
|
||||
|
|
@ -314,7 +321,7 @@ if ( 'post' === $post_type ) {
|
|||
);
|
||||
} elseif ( 'page' === $post_type ) {
|
||||
$about_pages = '<p>' . __( 'Pages are similar to posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest pages under other pages by making one the “Parent” of the other, creating a group of pages.' ) . '</p>' .
|
||||
'<p>' . __( 'Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. This screen also has the distraction-free writing space, available in both the Visual and Code modes via the Fullscreen buttons. The Page editor mostly works the same as the Post editor, but there are some Page-specific features in the Page Attributes box.' ) . '</p>';
|
||||
'<p>' . __( 'Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. This screen also has the distraction-free writing space, available in both the Visual and Text modes via the Fullscreen buttons. The Page editor mostly works the same as the Post editor, but there are some Page-specific features in the Page Attributes box.' ) . '</p>';
|
||||
|
||||
get_current_screen()->add_help_tab(
|
||||
array(
|
||||
|
|
@ -539,13 +546,7 @@ do_action( 'edit_form_top', $post );
|
|||
?>
|
||||
<label class="screen-reader-text" id="title-prompt-text" for="title"><?php echo $title_placeholder; ?></label>
|
||||
<input type="text" name="post_title" size="30" value="<?php echo esc_attr( $post->post_title ); ?>" id="title" spellcheck="true" autocomplete="off" />
|
||||
<?php
|
||||
if ( post_type_supports( $post_type, 'editor' ) ) {
|
||||
?>
|
||||
<a href="#content" class="button-secondary screen-reader-text skiplink" onclick="if (tinymce) { tinymce.execCommand( 'mceFocus', false, 'content' ); }"><?php esc_html_e( 'Skip to Editor' ); ?></a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<a href="#content" class="button-secondary screen-reader-text skiplink" onclick="if (tinymce) { tinymce.execCommand( 'mceFocus', false, 'content' ); }"><?php esc_html_e( 'Skip to Editor' ); ?></a>
|
||||
</div>
|
||||
<?php
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -51,8 +51,8 @@ wp_enqueue_script( 'wp-edit-post' );
|
|||
|
||||
$rest_path = rest_get_route_for_post( $post );
|
||||
|
||||
$active_theme = get_stylesheet();
|
||||
$global_styles_endpoint_context = current_user_can( 'edit_theme_options' ) ? 'edit' : 'view';
|
||||
$active_theme = get_stylesheet();
|
||||
|
||||
// Preload common data.
|
||||
$preload_paths = array(
|
||||
'/wp/v2/types?context=view',
|
||||
|
|
@ -71,14 +71,7 @@ $preload_paths = array(
|
|||
'/wp/v2/global-styles/themes/' . $active_theme . '/variations?context=view',
|
||||
'/wp/v2/themes?context=edit&status=active',
|
||||
array( '/wp/v2/global-styles/' . WP_Theme_JSON_Resolver::get_user_global_styles_post_id(), 'OPTIONS' ),
|
||||
/*
|
||||
* Preload the global styles path with the correct context based on user caps.
|
||||
* NOTE: There is an equivalent conditional check in the client-side code to fetch
|
||||
* the global styles entity using the appropriate context value.
|
||||
* See the call to `canUser()`, under `useGlobalStylesUserConfig()` in `packages/edit-site/src/components/use-global-styles-user-config/index.js`.
|
||||
* Please ensure that the equivalent check is kept in sync with this preload path.
|
||||
*/
|
||||
'/wp/v2/global-styles/' . WP_Theme_JSON_Resolver::get_user_global_styles_post_id() . '?context=' . $global_styles_endpoint_context,
|
||||
'/wp/v2/global-styles/' . WP_Theme_JSON_Resolver::get_user_global_styles_post_id() . '?context=edit',
|
||||
);
|
||||
|
||||
block_editor_rest_api_preload( $preload_paths, $block_editor_context );
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
|
|||
<tr>
|
||||
<td class="first"><label for="newcomment_author_url"><?php _e( 'URL' ); ?></label></td>
|
||||
<td>
|
||||
<input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_url( $comment->comment_author_url ); ?>" />
|
||||
<input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr( $comment->comment_author_url ); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ if ( ! empty( $link_id ) ) {
|
|||
$nonce_action = 'update-bookmark_' . $link_id;
|
||||
} else {
|
||||
/* translators: %s: URL to Links screen. */
|
||||
$heading = sprintf( __( '<a href="%s">Links</a> / Add Link' ), 'link-manager.php' );
|
||||
$heading = sprintf( __( '<a href="%s">Links</a> / Add New Link' ), 'link-manager.php' );
|
||||
$submit_text = __( 'Add Link' );
|
||||
$form_name = 'addlink';
|
||||
$nonce_action = 'add-bookmark';
|
||||
|
|
@ -87,7 +87,7 @@ echo esc_html( $title );
|
|||
?>
|
||||
</h1>
|
||||
|
||||
<a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add Link' ); ?></a>
|
||||
<a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add New Link' ); ?></a>
|
||||
|
||||
<hr class="wp-header-end">
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ if ( 'category' === $taxonomy ) {
|
|||
do_action_deprecated( 'edit_tag_form_pre', array( $tag ), '3.0.0', '{$taxonomy}_pre_edit_form' );
|
||||
}
|
||||
|
||||
$wp_http_referer = ! empty( $_REQUEST['wp_http_referer'] ) ? sanitize_url( $_REQUEST['wp_http_referer'] ) : '';
|
||||
$wp_http_referer = ! empty( $_REQUEST['wp_http_referer'] ) ? sanitize_text_field( $_REQUEST['wp_http_referer'] ) : '';
|
||||
$wp_http_referer = remove_query_arg( array( 'action', 'message', 'tag_ID' ), $wp_http_referer );
|
||||
|
||||
// Also used by Edit Tags.
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
|||
<?php
|
||||
printf(
|
||||
/* translators: %s: https://wordpressfoundation.org/trademark-policy/ */
|
||||
__( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. The WordPress community is flattered every time someone spreads the good word, just make sure to <a href="%s">check out the WordPress Foundation trademark guidelines</a> first.' ),
|
||||
__( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We are flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ),
|
||||
'https://wordpressfoundation.org/trademark-policy/'
|
||||
);
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -235,13 +235,6 @@ if ( current_user_can( 'install_plugins' ) ) {
|
|||
esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) )
|
||||
) . '</p>';
|
||||
}
|
||||
|
||||
/**
|
||||
* Fires at the end of the Import screen.
|
||||
*
|
||||
* @since 6.8.0
|
||||
*/
|
||||
do_action( 'import_filters' );
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ add_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );
|
|||
|
||||
// Misc hooks.
|
||||
add_action( 'admin_init', 'wp_admin_headers' );
|
||||
add_action( 'login_init', 'wp_admin_headers' );
|
||||
add_action( 'admin_init', 'send_frame_options_header', 10, 0 );
|
||||
add_action( 'admin_head', 'wp_admin_canonical_url' );
|
||||
add_action( 'admin_head', 'wp_site_icon' );
|
||||
|
|
|
|||
|
|
@ -3556,9 +3556,9 @@ function wp_ajax_get_revision_diffs() {
|
|||
|
||||
$return = array();
|
||||
|
||||
// Increase the script timeout limit to allow ample time for diff UI setup.
|
||||
// Removes the script timeout limit by setting it to 0 allowing ample time for diff UI setup.
|
||||
if ( function_exists( 'set_time_limit' ) ) {
|
||||
set_time_limit( 5 * MINUTE_IN_SECONDS );
|
||||
set_time_limit( 0 );
|
||||
}
|
||||
|
||||
foreach ( $_REQUEST['compare'] as $compare_key ) {
|
||||
|
|
|
|||
|
|
@ -288,7 +288,7 @@ class Custom_Background {
|
|||
$background_styles = '';
|
||||
$bgcolor = get_background_color();
|
||||
if ( $bgcolor ) {
|
||||
$background_styles .= 'background-color: ' . maybe_hash_hex_color( $bgcolor ) . ';';
|
||||
$background_styles .= 'background-color: #' . $bgcolor . ';';
|
||||
}
|
||||
|
||||
$background_image_thumb = get_background_image();
|
||||
|
|
@ -354,7 +354,7 @@ class Custom_Background {
|
|||
<input type="file" id="upload" name="import" />
|
||||
<input type="hidden" name="action" value="save" />
|
||||
<?php wp_nonce_field( 'custom-background-upload', '_wpnonce-custom-background-upload' ); ?>
|
||||
<?php submit_button( _x( 'Upload', 'verb' ), '', 'submit', false ); ?>
|
||||
<?php submit_button( __( 'Upload' ), '', 'submit', false ); ?>
|
||||
</p>
|
||||
<p>
|
||||
<label for="choose-from-library-link"><?php _e( 'Or choose an image from your media library:' ); ?></label><br />
|
||||
|
|
|
|||
|
|
@ -664,7 +664,7 @@ class Custom_Image_Header {
|
|||
<input type="file" id="upload" name="import" />
|
||||
<input type="hidden" name="action" value="save" />
|
||||
<?php wp_nonce_field( 'custom-header-upload', '_wpnonce-custom-header-upload' ); ?>
|
||||
<?php submit_button( _x( 'Upload', 'verb' ), '', 'submit', false ); ?>
|
||||
<?php submit_button( __( 'Upload' ), '', 'submit', false ); ?>
|
||||
</p>
|
||||
<?php
|
||||
$modal_update_href = add_query_arg(
|
||||
|
|
@ -830,8 +830,8 @@ endif;
|
|||
|
||||
if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'An error occurred while processing your header image.' ) . '</h1>' .
|
||||
'<p>' . __( 'The active theme does not support uploading a custom header image. Please ensure your theme supports custom headers and try again.' ) . '</p>',
|
||||
'<h1>' . __( 'Something went wrong.' ) . '</h1>' .
|
||||
'<p>' . __( 'The active theme does not support uploading a custom header image.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
}
|
||||
|
|
@ -1018,8 +1018,8 @@ endif;
|
|||
|
||||
if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'An error occurred while processing your header image.' ) . '</h1>' .
|
||||
'<p>' . __( 'The active theme does not support uploading a custom header image. Please ensure your theme supports custom headers and try again.' ) . '</p>',
|
||||
'<h1>' . __( 'Something went wrong.' ) . '</h1>' .
|
||||
'<p>' . __( 'The active theme does not support uploading a custom header image.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
}
|
||||
|
|
@ -1029,7 +1029,7 @@ endif;
|
|||
&& ! current_theme_supports( 'custom-header', 'flex-width' )
|
||||
) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'An error occurred while processing your header image.' ) . '</h1>' .
|
||||
'<h1>' . __( 'Something went wrong.' ) . '</h1>' .
|
||||
'<p>' . __( 'The active theme does not support a flexible sized header image.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
|
|
|
|||
|
|
@ -20,9 +20,7 @@
|
|||
* @since 2.5.0
|
||||
* @var string
|
||||
*/
|
||||
if ( ! defined( 'CRLF' ) ) {
|
||||
define( 'CRLF', "\r\n" );
|
||||
}
|
||||
if(!defined('CRLF')) define('CRLF',"\r\n");
|
||||
|
||||
/**
|
||||
* Sets whatever to autodetect ASCII mode.
|
||||
|
|
@ -32,9 +30,7 @@ if ( ! defined( 'CRLF' ) ) {
|
|||
* @since 2.5.0
|
||||
* @var int
|
||||
*/
|
||||
if ( ! defined( 'FTP_AUTOASCII' ) ) {
|
||||
define( 'FTP_AUTOASCII', -1 );
|
||||
}
|
||||
if(!defined("FTP_AUTOASCII")) define("FTP_AUTOASCII", -1);
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -42,9 +38,7 @@ if ( ! defined( 'FTP_AUTOASCII' ) ) {
|
|||
* @since 2.5.0
|
||||
* @var int
|
||||
*/
|
||||
if ( ! defined( 'FTP_BINARY' ) ) {
|
||||
define( 'FTP_BINARY', 1 );
|
||||
}
|
||||
if(!defined("FTP_BINARY")) define("FTP_BINARY", 1);
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -52,9 +46,7 @@ if ( ! defined( 'FTP_BINARY' ) ) {
|
|||
* @since 2.5.0
|
||||
* @var int
|
||||
*/
|
||||
if ( ! defined( 'FTP_ASCII' ) ) {
|
||||
define( 'FTP_ASCII', 0 );
|
||||
}
|
||||
if(!defined("FTP_ASCII")) define("FTP_ASCII", 0);
|
||||
|
||||
/**
|
||||
* Whether to force FTP.
|
||||
|
|
@ -64,9 +56,7 @@ if ( ! defined( 'FTP_ASCII' ) ) {
|
|||
* @since 2.5.0
|
||||
* @var bool
|
||||
*/
|
||||
if ( ! defined( 'FTP_FORCE' ) ) {
|
||||
define( 'FTP_FORCE', true );
|
||||
}
|
||||
if(!defined('FTP_FORCE')) define('FTP_FORCE', true);
|
||||
|
||||
/**
|
||||
* @since 2.5.0
|
||||
|
|
|
|||
|
|
@ -5714,7 +5714,7 @@
|
|||
// --------------------------------------------------------------------------------
|
||||
function PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter=true)
|
||||
{
|
||||
if (PHP_OS_FAMILY == 'Windows') {
|
||||
if (stristr(php_uname(), 'windows')) {
|
||||
// ----- Look for potential disk letter
|
||||
if (($p_remove_disk_letter) && (($v_position = strpos($p_path, ':')) != false)) {
|
||||
$p_path = substr($p_path, $v_position+1);
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
|
|||
);
|
||||
|
||||
$table = '<table class="update-from-upload-comparison"><tbody>';
|
||||
$table .= '<tr><th></th><th>' . esc_html_x( 'Installed', 'theme' ) . '</th><th>' . esc_html_x( 'Uploaded', 'theme' ) . '</th></tr>';
|
||||
$table .= '<tr><th></th><th>' . esc_html_x( 'Active', 'theme' ) . '</th><th>' . esc_html_x( 'Uploaded', 'theme' ) . '</th></tr>';
|
||||
|
||||
$is_same_theme = true; // Let's consider only these rows.
|
||||
|
||||
|
|
@ -333,7 +333,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
|
|||
if ( $this->is_downgrading ) {
|
||||
$warning = sprintf(
|
||||
/* translators: %s: Documentation URL. */
|
||||
__( 'You are uploading an older version of the installed theme. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
|
||||
__( 'You are uploading an older version of the active theme. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
|
||||
__( 'https://developer.wordpress.org/advanced-administration/security/backup/' )
|
||||
);
|
||||
} else {
|
||||
|
|
@ -351,7 +351,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
|
|||
$install_actions['overwrite_theme'] = sprintf(
|
||||
'<a class="button button-primary update-from-upload-overwrite" href="%s" target="_parent">%s</a>',
|
||||
wp_nonce_url( add_query_arg( 'overwrite', $overwrite, $this->url ), 'theme-upload' ),
|
||||
_x( 'Replace installed with uploaded', 'theme' )
|
||||
_x( 'Replace active with uploaded', 'theme' )
|
||||
);
|
||||
} else {
|
||||
echo $blocked_message;
|
||||
|
|
|
|||
|
|
@ -936,14 +936,6 @@ class WP_Automatic_Updater {
|
|||
return;
|
||||
}
|
||||
|
||||
$admin_user = get_user_by( 'email', get_site_option( 'admin_email' ) );
|
||||
|
||||
if ( $admin_user ) {
|
||||
$switched_locale = switch_to_user_locale( $admin_user->ID );
|
||||
} else {
|
||||
$switched_locale = switch_to_locale( get_locale() );
|
||||
}
|
||||
|
||||
switch ( $type ) {
|
||||
case 'success': // We updated.
|
||||
/* translators: Site updated notification email subject. 1: Site title, 2: WordPress version. */
|
||||
|
|
@ -1147,12 +1139,9 @@ class WP_Automatic_Updater {
|
|||
$email = apply_filters( 'auto_core_update_email', $email, $type, $core_update, $result );
|
||||
|
||||
wp_mail( $email['to'], wp_specialchars_decode( $email['subject'] ), $email['body'], $email['headers'] );
|
||||
|
||||
if ( $switched_locale ) {
|
||||
restore_previous_locale();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks whether an email should be sent after attempting plugin or theme updates.
|
||||
*
|
||||
|
|
@ -1266,14 +1255,6 @@ class WP_Automatic_Updater {
|
|||
}
|
||||
}
|
||||
|
||||
$admin_user = get_user_by( 'email', get_site_option( 'admin_email' ) );
|
||||
|
||||
if ( $admin_user ) {
|
||||
$switched_locale = switch_to_user_locale( $admin_user->ID );
|
||||
} else {
|
||||
$switched_locale = switch_to_locale( get_locale() );
|
||||
}
|
||||
|
||||
$body = array();
|
||||
$successful_plugins = ( ! empty( $successful_updates['plugin'] ) );
|
||||
$successful_themes = ( ! empty( $successful_updates['theme'] ) );
|
||||
|
|
@ -1545,10 +1526,6 @@ class WP_Automatic_Updater {
|
|||
if ( $result ) {
|
||||
update_option( 'auto_plugin_theme_update_emails', $past_failure_emails );
|
||||
}
|
||||
|
||||
if ( $switched_locale ) {
|
||||
restore_previous_locale();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -1557,12 +1534,9 @@ class WP_Automatic_Updater {
|
|||
* @since 3.7.0
|
||||
*/
|
||||
protected function send_debug_email() {
|
||||
$admin_user = get_user_by( 'email', get_site_option( 'admin_email' ) );
|
||||
|
||||
if ( $admin_user ) {
|
||||
$switched_locale = switch_to_user_locale( $admin_user->ID );
|
||||
} else {
|
||||
$switched_locale = switch_to_locale( get_locale() );
|
||||
$update_count = 0;
|
||||
foreach ( $this->update_results as $type => $updates ) {
|
||||
$update_count += count( $updates );
|
||||
}
|
||||
|
||||
$body = array();
|
||||
|
|
@ -1741,10 +1715,6 @@ Thanks! -- The WordPress Team"
|
|||
$email = apply_filters( 'automatic_updates_debug_email', $email, $failures, $this->update_results );
|
||||
|
||||
wp_mail( $email['to'], wp_specialchars_decode( $email['subject'] ), $email['body'], $email['headers'] );
|
||||
|
||||
if ( $switched_locale ) {
|
||||
restore_previous_locale();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -195,13 +195,7 @@ class WP_Importer {
|
|||
* @param bool $head
|
||||
* @return array
|
||||
*/
|
||||
public function get_page(
|
||||
$url,
|
||||
$username = '',
|
||||
#[\SensitiveParameter]
|
||||
$password = '',
|
||||
$head = false
|
||||
) {
|
||||
public function get_page( $url, $username = '', $password = '', $head = false ) {
|
||||
// Increase the timeout.
|
||||
add_filter( 'http_request_timeout', array( $this, 'bump_request_timeout' ) );
|
||||
|
||||
|
|
|
|||
|
|
@ -763,11 +763,11 @@ class WP_List_Table {
|
|||
return;
|
||||
}
|
||||
|
||||
$selected_month = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0;
|
||||
$m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0;
|
||||
?>
|
||||
<label for="filter-by-date" class="screen-reader-text"><?php echo get_post_type_object( $post_type )->labels->filter_by_date; ?></label>
|
||||
<select name="m" id="filter-by-date">
|
||||
<option<?php selected( $selected_month, 0 ); ?> value="0"><?php _e( 'All dates' ); ?></option>
|
||||
<option<?php selected( $m, 0 ); ?> value="0"><?php _e( 'All dates' ); ?></option>
|
||||
<?php
|
||||
foreach ( $months as $arc_row ) {
|
||||
if ( 0 === (int) $arc_row->year ) {
|
||||
|
|
@ -779,10 +779,10 @@ class WP_List_Table {
|
|||
|
||||
printf(
|
||||
"<option %s value='%s'>%s</option>\n",
|
||||
selected( $selected_month, $year . $month, false ),
|
||||
esc_attr( $year . $month ),
|
||||
selected( $m, $year . $month, false ),
|
||||
esc_attr( $arc_row->year . $month ),
|
||||
/* translators: 1: Month name, 2: 4-digit year. */
|
||||
esc_html( sprintf( __( '%1$s %2$d' ), $wp_locale->get_month( $month ), $year ) )
|
||||
sprintf( __( '%1$s %2$d' ), $wp_locale->get_month( $month ), $year )
|
||||
);
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -333,7 +333,7 @@ final class WP_Privacy_Policy_Content {
|
|||
return;
|
||||
}
|
||||
|
||||
$message = __( 'Need help putting together your new Privacy Policy page? Check out the guide for recommendations on what content to include, along with policies suggested by your plugins and theme.' );
|
||||
$message = __( 'Need help putting together your new Privacy Policy page? Check out our guide for recommendations on what content to include, along with policies suggested by your plugins and theme.' );
|
||||
$url = esc_url( admin_url( 'options-privacy.php?tab=policyguide' ) );
|
||||
$label = __( 'View Privacy Policy Guide.' );
|
||||
|
||||
|
|
@ -378,14 +378,14 @@ final class WP_Privacy_Policy_Content {
|
|||
public static function privacy_policy_guide() {
|
||||
|
||||
$content_array = self::get_suggested_policy_text();
|
||||
$content = '';
|
||||
$date_format = __( 'F j, Y' );
|
||||
|
||||
$i = 0;
|
||||
|
||||
foreach ( $content_array as $section ) {
|
||||
++$i;
|
||||
|
||||
$class = '';
|
||||
$meta = '';
|
||||
$removed = '';
|
||||
|
||||
if ( ! empty( $section['removed'] ) ) {
|
||||
$badge_class = ' red';
|
||||
$date = date_i18n( $date_format, $section['removed'] );
|
||||
|
|
@ -409,9 +409,11 @@ final class WP_Privacy_Policy_Content {
|
|||
}
|
||||
|
||||
$plugin_name = esc_html( $section['plugin_name'] );
|
||||
|
||||
$sanitized_policy_name = sanitize_title_with_dashes( $plugin_name );
|
||||
?>
|
||||
<h4 class="privacy-settings-accordion-heading">
|
||||
<button aria-expanded="false" class="privacy-settings-accordion-trigger" aria-controls="privacy-settings-accordion-block-<?php echo $i; ?>" type="button">
|
||||
<button aria-expanded="false" class="privacy-settings-accordion-trigger" aria-controls="privacy-settings-accordion-block-<?php echo $sanitized_policy_name; ?>" type="button">
|
||||
<span class="title"><?php echo $plugin_name; ?></span>
|
||||
<?php if ( ! empty( $section['removed'] ) || ! empty( $section['updated'] ) ) : ?>
|
||||
<span class="badge <?php echo $badge_class; ?>"> <?php echo $badge_title; ?></span>
|
||||
|
|
@ -419,7 +421,7 @@ final class WP_Privacy_Policy_Content {
|
|||
<span class="icon"></span>
|
||||
</button>
|
||||
</h4>
|
||||
<div id="privacy-settings-accordion-block-<?php echo $i; ?>" class="privacy-settings-accordion-panel privacy-text-box-body" hidden="hidden">
|
||||
<div id="privacy-settings-accordion-block-<?php echo $sanitized_policy_name; ?>" class="privacy-settings-accordion-panel privacy-text-box-body" hidden="hidden">
|
||||
<?php
|
||||
echo $removed;
|
||||
echo $section['policy_text'];
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user