Skip to content

Commit b246a9b

Browse files
shaunandrewswestonruter
authored andcommitted
Improve styling of widget search field
Fixes #83
1 parent 45e8e6f commit b246a9b

File tree

1 file changed

+6
-25
lines changed

1 file changed

+6
-25
lines changed

widget-customizer.css

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -384,58 +384,39 @@ body.adding-widget .add-new-widget:before {
384384
overflow: auto;
385385
top: 0;
386386
bottom: 0;
387-
left: -300px;
387+
left: -301px;
388388
width: 300px;
389389
margin: 0;
390-
padding-bottom: 46px;
391390
z-index: 1;
392391
background: #fff;
393392
-webkit-transition: all 0.2s;
394393
transition: all 0.2s;
395-
-webkit-box-shadow: inset -1px 0 4px rgba(0,0,0,0.3);
396-
box-shadow: inset -1px 0 4px rgba(0,0,0,0.3);
394+
border-right: 1px solid #dddddd;
397395
}
398396

399397
#available-widgets-filter {
400-
display: none;
401-
position: fixed;
402-
right: 0;
403-
bottom: 0;
404-
left: 300px;
405-
width: 300px;
406-
padding: 8px 20px;
407-
background: #fafafa;
408-
background: rgba(255,255,255,0.95);
409-
border-top: 1px solid rgba(0,0,0,0.1);
410-
z-index: 2;
398+
padding: 8px 17px 7px 13px;
399+
border-bottom: 1px solid #e4e4e4;
411400
-webkit-box-sizing: border-box;
412401
-moz-box-sizing: border-box;
413402
box-sizing: border-box;
414403
}
415404

416-
.adding-widget #available-widgets-filter {
417-
display: block;
418-
}
419-
420405
#available-widgets-filter input {
421-
padding: 5px 5px 2px 20px;
406+
padding: 5px 10px 2px 10px;
422407
width: 100%;
423-
border-radius: 30px;
424408
}
425409

426410
#available-widgets .widget-tpl {
427411
position: relative;
428412
padding: 20px 15px 20px 60px;
429-
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.05);
430-
box-shadow: inset 0 -1px 0 rgba(0,0,0,.05);
413+
border-bottom: 1px solid #e4e4e4;
431414
cursor: pointer;
432415
}
433416

434417
#available-widgets .widget-tpl:hover,
435418
#available-widgets .widget-tpl.selected {
436419
background: #fafafa;
437-
-webkit-box-shadow: inset -4px 0 4px -4px rgba(0,0,0,0.3), inset 3px 0 4px -4px rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,.07);
438-
box-shadow: inset -4px 0 4px -4px rgba(0,0,0,0.3), inset 3px 0 4px -4px rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,.07);
439420
}
440421

441422
#available-widgets .widget-top,

0 commit comments

Comments
 (0)