You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

199 lines
3.4 KiB

.ui.search {
position: relative;
text-shadow: none;
font-style: normal;
font-weight: 400;
}
.ui.search input {
border-radius: 500rem;
}
.ui.search>.button {
position: relative;
z-index: 2;
float: right;
margin: 0 0 0 -15px;
padding: 6px 15px 7px;
border-radius: 0 15px 15px 0;
-webkit-box-shadow: none;
box-shadow: none;
}
.ui.search .results {
display: none;
position: absolute;
z-index: 999;
top: 100%;
left: 0;
overflow: hidden;
background-color: #FFF;
margin-top: .5em;
width: 380px;
font-size: .875em;
line-height: 1.2;
color: #555;
border-radius: 3px;
-webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,.1),0 -2px 0 0 rgba(0,0,0,.1) inset;
box-shadow: 0 0 1px 1px rgba(0,0,0,.1),0 -2px 0 0 rgba(0,0,0,.1) inset;
}
.ui.search .result {
cursor: pointer;
overflow: hidden;
padding: .5em 1em;
}
.ui.search .result:first-child {
border-top: 0;
}
.ui.search .result .image {
background: #F0F0F0;
margin-right: 10px;
float: left;
overflow: hidden;
border-radius: 3px;
width: 38px;
height: 38px;
}
.ui.search .result .image img {
display: block;
width: 38px;
height: 38px;
}
.ui.search .result .image~.info {
float: none;
margin-left: 50px;
}
.ui.search .result .info {
float: left;
}
.ui.search .result .title {
font-weight: 700;
color: rgba(0,0,0,.8);
}
.ui.search .result .description {
color: rgba(0,0,0,.6);
}
.ui.search .result .price {
float: right;
color: #5BBD72;
font-weight: 700;
}
.ui.search .message {
padding: 1em;
}
.ui.search .message .text .title {
margin: 0 0 .5rem;
font-size: 1.25rem;
font-weight: 700;
color: rgba(0,0,0,.8);
}
.ui.search .message .text .description {
margin: 0;
font-size: 1rem;
color: rgba(0,0,0,.5);
}
.ui.search .results .category {
background-color: #FAFAFA;
border-top: 1px solid rgba(0,0,0,.1);
-webkit-transition: background .2s ease-in;
transition: background .2s ease-in;
}
.ui.search .results .category:first-child {
border-top: 0;
}
.ui.search .results .category>.name {
float: left;
padding: 12px 0 0 8px;
font-weight: 700;
color: #777;
text-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.ui.search .results .category .result {
background-color: #FFF;
margin-left: 80px;
border-left: 1px solid rgba(0,0,0,.1);
}
.ui.search .all {
display: block;
border-top: 1px solid rgba(0,0,0,.1);
background-color: #FAFAFA;
height: 2em;
line-height: 2em;
color: rgba(0,0,0,.6);
font-weight: 700;
text-align: center;
}
.ui.search .result:hover,
.ui.search .category .result:hover {
background-color: #F8F8F8;
}
.ui.search .all:hover {
background-color: #F0F0F0;
}
.ui.search.loading .input .icon {
background: url(../images/loader-mini.gif) no-repeat 50% 50%;
}
.ui.search.loading .input .icon:before,
.ui.search.loading .input .icon:after {
display: none;
}
.ui.search .results .category.active {
background-color: #F1F1F1;
}
.ui.search .results .category.active>.name {
color: #333;
}
.ui.search .result.active,
.ui.search .category .result.active {
background-color: #FBFBFB;
}
.ui.search .result.active .title {
color: #000;
}
.ui.search .result.active .description {
color: #555;
}
.ui.search .large.result .image,
.ui.search .large.result .image img {
width: 50px;
height: 50px;
}
.ui.search .large.results .indented.info {
margin-left: 65px;
}
.ui.search .large.results .info .title {
font-size: 16px;
}
.ui.search .large.results .info .description {
font-size: 11px;
}