added visual effect to speed limiter#104
Conversation
There was a problem hiding this comment.
why is it necessary to redefine the width and height?
There was a problem hiding this comment.
because its a sprite image, 1 image for both icons just to avoid any old
browser glitches
On Fri, Sep 26, 2014 at 8:37 AM, Frank Prößdorf notifications@github.com
wrote:
In css/mobile.css:
@@ -250,8 +250,15 @@ footer {
}#mobile-footer .links li .speed_limit_mode {
- background: transparent url(images/speed_mobile.png) no-repeat 0 0;
- background-size: 100%;
- background: transparent url('images/speed.png') no-repeat -34px -42px;
- width: 32px;
- height: 32px;
+}
+#mobile-footer .links li .speed_limit_mode.active {
- background: transparent url('images/speed.png') no-repeat -34px -3px !important;
- width: 32px !important;
why is it necessary to redefine the width and height?
—
Reply to this email directly or view it on GitHub
https://github.com/endor/kettu/pull/104/files#r18075493.
|
Thanks! That's a good idea. Could you please remove the old image though? Also, if you have the time, it'd be great if you could do the same for the compact mode, statistics, preferences and add torrent icons (: |
|
yea sure i'll have the old image removed and work on the compact mode, statistics, preferences and add torrent icons sometime later tomorrow (: |
|
@AhmedOsama still doing that? (: |
|
really busy these days ... unfortunately and we are about to have a civic holiday here so hopefully sometime next week if everything goes well |
|
@AhmedOsama Thank you very much for this commit. I was exactly looking for the same. Since on my mobile, I confused myself a lot to know whether the speed limiter is set or not. @endor Thanks for this wonderful project. |
Speed limiter now shows in Red when enabled on mobile devices