From: Jo-Philipp Wich Date: Tue, 24 Mar 2020 21:13:41 +0000 (+0100) Subject: luci-theme-bootstrap: fixup assoclist styling X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ca17ec9b4f0571144ebdf124abe5edd9ecf7481b;p=oweals%2Fluci.git luci-theme-bootstrap: fixup assoclist styling Signed-off-by: Jo-Philipp Wich (cherry picked from commit 3b40c582baefcb302fb23ed633ed85ab1ac72a9e) --- 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 5f7dd6050..51931f550 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; +}