mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Content filter style updates
This commit is contained in:
parent
e39a31656e
commit
b9c391333e
2 changed files with 29 additions and 7 deletions
|
@ -8,11 +8,29 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin: 2vw 0 1vw;
|
margin: 2vw 0 1vw;
|
||||||
padding: 0;
|
padding: 10px 0 0 0;
|
||||||
border-top: color(var(--lightgrey)) 1px solid;
|
border-top: color(var(--lightgrey)) 1px solid;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-contentfilter-left {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gh-contentfilter-left .gh-contentfilter-menu {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gh-contentfilter-right {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gh-contentfilter-right .gh-contentfilter-menu {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.gh-contentfilter li {
|
.gh-contentfilter li {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
searchField="name"
|
searchField="name"
|
||||||
onchange=(action "changeType")
|
onchange=(action "changeType")
|
||||||
tagName="div"
|
tagName="div"
|
||||||
|
classNames="gh-contentfilter-menu gh-contentfilter-type"
|
||||||
data-test-type-select=true
|
data-test-type-select=true
|
||||||
as |type|
|
as |type|
|
||||||
}}
|
}}
|
||||||
|
@ -26,6 +27,7 @@
|
||||||
searchField="name"
|
searchField="name"
|
||||||
onchange=(action "changeAuthor")
|
onchange=(action "changeAuthor")
|
||||||
tagName="div"
|
tagName="div"
|
||||||
|
classNames="gh-contentfilter-menu gh-contentfilter-author"
|
||||||
data-test-author-select=true
|
data-test-author-select=true
|
||||||
as |author|
|
as |author|
|
||||||
}}
|
}}
|
||||||
|
@ -39,6 +41,7 @@
|
||||||
searchField="name"
|
searchField="name"
|
||||||
onchange=(action "changeTag")
|
onchange=(action "changeTag")
|
||||||
tagName="div"
|
tagName="div"
|
||||||
|
classNames="gh-contentfilter-menu gh-contentfilter-tag"
|
||||||
data-test-tag-select=true
|
data-test-tag-select=true
|
||||||
as |tag|
|
as |tag|
|
||||||
}}
|
}}
|
||||||
|
@ -54,6 +57,7 @@
|
||||||
searchEnabled=false
|
searchEnabled=false
|
||||||
onchange=(action "changeOrder")
|
onchange=(action "changeOrder")
|
||||||
tagName="div"
|
tagName="div"
|
||||||
|
classNames="gh-contentfilter-menu gh-contentfilter-sort"
|
||||||
data-test-order-select=true
|
data-test-order-select=true
|
||||||
as |order|
|
as |order|
|
||||||
}}
|
}}
|
||||||
|
@ -93,12 +97,12 @@
|
||||||
|
|
||||||
{{#if showDeletePostModal}}
|
{{#if showDeletePostModal}}
|
||||||
{{gh-fullscreen-modal "delete-post"
|
{{gh-fullscreen-modal "delete-post"
|
||||||
model=(hash
|
model=(hash
|
||||||
post=selectedPost
|
post=selectedPost
|
||||||
onSuccess=(route-action 'onPostDeletion')
|
onSuccess=(route-action 'onPostDeletion')
|
||||||
)
|
)
|
||||||
close=(action "toggleDeletePostModal")
|
close=(action "toggleDeletePostModal")
|
||||||
modifier="action wide"}}
|
modifier="action wide"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{outlet}}
|
{{outlet}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue