summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-bootstrap
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2024-06-07 12:50:39 +0200
committerFlorian Eckert <fe@dev.tdt.de>2024-07-09 16:19:51 +0200
commit991549c238398fd135efeb3e2adf3952edbbded5 (patch)
treea592b130b3bf192d1cf69342e9b43efa852c582e /themes/luci-theme-bootstrap
parent4d2364dbe47f014bc508317f55ea19d08f4a771a (diff)
luci-theme-bootstrap: add css class button-row
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'themes/luci-theme-bootstrap')
-rw-r--r--themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css13
1 files changed, 13 insertions, 0 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 fb8a8509a5..cf59b12b56 100644
--- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
+++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
@@ -1394,6 +1394,19 @@ footer ul.breadcrumb {
width: 100%;
}
+.modal > .button-row {
+ display: flex;
+ justify-content: space-between;
+}
+
+.modal > .button-row > button:not(:last-of-type) {
+ margin-right: .5em;
+}
+
+.modal > .button-row > button:first-of-type {
+ margin-right: auto;
+}
+
body.modal-overlay-active {
overflow: hidden;
height: 100vh;