Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
/ Admin Public archive

Commit b360c37

Browse files
committed
Updated posts/pages filter style
no refs. - grouped posts/pages filters for better future scalablility and to indicate corresponding UI components
1 parent d1ed51a commit b360c37

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

app/styles/layouts/content.css

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
display: flex;
88
align-items: center;
99
justify-content: space-between;
10-
margin: 0 32px;
10+
margin: 0 24px;
1111
padding: 0;
1212
list-style: none;
1313
}
@@ -50,12 +50,12 @@
5050
font-size: 1.3rem;
5151
font-weight: 400;
5252
color: var(--darkgrey);
53-
padding: 0 8px;
53+
padding: 5px 10px 6px 10px;
5454
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.01), 0 1px 2px rgba(0, 0, 0, 0.05);
5555
outline: none;
5656
border: none;
57-
border-radius: 9999px !important;
58-
margin-left: 10px;
57+
border-right: 1px solid var(--whitegrey-l2);
58+
border-radius: 0;
5959
white-space: nowrap;
6060
transition: all 0.25s ease;
6161
}
@@ -66,6 +66,16 @@
6666
color: var(--darkgrey);
6767
}
6868

69+
.gh-contentfilter-type .gh-contentfilter-menu-trigger {
70+
border-top-left-radius: 4px !important;
71+
border-bottom-left-radius: 4px !important;
72+
}
73+
74+
.gh-contentfilter-sort .gh-contentfilter-menu-trigger {
75+
border-top-right-radius: 4px !important;
76+
border-bottom-right-radius: 4px !important;
77+
}
78+
6979
.gh-contentfilter-selected .gh-contentfilter-menu-trigger,
7080
.gh-contentfilter-selected .gh-contentfilter-menu-trigger:hover {
7181
color: var(--blue);

0 commit comments

Comments
 (0)