From ca17ec9b4f0571144ebdf124abe5edd9ecf7481b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 24 Mar 2020 22:13:41 +0100 Subject: [PATCH] luci-theme-bootstrap: fixup assoclist styling Signed-off-by: Jo-Philipp Wich (cherry picked from commit 3b40c582baefcb302fb23ed633ed85ab1ac72a9e) --- .../htdocs/luci-static/bootstrap/cascade.css | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) 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 5f7dd60508..51931f550e 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -134,7 +134,8 @@ body { font-weight: normal; line-height: 18px; color: #404040; - padding: 58px 5px 5px 5px; + padding: 18px 5px 5px 5px; + margin-top: 40px; } .container { @@ -757,7 +758,6 @@ textarea[readonly] { * Repeatable UI elements outside the base styles provided from the scaffolding * ---------------------------------------------------------------------------- */ header { - height: 40px; position: fixed; top: 0; left: 0; @@ -2401,3 +2401,24 @@ html body.apply-overlay-active { .fade-out { animation: fade-out .4s ease; } + +.assoclist .ifacebadge { + display: flex; + flex-direction: column; + align-items: center; + white-space: normal; + text-align: center; +} + +.assoclist .ifacebadge > img { + margin: .2em; +} + +.assoclist .td:nth-of-type(3), +.assoclist .td:nth-of-type(5) { + width: 25%; +} + +.assoclist .td:nth-of-type(6) button { + word-break: normal; +} -- 2.30.2