Skip to content

Commit

Permalink
Simplify and nest CSS for icons
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodwyer committed Jun 27, 2024
1 parent 75f513f commit 2ad5a1b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions airlock/static/assets/file_browser/tree.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
z-index: -2;
}


.tree__file {
--file-name: var(--color-slate-800);
--icon-filter: invert(31%) sepia(1%) saturate(0%) hue-rotate(9deg)
Expand Down Expand Up @@ -120,17 +119,18 @@
width: 14px;
}

[data-workspace] .workspace_under_review {
--file-bg: var(--color-cyan-50);
--file-border: var(--color-cyan-500);
--file-name: var(--color-cyan-900);
--icon-filter: invert(25%) sepia(27%) saturate(1303%) hue-rotate(151deg)
brightness(91%) contrast(89%);
--icon-url: url("/static/icons/add_circle_outline.svg");
[data-workspace] {
.workspace_under_review {
--file-bg: var(--color-cyan-50);
--file-border: var(--color-cyan-500);
--file-name: var(--color-cyan-900);
--icon-filter: invert(25%) sepia(27%) saturate(1303%) hue-rotate(151deg)
brightness(91%) contrast(89%);
--icon-url: url("/static/icons/add_circle_outline.svg");
}
}

[data-author][data-request],
[data-output-checker][data-request] {
[data-request] {
.tree__file.withdrawn {
--file-bg: var(--color-orange-50) !important;
--file-border: var(--color-orange-700) !important;
Expand Down

0 comments on commit 2ad5a1b

Please sign in to comment.