From f7189147bf22a8e8772256156eea40fcae1f22fa Mon Sep 17 00:00:00 2001 From: Sebastien Clement Date: Tue, 27 Apr 2021 00:52:39 +0200 Subject: [PATCH] :ambulance: Fix issue with little button and UiCustomizer #18 --- .../static/css/simpleemergencystop.css | 13 ++++ .../simpleemergencystop_navbar.jinja2 | 60 ++++++++++--------- 2 files changed, 44 insertions(+), 29 deletions(-) diff --git a/octoprint_simpleemergencystop/static/css/simpleemergencystop.css b/octoprint_simpleemergencystop/static/css/simpleemergencystop.css index 72253a4..e8cb5d0 100644 --- a/octoprint_simpleemergencystop/static/css/simpleemergencystop.css +++ b/octoprint_simpleemergencystop/static/css/simpleemergencystop.css @@ -1,7 +1,16 @@ +.ses_small, .ses_small_disabled{ + padding: 12px 0px 12px; +} + .ses_small i { color: red; } +.ses_small span, .ses_small_disabled span { + padding: 5px 10px 5px; + font-size: 15px +} + .ses_small_disabled i { color: grey; cursor: default; @@ -11,6 +20,10 @@ cursor: default; } +.ses_big, .ses_big_disabled{ + padding: 0px 5px 0px 5px +} + .ses_big_disabled { cursor: default; } diff --git a/octoprint_simpleemergencystop/templates/simpleemergencystop_navbar.jinja2 b/octoprint_simpleemergencystop/templates/simpleemergencystop_navbar.jinja2 index accd807..ad43ab5 100644 --- a/octoprint_simpleemergencystop/templates/simpleemergencystop_navbar.jinja2 +++ b/octoprint_simpleemergencystop/templates/simpleemergencystop_navbar.jinja2 @@ -1,30 +1,29 @@ - - - - - -{# #} - - - - -
- - +
+ + + -
{{ _('Emergency Stop') }}
- - - - -
- - + +
+
+ +
+ + + + +
{{ _("Emergency Stop") }}
+ + + + +
+
+
- + \ No newline at end of file