From 3d3bf40da43a247ce14328c6d3f26ff6c70983a7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 28 Mar 2020 15:38:57 +0100 Subject: [PATCH] luci-theme-openwrt-2020: fix a number of iPad / iOS 13 quirks Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/openwrt2020/cascade.css | 13 ++++++++++--- .../htdocs/luci-static/openwrt2020/logo.svg | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css index eeb487fa6..3217280d4 100644 --- a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css +++ b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css @@ -58,7 +58,11 @@ body { */ #menubar { - background: var(--main-bright-color) url(logo.svg) 10px center/50px 50px no-repeat; + background-color: var(--main-bright-color); + background-image: url("logo.svg"); + background-position: 10px center; + background-size: 50px 50px; + background-repeat: no-repeat; padding: 0 1em 0 70px; min-height: 70px; display: flex; @@ -1436,14 +1440,16 @@ div[id$=".editlist"] { .spinning::before { position: absolute; - display: flex; + display: block; align-items: center; top: 0; bottom: 0; left: .4em; width: 1.3em; + height: 1.3em; animation: spin 1s linear infinite; - content: url("/luci-static/openwrt2020/spinner.svg"); + content: url("spinner.svg"); + margin: auto; } button.spinning, .btn.spinning { @@ -1454,6 +1460,7 @@ button.spinning::before, .btn.spinning::before { filter: invert(1); left: .2em; width: 1.2em; + height: 1.2em; } #view > div.spinning:first-child { diff --git a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/logo.svg b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/logo.svg index 878a39d40..606022184 100644 --- a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/logo.svg +++ b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/logo.svg @@ -1,5 +1,5 @@ - + -- 2.25.1