From: Michael Tremer Date: Wed, 14 Aug 2024 16:06:38 +0000 (+0200) Subject: CSS: Add class to automatically style forms X-Git-Tag: v2.29-core188~10^2~60 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ee745204240aac07dc265849e4345c77d6e69ed;p=ipfire-2.x.git CSS: Add class to automatically style forms Signed-off-by: Michael Tremer --- diff --git a/html/html/themes/ipfire/include/css/style.css b/html/html/themes/ipfire/include/css/style.css index 1602ecd433..21bee31c09 100644 --- a/html/html/themes/ipfire/include/css/style.css +++ b/html/html/themes/ipfire/include/css/style.css @@ -320,6 +320,30 @@ table { border-spacing: 0; } +/* + Form Tables +*/ +table.form { + width: 100%; + + margin-top: 1rem; + margin-bottom: 1rem; +} + +table.form:last-child { + margin-bottom: 0; +} + +table.form tr td:first-child { + width: 30%; +} + +table.form tr.action td { + padding-top: 1rem; + + text-align: right; +} + .tbl { width: 100%; }