mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-02 16:59:35 +01:00
c3e3c7ed6c
Fixes #50589. Built from https://develop.svn.wordpress.org/trunk@48379 git-svn-id: http://core.svn.wordpress.org/trunk@48148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
161 lines
3.8 KiB
CSS
161 lines
3.8 KiB
CSS
/**
|
|
* Colors
|
|
*/
|
|
/**
|
|
* Deprecated colors.
|
|
* Please avoid using these.
|
|
*/
|
|
/**
|
|
* Breakpoints & Media Queries
|
|
*/
|
|
/**
|
|
* Colors
|
|
*/
|
|
/**
|
|
* Deprecated colors.
|
|
* Please avoid using these.
|
|
*/
|
|
/**
|
|
* Fonts & basic variables.
|
|
*/
|
|
/**
|
|
* Grid System.
|
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
*/
|
|
/**
|
|
* Dimensions.
|
|
*/
|
|
/**
|
|
* Shadows.
|
|
*/
|
|
/**
|
|
* Editor widths.
|
|
*/
|
|
/**
|
|
* Block UI.
|
|
*/
|
|
/**
|
|
* Border radii.
|
|
*/
|
|
/**
|
|
* Breakpoint mixins
|
|
*/
|
|
/**
|
|
* Long content fade mixin
|
|
*
|
|
* Creates a fading overlay to signify that the content is longer
|
|
* than the space allows.
|
|
*/
|
|
/**
|
|
* Focus styles.
|
|
*/
|
|
/**
|
|
* Applies editor left position to the selector passed as argument
|
|
*/
|
|
/**
|
|
* Styles that are reused verbatim in a few places
|
|
*/
|
|
/**
|
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
*/
|
|
/**
|
|
* Reset default styles for JavaScript UI based pages.
|
|
* This is a WP-admin agnostic reset
|
|
*/
|
|
/**
|
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
*/
|
|
:root {
|
|
--wp-admin-theme-color: #007cba;
|
|
--wp-admin-theme-color-darker-10: #006ba1;
|
|
--wp-admin-theme-color-darker-20: #005a87; }
|
|
|
|
.nux-dot-tip::before, .nux-dot-tip::after {
|
|
border-radius: 100%;
|
|
content: " ";
|
|
pointer-events: none;
|
|
position: absolute; }
|
|
|
|
.nux-dot-tip::before {
|
|
animation: nux-pulse 1.6s infinite cubic-bezier(0.17, 0.67, 0.92, 0.62);
|
|
background: rgba(0, 115, 156, 0.9);
|
|
opacity: 0.9;
|
|
height: 24px;
|
|
right: -12px;
|
|
top: -12px;
|
|
transform: scale(0.33333);
|
|
width: 24px; }
|
|
|
|
.nux-dot-tip::after {
|
|
background: #00739c;
|
|
height: 8px;
|
|
right: -4px;
|
|
top: -4px;
|
|
width: 8px; }
|
|
|
|
@keyframes nux-pulse {
|
|
100% {
|
|
background: rgba(0, 115, 156, 0);
|
|
transform: scale(1); } }
|
|
|
|
.nux-dot-tip .components-popover__content {
|
|
width: 350px; }
|
|
.nux-dot-tip .components-popover__content > div {
|
|
padding: 20px 18px; }
|
|
@media (min-width: 600px) {
|
|
.nux-dot-tip .components-popover__content {
|
|
width: 450px; } }
|
|
.nux-dot-tip .components-popover__content .nux-dot-tip__disable {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0; }
|
|
|
|
.nux-dot-tip[data-y-axis="top"] {
|
|
margin-top: -4px; }
|
|
|
|
.nux-dot-tip[data-y-axis="bottom"] {
|
|
margin-top: 4px; }
|
|
|
|
.nux-dot-tip[data-y-axis="middle"][data-y-axis="left"] {
|
|
margin-right: -4px; }
|
|
|
|
.nux-dot-tip[data-y-axis="middle"][data-y-axis="right"] {
|
|
margin-right: 4px; }
|
|
|
|
.nux-dot-tip[data-y-axis="top"] .components-popover__content {
|
|
margin-bottom: 20px; }
|
|
|
|
.nux-dot-tip[data-y-axis="bottom"] .components-popover__content {
|
|
margin-top: 20px; }
|
|
|
|
.nux-dot-tip[data-y-axis="middle"][data-y-axis="left"] .components-popover__content {
|
|
margin-left: 20px; }
|
|
|
|
.nux-dot-tip[data-y-axis="middle"][data-y-axis="right"] .components-popover__content {
|
|
margin-right: 20px; }
|
|
|
|
.nux-dot-tip[data-y-axis="left"], .nux-dot-tip[data-y-axis="center"], .nux-dot-tip[data-y-axis="right"] {
|
|
z-index: 1000001; }
|
|
@media (max-width: 600px) {
|
|
.nux-dot-tip[data-y-axis="left"] .components-popover__content, .nux-dot-tip[data-y-axis="center"] .components-popover__content, .nux-dot-tip[data-y-axis="right"] .components-popover__content {
|
|
-ms-grid-row-align: end;
|
|
align-self: end;
|
|
right: 5px;
|
|
margin: 20px 0 0 0;
|
|
max-width: none !important;
|
|
position: fixed;
|
|
left: 5px;
|
|
width: auto; } }
|
|
|
|
.nux-dot-tip.components-popover:not([data-y-axis="middle"])[data-y-axis="right"] .components-popover__content {
|
|
margin-left: 0; }
|
|
|
|
.nux-dot-tip.components-popover:not([data-y-axis="middle"])[data-y-axis="left"] .components-popover__content {
|
|
margin-right: 0; }
|
|
|
|
.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis="middle"])[data-y-axis="right"] .components-popover__content {
|
|
margin-left: -12px; }
|
|
|
|
.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis="middle"])[data-y-axis="left"] .components-popover__content {
|
|
margin-right: -12px; }
|