diff --git a/www/css/blocklino.css b/www/css/blocklino.css index 74be6d13..6cd4afc5 100644 --- a/www/css/blocklino.css +++ b/www/css/blocklino.css @@ -20,7 +20,31 @@ body { font-family: 'Poppins', sans-serif; margin: 0 } - +#toptitle { + -webkit-app-region: drag; + display: flex; + justify-content: space-between; + height: 30px; + text-align: center; + line-height: 20px; + vertical-align: middle; + background-color: #2d2d64; + padding: none; + margin: 0px +} +#header { + position: absolute; + top: 25px; + background: #2d2d64; + height: 40px; + width: 100% +} +.blocklyTrash { + transform: translate(1384,130); +} +.blocklyZoom { + transform: translate(1384,10); +} #div_var { position: absolute; text-align: center; @@ -35,10 +59,9 @@ body { width: 100% } #divBody { - position: absolute; - top: 78px; - bottom: 0px; - width: 100% + position: static; + width: 100%; + height: -webkit-fill-available; } #title-bar { -webkit-app-region: drag; @@ -60,21 +83,15 @@ body { padding: none; margin: 0px } -#toptitle { - -webkit-app-region: drag; - height: 30px; - text-align: center; - line-height: 20px; - vertical-align: middle; - background-color: #2d2d64; - padding: none; - margin: 0px +.blocklyToolboxDiv { + height: 100%!important; +} +.blocklySvg { + width: 100%!important; + height: 100%!important; } #title { - position: fixed; font-weight: bold; - top: 0px; - left: 6px; color:white } #title-project-name { @@ -86,9 +103,6 @@ body { } #title-bar-btns { -webkit-app-region: no-drag; - position: fixed; - right: 0px - } #fenetre_term{ width: 630px; @@ -112,13 +126,6 @@ body { border-radius: 5px; overflow: auto } -#header { - position: absolute; - top: 25px; - background: #2d2d64; - height: 40px; - width: 100% -} .arduino_card_mini_picture_div { position:absolute; top:20px; diff --git a/www/index.html b/www/index.html index bbd3a1bc..f7bdba62 100644 --- a/www/index.html +++ b/www/index.html @@ -1,413 +1,419 @@ - - -
- - -