1
0
Fork 0
forked from OpenNeo/impress

actually, drop the extra form and just keep the search bar always large :/

This commit is contained in:
Emi Matchu 2014-04-02 19:21:18 -05:00
parent ce734fae7e
commit c20ac77fdd
2 changed files with 4 additions and 23 deletions

View file

@ -216,14 +216,6 @@ body.outfits-edit
padding-bottom: 1.25em padding-bottom: 1.25em
.no-assets-message .no-assets-message
display: block display: block
.item-search
font-size: 85%
margin-bottom: 1em
text-align: center
span
font-weight: bold
margin-right: 1em
.no-assets-message .no-assets-message
background: $error-bg-color - #080808 background: $error-bg-color - #080808
bottom: 0 bottom: 0
@ -262,8 +254,9 @@ body.outfits-edit
display: block display: block
#preview-search-basic > ul #preview-search-basic > ul
clear: both clear: both
.object #preview-search-basic > ul, #preview-search-advanced > div
min-height: 150px /* don't bounce the header around kthx */
min-height: 180px
#preview-search-advanced #preview-search-advanced
display: none display: none
@ -281,8 +274,6 @@ body.outfits-edit
box-sizing: border-box box-sizing: border-box
font-size: 87.5% font-size: 87.5%
padding-top: .5em padding-top: .5em
/* search results height, to prevent header bouncing */
min-height: 178px
vertical-align: top vertical-align: top
width: 32% width: 32%
@ -300,7 +291,7 @@ body.outfits-edit
list-style: none list-style: none
margin-left: -24px margin-left: -24px
div:first-child div:first-of-type
margin-left: 2em margin-left: 2em
#preview-search-advanced-link #preview-search-advanced-link
@ -361,12 +352,8 @@ body.outfits-edit
bottom: 1.5em bottom: 1.5em
left: 0 left: 0
overflow: auto overflow: auto
padding: 1em 0
position: absolute position: absolute
width: 100% width: 100%
&.has-results, &.advanced
padding-bottom: 0
#footer #footer
bottom: 0 bottom: 0
left: 0 left: 0

View file

@ -49,12 +49,6 @@
#save-error #save-error
#preview-closet.sidebar-view #preview-closet.sidebar-view
= prank_color_message('<span class="prank-color-message-name"></span>'.html_safe, '$artist-name', '$artist-url') = prank_color_message('<span class="prank-color-message-name"></span>'.html_safe, '$artist-name', '$artist-url')
%form.item-search
%label
-# TODO: i18n
%span Add an item
%input{type: 'text', name: 'query'}
%button{type: 'submit'} Search
%ul %ul
#preview-outfits.sidebar-view #preview-outfits.sidebar-view
%ul#preview-outfits-list %ul#preview-outfits-list