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
|
|
|
|
2017-05-19 11:15:48 +00:00
|
|
|
body {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
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-17 16:03:46 +12:00
|
|
|
#workspace-wrapper {
|
|
|
|
height: calc( 100vh - calc( var(--banner-height) + var(--controls-height)) );
|
|
|
|
margin-top: var(--banner-height);
|
|
|
|
}
|
|
|
|
|
2023-04-19 21:47:22 +12:00
|
|
|
#banner {
|
|
|
|
top: 0;
|
|
|
|
margin: 0;
|
|
|
|
height: var(--banner-height);
|
2023-04-17 20:44:47 +12: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 21:47:22 +12:00
|
|
|
#recipe { height: 20vh;}
|
|
|
|
#IO { height: 50vh; }
|
|
|
|
|
2023-04-18 20:23:44 +12:00
|
|
|
#controls {
|
|
|
|
bottom: 0;
|
2023-04-18 22:04:40 +12:00
|
|
|
height: var(--controls-height);
|
2023-04-17 11:10:11 +12:00
|
|
|
}
|
|
|
|
|
2023-04-17 20:44:47 +12:00
|
|
|
@media only screen and ( min-width: 768px ) {
|
2023-04-19 21:21:04 +12:00
|
|
|
#workspace-wrapper {
|
|
|
|
height: calc( 100vh - var(--banner-height));
|
|
|
|
}
|
|
|
|
|
|
|
|
#categories,
|
|
|
|
#search-results {
|
|
|
|
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
|
|
|
|