jenkins-bot has submitted this change and it was merged. Change subject: Float VE UI toolbar below a fixed or sticky navbar; more z-index fixes ......................................................................
Float VE UI toolbar below a fixed or sticky navbar; more z-index fixes Change-Id: I1773833df203b102526026143915695346bcd7df --- M docs/release-notes.md M resources/styles/extensionfixes.less 2 files changed, 10 insertions(+), 3 deletions(-) Approvals: Foxtrott: Looks good to me, approved jenkins-bot: Verified diff --git a/docs/release-notes.md b/docs/release-notes.md index 3c2d304..9d646f1 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -15,6 +15,7 @@ * Correctly follow symlinks ([Bug: T124714](https://phabricator.wikimedia.org/T124714)) * Provide correct box-sizing model and z-index for VisualEditor components +* Float the VisualEditor UI toolbar below a fixed or sticky navbar ### Chameleon 1.2 diff --git a/resources/styles/extensionfixes.less b/resources/styles/extensionfixes.less index 85ad3ef..dd20ab1 100644 --- a/resources/styles/extensionfixes.less +++ b/resources/styles/extensionfixes.less @@ -3,7 +3,7 @@ * * This file is part of the MediaWiki skin Chameleon. * - * @copyright 2013 - 2015, Stephan Gambke + * @copyright 2013 - 2016, Stephan Gambke * @license GNU General Public License, version 3 (or any later version) * * The Chameleon skin is free software: you can redistribute it and/or modify @@ -30,11 +30,17 @@ .ve-ui-toolbar, .ve-ui-debugBar, .oo-ui-processDialog-navigation { &, &::before, &::after { box-sizing: content-box; - z-index: @zindex-navbar-fixed + 1; } } .ve-ui-overlay-global { - z-index: @zindex-navbar-fixed + 2; + z-index: @zindex-navbar-fixed + 1; + } + + // float the VE UI toolbar below a fixed or sticky navbar + .navbar.navbar-fixed-top, .navbar + .sticky-wrapper { + ~ * .ve-ui-toolbar-floating>.oo-ui-toolbar-bar { + transform: translateY(@navbar-height); + } } } -- To view, visit https://gerrit.wikimedia.org/r/275113 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1773833df203b102526026143915695346bcd7df Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/skins/chameleon Gerrit-Branch: master Gerrit-Owner: Foxtrott <s7ep...@gmail.com> Gerrit-Reviewer: Foxtrott <s7ep...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits