From 7d135f78190775c222b07f4affd6eb279f6682e8 Mon Sep 17 00:00:00 2001 From: Sabrina Bongiovanni Date: Wed, 13 Dec 2023 17:36:57 +0100 Subject: [PATCH] fix: fixed styles for mixin --- .../Subsites/ItaliaTheme/Views/_common.scss | 4 +- .../custom/_headercenter.scss | 114 ------------------ 2 files changed, 2 insertions(+), 116 deletions(-) diff --git a/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Views/_common.scss b/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Views/_common.scss index f65da2a0e..eb2947d80 100644 --- a/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Views/_common.scss +++ b/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Views/_common.scss @@ -35,8 +35,8 @@ border-left: 2px solid $subsite-link-color; border-color: $subsite-link-color; } @else { - border-left: 2px solid $subsite-link-color; - border-color: $subsite-link-color; + border-left: 2px solid $subsite-primary; + border-color: $subsite-primary; } } .nav-link { diff --git a/src/theme/ItaliaTheme/Subsites/bootstrap-italia/custom/_headercenter.scss b/src/theme/ItaliaTheme/Subsites/bootstrap-italia/custom/_headercenter.scss index 600040de0..0d3c4d976 100644 --- a/src/theme/ItaliaTheme/Subsites/bootstrap-italia/custom/_headercenter.scss +++ b/src/theme/ItaliaTheme/Subsites/bootstrap-italia/custom/_headercenter.scss @@ -11,9 +11,6 @@ .it-header-center-content-wrapper { .it-brand-wrapper { - // .it-brand-text h2 { - // color: $subsite-primary-text; - // } a { color: $subsite-primary-text; @@ -107,114 +104,3 @@ } } } - -// svg { -// @if $subsite-light-theme { -// fill: $subsite-primary-text; -// } @else { -// fill: $subsite-primary; -// } -// } -// } - -// @use '../../all_variables' as *; - -// @mixin headercenter( -// $subsite-light-theme, -// $subsite-primary, -// $subsite-primary-text -// ) { -// .it-header-wrapper { -// .it-header-center-wrapper { -// background-color: $subsite-primary; - -// .it-header-center-content-wrapper { -// .it-brand-wrapper { -// a { -// color: $subsite-primary-text; - -// .icon { -// display: flex; -// align-items: center; -// margin-bottom: 0; -// color: $subsite-primary-text; -// fill: $subsite-primary-text; -// } -// } -// } - -// //right zone -// .it-right-zone { -// color: $subsite-primary-text; - -// .it-socials { -// ul { -// .icon { -// color: $subsite-primary-text; -// fill: $subsite-primary-text; -// } -// } -// } -// } - -// //-search - -// .it-search-wrapper { -// a { -// &.search-link { -// outline: $subsite-primary 2px solid !important; -// } - -// &.rounded-icon { -// svg { -// @if $subsite-light-theme { -// fill: $subsite-primary-text; -// } @else { -// fill: $subsite-primary; -// } -// } -// } -// } -// } -// } -// } - -// //Tablet horizontal / small desktop -// @media (min-width: #{map-get($grid-breakpoints, lg)}) { -// .it-header-center-wrapper { -// .it-header-center-content-wrapper { -// //right zone -// .it-right-zone { -// .it-socials { -// ul { -// a { -// &:hover { -// svg { -// color: darken($subsite-primary-text, 5%); -// fill: darken($subsite-primary-text, 5%); -// } -// } -// } -// } -// } -// } - -// //-search -// .it-search-wrapper { -// a { -// &.rounded-icon { -// svg { -// @if $subsite-light-theme { -// fill: $subsite-primary-text; -// } @else { -// fill: $subsite-primary; -// } -// } -// } -// } -// } -// } -// } -// } -// } -// }