mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 10:22:23 +01:00
2aa1b8ff48
- @wordpress/a11y@2.2.0 - @wordpress/annotations@1.2.0 - @wordpress/api-fetch@3.1.0 - @wordpress/autop@2.2.0 - @wordpress/babel-plugin-import-jsx-pragma@2.1.0 - @wordpress/babel-preset-default@4.1.0 - @wordpress/blob@2.3.0 - @wordpress/block-editor@1.1.0 - @wordpress/block-library@2.4.0 - @wordpress/block-serialization-default-parser@3.1.0 - @wordpress/blocks@6.2.0 - @wordpress/components@7.2.0 - @wordpress/compose@3.2.0 - @wordpress/core-data@2.2.0 - @wordpress/data@4.4.0 - @wordpress/date@3.2.0 - @wordpress/deprecated@2.2.0 - @wordpress/docgen@1.1.0 - @wordpress/dom-ready@2.2.0 - @wordpress/dom@2.2.0 - @wordpress/e2e-test-utils@1.1.0 - @wordpress/e2e-tests@1.1.0 - @wordpress/edit-post@3.3.0 - @wordpress/edit-widgets@0.2.0 - @wordpress/editor@9.2.0 - @wordpress/element@2.3.0 - @wordpress/escape-html@1.2.0 - @wordpress/eslint-plugin@2.1.0 - @wordpress/format-library@1.4.0 - @wordpress/hooks@2.2.0 - @wordpress/html-entities@2.2.0 - @wordpress/i18n@3.3.0 - @wordpress/keycodes@2.2.0 - @wordpress/list-reusable-blocks@1.3.0 - @wordpress/notices@1.3.0 - @wordpress/nux@3.2.0 - @wordpress/plugins@2.2.0 - @wordpress/priority-queue@1.1.0 - @wordpress/redux-routine@3.2.0 - @wordpress/rich-text@3.2.0 - @wordpress/scripts@3.1.0 - @wordpress/shortcode@2.2.0 - @wordpress/url@2.5.0 - @wordpress/viewport@2.3.0 - @wordpress/wordcount@2.2.0 Built from https://develop.svn.wordpress.org/trunk@44960 git-svn-id: http://core.svn.wordpress.org/trunk@44791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
123 lines
3.1 KiB
CSS
123 lines
3.1 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
|
|
*/
|
|
/**
|
|
* Allows users to opt-out of animations via OS-level preferences.
|
|
*/
|
|
.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;
|
|
left: -12px;
|
|
top: -12px;
|
|
transform: scale(0.33333);
|
|
width: 24px; }
|
|
|
|
.nux-dot-tip::after {
|
|
background: #00739c;
|
|
height: 8px;
|
|
left: -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 41px 5px 20px;
|
|
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;
|
|
right: 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-left: -4px; }
|
|
|
|
.nux-dot-tip.is-middle.is-right {
|
|
margin-left: 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-right: 20px; }
|
|
|
|
.nux-dot-tip.is-middle.is-right .components-popover__content {
|
|
margin-left: 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;
|
|
left: 5px;
|
|
margin: 20px 0 0 0;
|
|
max-width: none !important;
|
|
position: fixed;
|
|
right: 5px;
|
|
width: auto; } }
|
|
|
|
.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content {
|
|
/*!rtl:ignore*/
|
|
margin-left: 0; }
|
|
|
|
.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content {
|
|
/*!rtl:ignore*/
|
|
margin-right: 0; }
|
|
|
|
.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content {
|
|
/*!rtl:ignore*/
|
|
margin-left: -12px; }
|
|
|
|
.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content {
|
|
/*!rtl:ignore*/
|
|
margin-right: -12px; }
|