Skip to content

Commit

Permalink
✨ tag navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Jul 29, 2024
1 parent 09ad9d6 commit 8d04242
Show file tree
Hide file tree
Showing 2 changed files with 226 additions and 100 deletions.
84 changes: 55 additions & 29 deletions site/DataCatalog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,48 +35,60 @@
}

.data-catalog-facets-list {
display: flex;
flex-direction: row;
margin-bottom: 16px;
list-style: none;
flex-wrap: wrap;
}

.data-catalog-facets-list-item {
margin-right: 8px;
border: 1px solid $blue-20;
border-radius: 50px;
margin-bottom: 4px;
@include body-3-medium;
display: inline;
font-weight: bold;
cursor: pointer;
color: $blue-90;
&:hover {
border-color: $blue-40;
}

&.ais-RefinementList-item--selected {
background-color: $blue-20;
text-decoration: underline;
}
}

.data-catalog-facets-list-item__checkbox {
display: none;
.data-catalog-facets-list-item__hit-count {
color: $blue-60;
margin-left: 4px;
}

.data-catalog-facets-list-item__label {
cursor: pointer;
padding: 2px 4px;
.data-catalog-facets-list-separator {
display: inline-block;
pointer-events: none;
margin: 0 8px;
color: $blue-30;
&::after {
content: "";
}
}

.data-catalog-facets-list-item__label-text {
@include body-3-medium;
margin-left: 8px;
.data-catalog-applied-filters-list {
list-style: none;
margin-bottom: 8px;
}

.data-catalog-facets-list-item__count {
margin-left: 8px;
background-color: $blue-10;
font-size: 0.75rem;
.data-catalog-applied-filters-item {
display: inline-block;
margin-right: 8px;
margin-bottom: 8px;
}
.data-catalog-applied-filters-button {
background-color: $blue-20;
color: $blue-90;
padding: 5.5px 16px;
border: none;
border-radius: 50px;
padding: 4px 8px;
cursor: pointer;
svg {
height: 16px;
margin-bottom: -2px;
margin-left: 4px;
}
&:hover {
color: $blue-100;
}
}

.data-catalog-ribbon {
Expand All @@ -91,16 +103,30 @@
margin-bottom: 24px;
h2 {
margin: 0;
font-weight: bold;
}
a {
line-height: 38.4px;
margin-right: 16px;
}
}
.data-catalog-ribbon-hits {
}
.data-catalog-ribbon-hit {

.data-catalog-ribbon__hit-count {
color: $blue-65;
&:hover {
text-decoration: underline;
}
svg {
height: 10px;
width: 10px;
background-color: $blue-65;
border-radius: 50px;
padding: 2px;
color: $blue-10;
margin-left: 8px;
}
}

.data-catalog-search-list,
.data-catalog-ribbon-list {
list-style: none;
Expand Down
Loading

0 comments on commit 8d04242

Please sign in to comment.