2017-04-13 17:59:37 +01:00
|
|
|
/**
|
|
|
|
* Overall page structure styles
|
|
|
|
*
|
|
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
|
|
* @copyright Crown Copyright 2017
|
|
|
|
* @license Apache-2.0
|
|
|
|
*/
|
2016-11-28 10:42:58 +00:00
|
|
|
|
2023-04-19 23:16:43 +12:00
|
|
|
:root {
|
|
|
|
--banner-height: 40px;
|
|
|
|
--controls-height: 70px;
|
2023-04-21 00:15:31 +12:00
|
|
|
--workspace-height: calc( 100vh - var(--banner-height) - var(--controls-height));
|
|
|
|
--recipe-height: 16vh;
|
|
|
|
--operations-height: 89px;
|
2023-04-19 23:16:43 +12:00
|
|
|
--io-height: calc(100vh - var(--banner-height) - var(--controls-height) - var(--recipe-height) - var(--operations-height));
|
|
|
|
}
|
|
|
|
|
2023-04-19 21:47:22 +12:00
|
|
|
#banner,
|
2023-04-17 12:59:00 +12:00
|
|
|
#content-wrapper {
|
|
|
|
position: absolute;
|
2023-04-19 21:47:22 +12:00
|
|
|
width: 100%;
|
2016-11-28 10:42:58 +00:00
|
|
|
}
|
|
|
|
|
2023-04-19 21:47:22 +12:00
|
|
|
#content-wrapper {
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2016-11-28 10:42:58 +00:00
|
|
|
}
|
|
|
|
|
2023-04-19 23:16:43 +12:00
|
|
|
#workspace-wrapper {
|
|
|
|
height: var(--workspace-height);
|
|
|
|
margin-top: var(--banner-height);
|
|
|
|
}
|
|
|
|
|
|
|
|
#banner { height: var(--banner-height); }
|
|
|
|
#operations { height: var(--operations-height); }
|
|
|
|
#recipe { height: var(--recipe-height); }
|
|
|
|
#IO { height: var(--io-height); }
|
|
|
|
#controls { height: var(--controls-height); }
|
2023-04-19 21:47:22 +12:00
|
|
|
|
2023-04-18 20:23:44 +12:00
|
|
|
#controls {
|
|
|
|
bottom: 0;
|
2023-04-17 11:10:11 +12:00
|
|
|
}
|
|
|
|
|
2023-04-21 00:15:31 +12:00
|
|
|
#IO {
|
|
|
|
padding-bottom: var(--controls-height);
|
|
|
|
}
|
|
|
|
|
2023-04-17 20:44:47 +12:00
|
|
|
@media only screen and ( min-width: 768px ) {
|
2023-04-21 00:15:31 +12:00
|
|
|
#IO {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#recipe {
|
|
|
|
padding-bottom: var(--controls-height);
|
|
|
|
}
|
|
|
|
|
|
|
|
#recipe .list-area {
|
|
|
|
bottom: var(--controls-height);
|
|
|
|
}
|
|
|
|
|
2023-04-19 21:21:04 +12:00
|
|
|
#workspace-wrapper {
|
|
|
|
height: calc( 100vh - var(--banner-height));
|
|
|
|
}
|
|
|
|
|
2023-04-20 14:59:22 +12:00
|
|
|
#operations-dropdown {
|
2023-04-19 21:21:04 +12:00
|
|
|
max-height: max-content;
|
|
|
|
overflow: revert;
|
|
|
|
}
|
|
|
|
|
|
|
|
#operations, #recipe, #IO {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2023-04-19 21:47:22 +12:00
|
|
|
#operations {
|
2023-04-19 21:21:04 +12:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2023-04-19 21:47:22 +12:00
|
|
|
#controls {
|
|
|
|
position: absolute;
|
2023-04-17 20:44:47 +12:00
|
|
|
}
|
2017-04-15 20:46:57 +01:00
|
|
|
}
|
2023-04-17 20:44:47 +12:00
|
|
|
|