mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-20 12:54:00 +02:00
This changeset introduces several changes around usability when recovery mode is active: * Display a notice in the admin clarifying that the user is in recovery mode. * Use a highlight color for the admin bar link to exit recovery mode. * Exit recovery mode automatically when logging out. * Include a recovery mode indicator in the title tag. Props aandrewdixon, azaozz, dhanukanuwan, flixos90, henrywright, karmatosed, mapk, melchoyce, spacedmonkey, TimothyBlynJacobs, tinkerbelly. See #46608. Built from https://develop.svn.wordpress.org/trunk@45117 git-svn-id: http://core.svn.wordpress.org/trunk@44926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
63 lines
2.0 KiB
SCSS
63 lines
2.0 KiB
SCSS
// assign default value to all undefined variables
|
|
|
|
|
|
// core variables
|
|
|
|
$text-color: #fff !default;
|
|
$base-color: #23282d !default;
|
|
$icon-color: hsl( hue( $base-color ), 7%, 95% ) !default;
|
|
$highlight-color: #0073aa !default;
|
|
$notification-color: #d54e21 !default;
|
|
|
|
|
|
// global
|
|
|
|
$body-background: #f1f1f1 !default;
|
|
|
|
$link: #0073aa !default;
|
|
$link-focus: lighten( $link, 10% ) !default;
|
|
|
|
$button-color: $highlight-color !default;
|
|
$form-checked: $highlight-color !default;
|
|
|
|
|
|
// admin menu & admin-bar
|
|
|
|
$menu-text: $text-color !default;
|
|
$menu-icon: $icon-color !default;
|
|
$menu-background: $base-color !default;
|
|
|
|
$menu-highlight-text: $text-color !default;
|
|
$menu-highlight-icon: $text-color !default;
|
|
$menu-highlight-background: $highlight-color !default;
|
|
|
|
$menu-current-text: $menu-highlight-text !default;
|
|
$menu-current-icon: $menu-highlight-icon !default;
|
|
$menu-current-background: $menu-highlight-background !default;
|
|
|
|
$menu-submenu-text: mix( $base-color, $text-color, 30% ) !default;
|
|
$menu-submenu-background: darken( $base-color, 7% ) !default;
|
|
$menu-submenu-background-alt: desaturate( lighten( $menu-background, 7% ), 7% ) !default;
|
|
|
|
$menu-submenu-focus-text: $highlight-color !default;
|
|
$menu-submenu-current-text: $text-color !default;
|
|
|
|
$menu-bubble-text: $text-color !default;
|
|
$menu-bubble-background: $notification-color !default;
|
|
$menu-bubble-current-text: $text-color !default;
|
|
$menu-bubble-current-background: $menu-submenu-background !default;
|
|
|
|
$menu-collapse-text: $menu-icon !default;
|
|
$menu-collapse-icon: $menu-icon !default;
|
|
$menu-collapse-focus-text: $text-color !default;
|
|
$menu-collapse-focus-icon: $menu-highlight-icon !default;
|
|
|
|
$adminbar-avatar-frame: lighten( $menu-background, 7% ) !default;
|
|
$adminbar-input-background: lighten( $menu-background, 7% ) !default;
|
|
|
|
$adminbar-recovery-exit-text: $menu-bubble-text !default;
|
|
$adminbar-recovery-exit-background: $menu-bubble-background !default;
|
|
$adminbar-recovery-exit-background-alt: mix(black, $adminbar-recovery-exit-background, 10%) !default;
|
|
|
|
$menu-customizer-text: mix( $base-color, $text-color, 40% ) !default;
|