summaryrefslogtreecommitdiffstats
path: root/components/autocomplete/_autocomplete.scss
diff options
context:
space:
mode:
Diffstat (limited to 'components/autocomplete/_autocomplete.scss')
-rw-r--r--components/autocomplete/_autocomplete.scss43
1 files changed, 43 insertions, 0 deletions
diff --git a/components/autocomplete/_autocomplete.scss b/components/autocomplete/_autocomplete.scss
new file mode 100644
index 0000000..7275156
--- /dev/null
+++ b/components/autocomplete/_autocomplete.scss
@@ -0,0 +1,43 @@
+.sdc-autocomplete-container{
+ position: relative;
+
+ &.results-shown{
+ .sdc-input__input{
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+ }
+ }
+
+ ul.autocomplete-results {
+ opacity: 0;
+ border: solid 1px $blue;
+ border-bottom-left-radius: 4px;
+ border-bottom-right-radius: 4px;
+ border-top:none;
+ background-color: $white;
+ max-height: 200px;
+ box-shadow: 0 3px 7px -3px $dark-gray;
+ overflow-y: scroll;
+ overflow-x: hidden;
+ position: absolute;
+ box-sizing: border-box;
+ width: 100%;
+ left: 0;
+ top: 100%;
+
+ li {
+ color:$text-black;
+ text-indent: 10px;
+ line-height: 30px;
+ cursor:pointer;
+ @include body-1;
+
+ &:hover {
+ background-color: $lighter-blue;
+ color: $blue;
+ }
+ }
+
+ }
+
+ }