openreplay/frontend/app/components/Session_/Player/Controls/timeline.module.css
2022-06-10 17:11:14 +02:00

166 lines
2.7 KiB
CSS

.positionTracker {
width: 15px;
height: 15px;
outline: solid 1px $teal-dark;
outline-style: inset;
margin-left: -7px;
border-radius: 50%;
background-color: $main;
position: absolute;
left: 0;
z-index: 98;
top: 3px;
transition: all 0.2s ease-out;
&:hover,
&:focus {
transition: all 0.1s ease-in;
width: 20px;
height: 20px;
top: 1px;
left: -2px;
}
}
.progress {
height: 10px;
padding: 8px 0;
cursor: pointer;
width: 100%;
position: relative;
display: flex;
align-items: center;
}
.skipInterval {
position: absolute;
top: 3px;
height: 10px;
bottom: 0;
background: repeating-linear-gradient( 125deg, #efefef, #efefef 3px, #ddd 3px, #efefef 5px );
pointer-events: none;
z-index: 2;
}
.event {
position: absolute;
width: 2px;
height: 10px;
background: $main;
z-index: 3;
pointer-events: none;
/* top: 0; */
/* bottom: 0; */
/* &:hover {
width: 10px;
height: 10px;
margin-left: -6px;
z-index: 1;
};*/
}
/* .event.click, .event.input {
background: $green;
}
.event.location {
background: $blue;
} */
.markup {
position: absolute;
width: 2px;
height: 8px;
margin-left: -8px;
&:hover {
z-index: 9999;
}
}
/* .markup.log {
background: $blue;
}
.markup.error {
background: $red;
}
.markup.warning {
background: $orange;
} */
.markup.info {
background: $blue2;
}
.popup {
max-width: 300px !important;
/* max-height: 300px !important; */
overflow: hidden;
text-overflow: ellipsis;
& span {
display: block;
max-height: 200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.timeline {
overflow: hidden;
position: absolute;
left: 0;
right: 0;
height: 10px;
border: 1px solid $gray-light;
display: flex;
align-items: center;
}
.clickRage {
position: absolute;
width: 2px;
height: 8px;
margin-left: -1px;
/* background: $red; */
}
.returningLocation {
position: absolute;
height: 20%;
border-radius: 50%;
/* background: $red; */
width: 12px;
}
.feedbackIcon {
position: absolute;
margin-top: -20px;
margin-left: -9px;
background-color: $gray-lightest;
padding: 2px;
box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.1);
& .tooltipArrow {
width: 50px;
height: 25px;
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
overflow: hidden;
&::after {
content: "";
position: absolute;
width: 6px;
height: 6px;
background: $gray-lightest;
transform: translateX(-50%) translateY(50%) rotate(45deg);
bottom: 100%;
left: 50%;
box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.1);
}
}
}