338 lines
5.2 KiB
CSS
338 lines
5.2 KiB
CSS
|
/*
|
||
|
Tipue Search 7.0
|
||
|
Copyright (c) 2018 Tipue
|
||
|
Tipue Search is released under the MIT License
|
||
|
http://www.tipue.com/search
|
||
|
*/
|
||
|
|
||
|
|
||
|
/* basics */
|
||
|
|
||
|
|
||
|
.tipue_search_group:after
|
||
|
{
|
||
|
content: "";
|
||
|
display: table;
|
||
|
clear: both;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* fonts, colors */
|
||
|
|
||
|
|
||
|
.tipue_search_icon
|
||
|
{
|
||
|
font: 300 24px/1 sans-serif;
|
||
|
color: #777;
|
||
|
}
|
||
|
#tipue_search_results_count, .tipue_search_related, .tipue_search_note
|
||
|
{
|
||
|
font: 12px/1.3 monospace;
|
||
|
text-transform: uppercase;
|
||
|
color: #999;
|
||
|
-webkit-font-smoothing: antialiased;
|
||
|
-moz-osx-font-smoothing: grayscale;
|
||
|
}
|
||
|
#tipue_search_replace, #tipue_search_error, .tipue_search_content_text
|
||
|
{
|
||
|
font: 300 16px/1.6 sans-serif;
|
||
|
color: #666;
|
||
|
}
|
||
|
#tipue_search_replace a
|
||
|
{
|
||
|
color: #339e41;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
#tipue_search_replace a:hover
|
||
|
{
|
||
|
color: #666;
|
||
|
}
|
||
|
.tipue_search_related_btn
|
||
|
{
|
||
|
font: 11px/1 monospace;
|
||
|
color: #666;
|
||
|
text-transform: uppercase;
|
||
|
letter-spacing: 1px;
|
||
|
background-color: #f7f7f7;
|
||
|
}
|
||
|
.tipue_search_content_title
|
||
|
{
|
||
|
font: 300 30px/1.2 sans-serif;
|
||
|
color: #333;
|
||
|
-webkit-font-smoothing: antialiased;
|
||
|
-moz-osx-font-smoothing: grayscale;
|
||
|
}
|
||
|
.tipue_search_content_title a
|
||
|
{
|
||
|
color: #333;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
.tipue_search_content_url, .tipue_search_content_debug
|
||
|
{
|
||
|
font: 300 15px/1.7 sans-serif;
|
||
|
color: #333;
|
||
|
}
|
||
|
.tipue_search_content_url a
|
||
|
{
|
||
|
color: #339e41;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
.tipue_search_content_url a:hover
|
||
|
{
|
||
|
color: #666;
|
||
|
}
|
||
|
.tipue_search_content_bold
|
||
|
{
|
||
|
font-weight: 400;
|
||
|
color: #333;
|
||
|
}
|
||
|
.tipue_search_note a
|
||
|
{
|
||
|
color: #999;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
.tipue_search_image_close
|
||
|
{
|
||
|
font: 22px/1 monospace;
|
||
|
color: #ccc;
|
||
|
}
|
||
|
#tipue_search_zoom_text
|
||
|
{
|
||
|
font: 11px/1.7 monospace;
|
||
|
color: #ccc;
|
||
|
text-transform: uppercase;
|
||
|
letter-spacing: 1px;
|
||
|
}
|
||
|
#tipue_search_zoom_text a
|
||
|
{
|
||
|
color: #ccc;
|
||
|
text-decoration: none;
|
||
|
border-bottom: 2px solid #f7f7f7;
|
||
|
}
|
||
|
#tipue_search_zoom_text a:hover
|
||
|
{
|
||
|
border: 0;
|
||
|
}
|
||
|
#tipue_search_foot_boxes
|
||
|
{
|
||
|
font: 13px/1 sans-serif;
|
||
|
text-transform: uppercase;
|
||
|
color: #333;
|
||
|
}
|
||
|
#tipue_search_foot_boxes li a
|
||
|
{
|
||
|
background-color: #f7f7f7;
|
||
|
color: #666;
|
||
|
}
|
||
|
#tipue_search_foot_boxes li.current
|
||
|
{
|
||
|
background: #252525;
|
||
|
color: #ccc;
|
||
|
}
|
||
|
#tipue_search_foot_boxes li a:hover, .tipue_search_related_btn:hover
|
||
|
{
|
||
|
background: #252525;
|
||
|
color: #ccc;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* search box */
|
||
|
|
||
|
|
||
|
.tipue_search_button
|
||
|
{
|
||
|
position: relative;
|
||
|
float: left;
|
||
|
width: 47px;
|
||
|
height: 56px;
|
||
|
margin-left: -3px;
|
||
|
background-color: #f3f3f3;
|
||
|
border: none;
|
||
|
border-radius: 3px;
|
||
|
box-sizing: border-box;
|
||
|
cursor: pointer;
|
||
|
outline: 0;
|
||
|
}
|
||
|
.tipue_search_icon
|
||
|
{
|
||
|
float: left;
|
||
|
transform: rotate(-45deg);
|
||
|
-moz-appearance: none;
|
||
|
-webkit-appearance: none;
|
||
|
box-sizing: border-box;
|
||
|
box-shadow: none;
|
||
|
outline: 0;
|
||
|
margin: -1px 0 0 8px;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* search results */
|
||
|
|
||
|
|
||
|
#tipue_search_content
|
||
|
{
|
||
|
max-width: 100%;
|
||
|
margin: 0;
|
||
|
}
|
||
|
.tipue_search_result
|
||
|
{
|
||
|
padding-top: 21px;
|
||
|
}
|
||
|
#tipue_search_results_count
|
||
|
{
|
||
|
padding-top: 9px;
|
||
|
}
|
||
|
.tipue_search_related
|
||
|
{
|
||
|
padding-top: 13px;
|
||
|
}
|
||
|
.tipue_search_related_block
|
||
|
{
|
||
|
padding-bottom: 6px;
|
||
|
}
|
||
|
#tipue_search_warning
|
||
|
{
|
||
|
padding-top: 10px;
|
||
|
}
|
||
|
.tipue_search_related_btn
|
||
|
{
|
||
|
display: inline-block;
|
||
|
padding: 9px 10px;
|
||
|
text-decoration: none;
|
||
|
text-align: center;
|
||
|
border-radius: 3px;
|
||
|
margin: 9px 9px 0 0;
|
||
|
outline: 0;
|
||
|
transition: 0.2s;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
#tipue_search_replace
|
||
|
{
|
||
|
padding-top: 13px;
|
||
|
}
|
||
|
#tipue_search_error
|
||
|
{
|
||
|
padding-top: 13px;
|
||
|
}
|
||
|
.tipue_search_content_url
|
||
|
{
|
||
|
padding-top: 3px;
|
||
|
word-wrap: break-word;
|
||
|
hyphens: auto;
|
||
|
}
|
||
|
.tipue_search_content_text
|
||
|
{
|
||
|
word-wrap: break-word;
|
||
|
hyphens: auto;
|
||
|
margin-top: 1px;
|
||
|
}
|
||
|
.tipue_search_note
|
||
|
{
|
||
|
padding-top: 5px;
|
||
|
}
|
||
|
.tipue_search_content_debug
|
||
|
{
|
||
|
margin: 5px 0;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* images */
|
||
|
|
||
|
|
||
|
.tipue_search_image
|
||
|
{
|
||
|
padding: 9px 0 6px 0;
|
||
|
}
|
||
|
.tipue_search_img
|
||
|
{
|
||
|
width: 200px;
|
||
|
max-width: 100%;
|
||
|
height: auto;
|
||
|
transition: 0.5s;
|
||
|
border-radius: 1px;
|
||
|
}
|
||
|
.tipue_search_img:hover
|
||
|
{
|
||
|
opacity: 0.7;
|
||
|
}
|
||
|
.tipue_search_image_zoom
|
||
|
{
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
#tipue_search_image_modal
|
||
|
{
|
||
|
display: none;
|
||
|
position: fixed;
|
||
|
z-index: 1000;
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
overflow: auto;
|
||
|
background-color: rgba(0, 0, 0, 0.9);
|
||
|
}
|
||
|
.tipue_search_image_close
|
||
|
{
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
padding: 25px 30px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.tipue_search_image_block
|
||
|
{
|
||
|
margin: 0 auto;
|
||
|
max-width: 900px;
|
||
|
padding: 73px 30px 30px 30px;
|
||
|
box-sizing: border-box;
|
||
|
color: #fff;
|
||
|
}
|
||
|
#tipue_search_zoom_img
|
||
|
{
|
||
|
max-width: 100%;
|
||
|
height: auto;
|
||
|
}
|
||
|
#tipue_search_zoom_text, .tipue_search_zoom_options
|
||
|
{
|
||
|
padding-top: 9px;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* footer */
|
||
|
|
||
|
|
||
|
#tipue_search_foot
|
||
|
{
|
||
|
margin: 51px 0 21px 0;
|
||
|
}
|
||
|
#tipue_search_foot_boxes
|
||
|
{
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
#tipue_search_foot_boxes li
|
||
|
{
|
||
|
display: inline;
|
||
|
list-style: none;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
#tipue_search_foot_boxes li a
|
||
|
{
|
||
|
padding: 10px 17px 11px 17px;
|
||
|
border-radius: 3px;
|
||
|
margin-right: 7px;
|
||
|
text-decoration: none;
|
||
|
text-align: center;
|
||
|
transition: 0.2s;
|
||
|
}
|
||
|
#tipue_search_foot_boxes li.current
|
||
|
{
|
||
|
padding: 10px 17px 11px 17px;
|
||
|
border-radius: 3px;
|
||
|
margin-right: 7px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|