From 3c32a01d540844354c96383c640443e99a5030a7 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Tue, 18 Oct 2016 23:19:32 -0700 Subject: changing UI for quick-delete-post button --- system/admin/handlers.go | 2 +- system/admin/static/dashboard/css/admin.css | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'system') diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 1dea5c1..790351d 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -438,7 +438,7 @@ func adminPostListItem(p editor.Editable, t string) []byte { ` + p.ContentName() + ` Updated: ` + updatedTime + `
- delete + Delete
diff --git a/system/admin/static/dashboard/css/admin.css b/system/admin/static/dashboard/css/admin.css index 89fb047..5dda604 100644 --- a/system/admin/static/dashboard/css/admin.css +++ b/system/admin/static/dashboard/css/admin.css @@ -169,11 +169,13 @@ span.post-detail { } li:hover .quick-delete-post { - display: block; + display: inline-block; } -.quick-delete-post i { +.quick-delete-post span { cursor: pointer; + color: #F44336; + text-transform: uppercase; } -- cgit v1.2.3