mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
recorder extract styles, use server waveform
This commit is contained in:
30
www/app/styles/recorder.js
Normal file
30
www/app/styles/recorder.js
Normal file
@@ -0,0 +1,30 @@
|
||||
export const waveSurferStyles = {
|
||||
playerSettings: {
|
||||
waveColor: "#777",
|
||||
progressColor: "#222",
|
||||
cursorColor: "OrangeRed",
|
||||
},
|
||||
playerStyle: {
|
||||
cursor: "pointer",
|
||||
backgroundColor: "RGB(240 240 240)",
|
||||
borderRadius: "15px",
|
||||
},
|
||||
marker: `
|
||||
border-left: solid 1px orange;
|
||||
padding: 0 2px 0 5px;
|
||||
font-size: 0.7rem;
|
||||
border-radius: 0 3px 3px 0;
|
||||
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
max-width: fit-content;
|
||||
cursor: pointer;
|
||||
background-color: white;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
transition: width 100ms linear;
|
||||
z-index: 0;
|
||||
`,
|
||||
markerHover: { backgroundColor: "orange" },
|
||||
};
|
||||
Reference in New Issue
Block a user