From: Jochen Wierum Date: Tue, 23 Aug 2011 16:52:23 +0000 (+0200) Subject: Got mobile view working on Opera Mobile, Safari and Android X-Git-Tag: 1.5.6~25 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9abc671546ab05c5e77f2853c3de2d19b02c548f;p=tt-rss.git Got mobile view working on Opera Mobile, Safari and Android --- diff --git a/lib/iui/iui.css b/lib/iui/iui.css index 1b2c5843..b72b2dc6 100644 --- a/lib/iui/iui.css +++ b/lib/iui/iui.css @@ -240,7 +240,8 @@ body > .dialog { color: #999999; } -input:not(input[type|=radio]):not(input[type|=checkbox]) { +/*input:not(input[type|=radio]):not(input[type|=checkbox]) {*/ +input[type|=text], input[type|=password] { box-sizing: border-box; -webkit-box-sizing: border-box; width: 100%; @@ -284,14 +285,15 @@ fieldset > .row:last-child { border-bottom: none !important; } -.row > input:not(input[type|=radio]):not(input[type|=checkbox]) { +/*.row > input:not(input[type|=radio]):not(input[type|=checkbox]) {*/ +.row > input[type|=text], .row > input[type|=password] { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; margin: 0; border: none; padding: 12px 10px 0 110px; - height: 42px; +/* height: 42px;*/ background: none; } .row > input[type|=radio], .row > input[type|=checkbox] { diff --git a/lib/iui/iui.js b/lib/iui/iui.js index 6b7b16b4..0937afe0 100644 --- a/lib/iui/iui.js +++ b/lib/iui/iui.js @@ -373,7 +373,12 @@ function updatePage(page, fromPage) backButton.style.display = "inline"; backButton.innerHTML = label; backButton.href = page.getAttribute("myBackHref"); - backButton.target = page.getAttribute("myBackTarget"); + //backButton.target = page.getAttribute("myBackTarget"); + target = page.getAttribute("myBackTarget"); + if (target == null) + backButton.target = ''; + else + backButton.target = target; backButton.setAttribute("backwards", "true"); } else diff --git a/mobile/functions.php b/mobile/functions.php index e84be934..1063fca1 100644 --- a/mobile/functions.php +++ b/mobile/functions.php @@ -491,7 +491,7 @@ //print "
"; //print ""; - //print ""; + //print ""; //print "
"; // print "";