forked from tv2/sisyfos-audio-controller
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: refactor - all snaps code from old implementation removed
- Loading branch information
Showing
11 changed files
with
162 additions
and
466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,138 +1,135 @@ | ||
.channels-body { | ||
display: flex; | ||
flex-direction: row; | ||
background-color: black; | ||
min-height: 760px; | ||
} | ||
|
||
.channels-body > .channels-body-inner { | ||
display: flex; | ||
flex-direction: row; | ||
flex-grow: 2; | ||
overflow-x: auto; | ||
height: calc(100vh); | ||
} | ||
|
||
.channels-body > .closedChanStrip { | ||
/* margin-left: -630px; */ | ||
transition: transform 300ms; | ||
position: absolute; | ||
z-index: 2; | ||
transform: translateX(-100%); | ||
} | ||
|
||
.channels-body > .openChanStrip { | ||
/* margin-left: 0px; | ||
transition: margin 800ms; */ | ||
transition: transform 300ms; | ||
transform: unset; | ||
} | ||
|
||
.button { | ||
outline: none; | ||
-moz-outline: none; | ||
color: white; | ||
height: 90px; | ||
width: 90px; | ||
border-color: rgb(71, 71, 71); | ||
background-color: rgb(53, 53, 53); | ||
margin-left: 5px; | ||
margin-right: 4px; | ||
margin-top: 10px; | ||
border-radius: 7px; | ||
} | ||
.button.half { | ||
height: 60px; | ||
} | ||
.button.active { | ||
background-color: #2f475b; | ||
} | ||
|
||
.button-all-manual.all { | ||
background-color: #af39b9; | ||
} | ||
.button-all-manual.any { | ||
border-color: #af39b9; | ||
} | ||
|
||
.channels-mix-body { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
width: 100px; | ||
min-height: 950px; | ||
max-height: calc(100vh - 10px); | ||
color: white; | ||
background: linear-gradient( | ||
#2f2f2f 0px, | ||
#2f2f2f 790px, | ||
rgb(0, 0, 0) 1px, | ||
#2f2f2f 800px, | ||
#2f2f2f 100% | ||
); | ||
margin: 4px; | ||
border-radius: 9px; | ||
border-color: rgb(80, 80, 80); | ||
border-style: solid; | ||
border-width: 1px; | ||
} | ||
.channels-mix-body > .mid { | ||
flex-grow: 2; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
} | ||
.channels-mix-body > .bot { | ||
overflow-y: auto; | ||
} | ||
|
||
.channels-show-mixer-online { | ||
background-color: rgb(219, 1, 1); | ||
} | ||
|
||
.channels-show-mixer-online.connected { | ||
background-color: rgb(9, 107, 0); | ||
} | ||
|
||
.channels-show-snaps-button { | ||
} | ||
|
||
.channels-show-settings-button { | ||
} | ||
.channels-show-settings-button.active { | ||
background-color: #2f475b; | ||
} | ||
|
||
.channels-show-storage-button { | ||
} | ||
|
||
.channels-mix-button { | ||
background-color: rgb(65, 65, 65); | ||
} | ||
|
||
.channels-clear-button { | ||
background-color: rgb(19, 19, 19); | ||
} | ||
|
||
.channels-snap-mix-body { | ||
/* margin-top: 58px; */ | ||
} | ||
|
||
.channels-snap-mix-line { | ||
margin-top: 4px; | ||
background-color: #2b2b2b; | ||
} | ||
|
||
.channels-snap-mix-button { | ||
background-color: rgb(199, 202, 0); | ||
color: rgb(44, 44, 44); | ||
margin-left: 20px; | ||
height: 25px; | ||
width: 60px; | ||
border-color: rgb(99, 99, 99); | ||
white-space: nowrap; | ||
} | ||
|
||
.channels-snap-mix-line:last-of-type { | ||
margin-bottom: 51px; | ||
} | ||
.channels-body { | ||
display: flex; | ||
flex-direction: row; | ||
background-color: black; | ||
min-height: 760px; | ||
} | ||
|
||
.channels-body > .channels-body-inner { | ||
display: flex; | ||
flex-direction: row; | ||
flex-grow: 2; | ||
overflow-x: auto; | ||
height: calc(100vh); | ||
} | ||
|
||
.channels-body > .closedChanStrip { | ||
/* margin-left: -630px; */ | ||
transition: transform 300ms; | ||
position: absolute; | ||
z-index: 2; | ||
transform: translateX(-100%); | ||
} | ||
|
||
.channels-body > .openChanStrip { | ||
/* margin-left: 0px; | ||
transition: margin 800ms; */ | ||
transition: transform 300ms; | ||
transform: unset; | ||
} | ||
|
||
.button { | ||
outline: none; | ||
-moz-outline: none; | ||
color: white; | ||
height: 90px; | ||
width: 90px; | ||
border-color: rgb(71, 71, 71); | ||
background-color: rgb(53, 53, 53); | ||
margin-left: 5px; | ||
margin-right: 4px; | ||
margin-top: 10px; | ||
border-radius: 7px; | ||
} | ||
.button.half { | ||
height: 60px; | ||
} | ||
.button.active { | ||
background-color: #2f475b; | ||
} | ||
|
||
.button-all-manual.all { | ||
background-color: #af39b9; | ||
} | ||
.button-all-manual.any { | ||
border-color: #af39b9; | ||
} | ||
|
||
.channels-mix-body { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
width: 100px; | ||
min-height: 950px; | ||
max-height: calc(100vh - 10px); | ||
color: white; | ||
background: linear-gradient( | ||
#2f2f2f 0px, | ||
#2f2f2f 790px, | ||
rgb(0, 0, 0) 1px, | ||
#2f2f2f 800px, | ||
#2f2f2f 100% | ||
); | ||
margin: 4px; | ||
border-radius: 9px; | ||
border-color: rgb(80, 80, 80); | ||
border-style: solid; | ||
border-width: 1px; | ||
} | ||
.channels-mix-body > .mid { | ||
flex-grow: 2; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
} | ||
.channels-mix-body > .bot { | ||
overflow-y: auto; | ||
} | ||
|
||
.channels-show-mixer-online { | ||
background-color: rgb(219, 1, 1); | ||
} | ||
|
||
.channels-show-mixer-online.connected { | ||
background-color: rgb(9, 107, 0); | ||
} | ||
|
||
.channels-show-settings-button { | ||
} | ||
.channels-show-settings-button.active { | ||
background-color: #2f475b; | ||
} | ||
|
||
.channels-show-storage-button { | ||
} | ||
|
||
.channels-mix-button { | ||
background-color: rgb(65, 65, 65); | ||
} | ||
|
||
.channels-clear-button { | ||
background-color: rgb(19, 19, 19); | ||
} | ||
|
||
.channels-snap-mix-body { | ||
/* margin-top: 58px; */ | ||
} | ||
|
||
.channels-snap-mix-line { | ||
margin-top: 4px; | ||
background-color: #2b2b2b; | ||
} | ||
|
||
.channels-snap-mix-button { | ||
background-color: rgb(199, 202, 0); | ||
color: rgb(44, 44, 44); | ||
margin-left: 20px; | ||
height: 25px; | ||
width: 60px; | ||
border-color: rgb(99, 99, 99); | ||
white-space: nowrap; | ||
} | ||
|
||
.channels-snap-mix-line:last-of-type { | ||
margin-bottom: 51px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.