dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
62 lines (61 loc) • 2.56 kB
CSS
@import url("TextBox.css");
/* dojox.mobile.SearchBox */
.mblSearchBox.iphone4:focus::-webkit-search-cancel-button {
background: none ;
border-color: transparent ;
}
.mblSearchBox::-webkit-search-cancel-button {
-webkit-appearance: none;
background-color: #c0c0c0;
background-repeat: no-repeat;
background-position: center center;
background-size: 15px 15px;
background-image: -webkit-gradient(linear, left top, right bottom, from(transparent), color-stop(0.46, transparent), color-stop(0.46, #ffffff), color-stop(0.54, #ffffff), color-stop(0.54, transparent), to(transparent)), -webkit-gradient(linear, right top, left bottom, from(transparent), color-stop(0.46, transparent), color-stop(0.46, #ffffff), color-stop(0.54, #ffffff), color-stop(0.54, transparent), to(transparent)) ;
border: 2px solid #c0c0c0;
box-sizing: border-box;
height: 15px;
width: 15px;
display: inline-block;
vertical-align: middle;
margin-left: 0.5em;
border-radius: 1em;
}
.mblSearchBox::-webkit-search-results-decoration {
-webkit-appearance: none;
background-repeat: no-repeat;
background-size: 13px 13px, 9px 9px;
background-position: 0px 0px, 10px 10px;
background-image: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 6, from(transparent), color-stop(0.65, transparent), color-stop(0.8, #c0c0c0), color-stop(0.95, transparent), to(transparent)), -webkit-gradient(linear, right top, left bottom, from(transparent), color-stop(0.425, transparent), color-stop(0.5, #c0c0c0), color-stop(0.575, transparent), to(transparent)) ;
width: 15px;
height: 15px;
display: inline-block;
vertical-align: middle;
}
.mblSearchBox {
height: auto;
}
.dj_chrome .mblSearchBox {
border-radius: 0;
}
/* CSS class for the parent DIV of the dojox/mobile/SearchBox used for filtering a
dojox/mobile/RoundRectList or subclass. This class is set by dojox/mobile/FilteredListMixin
only if the mixin creates the SearchBox by itself. */
.mblFilteredRoundRectListSearchBox {
width: 100%;
padding-left: 9px;
padding-right: 9px;
box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.mblFilteredRoundRectListSearchBox > input {
width: 100%;
}
/* CSS class for the parent DIV of the dojox/mobile/SearchBox used for filtering a
dojox/mobile/EdgeToEdgeList or subclass. This class is set by dojox/mobile/FilteredListMixin
only if the mixin creates the SearchBox by itself. */
.mblFilteredEdgeToEdgeListSearchBox {
width: 100%;
}
.mblFilteredEdgeToEdgeListSearchBox > input {
width: 100%;
}