From e5309a1804b2a4c95d87a0dae48ef56047d807e7 Mon Sep 17 00:00:00 2001 From: Erik Lindsay Date: Mon, 13 Feb 2017 15:20:00 -0500 Subject: [PATCH] form --- html-ONLY-site/css/main.css | 49 +++++++++++++++++++++++++--- html-ONLY-site/form.html | 27 ++++++++------- html-ONLY-site/img/add-img-icon.png | Bin 0 -> 760 bytes html-ONLY-site/js/main.js | 11 +++++++ 4 files changed, 71 insertions(+), 16 deletions(-) create mode 100644 html-ONLY-site/img/add-img-icon.png 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 0000000000000000000000000000000000000000..47a122150acf35fd65de1065aed3845c2e5e5769 GIT binary patch literal 760 zcmVPx%vPnciRA>e5SxZU;F%WeGmmWZIC+J>WiB}NZsv9q%N1BC#cmxk1xKuCTtlYX7 z@l$W;Nb%@TDxGwK-33LblB!p)I_d5jovqpBheBp#7j3Q=%`O4Cso(@RwJ6AGhl|>d z1Z1WiPHHdH?=58^ugR4rzV)S_nwY)>g~;qKe`E90zN@#Q7oz*3o0VdW zIjq5_C<%Q*-ANU@9+kiczM*+MQrKLqM7{(*q%TGcVy*dX)p&SY3DgyfN9I8EtWu2Y zUa*L@=97@PVj+N|$#NtU&!UWjIjpf*k2lBnwwY*?y_8J+%wEe}+cCu&e6#=qSWS6& zUdKimbAl%OhO%Mz+KP2J@Zp^XmRs+-QriAzS3ur^!}n z;|!Y;@%)}jhnEtsciD(>0<13o)q2iO3q7|JG!|CTF&e8CCuhN}#8NHhEO=WL^{U3c zLmi{BTH|vTe5jZ`$@oRtT|@XH#)-yqbAw&IULL|`bf2ZA6g{fO11Dirt))Bqqx$iH zqR}eW6)n@Pf*7Ax)ZJKjZ3PWkbimdtjyFHkb@}0A{e|?$Mfan1;30DW4;B3R=DyNL zxw;Mt-&uTmPAlDzYmk&ya8MDJpq!0|g=aM16a_D$v5OD1NKx=Ze4fz|lW_ZY|4j3_ q-6(o4inr|FCn3`q9KdDupTl2xo6E_?G39Ll0000