9
|
1 |
/** |
|
2 |
* Colors |
|
3 |
*/ |
|
4 |
/** |
16
|
5 |
* Deprecated colors. |
|
6 |
* Please avoid using these. |
|
7 |
*/ |
|
8 |
/** |
9
|
9 |
* Breakpoints & Media Queries |
|
10 |
*/ |
|
11 |
/** |
16
|
12 |
* Colors |
|
13 |
*/ |
|
14 |
/** |
|
15 |
* Deprecated colors. |
|
16 |
* Please avoid using these. |
|
17 |
*/ |
|
18 |
/** |
|
19 |
* Fonts & basic variables. |
|
20 |
*/ |
|
21 |
/** |
|
22 |
* Grid System. |
|
23 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
|
24 |
*/ |
|
25 |
/** |
|
26 |
* Dimensions. |
|
27 |
*/ |
|
28 |
/** |
|
29 |
* Shadows. |
|
30 |
*/ |
|
31 |
/** |
|
32 |
* Editor widths. |
|
33 |
*/ |
|
34 |
/** |
|
35 |
* Block UI. |
|
36 |
*/ |
|
37 |
/** |
|
38 |
* Border radii. |
9
|
39 |
*/ |
|
40 |
/** |
|
41 |
* Breakpoint mixins |
|
42 |
*/ |
|
43 |
/** |
|
44 |
* Long content fade mixin |
|
45 |
* |
|
46 |
* Creates a fading overlay to signify that the content is longer |
|
47 |
* than the space allows. |
|
48 |
*/ |
|
49 |
/** |
16
|
50 |
* Focus styles. |
9
|
51 |
*/ |
|
52 |
/** |
|
53 |
* Applies editor left position to the selector passed as argument |
|
54 |
*/ |
|
55 |
/** |
|
56 |
* Styles that are reused verbatim in a few places |
|
57 |
*/ |
|
58 |
/** |
|
59 |
* Allows users to opt-out of animations via OS-level preferences. |
|
60 |
*/ |
16
|
61 |
/** |
|
62 |
* Reset default styles for JavaScript UI based pages. |
|
63 |
* This is a WP-admin agnostic reset |
|
64 |
*/ |
|
65 |
/** |
|
66 |
* Reset the WP Admin page styles for Gutenberg-like pages. |
|
67 |
*/ |
|
68 |
:root { |
|
69 |
--wp-admin-theme-color: #007cba; |
|
70 |
--wp-admin-theme-color-darker-10: #006ba1; |
|
71 |
--wp-admin-theme-color-darker-20: #005a87; } |
|
72 |
|
9
|
73 |
.nux-dot-tip::before, .nux-dot-tip::after { |
|
74 |
border-radius: 100%; |
|
75 |
content: " "; |
|
76 |
pointer-events: none; |
|
77 |
position: absolute; } |
|
78 |
|
|
79 |
.nux-dot-tip::before { |
|
80 |
animation: nux-pulse 1.6s infinite cubic-bezier(0.17, 0.67, 0.92, 0.62); |
|
81 |
background: rgba(0, 115, 156, 0.9); |
16
|
82 |
opacity: 0.9; |
9
|
83 |
height: 24px; |
|
84 |
right: -12px; |
|
85 |
top: -12px; |
|
86 |
transform: scale(0.33333); |
|
87 |
width: 24px; } |
|
88 |
|
|
89 |
.nux-dot-tip::after { |
|
90 |
background: #00739c; |
|
91 |
height: 8px; |
|
92 |
right: -4px; |
|
93 |
top: -4px; |
|
94 |
width: 8px; } |
|
95 |
|
|
96 |
@keyframes nux-pulse { |
|
97 |
100% { |
|
98 |
background: rgba(0, 115, 156, 0); |
|
99 |
transform: scale(1); } } |
|
100 |
|
|
101 |
.nux-dot-tip .components-popover__content { |
|
102 |
width: 350px; } |
16
|
103 |
.nux-dot-tip .components-popover__content > div { |
|
104 |
padding: 20px 18px; } |
9
|
105 |
@media (min-width: 600px) { |
|
106 |
.nux-dot-tip .components-popover__content { |
|
107 |
width: 450px; } } |
|
108 |
.nux-dot-tip .components-popover__content .nux-dot-tip__disable { |
|
109 |
position: absolute; |
|
110 |
left: 0; |
|
111 |
top: 0; } |
|
112 |
|
16
|
113 |
.nux-dot-tip[data-y-axis="top"] { |
9
|
114 |
margin-top: -4px; } |
|
115 |
|
16
|
116 |
.nux-dot-tip[data-y-axis="bottom"] { |
9
|
117 |
margin-top: 4px; } |
|
118 |
|
16
|
119 |
.nux-dot-tip[data-y-axis="middle"][data-y-axis="left"] { |
9
|
120 |
margin-right: -4px; } |
|
121 |
|
16
|
122 |
.nux-dot-tip[data-y-axis="middle"][data-y-axis="right"] { |
9
|
123 |
margin-right: 4px; } |
|
124 |
|
16
|
125 |
.nux-dot-tip[data-y-axis="top"] .components-popover__content { |
9
|
126 |
margin-bottom: 20px; } |
|
127 |
|
16
|
128 |
.nux-dot-tip[data-y-axis="bottom"] .components-popover__content { |
9
|
129 |
margin-top: 20px; } |
|
130 |
|
16
|
131 |
.nux-dot-tip[data-y-axis="middle"][data-y-axis="left"] .components-popover__content { |
9
|
132 |
margin-left: 20px; } |
|
133 |
|
16
|
134 |
.nux-dot-tip[data-y-axis="middle"][data-y-axis="right"] .components-popover__content { |
9
|
135 |
margin-right: 20px; } |
|
136 |
|
16
|
137 |
.nux-dot-tip[data-y-axis="left"], .nux-dot-tip[data-y-axis="center"], .nux-dot-tip[data-y-axis="right"] { |
9
|
138 |
z-index: 1000001; } |
|
139 |
@media (max-width: 600px) { |
16
|
140 |
.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 { |
|
141 |
-ms-grid-row-align: end; |
|
142 |
align-self: end; |
9
|
143 |
right: 5px; |
|
144 |
margin: 20px 0 0 0; |
|
145 |
max-width: none !important; |
|
146 |
position: fixed; |
|
147 |
left: 5px; |
|
148 |
width: auto; } } |
|
149 |
|
16
|
150 |
.nux-dot-tip.components-popover:not([data-y-axis="middle"])[data-y-axis="right"] .components-popover__content { |
9
|
151 |
margin-left: 0; } |
|
152 |
|
16
|
153 |
.nux-dot-tip.components-popover:not([data-y-axis="middle"])[data-y-axis="left"] .components-popover__content { |
9
|
154 |
margin-right: 0; } |
|
155 |
|
16
|
156 |
.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis="middle"])[data-y-axis="right"] .components-popover__content { |
9
|
157 |
margin-left: -12px; } |
|
158 |
|
16
|
159 |
.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis="middle"])[data-y-axis="left"] .components-popover__content { |
9
|
160 |
margin-right: -12px; } |