Skip to content

Commit

Permalink
fix: color corretion + file cleaned (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wagner3UB authored Sep 18, 2023
1 parent 8ff8b4f commit b08f430
Showing 1 changed file with 8 additions and 30 deletions.
38 changes: 8 additions & 30 deletions theme/ItaliaTheme/Blocks/_info.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,28 +61,20 @@ $tertiary-hover: darken($gray-border, 10%);
&.bg-color-true {
background-color: var(--info-block-primary-color);
}
h1,
h2,
h3,
h4,
h5,
h6,
a {
color: #fff;
}
&.bg-color-true {
color: var(--info-block-primary-font-color-with-bg);
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
p,
.public-DraftEditorPlaceholder-inner {
color: var(--info-block-primary-font-color-with-bg);
}
svg.icon {
svg.icon.left-image {
fill: var(--info-block-primary-font-color-with-bg);
color: var(--info-block-primary-font-color-with-bg);
}
Expand All @@ -104,15 +96,6 @@ $tertiary-hover: darken($gray-border, 10%);
&.bg-color-true {
background-color: var(--info-block-secondary-color);
}
h1,
h2,
h3,
h4,
h5,
h6,
a {
color: #fff;
}
&.bg-color-true {
color: var(--info-block-secondary-font-color-with-bg);
h1,
Expand All @@ -122,6 +105,8 @@ $tertiary-hover: darken($gray-border, 10%);
h5,
h6,
a,
span,
p,
.public-DraftEditorPlaceholder-inner {
color: var(--info-block-secondary-font-color-with-bg);
}
Expand Down Expand Up @@ -156,26 +141,19 @@ $tertiary-hover: darken($gray-border, 10%);
h4,
h5,
h6,
a {
a,
span,
p {
color: var(--info-block-tertiary-font-color-with-bg);
fill: var(--info-block-tertiary-font-color-with-bg);
}
}
}

.DraftEditor-root {
background: none;
}

p {
margin: 0;
}

img.left-image {
max-width: 80%;
object-fit: unset;
}

.image-col {
text-align: center;
}
Expand Down

0 comments on commit b08f430

Please sign in to comment.