Comments (4)
Thanks for sharing that. I've now made my own custom patch (which works well on my Glo HD):
Resize info panel:
- Enabled: yes
- Description: |
Custom patch to change the width of the info panel.
- FindZlib: "#infoWidget"
- ReplaceZlibGroup:
Replacements:
- {Find: "max-width: 300px;", Replace: "max-width: 150px;"} # Trilogy
- {Find: "min-width: 300px;", Replace: "min-width: 150px;"} # Trilogy
- {Find: "qproperty-topMargin: 12px;", Replace: "qproperty-topMargin: 6px;"} # Trilogy
- {Find: "qproperty-bottomMargin: 12px;", Replace: "qproperty-bottomMargin: 6px;"} # Trilogy
- {Find: "qproperty-rightMargin: 12px;", Replace: "qproperty-rightMargin: 6px;"} # Trilogy
- {Find: "qproperty-leftMargin: 24px;", Replace: "qproperty-leftMargin: 12px;"} # Trilogy
- {Find: "max-width: 380px;", Replace: "max-width: 190px;"} # Phoenix
- {Find: "min-width: 380px;", Replace: "min-width: 190px;"} # Phoenix
- {Find: "qproperty-topMargin: 16px;", Replace: "qproperty-topMargin: 8px;"} # Phoenix
- {Find: "qproperty-bottomMargin: 16px;", Replace: "qproperty-bottomMargin: 8px;"} # Phoenix
- {Find: "qproperty-rightMargin: 16px;", Replace: "qproperty-rightMargin: 8px;"} # Phoenix
- {Find: "qproperty-leftMargin: 32px;", Replace: "qproperty-leftMargin: 16px;"} # Phoenix
- {Find: "max-width: 470px;", Replace: "max-width: 235px;"} # Dragon
- {Find: "min-width: 470px;", Replace: "min-width: 235px;"} # Dragon
- {Find: "qproperty-topMargin: 22px;", Replace: "qproperty-topMargin: 11px;"} # Dragon
- {Find: "qproperty-bottomMargin: 22px;", Replace: "qproperty-bottomMargin: 11px;"} # Dragon
- {Find: "qproperty-rightMargin: 22px;", Replace: "qproperty-rightMargin: 11px;"} # Dragon
- {Find: "qproperty-leftMargin: 44px;", Replace: "qproperty-leftMargin: 22px;"} # Dragon
- {Find: "max-width: 611px;", Replace: "max-width: 305px;"} # Daylight
- {Find: "min-width: 611px;", Replace: "min-width: 305px;"} # Daylight
- {Find: "qproperty-topMargin: 28px;", Replace: "qproperty-topMargin: 14px;"} # Daylight
- {Find: "qproperty-bottomMargin: 28px;", Replace: "qproperty-bottomMargin: 14px;"} # Daylight
- {Find: "qproperty-rightMargin: 28px;", Replace: "qproperty-rightMargin: 14px;"} # Daylight
- {Find: "qproperty-leftMargin: 56px;", Replace: "qproperty-leftMargin: 28px;"} # Daylight
from kobopatch-patches.
This may be due to the recent CSS changes in nickel. I'll look into it sometime in the next few days.
from kobopatch-patches.
from kobopatch-patches.
@benchen71, have a look at this post by jackie_w on MobileRead:
I don't use jcn363's full screensaver patch myself but I do have my own patch for that particular CSS stream so I can make a few general comments...
It looks to me as if all jcn363's patch is doing is changing the font-size of some of the text (battery charging status only ???) in the semi-transparent rectangular (rather large & ugly ) info panel which appears two-thirds the way down the left-hand edge of the full screensaver, obscuring some of the cover.
The ability to change the position of this panel (to one of the corners) disappeared many firmwares ago, or at least it's no longer obvious how to do it.
You can still change the size of the panel by changing the #infoWidget min/max-width value.
I'm not sure what benchen71 actually means by 'removing Sleeping'. I think it's probably possible to change the 'Sleeping' and 'Powered off' text to something you like better as they are both strings in libnickel.so.1.0.0 (D1E774). However, as they are both quite short strings I don't know how much flexibility there would be in renaming them. Overtyping them with normal spaces sounds plausible in theory.
For my own purposes I wanted to use the full, rather than small, screensaver and also be able to see at a glance whether my device is sleeping or powered off. So my own custom patch:
- significantly reduces info panel size when Powered off
- reduces info panel size to zero when Sleeping, so that the cover is fully visible.
As for 'adding the battery level'. I thought the info panel already displayed the battery level whilst sleeping if the device is currently charging. It certainly used to, but I can't say for sure because of my custom patch.
from kobopatch-patches.
Related Issues (20)
- Patches for 4.33.19611 HOT 5
- Patches for 4.33.19759 HOT 5
- "Un-Force user text-align in div,p tags in KePubs" break alignment changes HOT 1
- 3 Patch updates needed in librmsdk.so.1.0.0.yaml HOT 2
- Missing patch for enabling stylus on kepubs HOT 3
- Patches for 4.34.20097 HOT 11
- Update nickel patch `New home screen subtitle custom font` HOT 3
- Patches for 4.35.20400 HOT 10
- Default kepub fonts HOT 7
- Reading stats question HOT 1
- Missing Clara2E comment labels HOT 1
- Patches for 4.36.21095 HOT 14
- Musl library compatibility? HOT 3
- Patches for 4.37.21533 HOT 8
- Migrate CI to GitHub Actions
- Patches for 4.37.21582 HOT 7
- Patches for 4.37.21586 HOT 4
- "Block WiFi firmware upgrade" not working
- Patches for fw 4.38.21908 HOT 4
- Patches for 4.38.21908 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kobopatch-patches.