react_visual_search
Version:
React Basic Visual Search Library.
173 lines (141 loc) • 2.5 kB
CSS
/*
----****----
author
Nikunj Pansuriya
----****----
*/
.text-center {
text-align: center ;
}
.text-left {
text-align: left ;
}
.text-right {
text-align: right ;
}
.visual_search {
position: relative;
}
.visual_search .visual_search_wrapper {
width: 100%;
border: 1px solid #ccc;
padding: 5px;
}
.visual_search .search_input {
border: none;
width: 100%;
height: 36px;
}
.visual_search .visual_input_wrapper {
display: block;
overflow: auto;
}
.visual_search .search_input:focus {
outline: none;
}
.visual_search #visual_search_option_list {
margin-top: 0px;
border-radius: 0px;
left: 0px ;
max-width: none;
width: 100%;
}
.visual_search .popover-content {
padding: 0px;
}
.visual_search .arrow {
display: none;
}
#visual_search_option_list .option {
display: block;
padding: 5px 5px 5px 5px;
border-bottom: 1px solid #ccc;
cursor: pointer;
}
.visual_search .search_value_wrapper {
border: 1px solid #ccc;
padding: 5px;
margin: 2px;
position: relative;
display: block;
float: left;
background-color: #eee;
}
.visual_search .input_text_value {
border: none;
}
.visual_search .input_text_value:focus {
outline: none;
}
.search_value_wrapper .search-label {
padding: 2px;
}
.search_value_wrapper .search-value {
padding-left: 3px;
padding-right: 3px;
font-weight: 600;
cursor: text;
}
.search_value_wrapper .value_close {
cursor: pointer;
margin: 2px;
}
.popover_options {
width: 100%;
margin-top: 0px ;
border-radius: 0px;
top: 27px ;
left: 0px ;
}
.popover_options .option {
display: block;
padding: 5px 5px 5px 5px;
border-bottom: 1px solid #ccc;
cursor: pointer;
}
.popover_options .arrow {
display: none;
}
.pickeryear {
padding: 10px;
}
.pickeryear:hover {
background-color: #00a7de;
color: #fff;
cursor: pointer;
}
.pickermonth {
padding: 10px;
}
.pickermonth:hover {
background-color: #00a7de;
color: #fff;
cursor: pointer;
}
.pickerdate:hover {
background-color: #00a7de;
color: #fff;
cursor: pointer;
}
.pickerheader {
margin-top: 2px;
}
.pickerheader .spanbtn {
padding: 2px;
cursor: pointer;
}
.pickertable {
margin-bottom: 0px;
}
.pickertable tr th {
padding: 2px ;
text-align: center;
font-size: 12px;
}
.pickertable tr td {
padding: 2px ;
border-top: none ;
}
.pickertable tr td.pickerdate {
cursor: pointer;
}