Skip to content

Commit

Permalink
Merge pull request #642 from opensafely-core/group-highlight
Browse files Browse the repository at this point in the history
Style file groups to increase visual prominence
  • Loading branch information
tomodwyer authored Sep 2, 2024
2 parents bcd1279 + a653bf0 commit a8f7693
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/src/styles/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

.tree__folder-name > .filegroup {
@apply
flex flex-row-reverse
font-semibold text-oxford-600 underline underline-offset-2 decoration-oxford-200
after:content-["Group:\00a0"] after:relative
;
}

.tree__folder-name:has(.selected.filegroup) ~ .tree__child-list {
@apply border-solid border-l-oxford-700;
}

0 comments on commit a8f7693

Please sign in to comment.