luci-theme-bootstrap: fixup assoclist styling
authorJo-Philipp Wich <jo@mein.io>
Tue, 24 Mar 2020 21:13:41 +0000 (22:13 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 3b40c582baefcb302fb23ed633ed85ab1ac72a9e)
(cherry picked from commit ca17ec9b4f0571144ebdf124abe5edd9ecf7481b)

themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index 5f7dd6050833413e7a1247879c688a713d9c11e5..51931f550e7fdf2303cd325665b79de003748aea 100644 (file)
@@ -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;
+}