WebUI CSS Hacking Responsive / Mobie UI Features
Posted: Sat Jul 12, 2014 8:32 am
Since the current web UI is very hard to use on small screen devices I decided to look into what could be done.. Unfortunately the way the UI is generated it is full of table elements and code that forces inline styles, this makes any layout changes a major programming effort, or a hack.. For the sake of time I went with HACK.
My first goal was to make the main screen actually viewable.. I trimmed down the header buttons to icons, and made the icons bigger for fingers.. I cleared out the list to JUST the torrent name, leaving the details to the tabs that can be hidden at the bottom.
I suspect that someone with better CSS experience than me could do a better job, but it does help to remove elements when the horizontal screen space gets too small to display it.
index.html (add the viewport meta tag to prevent device zooming / scaling)
edit web.conf to change your theme and put the following in your ui\web\themes\css folder with the other themes.
remove the .txt extention (the forum does not allow attaching .css) Edit: the theme css file now only contains the over rides, it imports the gray theme css file.
My first goal was to make the main screen actually viewable.. I trimmed down the header buttons to icons, and made the icons bigger for fingers.. I cleared out the list to JUST the torrent name, leaving the details to the tabs that can be hidden at the bottom.
I suspect that someone with better CSS experience than me could do a better job, but it does help to remove elements when the horizontal screen space gets too small to display it.
index.html (add the viewport meta tag to prevent device zooming / scaling)
Code: Select all
<meta name="viewport" content="width=device-width, initial-scale=1">
remove the .txt extention (the forum does not allow attaching .css) Edit: the theme css file now only contains the over rides, it imports the gray theme css file.