luci-theme-openwrt: fixes for page action button placement
authorJo-Philipp Wich <jo@mein.io>
Wed, 18 Jul 2018 10:04:22 +0000 (12:04 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 18 Jul 2018 10:05:05 +0000 (12:05 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css

index 29e7827aa40d836ee22a330e932efc094078687b..bcdbb5646a12a707ce015f6387b895c82bc91f79 100644 (file)
@@ -837,15 +837,19 @@ div.cbi-optionals {
        margin: 0 3px 0 0;
 }
 
-.cbi-page-actions > .cbi-button-link,
-.cbi-page-actions > form[method="get"]:first-child {
-       margin-right: auto;
+.cbi-page-actions > .cbi-button-save,
+.cbi-page-actions > .cbi-button-apply {
+       margin-left: auto;
 }
 
 *::-ms-backdrop,
-.cbi-page-actions > .cbi-button-link,
-.cbi-page-actions > form[method="get"]:first-child {
-       margin-right: 50%;
+.cbi-page-actions > .cbi-button-save,
+.cbi-page-actions > .cbi-button-apply {
+       margin-left: 50%;
+}
+
+.cbi-page-actions > .cbi-button-apply + .cbi-button-save {
+       margin-left: 3px;
 }
 
 .th[data-type="button"], .td[data-type="button"],