From: Jo-Philipp Wich Date: Thu, 19 Jul 2018 14:50:50 +0000 (+0200) Subject: luci-theme-bootstrap: allow pointer events on readonly textareas and dropdowns X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=91238dccc753d56bdd4e6cefe9b12359852c156d;p=oweals%2Fluci.git luci-theme-bootstrap: allow pointer events on readonly textareas and dropdowns This is required to scroll and select text. Fixes #1965 Fixes 887d0a685 ("luci-theme-bootstrap: cleanup CSS") Signed-off-by: Jo-Philipp Wich (cherry picked from commit a68006245df16599145c00b949d2c8c97a327295) --- diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index d0348a197..a6ff0dc73 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -598,6 +598,12 @@ textarea[readonly] { cursor: default; } +select[readonly], +textarea[readonly] { + pointer-events: auto; + cursor: auto; +} + .cbi-optionals, .cbi-section-create { padding: 0 0 10px 10px;