redoc/lib/components/Search/redoc-search.scss

62 lines
1.1 KiB
SCSS
Raw Normal View History

2017-01-28 19:47:12 +03:00
@import '../../shared/styles/variables';
2016-12-29 20:20:29 +03:00
:host {
display: block;
2017-01-28 19:47:12 +03:00
margin: 10px 0;
}
.search-input-wrap {
padding: 0 20px;
2017-01-24 00:29:52 +03:00
}
input {
width: 100%;
box-sizing: border-box;
padding: 5px;
2017-01-28 19:47:12 +03:00
border: 0;
border-bottom: 1px solid darken($side-bar-bg-color, 10%);
font-weight: bold;
font-size: 13px;
color: $text-color;
background-color: transparent;
outline: none;
2017-01-24 00:29:52 +03:00
}
.search-results {
margin: 10px 0 0;
list-style: none;
2017-01-28 19:47:12 +03:00
padding: 10px 0;
background-color: darken($side-bar-bg-color, 5%);
max-height: 100px;
overflow-y: auto;
border-bottom: 1px solid darken($side-bar-bg-color, 10%);
border-top: 1px solid darken($side-bar-bg-color, 10%);
min-height: 150px;
max-height: 250px;
2017-01-24 00:29:52 +03:00
> li {
display: block;
cursor: pointer;
2017-01-28 19:47:12 +03:00
font-family: Montserrat, sans-serif;
font-size: 13px;
padding: 5px 20px;
&:hover {
background-color: darken($side-bar-bg-color, 10%);
}
}
li.menu-item-depth-1 {
color: #0033a0;
text-transform: uppercase;
}
> li.disabled {
cursor: default;
color: lighten($text-color, 60%);
2017-01-24 00:29:52 +03:00
}
2016-12-29 20:20:29 +03:00
}