daux.io/daux_libraries/search.css

170 lines
2.5 KiB
CSS
Raw Permalink Normal View History

2017-01-23 23:09:27 +01:00
body.with-search {
overflow: hidden;
}
2017-02-23 23:15:07 +01:00
.SearchResults {
2016-03-13 21:51:58 +01:00
background: #fff;
max-width: 650px;
padding: 15px;
margin: 0;
z-index: 100;
position: absolute;
2017-02-23 23:15:07 +01:00
top: 0;
2017-01-23 23:09:27 +01:00
left: 0;
bottom: 0;
overflow: auto;
}
2017-02-23 23:15:07 +01:00
.SearchResultsBackdrop {
z-index: 90;
width: 100%;
position: absolute;
2017-02-23 23:15:07 +01:00
top: 0;
left: 0;
bottom: 0;
background: #000;
opacity: 0.6;
2016-03-13 21:51:58 +01:00
}
2017-02-23 23:15:07 +01:00
.homepage .SearchResults,
.homepage .SearchResultsBackdrop {
top: 50px;
}
.homepage .SearchResults .Search__field {
display: none;
}
.SearchResults .Search__field {
width: 40%;
float: left;
}
.SearchResults__warning {
font-weight: 300;
font-size: 15px;
2016-03-13 21:51:58 +01:00
line-height: 1.6;
color: #555;
margin: 7px 0;
clear: both;
2016-03-13 21:51:58 +01:00
}
2017-02-23 23:15:07 +01:00
.SearchResults__warning a {
2016-03-13 21:51:58 +01:00
color: #396;
text-decoration: none;
}
2017-02-23 23:15:07 +01:00
.SearchResults__warning a:hover {
2016-03-13 21:51:58 +01:00
color: #555;
}
2017-02-23 23:15:07 +01:00
.SearchResults__count {
font-weight: 300;
font-size: 15px;
2016-03-13 21:51:58 +01:00
line-height: 1.7;
color: #555;
}
2017-02-23 23:15:07 +01:00
.SearchResults__close {
2017-01-23 23:09:27 +01:00
border: 0 transparent solid;
background: none;
float: right;
font-size: 2em;
cursor: pointer;
padding: 0;
margin: 0;
line-height: 0.8em;
2017-01-23 23:09:27 +01:00
}
2017-02-23 23:15:07 +01:00
.SearchResults__title {
font-weight: 300;
font-size: 21px;
2016-03-13 21:51:58 +01:00
line-height: 1.7;
margin-top: 23px;
}
2017-02-23 23:15:07 +01:00
.SearchResults__title a {
2016-03-13 21:51:58 +01:00
color: #333;
text-decoration: none;
}
2017-02-23 23:15:07 +01:00
.SearchResults__title a:hover {
2016-03-13 21:51:58 +01:00
color: #555;
}
2017-02-23 23:15:07 +01:00
.SearchResults__url {
font-weight: 300;
font-size: 14px;
2016-03-13 21:51:58 +01:00
line-height: 1.9;
word-wrap: break-word;
hyphens: auto;
}
2017-02-23 23:15:07 +01:00
.SearchResults__url a {
2016-03-13 21:51:58 +01:00
color: #396;
text-decoration: none;
}
2017-02-23 23:15:07 +01:00
.SearchResults__url a:hover {
2016-03-13 21:51:58 +01:00
color: #555;
}
2017-02-23 23:15:07 +01:00
.SearchResults__text {
font-weight: 300;
font-size: 15px;
2016-03-13 21:51:58 +01:00
line-height: 1.6;
color: #555;
word-wrap: break-word;
hyphens: auto;
margin-top: 3px;
}
2017-02-23 23:15:07 +01:00
.SearchResults__debug {
font-weight: 300;
font-size: 13px;
2016-03-13 21:51:58 +01:00
line-height: 1.6;
color: #555;
margin: 5px 0;
}
2017-02-23 23:15:07 +01:00
.SearchResults__highlight {
2016-03-13 21:51:58 +01:00
color: #333;
font-weight: 400;
}
2017-02-23 23:15:07 +01:00
.SearchResults__footer {
2016-03-13 21:51:58 +01:00
margin: 51px 0 21px 0;
padding: 0 10px;
}
2017-02-23 23:15:07 +01:00
.SearchResults__footer__links li {
margin: 0 4px;
2016-03-13 21:51:58 +01:00
}
2017-02-23 23:15:07 +01:00
.SearchResults__footer__links li.current {
display: inline-block;
padding: 5px 14px;
border-radius: 15px;
color: #333;
2016-03-13 21:51:58 +01:00
background: #f6f6f6;
border: 1px solid #e2e2e2;
}
/* spinner */
2017-01-23 23:09:27 +01:00
@media (min-width: 650px) {
2017-02-23 23:15:07 +01:00
.SearchResults {
2017-01-23 23:09:27 +01:00
width: 650px;
left: 50%;
margin-left: -325px;
}
}