diff --git a/includes/templates/Sidebar.mustache b/includes/templates/Sidebar.mustache index 85a491a..dab6422 100644 --- a/includes/templates/Sidebar.mustache +++ b/includes/templates/Sidebar.mustache @@ -9,11 +9,11 @@ emphasized-sidebar-action data-emphasized-sidebar-action For displaying an emphasized action in the sidebar. }} -
+
{{#data-portals-first}}{{>Menu}}{{/data-portals-first}} {{#data-emphasized-sidebar-action}} -
- {{text}} + {{/data-emphasized-sidebar-action}} {{#array-portals-rest}}{{>Menu}}{{/array-portals-rest}} diff --git a/resources/skins.vector.styles/EmphasizedSidebarAction.less b/resources/skins.vector.styles/EmphasizedSidebarAction.less deleted file mode 100644 index 44375b4..0000000 --- a/resources/skins.vector.styles/EmphasizedSidebarAction.less +++ /dev/null @@ -1,12 +0,0 @@ -@import '../../variables.less'; - -.vector-emphasized-sidebar-action { - // Align with the portal heading/links - // `.portal` + `.portal .body` - margin: 8px @margin-end-portal 8px @margin-start-portal + @margin-start-portal-body; -} - -.vector-emphasized-sidebar-action-link { - font-size: @font-size-portal-list-item; - font-weight: bold; -} diff --git a/resources/skins.vector.styles/Sidebar.less b/resources/skins.vector.styles/Sidebar.less index 9c4e5d1..d01d8e1 100644 --- a/resources/skins.vector.styles/Sidebar.less +++ b/resources/skins.vector.styles/Sidebar.less @@ -1,2 +1,13 @@ @import '../../variables.less'; @import 'legacy/Sidebar.less'; + +.mw-sidebar-action { + // Align with the portal heading/links + // `.portal` + `.portal .body` + margin: 8px @margin-end-portal 8px @margin-start-portal + @margin-start-portal-body; +} + +.mw-sidebar-action-link { + font-size: @font-size-portal-list-item; + font-weight: bold; +} diff --git a/resources/skins.vector.styles/index.less b/resources/skins.vector.styles/index.less index 43aa67e..78690c6 100644 --- a/resources/skins.vector.styles/index.less +++ b/resources/skins.vector.styles/index.less @@ -21,7 +21,6 @@ @import 'Sidebar.less'; @import 'SidebarLogo.less'; @import 'Footer.less'; - @import 'EmphasizedSidebarAction.less'; } // Support: IE8