feat: update links default color to match design documents
This commit is contained in:
@@ -1,188 +1,16 @@
|
||||
.link {
|
||||
}
|
||||
|
||||
.noDecoration {
|
||||
text-decoration: none;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--Space-x05);
|
||||
}
|
||||
|
||||
.underline {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.default {
|
||||
font-family: var(--typography-Body-Regular-fontFamily);
|
||||
}
|
||||
|
||||
.breadcrumb {
|
||||
font-family: var(--typography-Footnote-Bold-fontFamily);
|
||||
font-size: var(--typography-Footnote-Bold-fontSize);
|
||||
font-weight: 500;
|
||||
/* var(--typography-Footnote-Bold-fontWeight); */
|
||||
letter-spacing: var(--typography-Footnote-Bold-letterSpacing);
|
||||
line-height: var(--typography-Footnote-Bold-lineHeight);
|
||||
}
|
||||
|
||||
.link.breadcrumb {
|
||||
font-family: var(--typography-Footnote-Bold-fontFamily);
|
||||
font-size: var(--typography-Footnote-Bold-fontSize);
|
||||
font-weight: 500;
|
||||
/* var(--typography-Footnote-Bold-fontWeight); */
|
||||
letter-spacing: var(--typography-Footnote-Bold-letterSpacing);
|
||||
line-height: var(--typography-Footnote-Bold-lineHeight);
|
||||
}
|
||||
|
||||
.icon {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--Spacing-x-half);
|
||||
}
|
||||
|
||||
.underscored {
|
||||
font-family: var(--typography-Body-Underline-fontFamily);
|
||||
font-size: var(--typography-Body-Underline-fontSize);
|
||||
font-weight: var(--typography-Body-Underline-fontWeight);
|
||||
letter-spacing: var(--typography-Body-Underline-letterSpacing);
|
||||
line-height: var(--typography-Body-Underline-lineHeight);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.myPageMobileDropdown {
|
||||
color: var(--Scandic-Brand-Burgundy);
|
||||
font-family: var(--typography-Body-Regular-fontFamily);
|
||||
font-size: var(--typography-Body-Regular-fontSize);
|
||||
line-height: var(--typography-Body-Regular-lineHeight);
|
||||
letter-spacing: var(--typography-Body-Regular-letterSpacing);
|
||||
padding: var(--Spacing-x1);
|
||||
border-radius: var(--Corner-radius-md);
|
||||
display: flex;
|
||||
gap: var(--Spacing-x1);
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.myPageMobileDropdown:hover {
|
||||
background-color: var(--Base-Surface-Primary-light-Hover-alt);
|
||||
border-radius: var(--Corner-radius-md);
|
||||
}
|
||||
|
||||
.shortcut {
|
||||
align-items: center;
|
||||
display: grid;
|
||||
font-family: var(--typography-Body-Regular-fontFamily);
|
||||
font-size: var(--typography-Body-Regular-fontSize);
|
||||
font-weight: var(--typography-Body-Regular-fontWeight);
|
||||
gap: var(--Spacing-x2);
|
||||
grid-template-columns: 1fr auto;
|
||||
letter-spacing: var(--typography-Body-Regular-letterSpacing);
|
||||
line-height: var(--typography-Body-Regular-lineHeight);
|
||||
padding: var(--Spacing-x2) var(--Spacing-x3);
|
||||
background-color: var(--Base-Surface-Primary-light-Normal);
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.shortcut:hover {
|
||||
background-color: var(--UI-Input-Controls-Surface-Hover);
|
||||
}
|
||||
|
||||
.shortcut:last-of-type {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
align-items: center;
|
||||
border-radius: var(--Corner-radius-md);
|
||||
display: flex;
|
||||
gap: var(--Spacing-x1);
|
||||
padding: var(--Spacing-x1);
|
||||
}
|
||||
|
||||
.activeSidebar {
|
||||
background-color: var(--Scandic-Peach-20);
|
||||
}
|
||||
|
||||
.tab {
|
||||
font-family: var(--typography-Body-Regular-fontFamily);
|
||||
padding: var(--Spacing-x2) var(--Spacing-x0);
|
||||
color: var(--Base-Text-High-contrast);
|
||||
text-decoration: none;
|
||||
border-bottom: 2px solid transparent;
|
||||
transition: border-bottom 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.tab:hover {
|
||||
border-bottom: 2px solid var(--Scandic-Brand-Burgundy);
|
||||
}
|
||||
|
||||
.tab.burgundy:hover {
|
||||
color: var(--Base-Text-High-contrast);
|
||||
}
|
||||
|
||||
.tab.active {
|
||||
border-bottom: 2px solid var(--Scandic-Brand-Burgundy);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.baseButtonTextOnFillNormal {
|
||||
color: var(--Base-Button-Text-On-Fill-Normal);
|
||||
}
|
||||
|
||||
.black {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.uiTextPlaceholder {
|
||||
color: var(--Base-Text-Placeholder);
|
||||
}
|
||||
|
||||
.uiTextPlaceholder:hover,
|
||||
.uiTextPlaceholder:active {
|
||||
color: var(--Base-Text-Medium-contrast);
|
||||
}
|
||||
|
||||
.burgundy {
|
||||
color: var(--Base-Text-High-contrast);
|
||||
}
|
||||
|
||||
.burgundy:hover,
|
||||
.burgundy:active {
|
||||
color: var(--Base-Button-Text-On-Fill-Hover);
|
||||
}
|
||||
|
||||
.burgundy:hover *,
|
||||
.burgundy:active * {
|
||||
fill: var(--Base-Button-Text-On-Fill-Hover);
|
||||
}
|
||||
|
||||
.pale {
|
||||
color: var(--Scandic-Brand-Pale-Peach);
|
||||
}
|
||||
|
||||
.peach50 {
|
||||
color: var(--Scandic-Peach-50);
|
||||
}
|
||||
|
||||
.peach80,
|
||||
.baseTextMediumContrast {
|
||||
color: var(--Base-Text-Medium-contrast);
|
||||
}
|
||||
|
||||
.peach80:hover,
|
||||
.peach80:active,
|
||||
.baseTextMediumContrast:hover,
|
||||
.baseTextMediumContrast:active {
|
||||
color: var(--Base-Text-High-contrast);
|
||||
}
|
||||
|
||||
.peach80 *,
|
||||
.baseTextMediumContrast * {
|
||||
fill: var(--Base-Text-Medium-contrast);
|
||||
}
|
||||
|
||||
.peach80:hover *,
|
||||
.peach80:active *,
|
||||
.baseTextMediumContrast:hover *,
|
||||
.baseTextMediumContrast:active * {
|
||||
fill: var(--Base-Text-High-contrast);
|
||||
color: var(--Primary-Dark-On-Surface-Accent);
|
||||
}
|
||||
|
||||
.red {
|
||||
@@ -191,16 +19,122 @@
|
||||
|
||||
.white {
|
||||
color: var(--Base-Button-Primary-On-Fill-Normal);
|
||||
|
||||
&:hover,
|
||||
&:active {
|
||||
color: var(--Base-Button-Primary-On-Fill-Hover);
|
||||
}
|
||||
|
||||
&:hover *,
|
||||
&:active * {
|
||||
fill: var(--Base-Button-Primary-On-Fill-Hover);
|
||||
}
|
||||
}
|
||||
|
||||
.white:hover,
|
||||
.white:active {
|
||||
color: var(--Base-Button-Primary-On-Fill-Hover);
|
||||
.Text-Interactive-Default {
|
||||
color: var(--Text-Interactive-Default);
|
||||
|
||||
&:hover {
|
||||
color: var(--Text-Interactive-Hover);
|
||||
}
|
||||
}
|
||||
|
||||
.white:hover *,
|
||||
.white:active * {
|
||||
fill: var(--Base-Button-Primary-On-Fill-Hover);
|
||||
.Text-Interactive-Secondary {
|
||||
color: var(--Text-Interactive-Secondary);
|
||||
|
||||
&:hover {
|
||||
color: var(--Text-Interactive-Secondary-Hover);
|
||||
}
|
||||
}
|
||||
|
||||
.breadcrumb {
|
||||
font-family: var(--typography-Footnote-Bold-fontFamily);
|
||||
font-size: var(--typography-Footnote-Bold-fontSize);
|
||||
font-weight: 500;
|
||||
letter-spacing: var(--typography-Footnote-Bold-letterSpacing);
|
||||
line-height: var(--typography-Footnote-Bold-lineHeight);
|
||||
}
|
||||
|
||||
.link.breadcrumb {
|
||||
font-family: var(--typography-Footnote-Bold-fontFamily);
|
||||
font-size: var(--typography-Footnote-Bold-fontSize);
|
||||
font-weight: 500;
|
||||
letter-spacing: var(--typography-Footnote-Bold-letterSpacing);
|
||||
line-height: var(--typography-Footnote-Bold-lineHeight);
|
||||
}
|
||||
|
||||
.myPageMobileDropdown {
|
||||
color: var(--Scandic-Brand-Burgundy);
|
||||
font-family: var(--typography-Body-Regular-fontFamily);
|
||||
font-size: var(--typography-Body-Regular-fontSize);
|
||||
line-height: var(--typography-Body-Regular-lineHeight);
|
||||
letter-spacing: var(--typography-Body-Regular-letterSpacing);
|
||||
padding: var(--Space-x1);
|
||||
border-radius: var(--Corner-radius-md);
|
||||
gap: var(--Space-x1);
|
||||
justify-content: space-between;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--Base-Surface-Primary-light-Hover-alt);
|
||||
border-radius: var(--Corner-radius-md);
|
||||
}
|
||||
}
|
||||
|
||||
.languageSwitcher {
|
||||
color: var(--Text-Interactive-Default);
|
||||
|
||||
&:hover {
|
||||
background-color: var(--Surface-Primary-Hover);
|
||||
color: var(--Text-Interactive-Default);
|
||||
}
|
||||
}
|
||||
|
||||
.shortcut {
|
||||
display: grid;
|
||||
font-family: var(--typography-Body-Regular-fontFamily);
|
||||
font-size: var(--typography-Body-Regular-fontSize);
|
||||
font-weight: var(--typography-Body-Regular-fontWeight);
|
||||
letter-spacing: var(--typography-Body-Regular-letterSpacing);
|
||||
line-height: var(--typography-Body-Regular-lineHeight);
|
||||
gap: var(--Space-x2);
|
||||
grid-template-columns: 1fr auto;
|
||||
padding: var(--Space-x2) var(--Space-x3);
|
||||
background-color: var(--Base-Surface-Primary-light-Normal);
|
||||
transition: background-color 0.3s;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--UI-Input-Controls-Surface-Hover);
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
border-radius: var(--Corner-radius-md);
|
||||
gap: var(--Space-x1);
|
||||
padding: var(--Space-x1);
|
||||
|
||||
&.active {
|
||||
background-color: var(--Base-Surface-Primary-dark-Hover);
|
||||
|
||||
&.regular {
|
||||
font-family: var(--typography-Body-Bold-fontFamily);
|
||||
font-size: var(--typography-Body-Bold-fontSize);
|
||||
font-weight: 500;
|
||||
letter-spacing: var(--typography-Body-Bold-letterSpacing);
|
||||
line-height: var(--typography-Body-Bold-lineHeight);
|
||||
}
|
||||
|
||||
&.small {
|
||||
font-family: var(--typography-Caption-Bold-fontFamily);
|
||||
font-size: var(--typography-Caption-Bold-fontSize);
|
||||
font-weight: 500;
|
||||
letter-spacing: var(--typography-Caption-Bold-letterSpacing);
|
||||
line-height: var(--typography-Caption-Bold-lineHeight);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.regular {
|
||||
@@ -211,14 +145,6 @@
|
||||
line-height: var(--typography-Body-Regular-lineHeight);
|
||||
}
|
||||
|
||||
.activeRegular {
|
||||
font-family: var(--typography-Body-Bold-fontFamily);
|
||||
font-size: var(--typography-Body-Bold-fontSize);
|
||||
font-weight: 500;
|
||||
letter-spacing: var(--typography-Body-Bold-letterSpacing);
|
||||
line-height: var(--typography-Body-Bold-lineHeight);
|
||||
}
|
||||
|
||||
.small {
|
||||
font-family: var(--typography-Caption-Regular-fontFamily);
|
||||
font-size: var(--typography-Caption-Regular-fontSize);
|
||||
@@ -235,14 +161,6 @@
|
||||
line-height: var(--typography-Footnote-Regular-lineHeight);
|
||||
}
|
||||
|
||||
.activeSmall {
|
||||
font-family: var(--typography-Caption-Bold-fontFamily);
|
||||
font-size: var(--typography-Caption-Bold-fontSize);
|
||||
font-weight: 500;
|
||||
letter-spacing: var(--typography-Caption-Bold-letterSpacing);
|
||||
line-height: var(--typography-Caption-Bold-lineHeight);
|
||||
}
|
||||
|
||||
.bold {
|
||||
font-family: var(--typography-Body-Bold-fontFamily);
|
||||
font-size: var(--typography-Body-Bold-fontSize);
|
||||
@@ -253,24 +171,24 @@
|
||||
}
|
||||
|
||||
.menu {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
text-decoration: none;
|
||||
width: 100%;
|
||||
padding: var(--Spacing-x1);
|
||||
gap: var(--Spacing-x-one-and-half);
|
||||
color: var(--Base-Text-High-contrast);
|
||||
padding: var(--Space-x1);
|
||||
gap: var(--Space-x15);
|
||||
border-radius: var(--Corner-radius-md);
|
||||
}
|
||||
color: var(--Text-Interactive-Default);
|
||||
|
||||
.menu:hover {
|
||||
color: var(--Base-Text-High-contrast);
|
||||
background-color: var(--Base-Surface-Primary-light-Hover-alt);
|
||||
&:hover {
|
||||
background-color: var(--Surface-Primary-Hover);
|
||||
color: var(--Text-Interactive-Default);
|
||||
}
|
||||
}
|
||||
|
||||
.navigation {
|
||||
color: var(--Base-Text-High-contrast);
|
||||
text-decoration: none;
|
||||
padding: var(--Spacing-x-half) var(--Spacing-x1);
|
||||
padding: var(--Space-x05) var(--Space-x1);
|
||||
color: var(--Text-Interactive-Default);
|
||||
|
||||
&:hover {
|
||||
color: var(--Text-Interactive-Default);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user