Skip to content

Commit

Permalink
CSS Nesting
Browse files Browse the repository at this point in the history
Co-authored-by: Burhan Nasir <[email protected]>
  • Loading branch information
felipeelia and burhandodhy committed Feb 28, 2025
1 parent 51b7bb2 commit 8931ce2
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions assets/css/general.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
@import "./global/colors.css";

#wpadminbar .ep-status-indicator {
background-color: var(--ep-c-white-gray);
border-radius: 100%;
display: inline-block;
height: 8px;
margin-right: 6px;
width: 8px;
}

#wpadminbar .ep-status-indicator--success {
background-color: var(--ep-status-ok);
}

#wpadminbar .ep-status-indicator--warning {
background-color: var(--ep-status-warning);
}
#wpadminbar {

#wpadminbar .ep-status-indicator--error {
background-color: var(--ep-status-error);
& .ep-status-indicator {
background-color: var(--ep-c-white-gray);
border-radius: 100%;
display: inline-block;
height: 8px;
margin-right: 6px;
width: 8px;
}

& .ep-status-indicator--success {
background-color: var(--ep-status-ok);
}

& .ep-status-indicator--warning {
background-color: var(--ep-status-warning);
}

& .ep-status-indicator--error {
background-color: var(--ep-status-error);
}
}

0 comments on commit 8931ce2

Please sign in to comment.