Skip to content
Snippets Groups Projects
Commit b7252970 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

autocomplete.css to less.

parent ae56a2f0
No related merge requests found
This source diff could not be displayed because it is too large. You can view the blob instead.
.autocomplete-results {
background-color: #fff;
border: 1px solid #aaa;
margin-top: 2px;
}
.autocomplete-results .item {
display: block;
padding-top: .75rem;
padding-right: 1rem;
padding-bottom: .75rem;
padding-left: 1.25rem;
border-bottom: 1px solid #aaa;
cursor: pointer;
}
.autocomplete-results .item:last-child {border: 0;}
.autocomplete-results .item:hover,
.autocomplete-results .item.selected {
background-color: #000;
color: #fff;
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -148,13 +148,27 @@ h3 { ...@@ -148,13 +148,27 @@ h3 {
/* --- Autocomplete --- */ /* --- Autocomplete --- */
.autocomplete-results { .autocomplete-results {
margin-top: 2px;
border: 1px solid @list-group-border; border: 1px solid @list-group-border;
background-color: #fff;
border-radius: 4px; border-radius: 4px;
overflow: hidden;
.item {
display: block;
padding-top: .75rem;
padding-right: 1rem;
padding-bottom: .75rem;
padding-left: 1.25rem;
border-bottom: 1px solid @list-group-border;
cursor: pointer;
.item {border-bottom-color: @list-group-border;} &:last-child {border: 0;}
.item:last-child {border: 0;} &:hover, &.selected {
.item:hover, background-color: @brand-primary;
.item.selected {background: @brand-primary !important;} color: #fff;
}
}
} }
......
...@@ -8,7 +8,6 @@ return array( ...@@ -8,7 +8,6 @@ return array(
'compiled.css', 'compiled.css',
'vendor/font-awesome.min.css', 'vendor/font-awesome.min.css',
'vendor/bootstrap-slider.css', 'vendor/bootstrap-slider.css',
'autocomplete.css',
'print.css:print', 'print.css:print',
), ),
'js' => array( 'js' => array(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment