openreplay/frontend/app/components/Session_/Player/Controls/timeline.module.css
Andrey Babushkin 9ed3cb1b7e
Add searched events (#3361)
* add filtered events to search

* removed consoles

* changed styles to tailwind

* changed styles to tailwind

* fixed errors
2025-05-05 17:40:10 +02:00

224 lines
No EOL
3.8 KiB
CSS

.positionTracker {
width: 15px;
height: 15px;
box-shadow: 0 0 0 1px #2331A8;
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;
}
}
.greenTracker {
background-color: #42AE5E!important;
box-shadow: 0 0 0 1px #42AE5E;
}
.progress {
height: 10px;
padding: 8px 0;
cursor: pointer;
width: 100%;
max-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.click, .event.input {
background: $green;
}
.event.location {
background: $blue;
} */
.redEvent {
position: absolute;
width: 2px;
height: 10px;
background: $red;
z-index: 3;
pointer-events: none;
/* top: 0; */
/* bottom: 0; */
/* &:hover {
width: 10px;
height: 10px;
margin-left: -6px;
z-index: 1;
};*/
}
.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-lighter;
display: flex;
align-items: center;
background: white;
}
.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);
}
}
}
.timeTooltip {
position: absolute;
padding: 0.25rem;
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
background: black;
top: -35px;
color: white;
&:after {
content:'';
position: absolute;
top: 100%;
left: 0;
right: 0;
margin: 0 auto;
width: 0;
height: 0;
border-top: solid 5px black;
border-left: solid 5px transparent;
border-right: solid 5px transparent;
}
}
.stripes {
background-size: 30px 30px;
width: 100%;
height: 100%;
background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.15) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.15) 75%, transparent 75%, transparent);
animation: animate-stripes 1.5s linear infinite;
animation-direction: reverse;
}
.saved-highlight {
position: absolute;
height: 10px;
background: rgba(252, 193, 0, 0.4);
z-index: 2;
pointer-events: none;
}
@keyframes animate-stripes {
0% {
background-position: 0 0;
}
100% {
background-position: 60px 0;
}
}