From 97a237db38599ee9cea846308f6054fdf962641f Mon Sep 17 00:00:00 2001 From: openbuilds-engineer Date: Fri, 29 Jun 2018 15:01:16 +0200 Subject: [PATCH] Cosmetic fixes --- app/css/buttons.css | 29 ++++++---- app/css/main.css | 4 +- app/index.html | 124 ++++++++++++++++++++++++++++++----------- app/js/grblsettings.js | 77 +++++++++++++------------ app/js/jog.js | 20 +++---- app/js/main.js | 2 +- app/js/ui.js | 8 ++- index.js | 10 +++- package.json | 2 +- todo | 1 - 10 files changed, 177 insertions(+), 100 deletions(-) delete mode 100644 todo diff --git a/app/css/buttons.css b/app/css/buttons.css index 8cb78f9..a246aa1 100644 --- a/app/css/buttons.css +++ b/app/css/buttons.css @@ -1,45 +1,50 @@ -.jogtable td { +.drotable td, .jogtable td { padding: 2px; + vertical-align: bottom; +} + +.drotable button, .dro { + border: 1px solid lightgray; +} + +.jogtable button { + border: 1px solid lightgray; } .jogbtn:disabled { pointer-events:none; } -.glossydro { +.dro { display: block; text-decoration: none; background-color: #f8f8f8; color: #a7a7a7; - margin: 2px; - margin-left: 0px; width: 141px; - height: 34px; + height: 36px; position: relative; text-align: right; padding-right: 6px; padding-left: 6px; - line-height: 30px; - /* border-radius: 2px; */ - /* border: 1px solid #ddd; */ + line-height: 32px; font-weight:900; font-size: 18px; - cursor: default; + cursor: pointer; } -.glossydroInput { +.droInput { display: block; text-decoration: none; background-color: #f5f6f7; color: #a7a7a7; margin: 2px; width: 100px; - height: 32px; + height: 34px; position: relative; text-align: right; padding-right: 6px; padding-left: 6px; - line-height: 30px; + line-height: 34px; border-radius: 2px; border: 1px solid #ddd; font-weight:700; diff --git a/app/css/main.css b/app/css/main.css index de94eb8..370b8ba 100644 --- a/app/css/main.css +++ b/app/css/main.css @@ -20,8 +20,8 @@ body { } #grblPanel { - max-height: calc(100vh - 190px); - height: calc(100vh - 190px); + max-height: calc(100vh - 205px); + height: calc(100vh - 205px); width: 100%; overflow-y: auto; overflow-x: none; diff --git a/app/index.html b/app/index.html index ddd0ba0..78c6cf3 100644 --- a/app/index.html +++ b/app/index.html @@ -58,12 +58,6 @@ Reset - - + + + Refresh + + Grbl Settings
@@ -245,34 +251,88 @@
- +
+ + + + + + + +
-
+ +
+
X
0.000
- +
-
+ +
+
Y
0.000
- +
-
+ +
+
Z
0.000
- +
+ + + +
+
@@ -374,28 +434,28 @@
- - - -