2016-03-18 05:02:23 +00:00
|
|
|
/*! UIkit 2.25.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2015-12-01 05:06:34 +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;
|
|
|
|
}
|
|
|
|
/* Nav modifier `uk-nav-autocomplete`
|
|
|
|
========================================================================== */
|
|
|
|
/*
|
|
|
|
* Items
|
|
|
|
*/
|
|
|
|
.uk-nav-autocomplete > li > a {
|
|
|
|
color: #444444;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Active
|
|
|
|
* 1. Remove default focus style
|
|
|
|
*/
|
|
|
|
.uk-nav-autocomplete > li.uk-active > a {
|
|
|
|
background: #00a8e6;
|
|
|
|
color: #ffffff;
|
|
|
|
/* 1 */
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Sub-object: `uk-nav-header`
|
|
|
|
*/
|
|
|
|
.uk-nav-autocomplete .uk-nav-header {
|
|
|
|
color: #999999;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Sub-object: `uk-nav-divider`
|
|
|
|
*/
|
|
|
|
.uk-nav-autocomplete .uk-nav-divider {
|
|
|
|
border-top: 1px solid #dddddd;
|
|
|
|
}
|