From 5e7b9e81002e8e1bfecee982089424da97426e65 Mon Sep 17 00:00:00 2001 From: Juan Gabriel Guzman Date: Wed, 1 Jul 2020 23:08:41 -0500 Subject: [PATCH] feat: #413 Improving styles for project component --- .../project-list-hover.component.html | 10 ++++----- .../project-list-hover.component.scss | 22 +++++++++---------- src/styles.scss | 9 +++++++- 3 files changed, 24 insertions(+), 17 deletions(-) diff --git a/src/app/modules/time-clock/components/project-list-hover/project-list-hover.component.html b/src/app/modules/time-clock/components/project-list-hover/project-list-hover.component.html index 5030515ae..2e71b43a0 100644 --- a/src/app/modules/time-clock/components/project-list-hover/project-list-hover.component.html +++ b/src/app/modules/time-clock/components/project-list-hover/project-list-hover.component.html @@ -4,7 +4,7 @@ Project -
+
-
-
+
+
-
-
+
  -
diff --git a/src/app/modules/time-clock/components/project-list-hover/project-list-hover.component.scss b/src/app/modules/time-clock/components/project-list-hover/project-list-hover.component.scss index 91819c1e2..4b17e8d94 100644 --- a/src/app/modules/time-clock/components/project-list-hover/project-list-hover.component.scss +++ b/src/app/modules/time-clock/components/project-list-hover/project-list-hover.component.scss @@ -4,6 +4,7 @@ width: 6rem; background-color: $primary; color: white; + height: 40px; } .btn-select { @@ -13,20 +14,19 @@ .container { font-size: small; - width: 100%; - min-height: 30px; - position: relative; + cursor: text; } .autocomplete { - width: 80% + width: 80%; + display: block; + background-clip: padding-box; + border: none; + margin: 0em; + padding: 0em; } -.left-side { - position: absolute; -} - -.right-side { - position: absolute; - right: 15px; +.btn-update { + background-color: #ff5e06; + color: white; } diff --git a/src/styles.scss b/src/styles.scss index 5e8aa970e..5085ec748 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -13,6 +13,13 @@ body { overflow-x: hidden; } -.table.dataTable th, .table.dataTable td{ +.table.dataTable th, +.table.dataTable td { box-sizing: border-box; } + +.autocomplete-container { + @extend .autocomplete-container; + box-shadow: none; + border: $input-border-width solid $input-border-color; +}