mirror of
https://github.com/Febbweiss/mopidy-touchscreen.git
synced 2026-03-04 14:15:41 +00:00
Font updated and search icon fixed
This commit is contained in:
@@ -108,9 +108,6 @@ p {
|
||||
.pvs, .pts {
|
||||
padding-top: .25em;
|
||||
}
|
||||
.clearfix {
|
||||
zoom: 1;
|
||||
}
|
||||
.unit {
|
||||
float: left;
|
||||
}
|
||||
@@ -141,6 +138,7 @@ p {
|
||||
height: 1.5em;
|
||||
}
|
||||
#testDrive {
|
||||
display: block;
|
||||
padding-top: 24px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,10 @@
|
||||
@font-face {
|
||||
font-family: 'icomoon';
|
||||
src:url('fonts/icomoon.eot?r8gz57');
|
||||
src:url('fonts/icomoon.eot?#iefixr8gz57') format('embedded-opentype'),
|
||||
url('fonts/icomoon.woff?r8gz57') format('woff'),
|
||||
url('fonts/icomoon.ttf?r8gz57') format('truetype'),
|
||||
url('fonts/icomoon.svg?r8gz57#icomoon') format('svg');
|
||||
src:url('fonts/icomoon.eot?-8vnqhu');
|
||||
src:url('fonts/icomoon.eot?#iefix-8vnqhu') format('embedded-opentype'),
|
||||
url('fonts/icomoon.woff?-8vnqhu') format('woff'),
|
||||
url('fonts/icomoon.ttf?-8vnqhu') format('truetype'),
|
||||
url('fonts/icomoon.svg?-8vnqhu#icomoon') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@@ -149,3 +149,9 @@
|
||||
.icon-shuffle:before {
|
||||
content: "\e629";
|
||||
}
|
||||
.icon-search:before {
|
||||
content: "\e986";
|
||||
}
|
||||
.icon-folder-upload:before {
|
||||
content: "\e934";
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -62,7 +62,7 @@ class ScreenManager():
|
||||
button_size = (self.size[0] / 6, self.base_size)
|
||||
|
||||
# Search button
|
||||
button = TouchAndTextItem(self.fonts['icon'], u" \ue601",
|
||||
button = TouchAndTextItem(self.fonts['icon'], u" \ue986",
|
||||
(0, self.base_size * 7),
|
||||
button_size)
|
||||
self.down_bar_objects.set_touch_object("menu_0", button)
|
||||
@@ -112,7 +112,7 @@ class ScreenManager():
|
||||
self.playback_state_changed(self.core.playback.state.get(),
|
||||
self.core.playback.state.get())
|
||||
self.screens[menu_index].check_connection()
|
||||
self.change_screen(self.current_screen)
|
||||
self.change_screen(library_index)
|
||||
|
||||
|
||||
def update(self):
|
||||
|
||||
@@ -13,8 +13,8 @@ class SearchScreen():
|
||||
self.size = size
|
||||
self.base_size = base_size
|
||||
self.manager = manager
|
||||
self.list_view = ListView((0, 0), (
|
||||
self.size[0], self.size[1] - self.base_size),
|
||||
self.list_view = ListView((0, self.base_size), (
|
||||
self.size[0], self.size[1] - 2*self.base_size),
|
||||
self.base_size,
|
||||
manager.fonts['base'])
|
||||
self.results_strings = []
|
||||
|
||||
Reference in New Issue
Block a user