2019-04-23 20:37:57 +00:00
|
|
|
/*! UIkit 2.27.5 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2017-04-08 18:35:55 +00:00
|
|
|
/* ========================================================================
|
|
|
|
Component: Autocomplete
|
|
|
|
========================================================================== */
|
|
|
|
/*
|
|
|
|
* 1. Container width fits its content
|
|
|
|
* 2. Create position context
|
|
|
|
* 3. Prevent `inline-block` consequences
|
|
|
|
* 4. Remove the gap between the container and its child element
|
|
|
|
*/
|
|
|
|
.uk-autocomplete {
|
|
|
|
/* 1 */
|
|
|
|
display: inline-block;
|
|
|
|
/* 2 */
|
|
|
|
position: relative;
|
|
|
|
/* 3 */
|
|
|
|
max-width: 100%;
|
|
|
|
/* 4 */
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-05-05 01:16:22 +00:00
|
|
|
/* Legacy dropdown modifier */
|
|
|
|
.uk-dropdown-flip {
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
}
|
2017-04-08 18:35:55 +00:00
|
|
|
/* Nav modifier `uk-nav-autocomplete`
|
|
|
|
========================================================================== */
|
|
|
|
/*
|
|
|
|
* Items
|
|
|
|
*/
|
|
|
|
.uk-nav-autocomplete > li > a {
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #444;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Active
|
|
|
|
* 1. Remove default focus style
|
|
|
|
*/
|
|
|
|
.uk-nav-autocomplete > li.uk-active > a {
|
|
|
|
background: #00a8e6;
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #fff;
|
2017-04-08 18:35:55 +00:00
|
|
|
/* 1 */
|
|
|
|
outline: none;
|
|
|
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
|
|
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Sub-object: `uk-nav-header`
|
|
|
|
*/
|
|
|
|
.uk-nav-autocomplete .uk-nav-header {
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #999;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Sub-object: `uk-nav-divider`
|
|
|
|
*/
|
|
|
|
.uk-nav-autocomplete .uk-nav-divider {
|
2018-05-05 01:16:22 +00:00
|
|
|
border-top: 1px solid #ddd;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|