All files / src/core styles.ts

100% Statements 7/7
100% Branches 0/0
100% Functions 0/0
100% Lines 7/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 573x                 3x                       3x   3x               3x             3x             3x                      
export const regionsContainerStyles = {
  position: "absolute",
  top: "0",
  left: "0",
  zIndex: "2", // create region container below the waveform
  width: "100%",
  height: "100%",
}
 
export const segmentHighlighterContainerStyles = {
  backgroundColor: "transparent",
  width: "100%",
  height: "100%",
  position: "absolute",
  top: "0",
  left: "0",
  zIndex: "4",
  display: "flex",
  pointerEvents: "none",
}
 
const opacity = "0.25"
 
export const segmentHighlighterLeftStyles = {
  width: "0",
  height: "100%",
  backgroundColor: "black",
  opacity,
  transition: "width .25s linear",
}
 
export const segmentHighlighterCenterStyles = {
  width: "0",
  height: "100%",
  backgroundColor: "transparent",
  transition: "width .25s linear",
}
 
export const segmentHighlighterRightStyles = {
  flex: "0",
  height: "100%",
  backgroundColor: "black",
  opacity,
}
 
export const waveStyles = {
  position: "absolute",
  zIndex: "3",
  left: "0",
  top: "0",
  bottom: "0",
  width: "0",
  display: "none",
  boxSizing: "border-box",
  pointerEvents: "none",
}