Debian Codegraph @

dojox/mobile/themes/common/SearchBox.less

raw
1 /* dojox.mobile.SearchBox */
2 @import url("TextBox.css");
3
4 .mblSearchBox.iphone4:focus::-webkit-search-cancel-button
5 { // cannot touch cancel button even if visible
6 background: none !important;
7 border-color: transparent !important;
8 }
9
10 .mblSearchBox::-webkit-search-cancel-button
11 {
12 .appearance(none);
13 background-color: @mbl-searchbox-cancel-button-bg-color;
14 background-repeat: no-repeat;
15 background-position: center center;
16 background-size: 15px 15px;
17 background-image:
18 -webkit-gradient(linear,
19 left top,
20 right bottom,
21 from(transparent),
22 color-stop(0.46, transparent),
23 color-stop(0.46, @mbl-searchbox-cancel-button-color),
24 color-stop(0.54, @mbl-searchbox-cancel-button-color),
25 color-stop(0.54, transparent),
26 to(transparent)
27 ),
28 -webkit-gradient(linear,
29 right top,
30 left bottom,
31 from(transparent),
32 color-stop(0.46, transparent),
33 color-stop(0.46, @mbl-searchbox-cancel-button-color),
34 color-stop(0.54, @mbl-searchbox-cancel-button-color),
35 color-stop(0.54, transparent),
36 to(transparent)
37 )
38 !important;
39 border: 2px solid @mbl-searchbox-cancel-button-bg-color;
40 box-sizing: border-box;
41 height: 15px;
42 width: 15px;
43 display: inline-block;
44 vertical-align: middle;
45 margin-left: 0.5em;
46 .mblSearchBox-Cancel-Button-styles;
47 }
48
49 .mblSearchBox::-webkit-search-results-decoration {
50 .appearance(none);
51 background-repeat: no-repeat;
52 background-size: 13px 13px, 9px 9px;
53 background-position: 0px 0px, 10px 10px;
54 background-image:
55 -webkit-gradient(radial,
56 50% 50%, 0,
57 50% 50%, 6,
58 from(transparent),
59 color-stop(0.65, transparent),
60 color-stop(0.8, @mbl-searchbox-results-decoration-color),
61 color-stop(0.95, transparent),
62 to(transparent)
63 ),
64 -webkit-gradient(linear,
65 right top,
66 left bottom,
67 from(transparent),
68 color-stop(0.425, transparent),
69 color-stop(0.5, @mbl-searchbox-results-decoration-color),
70 color-stop(0.575, transparent),
71 to(transparent)
72 )
73 !important;
74 width: 15px;
75 height: 15px;
76 display: inline-block;
77 vertical-align: middle;
78 }
79 .mblSearchBox {
80 height: auto;
81 }
82 .dj_chrome .mblSearchBox {
83 border-radius: 0;
84 }
85
86 /* CSS class for the parent DIV of the dojox/mobile/SearchBox used for filtering a
87 dojox/mobile/RoundRectList or subclass. This class is set by dojox/mobile/FilteredListMixin
88 only if the mixin creates the SearchBox by itself. */
89 .mblFilteredRoundRectListSearchBox {
90 width: 100%;
91 padding-left: 9px;
92 padding-right: 9px;
93 box-sizing: border-box;
94 -webkit-box-sizing: border-box;
95 }
96
97 .mblFilteredRoundRectListSearchBox > input {
98 width: 100%;
99 }
100
101 /* CSS class for the parent DIV of the dojox/mobile/SearchBox used for filtering a
102 dojox/mobile/EdgeToEdgeList or subclass. This class is set by dojox/mobile/FilteredListMixin
103 only if the mixin creates the SearchBox by itself. */
104 .mblFilteredEdgeToEdgeListSearchBox {
105 width: 100%;
106 }
107
108 .mblFilteredEdgeToEdgeListSearchBox > input {
109 width: 100%;
110 }