[wp-trac] [WordPress Trac] #43085: Metabox UI rough box shadow when in closed mode

WordPress Trac noreply at wordpress.org
Sun Jan 14 10:30:25 UTC 2018


#43085: Metabox UI rough box shadow when in closed mode
--------------------------------+-----------------------------
 Reporter:  obiplabon           |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Administration      |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 Please check the following two images and compare side by side. I've added
 a red mark for your convenience. The drop shadow or box shadow doesn't
 look neat and clean.

 '''Before'''
 [[Image(https://i.imgur.com/Af5eB2e.png)]]

 '''After'''
 [[Image(https://i.imgur.com/M1zoLfx.png)]]

 Changing the following css I've gotten better result.

 {{{
 .postbox .hndle, .stuffbox .hndle {
     border-bottom: 1px solid #eee;
     user-select: none;
 }
 // Changing the above styles to this
 .postbox:not(.closed) .hndle, .stuffbox:not(.closed) .hndle {
     border-bottom: 1px solid #eee;
     user-select: none;
 }
 }}}

 Thanks

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43085>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list