Commit 06c1f872 authored by carlosperate's avatar carlosperate

Minor updates to arduino and arduino_material webapps:

Material: Removed blockly scroolbar border
Classic: Fix bug where Blockly could not be dragged where the hidden modal was located.
parent d8c03033
...@@ -269,7 +269,6 @@ img.load{ ...@@ -269,7 +269,6 @@ img.load{
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 0;
margin: auto; margin: auto;
padding: 20px; padding: 20px;
min-width: 350px; min-width: 350px;
...@@ -278,6 +277,9 @@ img.load{ ...@@ -278,6 +277,9 @@ img.load{
min-height: 150px; min-height: 150px;
max-height: 800px; max-height: 800px;
height: 50%; height: 50%;
overflow: scroll;
word-wrap: break-word;
overflow-x: hidden;
background: rgba(235,235,235,0.9); background: rgba(235,235,235,0.9);
-webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0.1); -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0.1);
box-shadow: 3px 3px 3px rgba(0,0,0,0.1); box-shadow: 3px 3px 3px rgba(0,0,0,0.1);
...@@ -289,9 +291,8 @@ img.load{ ...@@ -289,9 +291,8 @@ img.load{
-ms-transition: opacity 1s ease; -ms-transition: opacity 1s ease;
-o-transition: opacity 1s ease; -o-transition: opacity 1s ease;
transition: opacity 1s ease; transition: opacity 1s ease;
overflow: scroll; z-index: 0;
word-wrap: break-word; display: none;
overflow-x: hidden;
} }
.modal h4 { .modal h4 {
margin: 5px 0px; margin: 5px 0px;
...@@ -312,4 +313,5 @@ input#modal_toggle { ...@@ -312,4 +313,5 @@ input#modal_toggle {
input#modal_toggle:checked + .modal { input#modal_toggle:checked + .modal {
opacity: 1; opacity: 1;
z-index: 1; z-index: 1;
display: inline;
} }
...@@ -407,6 +407,9 @@ ul.side-nav li.logo:hover { ...@@ -407,6 +407,9 @@ ul.side-nav li.logo:hover {
fill: #00878F !important; fill: #00878F !important;
fill-opacity: 0.7 !important; fill-opacity: 0.7 !important;
} }
.blocklyScrollbarBackground {
stroke-width: 0px !important;
}
/*********************************/ /*********************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment