mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 18:46:34 +01:00
WS: improve mixer demo layout
This commit is contained in:
parent
864bcf09b7
commit
b298f44468
4 changed files with 32 additions and 1 deletions
|
|
@ -34,6 +34,7 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
transition: border 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
|
transition: border 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
|
||||||
|
min-height: 37px;
|
||||||
}
|
}
|
||||||
/*.toolkit-button:hover {
|
/*.toolkit-button:hover {
|
||||||
border: 1px solid #002f42;
|
border: 1px solid #002f42;
|
||||||
|
|
|
||||||
|
|
@ -8,3 +8,21 @@
|
||||||
-moz-box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.75);
|
-moz-box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.75);
|
||||||
box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.75);
|
box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.75);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* disable show/hide animations */
|
||||||
|
|
||||||
|
.toolkit-dialog {
|
||||||
|
-webkit-animation: none;
|
||||||
|
-moz-animation: none;
|
||||||
|
-ms-animation: none;
|
||||||
|
-o-animation: none;
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toolkit-dialog.toolkit-hiding {
|
||||||
|
-webkit-transition: none;
|
||||||
|
-moz-transition: none;
|
||||||
|
-ms-transition: none;
|
||||||
|
-o-transition: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,10 @@ import { createRootContainer, Container, Dialog, Label, Button, DiscreteKnob,
|
||||||
root.removeChild(root.children[0]);
|
root.removeChild(root.children[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const top = new Container();
|
||||||
|
top.id = 'top';
|
||||||
|
top.appendTo(root);
|
||||||
|
|
||||||
const mixer = new Container();
|
const mixer = new Container();
|
||||||
mixer.id = 'mixer';
|
mixer.id = 'mixer';
|
||||||
mixer.appendTo(root);
|
mixer.appendTo(root);
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,10 @@ div {
|
||||||
|
|
||||||
#root {
|
#root {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
/* keep these for dialogs */
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
@ -43,12 +45,16 @@ div {
|
||||||
background-image: url('expand.svg');
|
background-image: url('expand.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#top {
|
||||||
|
height: 10vh;
|
||||||
|
}
|
||||||
|
|
||||||
#mixer {
|
#mixer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-height: 600px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
padding-bottom: 10vh;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
@ -58,11 +64,13 @@ div {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
|
max-height: 768px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.strip-meter-fader {
|
.strip-meter-fader {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
min-height: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.strip-label {
|
.strip-label {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue