Esanders has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/309206

Change subject: Show left border on action tool groups, instead of right
......................................................................

Show left border on action tool groups, instead of right

Show a right border on the whole toolbar if it is no the last
child (e.g. there is a save button on the right).

Change-Id: I3e54b77880d8e59711662af6984193628a0d4c2c
---
M src/themes/mediawiki/tools.less
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/06/309206/1

diff --git a/src/themes/mediawiki/tools.less b/src/themes/mediawiki/tools.less
index 8716bcf..2c64d46 100644
--- a/src/themes/mediawiki/tools.less
+++ b/src/themes/mediawiki/tools.less
@@ -30,6 +30,10 @@
                                }
                        }
                }
+
+               > .oo-ui-toolbar:not( :last-child ) {
+                       border-right: @border-default;
+               }
        }
 }
 
@@ -77,6 +81,11 @@
 .theme-oo-ui-toolGroup () {
        border-right: @border-default;
 
+       .oo-ui-toolbar-actions & {
+               border-right: 0;
+               border-left: @border-default;
+       }
+
        .oo-ui-toolbar-narrow & {
                + .oo-ui-toolGroup {
                        margin-left: 0;

-- 
To view, visit https://gerrit.wikimedia.org/r/309206
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3e54b77880d8e59711662af6984193628a0d4c2c
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to