From 279c46c1f6ec95d800d3786e1bff04c2733e10ea Mon Sep 17 00:00:00 2001 From: roberto Date: Tue, 13 Oct 2020 12:15:02 -0500 Subject: [PATCH] fix: improve forms of time-entries page --- .../details-fields.component.html | 172 +++++++++--------- .../details-fields.component.scss | 28 --- .../pages/time-clock.component.html | 2 +- .../pages/time-clock.component.scss | 10 + 4 files changed, 98 insertions(+), 114 deletions(-) diff --git a/src/app/modules/shared/components/details-fields/details-fields.component.html b/src/app/modules/shared/components/details-fields/details-fields.component.html index 9b4b75ba7..cf4780ecf 100644 --- a/src/app/modules/shared/components/details-fields/details-fields.component.html +++ b/src/app/modules/shared/components/details-fields/details-fields.component.html @@ -2,13 +2,9 @@ -
- -
- Project -
- -
+
+ +
- -
-
-
- Activity + +
+ +
+
-
-
-
- Ticket + +
+ +
+
-
-
-
- Date + +
+ +
+
-
-
-
- Time in + + +
+ +
+
- -
- Time out + + +
+
-
+ +
- +
diff --git a/src/app/modules/shared/components/details-fields/details-fields.component.scss b/src/app/modules/shared/components/details-fields/details-fields.component.scss index 4d90eaed6..4ef9f488b 100644 --- a/src/app/modules/shared/components/details-fields/details-fields.component.scss +++ b/src/app/modules/shared/components/details-fields/details-fields.component.scss @@ -60,32 +60,6 @@ } } -.ng-autocomplete { - width: 100%; -} - -.autocomplete::ng-deep .autocomplete-container { - border: 1px solid #ced4da; - border-radius: 0 0.25rem 0.25rem 0; - box-shadow: none; - height: 2rem; - - .input-container { - height: 100%; - - input { - border-radius: 0.25rem; - height: 100%; - } - } -} - -.validation::ng-deep { - .autocomplete .autocomplete-container { - border: 1px solid red; - } -} - input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; @@ -114,10 +88,8 @@ input[type="date"]::-webkit-clear-button { } .autocomplete { - width: 80%; display: block; background-clip: padding-box; border: none; margin: 0em; - padding: 0em; } diff --git a/src/app/modules/time-clock/pages/time-clock.component.html b/src/app/modules/time-clock/pages/time-clock.component.html index e0e7752fa..bb86f86ab 100644 --- a/src/app/modules/time-clock/pages/time-clock.component.html +++ b/src/app/modules/time-clock/pages/time-clock.component.html @@ -1,6 +1,6 @@ -
+
diff --git a/src/app/modules/time-clock/pages/time-clock.component.scss b/src/app/modules/time-clock/pages/time-clock.component.scss index a785e559c..578239317 100644 --- a/src/app/modules/time-clock/pages/time-clock.component.scss +++ b/src/app/modules/time-clock/pages/time-clock.component.scss @@ -12,3 +12,13 @@ background-color: $primary; color: white; } + +.entry-container{ + width: 100%; +} + +@media (min-width: 992px) { + .entry-container{ + width: 70%; + } +}