diff --git a/html-ONLY-site/css/main.css b/html-ONLY-site/css/main.css index 4cd49cb..ba2bbd2 100644 --- a/html-ONLY-site/css/main.css +++ b/html-ONLY-site/css/main.css @@ -141,14 +141,25 @@ button { form { display: flex; flex-direction: column; - margin: 1rem; margin-top: 2.6rem; } +form ul, h2{ + margin: 1rem +} + +label[for=well-picture] { + display: flex; + justify-content: center; + align-items: center; + height: 13rem; + background: lightgray; +} h2{ font-weight: 700; margin-bottom: 0; +border-bottom: 1px solid black; } label { @@ -171,18 +182,48 @@ ul.inputs li{ font-size: 1.2rem; } -li input[type=text], select { +li input[type=text], select, input[type=number].long-num { width: 100%; height: 2.5rem; } + +li input[type=date] { + height: 2.5rem; +} +input[type=number].med-num{ + width: 6rem; +} + +textarea{ + width: 100%; +} + li input[type=number] { width: 4.4rem;; height: 2.5rem; } -form button{ - border: black 2px solid; +#get-gps-local input{ + width: calc(100% - 3.5rem); +} +#get-gps-local button img{ + height: 2.4rem; +} + +.other{ + margin-top: 1rem; + display: none; +} + +#depth-from-surface input[type=text]{ + margin: 1rem 4rem; + width: calc(100% - 8rem); + align-self: flex-start; } +input[type=submit]{ + margin: 1rem; + height: 3rem; +} /* ========================================================================== Helper classes ========================================================================== */ diff --git a/html-ONLY-site/form.html b/html-ONLY-site/form.html index f464b91..5a6a7c8 100644 --- a/html-ONLY-site/form.html +++ b/html-ONLY-site/form.html @@ -36,6 +36,9 @@
+ @@ -86,7 +89,7 @@

Owner Info

  • - +
  • @@ -105,18 +108,18 @@

    Well location

  • - +
  • - +
  • -
  • +
  • - +
  • @@ -126,7 +129,7 @@

    Well location

  • - @@ -136,7 +139,7 @@

    Well location

    - +
  • @@ -147,7 +150,7 @@

    Well location

    - +
  • diff --git a/html-ONLY-site/img/add-img-icon.png b/html-ONLY-site/img/add-img-icon.png new file mode 100644 index 0000000..47a1221 Binary files /dev/null and b/html-ONLY-site/img/add-img-icon.png differ diff --git a/html-ONLY-site/js/main.js b/html-ONLY-site/js/main.js index 0c3098c..585f1fe 100644 --- a/html-ONLY-site/js/main.js +++ b/html-ONLY-site/js/main.js @@ -9,3 +9,14 @@ function initMap() { map: map }); } + + +$('select').change(function() { + + if ($(this).val() == "Other"){ + $(this).next().css("display", "block") + } else { + $(this).next().css("display", "none") + }; + +}); \ No newline at end of file