Skip to content

Commit

Permalink
Fix #4300 - take css classes outside .opt-decoration in dark theme (#…
Browse files Browse the repository at this point in the history
…4301)

* Fix #4300 - take css classes outside .opt-decoraiton in dark theme

* Apply reviewers comments

* Make default-theme.scss match dark-theme.scss for opt-remarks
  • Loading branch information
OfekShilon committed Nov 19, 2022
1 parent 4212cb6 commit 8be6ca1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
11 changes: 7 additions & 4 deletions static/styles/themes/dark-theme.scss
Expand Up @@ -458,20 +458,23 @@ textarea.form-control {
}

.opt-decoration {
.analysis,
.mixed {

&.analysis,
&.mixed {
background: #fdfd96 !important;
}

.passed {
&.passed {
background: #77dd77 !important;
}

.missed {
&.missed {
background: #ff6961 !important;
}
}



.popover,
.popover-content,
.libs-container,
Expand Down
20 changes: 11 additions & 9 deletions static/styles/themes/default-theme.scss
Expand Up @@ -185,17 +185,19 @@ a.navbar-brand img.logo.normal {
color: black;
}

.analysis,
.mixed {
background: #fdfd96;
}
.opt-decoration {
&.analysis,
&.mixed {
background: #fdfd96;
}

.passed {
background: #77dd77;
}
&.passed {
background: #77dd77;
}

.missed {
background: #ff6961;
&.missed {
background: #ff6961;
}
}

.conformance-wrapper {
Expand Down

0 comments on commit 8be6ca1

Please sign in to comment.