Mailspring/static/components/tutorial-overlay.less

84 lines
8.3 KiB
Text
Raw Normal View History

tutorial-tip-background {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 20;
pointer-events: none;
opacity: 0;
transition: opacity ease-in-out 250ms;
background-color: rgba(0,0,0,0.25);
-webkit-mask-image: linear-gradient(to top, #fff 0%, #aaa 100%), url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAAt1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABa5Z9DAAAAPHRSTlMABgsQLSgUGDMcOCPy7TxlQCD6dkilTET2zYJgqplQxFhUv1xpcW3kkHrohuDRutmu1ZS2oMiyfordnY2UR3hBAAAS+UlEQVR42uyW2Y4TMRRE2QkgQSI2se8IhECIXfD//4VMOT4uX5sWCt10gOJlZh6Qzqm6Tk78z//8gZzUP3Ji/+/vjqgn8rdqcMh/S0Nb+6lx/kIJHfLp/CUSaL5hPz3KwMJxOoB9DD4t4kiHQPc99nPj9Cwc4Q4ifCQ/36bjAQnHtAOnhx3uiWDBJBzJDHr0jn7h53EN7mDtMzhp+AEe9N0oaDAJOFj1CiI98E5+aZTiAQvBwVpXAD70NbyTn+3FPVQScLDaGTi+0wse8MlgoeNgjSvQ7Xfwga/Zz5AYLNQSooJVjQD8QA98IN94ggckmIP1rUD4lO/0wDv3RdCbv0QJ7kAzWM0KBvjQA19ISUwziNrBChWk4/fx5/KhB97QL/diGpCAg/RfS8FK3gLVDz7lQw98Db7tBRFIwIFmUBT8+RFQf4NvywfeyW/GuAck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 128px 128px;
}
tutorial-tip-background.visible {
pointer-events: inherit;
opacity: 1;
}
.tutorial-tip {
position: absolute;
width: 13px;
height: 13px;
border-radius: 50%;
display: inline-block;
border: 2px solid white;
cursor: pointer;
pointer-events: none;
z-index: 100;
transform: translate3d(-50%,-50%,0);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(241, 170, 211)), to(rgb(185, 59, 255)));
opacity: 0;
transition: opacity ease-out 100ms;
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.tutorial-tip.visible {
opacity: 1;
}
body {
background: #000;
}
.tutorial-tip.visible:after {
pointer-events: none;
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
content: '';
border: 1px solid rgb(185, 59, 255);
transform-origin: 0.4 0.4;
animation: sonarEffect 3s ease-out 75ms;
animation-iteration-count: infinite;
animation-delay: 1s;
}
@-webkit-keyframes sonarEffect {
0% {
opacity: 0;
}
60% {
opacity: 0;
}
65% {
opacity: 0.5;
transform: scale3d(1, 1, 1);
}
80% {
opacity: 0.4;
transform: scale3d(2.6, 2.6, 2.6);
}
100% {
opacity: 0;
transform: scale3d(3, 3, 3);
}
}