diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-05-30 14:49:24 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-05-30 14:59:24 +0200 |
commit | 879f90d15cccd72d043b6fca3e0b202dfcb822cb (patch) | |
tree | 1c54d5d1d85538f3c4a0d4fe0b0eb489f45f097d /themes/luci-theme-material | |
parent | 7875d92c42e83963759687a92b8ca0dbb7e01d6d (diff) |
luci-theme-material: add new style classes
Add new style classes required for status page changes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes/luci-theme-material')
-rwxr-xr-x | themes/luci-theme-material/htdocs/luci-static/material/css/style.css | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/css/style.css b/themes/luci-theme-material/htdocs/luci-static/material/css/style.css index 9c45ad219..cc9caac55 100755 --- a/themes/luci-theme-material/htdocs/luci-static/material/css/style.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/css/style.css @@ -850,6 +850,41 @@ td > .ifacebadge, .ifacebadge > img { float: right; margin: 0 0.3rem; + align-self: start; +} + +.network-status-table { + display: flex; + flex-wrap: wrap; +} + +.network-status-table .ifacebox { + margin: .5em; + flex-grow: 1; +} + +.network-status-table .ifacebox-body { + display: flex; + flex-direction: column; + height: 100%; +} + +.network-status-table .ifacebox-body > span { + flex: 10; +} + +.network-status-table .ifacebox-body > div { + display: flex; + flex-wrap: wrap; +} + +.network-status-table .ifacebox-body .ifacebadge { + flex: 1; + margin: .5em .25em 0 .25em; + padding: .5em; + min-width: 220px; + background-color: #fff; + align-items: center; } /*textarea*/ @@ -962,6 +997,23 @@ td > .ifacebadge, .ifacebox { border: 1px solid #999; background-color: #f9f9f9; + display: inline-flex; + flex-direction: column; + line-height: 1.2em; + min-width: 100px; +} + +.ifacebox-head { + padding: .25em; + background: #eee; +} + +.ifacebox-head.active { + background: #90c0e0; +} + +.ifacebox-body { + padding: .25em; } .cbi-image-button { |