From 95bace54c85adecd8156d2c71f5a3acc2fc7c687 Mon Sep 17 00:00:00 2001 From: Nikolaos Laskaris Date: Thu, 9 Nov 2017 16:18:02 +0200 Subject: [PATCH] -- --- dmp-frontend/src/app/app.component.css | 29 +++-- dmp-frontend/src/app/app.component.html | 53 ++++---- .../src/app/form/dynamic-form.component.css | 39 ++++++ .../src/app/form/dynamic-form.component.html | 120 ++++++++---------- .../src/app/form/dynamic-form.component.ts | 6 +- dmp-frontend/src/app/form/dynamic-form.css | 5 - .../form/tableOfContents/toc.component.css | 3 + .../form/tableOfContents/toc.component.html | 4 +- .../app/form/tableOfContents/toc.component.ts | 1 + dmp-frontend/src/index.html | 1 - 10 files changed, 146 insertions(+), 115 deletions(-) create mode 100644 dmp-frontend/src/app/form/dynamic-form.component.css delete mode 100644 dmp-frontend/src/app/form/dynamic-form.css create mode 100644 dmp-frontend/src/app/form/tableOfContents/toc.component.css diff --git a/dmp-frontend/src/app/app.component.css b/dmp-frontend/src/app/app.component.css index d1a3ac813..69ad35423 100644 --- a/dmp-frontend/src/app/app.component.css +++ b/dmp-frontend/src/app/app.component.css @@ -15,7 +15,7 @@ } - .navbar-center { +.navbar-center { position: absolute; width: 100%; left: 0; @@ -66,30 +66,32 @@ width:100%; float:left; } -.child_div{ + +.child_div_left{ height:100%; - /* - width:100%; - */ float:left; } +.child_div_right{ + height:100%; + float:right; +} + .sidenav { - /* - position: absolute; - padding-bottom: 500px; - */ + + display:none; border-radius: 15px; - z-index: 1; - overflow-x: hidden; - height: 100%; width: 0px; + /* top: 0px; + height: 100%; left: 0px; + */ + overflow-x: hidden; background-color: #f8f8f8; transition: 0.5s; padding-top: 60px; @@ -97,6 +99,9 @@ .sidenav.expanded{ width: 15%; + + + display: block; border-style: solid; border-width: thin; diff --git a/dmp-frontend/src/app/app.component.html b/dmp-frontend/src/app/app.component.html index baebd067f..a78df1f2d 100644 --- a/dmp-frontend/src/app/app.component.html +++ b/dmp-frontend/src/app/app.component.html @@ -42,32 +42,33 @@
- - -
- - - - - - - - - + + + +
+ + + + + + + + + +
\ No newline at end of file diff --git a/dmp-frontend/src/app/form/dynamic-form.component.css b/dmp-frontend/src/app/form/dynamic-form.component.css new file mode 100644 index 000000000..f5621e21c --- /dev/null +++ b/dmp-frontend/src/app/form/dynamic-form.component.css @@ -0,0 +1,39 @@ +.btncustom{ + background-color:#337ab7; + color:white; + margin-top:15px; +} + + + +.styled-scrollbar::-webkit-scrollbar-track { + box-shadow: inset 0 0 6px rgba(0,0,0,0.3); + -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); + background-color: #F5F5F5; + border-radius: 10px; +} + +.styled-scrollbar::-webkit-scrollbar-thumb { + border-radius: 10px; + background-image: -webkit-gradient(linear, + left bottom, + left top, + color-stop(0.44, rgb(122,153,217)), + color-stop(0.72, rgb(73,125,189)), + color-stop(0.86, rgb(28,58,148))); +} + +.parent-div { + height: calc(100vh - 80px); + width:100%; +} + +.child-div-left{ + overflow-y: scroll; + height: 100%; +} + +.child-div-right { + overflow-y: scroll; + height: 100%; +} \ No newline at end of file diff --git a/dmp-frontend/src/app/form/dynamic-form.component.html b/dmp-frontend/src/app/form/dynamic-form.component.html index 7cb8f93c5..d61e4e872 100644 --- a/dmp-frontend/src/app/form/dynamic-form.component.html +++ b/dmp-frontend/src/app/form/dynamic-form.component.html @@ -1,8 +1,8 @@ -
+
-
- +
+
@@ -42,82 +42,70 @@

Form value: {{ form.value | json }}

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