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: Search
|
|
|
|
========================================================================== */
|
|
|
|
/*
|
|
|
|
* 1. Create position context for dropdowns
|
|
|
|
* 2. Needed for `form` element
|
|
|
|
*/
|
|
|
|
.uk-search {
|
|
|
|
display: inline-block;
|
|
|
|
/* 1 */
|
|
|
|
position: relative;
|
|
|
|
/* 2 */
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Icon
|
|
|
|
*/
|
|
|
|
.uk-search:before {
|
|
|
|
content: "\f002";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 30px;
|
|
|
|
line-height: 30px;
|
|
|
|
text-align: center;
|
|
|
|
font-family: FontAwesome;
|
|
|
|
font-size: 14px;
|
|
|
|
color: rgba(0, 0, 0, 0.2);
|
|
|
|
}
|
|
|
|
/* Sub-object `uk-search-field`
|
|
|
|
========================================================================== */
|
|
|
|
/*
|
|
|
|
* Removes inner padding and border in Firefox 4+.
|
|
|
|
*/
|
|
|
|
.uk-search-field::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X.
|
|
|
|
*/
|
|
|
|
.uk-search-field::-webkit-search-cancel-button,
|
|
|
|
.uk-search-field::-webkit-search-decoration {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Removes cancel button in IE10
|
|
|
|
*/
|
|
|
|
.uk-search-field::-ms-clear {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Removes placeholder transparency in Firefox.
|
|
|
|
*/
|
|
|
|
.uk-search-field::-moz-placeholder {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* 1. Define consistent box sizing.
|
|
|
|
* 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera.
|
|
|
|
* 3. Remove `border-radius` in iOS.
|
|
|
|
* 4. Correct `font` properties and `color` not being inherited.
|
|
|
|
* 5. Remove default style in iOS.
|
|
|
|
* 6. Style
|
|
|
|
*/
|
|
|
|
.uk-search-field {
|
|
|
|
/* 1 */
|
|
|
|
box-sizing: border-box;
|
|
|
|
/* 2 */
|
|
|
|
margin: 0;
|
|
|
|
/* 3 */
|
|
|
|
border-radius: 0;
|
|
|
|
/* 4 */
|
|
|
|
font: inherit;
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #444;
|
2017-04-08 18:35:55 +00:00
|
|
|
/* 5 */
|
|
|
|
-webkit-appearance: none;
|
|
|
|
/* 6 */
|
|
|
|
width: 120px;
|
|
|
|
height: 30px;
|
|
|
|
padding: 0 0 0 30px;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0);
|
|
|
|
background: rgba(0, 0, 0, 0);
|
2018-05-05 01:16:22 +00:00
|
|
|
-webkit-transition: all 0.2s linear;
|
|
|
|
transition: all 0.2s linear;
|
2017-04-08 18:35:55 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
/* Placeholder */
|
|
|
|
.uk-search-field:-ms-input-placeholder {
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #999 !important;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
.uk-search-field::-moz-placeholder {
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #999;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
.uk-search-field::-webkit-input-placeholder {
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #999;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
/* Focus */
|
|
|
|
.uk-search-field:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
/* Focus + Active */
|
|
|
|
.uk-search-field:focus,
|
|
|
|
.uk-search.uk-active .uk-search-field {
|
|
|
|
width: 180px;
|
|
|
|
}
|
|
|
|
/* Dropdown modifier: `uk-dropdown-search`
|
|
|
|
========================================================================== */
|
|
|
|
.uk-dropdown-search {
|
|
|
|
width: 300px;
|
|
|
|
margin-top: 0;
|
2018-05-05 01:16:22 +00:00
|
|
|
background: #fff;
|
|
|
|
color: #444;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
.uk-open > .uk-dropdown-search {
|
|
|
|
-webkit-animation: uk-slide-top-fixed 0.2s ease-in-out;
|
|
|
|
animation: uk-slide-top-fixed 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Dependency `uk-navbar-flip`
|
|
|
|
*/
|
|
|
|
.uk-navbar-flip .uk-dropdown-search {
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-right: -16px;
|
|
|
|
}
|
|
|
|
/* Nav modifier `uk-nav-search`
|
|
|
|
========================================================================== */
|
|
|
|
/*
|
|
|
|
* Items
|
|
|
|
*/
|
|
|
|
.uk-nav-search > 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-search > 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-search .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-search .uk-nav-divider {
|
2018-05-05 01:16:22 +00:00
|
|
|
border-top: 1px solid #ddd;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Nested items
|
|
|
|
*/
|
|
|
|
.uk-nav-search ul a {
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #07D;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
.uk-nav-search ul a:hover {
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #059;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
/* Search in offcanvas
|
|
|
|
========================================================================== */
|
|
|
|
.uk-offcanvas .uk-search {
|
|
|
|
display: block;
|
|
|
|
margin: 20px 15px;
|
|
|
|
}
|
|
|
|
.uk-offcanvas .uk-search:before {
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #777;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
.uk-offcanvas .uk-search-field {
|
|
|
|
width: 100%;
|
|
|
|
border-color: rgba(0, 0, 0, 0);
|
|
|
|
background: #1a1a1a;
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #ccc;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
.uk-offcanvas .uk-search-field:-ms-input-placeholder {
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #777 !important;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
.uk-offcanvas .uk-search-field::-moz-placeholder {
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #777;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|
|
|
|
.uk-offcanvas .uk-search-field::-webkit-input-placeholder {
|
2018-05-05 01:16:22 +00:00
|
|
|
color: #777;
|
2017-04-08 18:35:55 +00:00
|
|
|
}
|