diff --git a/CHANGELOG.md b/CHANGELOG.md index bcf94a678db5b8c6c6beb34072941c8d4316fc59..6724db576ea26105c3024e0d647e38ac09377cb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,14 @@ - Changelog +# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.2.1] - 10-12-2018 +### Fixed +- Added styling for "+More" link in mega menu + + ## [2.2.0] - 06-12-2018 ### Fixed - FAQ List pattern not holding 100% of the width diff --git a/cern_components.info.yml b/cern_components.info.yml index e5fe0eeeac3d12e27ffbf9805fbeb555ab418727..c47c4566a312c4564684f6053a5108912bbeec88 100755 --- a/cern_components.info.yml +++ b/cern_components.info.yml @@ -2,7 +2,7 @@ name: "CERN Components" type: module description: "Provides all the necessary modules regarding CERN Web Components." core: 8.x -version: 2.2 +version: 2.2.1 package: CERN Components dependencies: - components:components (>=8.x-1.1-alpha1) diff --git a/patterns/molecules/menu/css/menu.component.css b/patterns/molecules/menu/css/menu.component.css index f0aa29416796921e931431b78ae89f843a2f5182..4b1b1f4e1add70eb0ec12f90c36daedd8dd6f516 100644 --- a/patterns/molecules/menu/css/menu.component.css +++ b/patterns/molecules/menu/css/menu.component.css @@ -787,6 +787,16 @@ body.open-cern-menu #cern-toolbar { .block-mainnavigation-cern-megamenu nav.navbar li.cern-dropdown.open > div.cern-dropdown-menu ul.cern-submenu ul { list-style: none; padding: 0; } + .block-mainnavigation-cern-megamenu nav.navbar li.cern-dropdown.open > div.cern-dropdown-menu ul.cern-submenu ul a.plus-more-link { + color: rgba(255, 255, 255, 0.5) !important; + padding-left: 0px; + text-decoration: none; + font-family: sourcesans-light; + margin-left: -18px; } + .block-mainnavigation-cern-megamenu nav.navbar li.cern-dropdown.open > div.cern-dropdown-menu ul.cern-submenu ul a.plus-more-link:before, .block-mainnavigation-cern-megamenu nav.navbar li.cern-dropdown.open > div.cern-dropdown-menu ul.cern-submenu ul a.plus-more-link:after { + content: none !important; } + .block-mainnavigation-cern-megamenu nav.navbar li.cern-dropdown.open > div.cern-dropdown-menu ul.cern-submenu ul a.plus-more-link:hover { + color: #efeeec !important; } .block-mainnavigation-cern-megamenu nav.navbar li.cern-dropdown.open > div.cern-dropdown-menu ul.cern-submenu ul .cernmenu-level-last { padding-left: 35px; font-weight: normal; diff --git a/patterns/molecules/menu/sass/menu.component.scss b/patterns/molecules/menu/sass/menu.component.scss index 93c777a2a12140ec8ad219b74068a1047f441442..e0fcb834c95f1b1095b2ec70c9fad58e03a0c9a9 100755 --- a/patterns/molecules/menu/sass/menu.component.scss +++ b/patterns/molecules/menu/sass/menu.component.scss @@ -1264,7 +1264,26 @@ body.open-cern-menu #cern-toolbar { list-style: none; padding: 0; - .cernmenu-level-last { + a { + &.plus-more-link { + color: rgba(255, 255, 255, 0.50) !important; + padding-left: 0px; + text-decoration: none; + font-family: sourcesans-light; + margin-left: -18px; + + &:before, &:after { + content: none !important; + } + + &:hover { + color: #efeeec !important; + } + } + } + + + .cernmenu-level-last { padding-left: 35px; font-weight: normal; font-family: sourcesans-light;