mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-02 16:59:35 +01:00
c6d8f995cd
Props atimmer. Merges [43886] to trunk. See #45156. Built from https://develop.svn.wordpress.org/trunk@44245 git-svn-id: http://core.svn.wordpress.org/trunk@44075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
140 lines
3.4 KiB
CSS
140 lines
3.4 KiB
CSS
/**
|
|
* Colors
|
|
*/
|
|
/**
|
|
* Breakpoints & Media Queries
|
|
*/
|
|
/**
|
|
* Often re-used variables
|
|
*/
|
|
/**
|
|
* Breakpoint mixins
|
|
*/
|
|
/**
|
|
* Long content fade mixin
|
|
*
|
|
* Creates a fading overlay to signify that the content is longer
|
|
* than the space allows.
|
|
*/
|
|
/**
|
|
* Button states and focus styles
|
|
*/
|
|
/**
|
|
* Applies editor left position to the selector passed as argument
|
|
*/
|
|
/**
|
|
* Applies editor right position to the selector passed as argument
|
|
*/
|
|
/**
|
|
* Styles that are reused verbatim in a few places
|
|
*/
|
|
@keyframes fade-in {
|
|
from {
|
|
opacity: 0; }
|
|
to {
|
|
opacity: 1; } }
|
|
|
|
@keyframes editor_region_focus {
|
|
from {
|
|
box-shadow: inset 0 0 0 0 #33b3db; }
|
|
to {
|
|
box-shadow: inset 0 0 0 4px #33b3db; } }
|
|
|
|
@keyframes rotation {
|
|
from {
|
|
transform: rotate(0deg); }
|
|
to {
|
|
transform: rotate(-360deg); } }
|
|
|
|
@keyframes modal-appear {
|
|
from {
|
|
margin-top: 32px; }
|
|
to {
|
|
margin-top: 0; } }
|
|
|
|
.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);
|
|
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 {
|
|
padding: 5px 20px 5px 41px;
|
|
width: 350px; }
|
|
@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.is-top {
|
|
margin-top: -4px; }
|
|
|
|
.nux-dot-tip.is-bottom {
|
|
margin-top: 4px; }
|
|
|
|
.nux-dot-tip.is-middle.is-left {
|
|
margin-right: -4px; }
|
|
|
|
.nux-dot-tip.is-middle.is-right {
|
|
margin-right: 4px; }
|
|
|
|
.nux-dot-tip.is-top .components-popover__content {
|
|
margin-bottom: 20px; }
|
|
|
|
.nux-dot-tip.is-bottom .components-popover__content {
|
|
margin-top: 20px; }
|
|
|
|
.nux-dot-tip.is-middle.is-left .components-popover__content {
|
|
margin-left: 20px; }
|
|
|
|
.nux-dot-tip.is-middle.is-right .components-popover__content {
|
|
margin-right: 20px; }
|
|
|
|
.nux-dot-tip:not(.is-mobile).is-left, .nux-dot-tip:not(.is-mobile).is-center, .nux-dot-tip:not(.is-mobile).is-right {
|
|
z-index: 1000001; }
|
|
@media (max-width: 600px) {
|
|
.nux-dot-tip:not(.is-mobile).is-left .components-popover__content, .nux-dot-tip:not(.is-mobile).is-center .components-popover__content, .nux-dot-tip:not(.is-mobile).is-right .components-popover__content {
|
|
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(.is-mobile):not(.is-middle).is-right .components-popover__content {
|
|
margin-left: 0; }
|
|
|
|
.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content {
|
|
margin-right: 0; }
|
|
|
|
.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content {
|
|
margin-left: -12px; }
|
|
|
|
.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content {
|
|
margin-right: -12px; }
|