|
1 /** |
|
2 * Colors |
|
3 */ |
|
4 /** |
|
5 * Breakpoints & Media Queries |
|
6 */ |
|
7 /** |
|
8 * Often re-used variables |
|
9 */ |
|
10 /** |
|
11 * Breakpoint mixins |
|
12 */ |
|
13 /** |
|
14 * Long content fade mixin |
|
15 * |
|
16 * Creates a fading overlay to signify that the content is longer |
|
17 * than the space allows. |
|
18 */ |
|
19 /** |
|
20 * Button states and focus styles |
|
21 */ |
|
22 /** |
|
23 * Applies editor left position to the selector passed as argument |
|
24 */ |
|
25 /** |
|
26 * Applies editor right position to the selector passed as argument |
|
27 */ |
|
28 /** |
|
29 * Styles that are reused verbatim in a few places |
|
30 */ |
|
31 /** |
|
32 * Allows users to opt-out of animations via OS-level preferences. |
|
33 */ |
|
34 .nux-dot-tip::before, .nux-dot-tip::after { |
|
35 border-radius: 100%; |
|
36 content: " "; |
|
37 pointer-events: none; |
|
38 position: absolute; } |
|
39 |
|
40 .nux-dot-tip::before { |
|
41 animation: nux-pulse 1.6s infinite cubic-bezier(0.17, 0.67, 0.92, 0.62); |
|
42 background: rgba(0, 115, 156, 0.9); |
|
43 height: 24px; |
|
44 right: -12px; |
|
45 top: -12px; |
|
46 transform: scale(0.33333); |
|
47 width: 24px; } |
|
48 |
|
49 .nux-dot-tip::after { |
|
50 background: #00739c; |
|
51 height: 8px; |
|
52 right: -4px; |
|
53 top: -4px; |
|
54 width: 8px; } |
|
55 |
|
56 @keyframes nux-pulse { |
|
57 100% { |
|
58 background: rgba(0, 115, 156, 0); |
|
59 transform: scale(1); } } |
|
60 |
|
61 .nux-dot-tip .components-popover__content { |
|
62 padding: 5px 20px 5px 41px; |
|
63 width: 350px; } |
|
64 @media (min-width: 600px) { |
|
65 .nux-dot-tip .components-popover__content { |
|
66 width: 450px; } } |
|
67 .nux-dot-tip .components-popover__content .nux-dot-tip__disable { |
|
68 position: absolute; |
|
69 left: 0; |
|
70 top: 0; } |
|
71 |
|
72 .nux-dot-tip.is-top { |
|
73 margin-top: -4px; } |
|
74 |
|
75 .nux-dot-tip.is-bottom { |
|
76 margin-top: 4px; } |
|
77 |
|
78 .nux-dot-tip.is-middle.is-left { |
|
79 margin-right: -4px; } |
|
80 |
|
81 .nux-dot-tip.is-middle.is-right { |
|
82 margin-right: 4px; } |
|
83 |
|
84 .nux-dot-tip.is-top .components-popover__content { |
|
85 margin-bottom: 20px; } |
|
86 |
|
87 .nux-dot-tip.is-bottom .components-popover__content { |
|
88 margin-top: 20px; } |
|
89 |
|
90 .nux-dot-tip.is-middle.is-left .components-popover__content { |
|
91 margin-left: 20px; } |
|
92 |
|
93 .nux-dot-tip.is-middle.is-right .components-popover__content { |
|
94 margin-right: 20px; } |
|
95 |
|
96 .nux-dot-tip:not(.is-mobile).is-left, .nux-dot-tip:not(.is-mobile).is-center, .nux-dot-tip:not(.is-mobile).is-right { |
|
97 z-index: 1000001; } |
|
98 @media (max-width: 600px) { |
|
99 .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 { |
|
100 align-self: end; |
|
101 right: 5px; |
|
102 margin: 20px 0 0 0; |
|
103 max-width: none !important; |
|
104 position: fixed; |
|
105 left: 5px; |
|
106 width: auto; } } |
|
107 |
|
108 .nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content { |
|
109 margin-left: 0; } |
|
110 |
|
111 .nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content { |
|
112 margin-right: 0; } |
|
113 |
|
114 .nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content { |
|
115 margin-left: -12px; } |
|
116 |
|
117 .nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content { |
|
118 margin-right: -12px; } |