43 lines
906 B
CSS
43 lines
906 B
CSS
/* Dims the background */
|
|
.tutorial-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
z-index: 1000;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Tooltip box */
|
|
.tutorial-box {
|
|
position: absolute;
|
|
background: white;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
z-index: 1100;
|
|
max-width: 300px;
|
|
box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
|
|
text-align: center;
|
|
}
|
|
|
|
/* Arrow pointing to the element */
|
|
.tutorial-arrow {
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 10px solid transparent;
|
|
border-right: 10px solid transparent;
|
|
border-bottom: 10px solid white;
|
|
}
|
|
|
|
/* Highlighted element */
|
|
.tutorial-highlight {
|
|
position: relative;
|
|
z-index: 1200;
|
|
box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.8);
|
|
border-radius: 5px;
|
|
} |