Skip to content

Commit

Permalink
feat: Comp On/Off - CSS styling
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Nov 12, 2021
1 parent d3f816a commit f981d77
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
24 changes: 24 additions & 0 deletions client/assets/css/ChanStripFull.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,30 @@
font-size: 14px;
}

.parameter-button-text {
list-style-type: none;
text-align: center;
margin-top: 70px;
line-height: 10px;
font-size: 14px;
}
.parameter-button {
margin-left: -68px;
margin-top: 60px;
outline: none;
-moz-outline: none;
margin-left: 3px;
margin-right: 3px;
margin-top: 3px;
color: white;
height: 50px;
width: 60px;
font-size: 105%;
background-color: rgb(80, 80, 80);
border-radius: 7px;
border-color: rgb(99, 99, 99);
}

.parameter-text > .parameter-mini-text,
.content > .parameter-mini-text {
list-style-type: none;
Expand Down
7 changes: 5 additions & 2 deletions client/components/ChanStripFull.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,12 @@ class ChanStripFull extends React.PureComponent<
let value = this.props.fader[this.props.faderIndex][fxParam]?.[0]
return (
<div className="parameter-text">
{window.mixerProtocol.channelTypes[0].fromMixer[fxParam][0]
.label ?? ''}
<div className="parameter-button-text">
{window.mixerProtocol.channelTypes[0].fromMixer[fxParam][0]
.label ?? ''}
</div>
<button
className="parameter-button"
onClick={(event: any) => {
this.handleFx(
fxParam,
Expand Down

0 comments on commit f981d77

Please sign in to comment.