CyberChef/src/web/stylesheets/layout/_structure.css

83 lines
1.4 KiB
CSS
Raw Normal View History

/**
* 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
#banner { height: var(--banner-height); }
#operations { height: var(--operations-height); }
#controls { height: var(--controls-height); }
@media only screen and ( min-width: 768px ) {
#controls { height: var(--desktop-controls-height); }
}
#banner,
#content-wrapper {
position: absolute;
width: 100%;
2016-11-28 10:42:58 +00:00
}
#content-wrapper {
top: 0;
bottom: 0;
overflow: hidden;
2016-11-28 10:42:58 +00:00
}
#workspace-wrapper {
margin-top: var(--banner-height);
}
#controls {
position: fixed;
bottom: 0;
}
#recipe.maximised-pane,
#input.maximised-pane,
#output.maximised-pane {
position: fixed;
top: var(--banner-height);
left: 0;
right: 0;
bottom: 0;
}
#recipe.maximised-pane #controls {
display: none;
}
@media only screen and ( min-width: 768px ) {
#recipe {
padding-bottom: var(--desktop-controls-height);
}
#recipe .list-area {
bottom: var(--desktop-controls-height);
}
2023-04-19 21:21:04 +12:00
#workspace-wrapper {
height: calc(100vh - var(--banner-height));
2023-04-19 21:21:04 +12:00
}
#operations-dropdown {
2023-04-19 21:21:04 +12:00
max-height: max-content;
overflow: revert;
}
#operations, #recipe, #IO {
height: 100%;
}
#operations {
2023-04-19 21:21:04 +12:00
overflow: auto;
}
#controls {
position: absolute;
}
}