diff --git a/apps/port/import.css b/apps/port/import.css new file mode 100644 index 000000000..225ef2357 --- /dev/null +++ b/apps/port/import.css @@ -0,0 +1,152 @@ +body{ + font-family: Roboto, Arial, sans-serif; +} +#exportTitle, #exportTitle h1 { + margin: -8px; + padding: 0; +} +.form{ + margin: auto; + width: 50%; + height: 100%; + background-color:#f2f2f2; + box-sizing: border-box; + +} +input { + font-family: Roboto, Arial, sans-serif; + font-size: 16px; + width: 60%; + margin-left: 20%; + height: 35px; + border: none; + border-bottom: 3px solid grey; + transition: background-color 0.3s ease; + } +textarea{ + margin-left: 5%; + font-family: Roboto, Arial, sans-serif; + font-size: 16px; + width: 90%; + max-width: 100%; + height: 150px; + border: 3px solid grey; + transition: background-color 0.3s ease; + box-sizing: border-box; + } +input:hover{ + background-color: #F9F7F1; +} +input:focus{ + outline: none; + border: none; + + border-bottom: 3px solid #17a2b8; +} +textarea:hover{ + background-color: #F9F7F1; +} +textarea:focus{ + outline: none; +} +::placeholder { + font-family: Roboto, Arial, sans-serif; + font-size: 16px; + color: grey; + font-size: 11pt; + + + } + +#exportTitle { + width: 100%; + background-color: #17a2b8 !important; + color: white; + font-size: 18px; +} + +.buttons { + width: 40%; + padding: 10px 0; + border-radius: 5px; + background: #17a2b8; + border-color:#17a2b8; + font-size: 14px; + font-weight: 600; + color: #fff; + display: inline-block; + box-shadow: none; + transition: background-color 0.3s ease; +} + .buttons:hover { + border: 1px solid #17a2b8; + color: #17a2b8; + background: #fff; + } + + .h1 { + font-weight: bold; + height: 120px; + display: flex; + justify-content: center; + align-items: center; + } + + .h3 { + margin: 20px 0 0 25%; + font-size: 18px; + } + + .h { + text-align: center; + padding-top: 2%; + font-size: 25pt; + color: MediumSeaGreen; + /* border-bottom: 4px solid lightgrey; + width: */ + } +.h2{ + text-align: center; + padding-top: 2%; + font-size: 25pt; + color: MediumSeaGreen; + /* border-bottom: 4px solid lightgrey; */ +} + + .form-check-input { + padding: 5px !important; + } + + .btns { + margin-left: 22%; + width: 70%; + + } + .btnn{ + margin-left: 260px; + } + .file { + margin-top: 20px; + } +label{ + font-size:15pt; + +} +@media only screen and (max-width: 600px) { + .form { + width: 100%; + margin-left: 0px; + } + + .buttons { + width: calc(50% - 5px); + display: block; + margin-right: 5px; + margin-bottom: 10px; + } + + textarea { + width: 90%; + margin-left: 5%; + } +} \ No newline at end of file diff --git a/apps/port/import.html b/apps/port/import.html index b8dcd19f9..1f26d7a31 100644 --- a/apps/port/import.html +++ b/apps/port/import.html @@ -5,108 +5,41 @@ - - - - - - + + + + Import and Export caMicroscope - -

Import Annotations

-
+

Info

-
-
- -
-
-
-
-
-
-
-

File Contents

-
-
-
-
-
- - -
-
-
- +
+
+
+
+
+
+
+

File Contents

+
+
+
+
+
+ + +
+
+
+
diff --git a/apps/port/style.css b/apps/port/style.css index ee822619d..d44a9b406 100644 --- a/apps/port/style.css +++ b/apps/port/style.css @@ -1,7 +1,8 @@ html, body { min-height: 100%; } - body, div, form, input, select, p { + + body, div, input, select, p { padding: 0; margin: 0; outline: none; @@ -25,7 +26,6 @@ html, body { } form { width: 100%; - padding: 20px; } fieldset { border: none; @@ -46,6 +46,7 @@ html, body { } label { padding: 0 5px; + font-size: 14pt; text-align: right; vertical-align: middle; } @@ -120,4 +121,4 @@ html, body { select, .children, .gender, .bdate-block { width: calc(60% + 16px); } -} +} \ No newline at end of file