summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/htdocs
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2024-06-07 12:51:00 +0200
committerFlorian Eckert <fe@dev.tdt.de>2024-07-09 16:19:51 +0200
commit5119fa2f7972534ac4634412f1963ab58e5ce74a (patch)
tree5faddff4819c7291ad82f4f5b3ba24e4f87360b4 /themes/luci-theme-material/htdocs
parent991549c238398fd135efeb3e2adf3952edbbded5 (diff)
luci-theme-material: add css class button-row
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'themes/luci-theme-material/htdocs')
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/cascade.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
index 5434e108b5..fdcb98eb5b 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
@@ -1749,6 +1749,19 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
max-height: none;
}
+.modal .button-row {
+ display: flex;
+ justify-content: space-between;
+}
+
+.modal .button-row > :not(:last-child) {
+ margin-right: .5em;
+}
+
+.modal .button-row > :first-child {
+ margin-right: auto;
+}
+
body.modal-overlay-active {
overflow: hidden;
height: 100vh;