mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 07:21:02 -04:00
[#181] fix output loading gears for mobile, add a _structure css file in /themes that is shared across themes
This commit is contained in:
parent
4c2c934cd4
commit
5916251893
5 changed files with 21 additions and 14 deletions
|
@ -8,8 +8,8 @@
|
||||||
- test drag and drop etc. Regular mobile events / UX
|
- test drag and drop etc. Regular mobile events / UX
|
||||||
- view-heights not correct due to variable taskbar on mobile devices
|
- view-heights not correct due to variable taskbar on mobile devices
|
||||||
|
|
||||||
- loading gears on mobile ( some ingredient labels 'shine through' and the cancel button isnt visible )
|
|
||||||
- need long press checks on mobile to add favourites and switch ingredient order
|
- need long press checks on mobile to add favourites and switch ingredient order
|
||||||
|
- fix "hitbox" ( event bubbling ) for maximiser icon / button
|
||||||
|
|
||||||
### Desktop UI:
|
### Desktop UI:
|
||||||
### General UI:
|
### General UI:
|
||||||
|
|
|
@ -73,7 +73,8 @@ label[for="output-text"] {
|
||||||
|
|
||||||
#output-loader {
|
#output-loader {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: var(--controls-height);
|
||||||
|
z-index: 100;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -87,6 +88,12 @@ label[for="output-text"] {
|
||||||
transition: all 0.5s ease;
|
transition: all 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 768px){
|
||||||
|
#output-loader {
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#output-loader-animation {
|
#output-loader-animation {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Themes */
|
/* Themes */
|
||||||
|
@import "./themes/_structure.css";
|
||||||
@import "./themes/_classic.css";
|
@import "./themes/_classic.css";
|
||||||
@import "./themes/_dark.css";
|
@import "./themes/_dark.css";
|
||||||
@import "./themes/_geocities.css";
|
@import "./themes/_geocities.css";
|
||||||
|
|
|
@ -6,15 +6,6 @@
|
||||||
* @license Apache-2.0
|
* @license Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
:root {
|
|
||||||
--banner-height: 40px;
|
|
||||||
--controls-height: 70px;
|
|
||||||
--workspace-height: calc( 100vh - var(--banner-height) - var(--controls-height));
|
|
||||||
--recipe-height: 38vh;
|
|
||||||
--operations-height: 89px;
|
|
||||||
--io-height: calc(100vh - var(--banner-height) - var(--controls-height) - var(--recipe-height) - var(--operations-height));
|
|
||||||
}
|
|
||||||
|
|
||||||
#banner,
|
#banner,
|
||||||
#content-wrapper {
|
#content-wrapper {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -42,9 +33,9 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#IO {
|
/*#IO {*/
|
||||||
padding-bottom: var(--controls-height);
|
/* padding-bottom: var(--controls-height);*/
|
||||||
}
|
/*}*/
|
||||||
|
|
||||||
#recipe.maximised-pane,
|
#recipe.maximised-pane,
|
||||||
#input.maximised-pane,
|
#input.maximised-pane,
|
||||||
|
|
8
src/web/stylesheets/themes/_structure.css
Normal file
8
src/web/stylesheets/themes/_structure.css
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
:root {
|
||||||
|
--banner-height: 40px;
|
||||||
|
--controls-height: 70px;
|
||||||
|
--workspace-height: calc( 100vh - var(--banner-height) - var(--controls-height));
|
||||||
|
--recipe-height: 38vh;
|
||||||
|
--operations-height: 89px;
|
||||||
|
--io-height: calc(100vh - var(--banner-height) - var(--controls-height) - var(--recipe-height) - var(--operations-height));
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue