From: Darren Date: Fri, 29 Mar 2013 17:32:33 +0000 (+0000) Subject: Plugin tool icons on control_input X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fb989cb261eb6b6d7b53dc976011750b619495be;p=KiwiIRC.git Plugin tool icons on control_input --- diff --git a/client/assets/css/style.css b/client/assets/css/style.css index 697bbd4..7af1011 100644 --- a/client/assets/css/style.css +++ b/client/assets/css/style.css @@ -114,7 +114,7 @@ html, body { height:100%; } * Control box */ #kiwi #controlbox .input { - height:1.7em; + height:1.7em; position:relative; } /* The nick label */ @@ -136,6 +136,10 @@ html, body { height:100%; } #kiwi #controlbox .nickchange input { } #kiwi #controlbox .nickchange button { } +/* Plugin tools */ +#kiwi #controlbox .input_tools { float:right; } +#kiwi #controlbox .input_tools .tool { margin:0 1em; display:inline; } + /** diff --git a/client/assets/dev/index.html.tmpl b/client/assets/dev/index.html.tmpl index 2b948d9..b2caf93 100644 --- a/client/assets/dev/index.html.tmpl +++ b/client/assets/dev/index.html.tmpl @@ -47,6 +47,7 @@
+
diff --git a/client/assets/dev/view.js b/client/assets/dev/view.js index c4c4bc6..d9522a1 100644 --- a/client/assets/dev/view.js +++ b/client/assets/dev/view.js @@ -1237,6 +1237,9 @@ _kiwi.view.Application = Backbone.View.extend({ // And move the handle just out of sight to the right el_resize_handle.css('left', el_panels.outerWidth(true)); } + + var input_wrap_width = parseInt($('#kiwi #controlbox .input_tools').outerWidth()); + el_controlbox.find('.input_wrap').css('right', input_wrap_width + 7); },