From 4ab0b8faa2b22210179aa3d5175f8e8ca9f0695c Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Tue, 4 Aug 2015 09:20:21 +0200 Subject: [PATCH] [#2454] Fixed worker name box not scaling --- public/site_assets/bootstrap/css/mpos.css | 35 +++++++++++++++++++ .../bootstrap/account/workers/default.tpl | 4 +-- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/public/site_assets/bootstrap/css/mpos.css b/public/site_assets/bootstrap/css/mpos.css index 67f85adf..5defa9ee 100644 --- a/public/site_assets/bootstrap/css/mpos.css +++ b/public/site_assets/bootstrap/css/mpos.css @@ -584,6 +584,7 @@ div.fade { .table > tbody > tr > td { padding:4px; + vertical-align: middle; } .panel > .table, @@ -625,3 +626,37 @@ div.fade { } /* End Footer */ + +/* EDIT */ + +.name { + float: left; + margin-bottom: 0; + min-width: 100%; + position: relative; + width: auto; + z-index: 2; + transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset; + display: block; + border-bottom-right-radius: 4px; + border-top-right-radius: 4px; + margin-right: 25px; +} + +.name:focus { + border-color: #66afe9; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6); + outline: 0 none; +} + +.navbar-right { + float: right !important; + margin-right: 0; +} + +.clear { + padding: 0px; +} + +/* END EDIT */ diff --git a/templates/bootstrap/account/workers/default.tpl b/templates/bootstrap/account/workers/default.tpl index 6a6dbc8b..02529d43 100644 --- a/templates/bootstrap/account/workers/default.tpl +++ b/templates/bootstrap/account/workers/default.tpl @@ -54,9 +54,9 @@ {assign var="username" value="."|escape|explode:$WORKERS[worker].username:2} -
+
0}style="color: orange"{/if} class="input-group-addon">{$username.0|escape}. - +