From: Dirk Brenken Date: Fri, 16 Nov 2018 08:03:41 +0000 (+0100) Subject: luci-app-travelmate: adapt latest css changes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c9fab9e90c2d437d3b96bda4b035e585f61bb0c0;p=project%2Fluci.git luci-app-travelmate: adapt latest css changes Signed-off-by: Dirk Brenken --- diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/travelmate_css.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/travelmate_css.htm index fc8036e334..14afe3997f 100644 --- a/applications/luci-app-travelmate/luasrc/view/travelmate/travelmate_css.htm +++ b/applications/luci-app-travelmate/luasrc/view/travelmate/travelmate_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: 7em; - 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: 7em; + -webkit-appearance: menulist; } .runtime @@ -98,14 +76,6 @@ padding-top: 0.5rem; } - .button_running - { - display: inline-block; - width: 16px; - height: 16px; - margin: 0 5px; - } - .qr-code { border-bottom: 0px; @@ -113,4 +83,12 @@ padding: 0.25em 0.6em; text-align: left } + + .button_running + { + display: inline-block; + width: 16px; + height: 16px; + margin: 0 5px; + }