forked from marva/sumorobot-web
update block and line highlightning
This commit is contained in:
@@ -75,15 +75,10 @@ a.cc-btn:hover {
|
||||
/* the battery div */
|
||||
div#battery {
|
||||
z-index: 35;
|
||||
right: 0.5vw;
|
||||
font-size: 2vw;
|
||||
color: #ee4d4d;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
position: absolute;
|
||||
}
|
||||
/* the battery div connected status */
|
||||
div#battery.connected {
|
||||
color: #44CC00;
|
||||
}
|
||||
/* the control panel */
|
||||
div#panel {
|
||||
z-index: 36;
|
||||
@@ -117,6 +112,12 @@ div#readOnlyBlocklyCode {
|
||||
height: 100%;
|
||||
font-size: 1.3em;
|
||||
}
|
||||
/* ace line highlight */
|
||||
.highlight {
|
||||
z-index: 20;
|
||||
position: absolute;
|
||||
background: rgba(255, 212, 73, 0.5);
|
||||
}
|
||||
|
||||
/* for desktop screen */
|
||||
@media screen and (min-width: 1000px) {
|
||||
|
Reference in New Issue
Block a user