Style intro.js highlight helper layer & tooltips to go nice with WP

[MAILPOET-1446]
This commit is contained in:
Jan Jakeš
2018-08-04 19:17:28 +02:00
committed by pavel-mailpoet
parent 5621ab22bc
commit fe248ffde7
3 changed files with 31 additions and 0 deletions

View File

@@ -34,3 +34,4 @@
@require 'newsletter_templates'
@require 'welcome_wizard'
@require 'intro'

18
assets/css/src/intro.styl Normal file
View File

@@ -0,0 +1,18 @@
.mailpoet-intro-active #adminmenuback
z-index: auto;
#adminmenu li.introjs-showElement
background: inherit
.introjs-helperLayer
border: none
border-radius: 3px
background-color: rgba(255, 255, 255, .7)
.introjs-tooltip
min-width: 240px
// fix for wrong bottom-up tooltip vertical align, bottom-up tooltips
// have (negative) 'top' set in intro.js, no other way to select them
&[style*="top:"]
margin-top: -8px