fonts
9 months ago
vendor
8 months ago
admin-notices.css
7 months ago
admin.build.css
7 months ago
admin.css
8 months ago
analytics.build.css
9 months ago
blocks.build.css
8 months ago
carousel.min.css
2 years ago
el-icon.css
3 years ago
embedpress-elementor.css
2 years ago
embedpress.css
7 months ago
feature-notices.css
8 months ago
font.css
7 years ago
glider.min.css
2 years ago
index.html
7 years ago
meetup-events.css
8 months ago
modal.css
8 months ago
plyr.css
9 months ago
preview.css
6 years ago
settings-icons.css
9 months ago
settings.css
7 months ago
feature-notices.css
247 lines
| 1 | /** |
| 2 | * EmbedPress Feature Tooltip |
| 3 | * Tooltip/popover notice that appears next to the EmbedPress menu |
| 4 | * |
| 5 | * @package EmbedPress |
| 6 | * @since 4.1.0 |
| 7 | */ |
| 8 | |
| 9 | |
| 10 | /* Menu Badge - Small dot indicator */ |
| 11 | .embedpress-menu-badge { |
| 12 | display: inline-block; |
| 13 | width: 8px; |
| 14 | height: 8px; |
| 15 | margin-left: 8px; |
| 16 | background: #d63638; |
| 17 | border-radius: 50%; |
| 18 | vertical-align: middle; |
| 19 | position: relative; |
| 20 | top: -2px; |
| 21 | } |
| 22 | |
| 23 | /* Make menu item relative for absolute positioning */ |
| 24 | #toplevel_page_embedpress { |
| 25 | position: relative; |
| 26 | } |
| 27 | |
| 28 | /* Tooltip Container */ |
| 29 | .embedpress-feature-tooltip { |
| 30 | position: absolute; |
| 31 | left: 100%; |
| 32 | top: 0; |
| 33 | margin-left: 0; |
| 34 | width: 340px; |
| 35 | background: #fff; |
| 36 | /* border: 1px solid #e0e0e0; */ |
| 37 | border-radius: 15px; |
| 38 | box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); |
| 39 | z-index: 999999; |
| 40 | font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| 41 | transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out; |
| 42 | } |
| 43 | |
| 44 | /* Tooltip Arrow */ |
| 45 | .embedpress-feature-tooltip__arrow { |
| 46 | position: absolute; |
| 47 | left: -10px; |
| 48 | top: 24px; |
| 49 | width: 0; |
| 50 | height: 0; |
| 51 | border-top: 10px solid transparent; |
| 52 | border-bottom: 10px solid transparent; |
| 53 | border-right: 10px solid #fff; |
| 54 | z-index: 2; |
| 55 | } |
| 56 | |
| 57 | .embedpress-feature-tooltip__arrow::before { |
| 58 | content: ''; |
| 59 | position: absolute; |
| 60 | left: 1px; |
| 61 | top: -11px; |
| 62 | width: 0; |
| 63 | height: 0; |
| 64 | border-top: 11px solid transparent; |
| 65 | border-bottom: 11px solid transparent; |
| 66 | border-right: 11px solid #fff; |
| 67 | z-index: 1; |
| 68 | } |
| 69 | |
| 70 | /* Close Button */ |
| 71 | .embedpress-feature-tooltip__close { |
| 72 | position: absolute; |
| 73 | top: 12px; |
| 74 | right: 12px; |
| 75 | padding: 0; |
| 76 | background: none; |
| 77 | border: none; |
| 78 | cursor: pointer; |
| 79 | color: #999; |
| 80 | line-height: 1; |
| 81 | transition: color 0.2s; |
| 82 | } |
| 83 | |
| 84 | .embedpress-feature-tooltip__close:hover { |
| 85 | color: #333; |
| 86 | } |
| 87 | |
| 88 | .embedpress-feature-tooltip__close .dashicons { |
| 89 | width: 16px; |
| 90 | height: 16px; |
| 91 | font-size: 20px; |
| 92 | margin-right: 6px; |
| 93 | margin-top: 4px; |
| 94 | } |
| 95 | |
| 96 | /* Header */ |
| 97 | .embedpress-feature-tooltip__header { |
| 98 | display: flex; |
| 99 | align-items: center; |
| 100 | gap: 8px; |
| 101 | padding: 14px 0; |
| 102 | border-bottom: 1px solid #f8f1ff; |
| 103 | margin: 0 20px; |
| 104 | padding-bottom: 12px; |
| 105 | } |
| 106 | |
| 107 | span.embedpress-feature-tooltip__icon { |
| 108 | width: 24px; |
| 109 | height: 24px; |
| 110 | display: flex; |
| 111 | align-items: center; |
| 112 | background: #E8EEFA; |
| 113 | justify-content: center; |
| 114 | border-radius: 50px; |
| 115 | } |
| 116 | |
| 117 | .embedpress-feature-tooltip__title { |
| 118 | margin: 0; |
| 119 | font-size: 16px; |
| 120 | font-weight: 500; |
| 121 | color: #25396F; |
| 122 | line-height: 1.3; |
| 123 | } |
| 124 | |
| 125 | /* Content */ |
| 126 | .embedpress-feature-tooltip__content { |
| 127 | padding: 16px 20px 18px; |
| 128 | } |
| 129 | |
| 130 | .embedpress-feature-tooltip__message { |
| 131 | margin: 0 0 18px; |
| 132 | font-size: 14px; |
| 133 | line-height: 1.6; |
| 134 | color: #25396F; |
| 135 | } |
| 136 | |
| 137 | .embedpress-feature-tooltip__message p { |
| 138 | margin: 0 0 10px; |
| 139 | } |
| 140 | |
| 141 | .embedpress-feature-tooltip__message p:last-child { |
| 142 | margin-bottom: 0; |
| 143 | } |
| 144 | |
| 145 | /* Actions */ |
| 146 | .embedpress-feature-tooltip__actions { |
| 147 | display: flex; |
| 148 | gap: 30px; |
| 149 | align-items: center; |
| 150 | } |
| 151 | |
| 152 | .embedpress-feature-tooltip__skip { |
| 153 | padding: 0; |
| 154 | background: transparent; |
| 155 | border: none; |
| 156 | font-size: 14px; |
| 157 | font-weight: 500; |
| 158 | color: #5B4D96; |
| 159 | cursor: pointer; |
| 160 | transition: all 0.2s; |
| 161 | text-decoration: underline; |
| 162 | } |
| 163 | |
| 164 | .embedpress-feature-tooltip__skip:hover { |
| 165 | color: #4f46e5; |
| 166 | text-decoration: underline; |
| 167 | } |
| 168 | |
| 169 | .embedpress-feature-tooltip__button { |
| 170 | padding: 0px 14px !important; |
| 171 | background: #5B4D96; |
| 172 | border: none; |
| 173 | border-radius: 5px; |
| 174 | font-size: 14px; |
| 175 | font-weight: 400; |
| 176 | color: #fff !important; |
| 177 | cursor: pointer; |
| 178 | transition: all 0.2s; |
| 179 | text-decoration: none; |
| 180 | border-radius: 8px; |
| 181 | line-height: 0 !important; |
| 182 | height: 35px; |
| 183 | display: flex !important; |
| 184 | align-items: center; |
| 185 | } |
| 186 | |
| 187 | .embedpress-feature-tooltip__button:hover { |
| 188 | box-shadow: none !important; |
| 189 | transition: none !important; |
| 190 | } |
| 191 | |
| 192 | .embedpress-feature-tooltip__button:focus, |
| 193 | .embedpress-feature-tooltip__skip:focus { |
| 194 | outline: 2px solid #6366f1; |
| 195 | outline-offset: 2px; |
| 196 | } |
| 197 | |
| 198 | /* Animations */ |
| 199 | /* @keyframes tooltipFadeIn { |
| 200 | from { |
| 201 | opacity: 0; |
| 202 | transform: translateY(-50%) translateX(-10px); |
| 203 | } |
| 204 | |
| 205 | to { |
| 206 | opacity: 1; |
| 207 | transform: translateY(-50%) translateX(0); |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | @keyframes tooltipFadeOut { |
| 212 | from { |
| 213 | opacity: 1; |
| 214 | transform: translateY(-50%) translateX(0); |
| 215 | } |
| 216 | |
| 217 | to { |
| 218 | opacity: 0; |
| 219 | transform: translateY(-50%) translateX(-10px); |
| 220 | } |
| 221 | } */ |
| 222 | |
| 223 | .embedpress-feature-tooltip--dismissing { |
| 224 | animation: tooltipFadeOut 0.3s ease-out forwards; |
| 225 | } |
| 226 | |
| 227 | /* Responsive */ |
| 228 | @media screen and (max-width: 782px) { |
| 229 | .embedpress-feature-tooltip { |
| 230 | left: 50%; |
| 231 | top: 50%; |
| 232 | transform: translate(-50%, -50%); |
| 233 | width: calc(100% - 40px); |
| 234 | max-width: 320px; |
| 235 | } |
| 236 | |
| 237 | .embedpress-feature-tooltip__arrow { |
| 238 | display: none; |
| 239 | } |
| 240 | } |
| 241 | |
| 242 | /* Mobile menu (folded) */ |
| 243 | @media screen and (max-width: 960px) { |
| 244 | body.auto-fold .embedpress-feature-tooltip { |
| 245 | left: 36px; |
| 246 | } |
| 247 | } |