Summary Files Commits Branches @commit @diff @stats
path: root / src / autocomplete.less
diff options
context:
space:
mode:
1 files changed, 20 insertions, 20 deletions
-rw-r--r--src/autocomplete.less40
diff --git a/src/autocomplete.less b/src/autocomplete.less
index 1a27c57..7cff686 100644
--- a/src/autocomplete.less
+++ b/src/autocomplete.less
@@ -3,49 +3,49 @@
position: relative;
.form-autocomplete-input {
- display: block;
- width: 100%;
- max-width: 100%;
- min-height: 3.2rem;
background-color: #fff;
- padding: .3rem .5rem 0 .5rem;
border: .1rem solid @control-color;
border-radius: .3rem;
color: @body-font-color;
+ display: block;
font-size: 1.4rem;
line-height: 1.6rem;
+ max-width: 100%;
+ min-height: 3.2rem;
outline: 0;
+ padding: .3rem .5rem 0 .5rem;
+ width: 100%;
.chip-sm {
margin-bottom: .3rem;
}
.form-input {
- display: inline-block;
- border-color: transparent;
background-color: #fff;
- width: auto;
+ border-color: transparent;
+ display: inline-block;
height: 2.4rem;
- padding: .3rem;
margin-bottom: .3rem;
+ padding: .3rem;
vertical-align: top;
+ width: auto;
}
}
.form-autocomplete-list {
- position: absolute;
- top: 100%;
- left: 0;
- z-index: 1988;
- display: block;
- width: 100%;
- height: auto;
- padding: .5rem;
- margin: .3rem 0 0 0;
+ background-color: #fff;
border: .1rem solid lighten(@control-color, 5%);
border-radius: .3rem;
- background-color: #fff;
+ display: block;
+ height: auto;
+ left: 0;
.light-shadow;
+ margin: .3rem 0 0 0;
+ padding: .5rem;
+ position: absolute;
+ top: 100%;
+ width: 100%;
+ z-index: 1988;
.chip {
background-color: transparent;
@@ -56,4 +56,4 @@
}
}
}
-} \ No newline at end of file
+}