[#181] add maximiser icons to recipe, input and output, and handle maximising of targets accordingly. Desktop view remains as normal, where only output can be maximised

This commit is contained in:
Robin Scholtes 2023-05-02 16:58:20 +12:00
parent 093a3c4b77
commit 4c2c934cd4
13 changed files with 164 additions and 51 deletions

View file

@ -52,8 +52,8 @@
margin: 0;
}
.output-maximised .hide-on-maximised-output {
display: none !important;
.top-zindex {
z-index: 200;
}

View file

@ -8,6 +8,7 @@
#recipe {
position: relative;
background-color: var(--primary-background-colour);
}
#rec-list {

View file

@ -6,6 +6,11 @@
* @license Apache-2.0
*/
#input,
#output {
background-color: var(--primary-background-colour);
}
#input-text,
#output-text {
position: relative;

View file

@ -5,6 +5,10 @@
* can ( should ) be made into a reusable, generic component
*/
#operations {
background-color: var(--primary-background-colour);
}
#operations-wrapper {
position: relative;
}

View file

@ -24,6 +24,7 @@
#content-wrapper {
top: 0;
bottom: 0;
overflow: hidden;
}
#workspace-wrapper {
@ -45,6 +46,22 @@
padding-bottom: var(--controls-height);
}
#recipe.maximised-pane,
#input.maximised-pane,
#output.maximised-pane {
position: fixed;
min-height: calc( 100vh - var(--banner-height ));
height: auto;
top: var(--banner-height);
left: 0;
right: 0;
bottom: 0;
}
#recipe.maximised-pane #controls {
display: none;
}
@media only screen and ( min-width: 768px ) {
#IO {
padding-bottom: 0;