Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Updated posts/pages filter style
Browse files Browse the repository at this point in the history
no refs.
- grouped posts/pages filters for better future scalablility and to indicate corresponding UI components
  • Loading branch information
peterzimon committed Jul 15, 2019
1 parent d1ed51a commit b360c37
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions app/styles/layouts/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 32px;
margin: 0 24px;
padding: 0;
list-style: none;
}
Expand Down Expand Up @@ -50,12 +50,12 @@
font-size: 1.3rem;
font-weight: 400;
color: var(--darkgrey);
padding: 0 8px;
padding: 5px 10px 6px 10px;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.01), 0 1px 2px rgba(0, 0, 0, 0.05);
outline: none;
border: none;
border-radius: 9999px !important;
margin-left: 10px;
border-right: 1px solid var(--whitegrey-l2);
border-radius: 0;
white-space: nowrap;
transition: all 0.25s ease;
}
Expand All @@ -66,6 +66,16 @@
color: var(--darkgrey);
}

.gh-contentfilter-type .gh-contentfilter-menu-trigger {
border-top-left-radius: 4px !important;
border-bottom-left-radius: 4px !important;
}

.gh-contentfilter-sort .gh-contentfilter-menu-trigger {
border-top-right-radius: 4px !important;
border-bottom-right-radius: 4px !important;
}

.gh-contentfilter-selected .gh-contentfilter-menu-trigger,
.gh-contentfilter-selected .gh-contentfilter-menu-trigger:hover {
color: var(--blue);
Expand Down

0 comments on commit b360c37

Please sign in to comment.