Skip to content

Commit

Permalink
change(stylemenu): simplify css to target the color directly on the c…
Browse files Browse the repository at this point in the history
…lasses
  • Loading branch information
ichim-david committed Jun 15, 2023
1 parent 2190ebe commit 4801013
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions theme/themes/eea/globals/site.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -132,25 +132,16 @@ a {
color: @black;
}

/* Add colors for paragraphs styles options in StyeMenu */
/* Add colors for paragraphs styles options in StyleMenu */
#style-menu.ui.dropdown .menu {
span.block-style-primary {
.block-style-primary {
color: @primaryColor;
span.text {
color: @primaryColor;
}
}
span.block-style-secondary {
.block-style-secondary {
color: @secondaryColor;
span.text {
color: @secondaryColor;
}
}
span.block-style-tertiary {
.block-style-tertiary {
color: @tertiaryColor;
span.text {
color: @tertiaryColor;
}
}
}

Expand All @@ -175,16 +166,16 @@ a {
visibility: hidden;
}
.image {
page-break-inside: avoid;
page-break-inside: avoid;
}
img {
page-break-inside: avoid;
page-break-inside: avoid;
}
.card {
page-break-inside: avoid;
.card {
page-break-inside: avoid;

}
.grid-block-teaser .card{
page-break-inside: auto;
page-break-inside: auto;
}
}

0 comments on commit 4801013

Please sign in to comment.