diff options
author | Rory MacQueen <rorymacqueen@gmail.com> | 2014-06-13 20:26:30 -0700 |
---|---|---|
committer | Rory MacQueen <rorymacqueen@gmail.com> | 2014-06-18 20:08:00 -0700 |
commit | 4377bc35cc487b2a67b13fe9492c2ea861353c40 (patch) | |
tree | 63c4327ab51471f69e41db5f57ec0477c6e3f0b7 /data/css | |
parent | f29fb2663e115f5e6a7c71f92fbbb1fcf2a1b212 (diff) |
Add search box to SDK.
We reuse this same search box functionality in a
number of our apps so makes sense to stick it in the SDK.
Creates a search box that has autocompletion and provides
signals for when a search is triggered and when an
autocompletion entry is selected. Has its own default
styling which can be overridden.
Diffstat (limited to 'data/css')
-rw-r--r-- | data/css/endless-widgets.css | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/data/css/endless-widgets.css b/data/css/endless-widgets.css index f9bbfbb..316a2d7 100644 --- a/data/css/endless-widgets.css +++ b/data/css/endless-widgets.css @@ -74,6 +74,17 @@ EosWindow { color-stop(0, rgb(67, 67, 67))); } +.endless-search-box .cell{ + color: #464646; + background-repeat: no-repeat; + background-size: cover; + background-image: url('resource:///com/endlessm/sdk/assets/autocomplete_list_middle.png'); +} + +.endless-search-box .cell:selected{ + background-image: url('resource:///com/endlessm/sdk/assets/autocomplete_list_middle_hover.png'); +} + /* Insensitive Text */ *:insensitive { |