diff --git a/static/script.js b/static/script.js index d72184c..7e721a0 100644 --- a/static/script.js +++ b/static/script.js @@ -2,14 +2,14 @@ function overlay_in() { $('.shadow').css({'display' : 'block'}); $('.overlay').css({'display' : 'block'}); $('.shadow').animate({'opacity' : 0.7}); - $('.overlay').animate({'top' : '10%'}); + $('.overlay').animate({'opacity' : 1.0, 'top' : '10%'}); } function overlay_out() { $('.shadow').animate({'opacity' : 0.0}, function () { $('.overlay').css({'display' : 'none'}); }); - $('.overlay').animate({'top' : '-70%'}, function () { + $('.overlay').animate({'opacity' : 0.0, 'top' : '5%'}, function () { $('.shadow').css({'display' : 'none'}); }); end_edit(); diff --git a/static/style.css b/static/style.css index d073094..9725568 100644 --- a/static/style.css +++ b/static/style.css @@ -55,11 +55,11 @@ input[type=text].search-bar { .filter-container { background-color: #226666; - padding: 5pt; - margin: 10pt auto; - width: 48%; + padding: 10pt 15pt 10pt 15pt; + margin-top: 10pt; + margin-bottom: 10pt; border-radius: 2pt; - padding-left: 15pt; + display: inline-block; } .filter-container p { @@ -71,6 +71,10 @@ input[type=text].search-bar { margin-bottom: 4pt; } +.filter-concontainertainer { + text-align: center; +} + input[type=checkbox]{ display: none; } @@ -222,16 +226,14 @@ div label input { display: none; height: 70%; left: 20%; - /*padding: 8pt;*/ - padding: 0; - /*position: absolute; /*Should probably be 'fixed' instead*/ - position: fixed; - top: -70%; - top:10%; + padding: 0; + position: fixed; + top:5%; width: 60%; z-index: 201; border-radius: 2pt; text-align: center; + opacity: 0.0; } /*.details-row { @@ -308,3 +310,7 @@ div label input { #datasheet-info p { font-size: 12pt; } + +.bottom-spacer { + height: 80pt; +} diff --git a/templates/partsearch.html b/templates/partsearch.html index 93965c6..2778272 100644 --- a/templates/partsearch.html +++ b/templates/partsearch.html @@ -18,12 +18,14 @@
-
-

Search in:

- - - - +
+
+

Search in:

+ + + + +
Block
Manufacturer
@@ -33,6 +35,7 @@
Docs
+