From 2aafeff4df390e91af18af4161f6e12390f943c0 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Fri, 16 Nov 2018 08:55:46 +0100 Subject: [PATCH] luci-app-banip: adapt latest css changes Signed-off-by: Dirk Brenken --- .../luasrc/view/banip/banip_css.htm | 34 ++++--------------- 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/applications/luci-app-banip/luasrc/view/banip/banip_css.htm b/applications/luci-app-banip/luasrc/view/banip/banip_css.htm index 86efcc5f2..b1b9707f0 100644 --- a/applications/luci-app-banip/luasrc/view/banip/banip_css.htm +++ b/applications/luci-app-banip/luasrc/view/banip/banip_css.htm @@ -50,28 +50,11 @@ width: 70px; } - .cbi-section-table-row > .cbi-value-field [data-dynlist] > input, - .table.cbi-section-table input[type="text"], - .cbi-dynlist > .item, - .table.cbi-section-table input, - .cbi-dynlist + .item, + .add-item { - display: inline-block; - width: 6em; - margin: 1px; - } - - .td.cbi-value-field .cbi-button - { - width: auto; - margin: 1px 0 1px -2px; - } - - .btn, - .cbi-button, - .item::after - { - -webkit-appearance: menulist; + white-space: nowrap; + width: 8.2em; } .cbi-input-checkbox @@ -79,14 +62,9 @@ height: 1em; } - .cbi-input-text + .cbi-button { - text-align: left; - padding-left: 2px; - outline: none; - box-shadow: none; - background: transparent; - width: 6em; + -webkit-appearance: menulist; } .runtime -- 2.25.1