12-12-2020, 08:43 PM
|
#679
|
Grateful Plebe
Posts: 40
Karma: 13638
Join Date: Dec 2012
Device: Kindle 3, Kobo Libra H2O
|
Quote:
Originally Posted by jackie_w
The old patches in those links are really too old to be of much use for fw 4.25.
The CSS resource that needs to be patched to change the look of the full-sized sleep screen is FullScreenDragonPowerView.qss. It's current content in fw 4.25 is:
Spoiler:
Code:
* {
background: transparent;
color: black;
}
*[powerOffView=true] {
color: white;
}
#infoWidget[qApp_deviceIsTrilogy=true] {
max-width: 300px;
min-width: 300px;
}
#infoWidget[qApp_deviceIsPhoenix=true] {
max-width: 380px;
min-width: 380px;
}
#infoWidget[qApp_deviceIsDragon=true] {
max-width: 470px;
min-width: 470px;
}
#infoWidget[qApp_deviceIsDaylight=true] {
max-width: 611px;
min-width: 611px;
}
#infoWidget[qApp_deviceIsTrilogy=true],
#infoFrame[qApp_deviceIsTrilogy=true] {
qproperty-topMargin: 12px;
qproperty-bottomMargin: 12px;
}
#infoWidget[qApp_deviceIsPhoenix=true],
#infoFrame[qApp_deviceIsPhoenix=true] {
qproperty-topMargin: 16px;
qproperty-bottomMargin: 16px;
}
#infoWidget[qApp_deviceIsDragon=true],
#infoFrame[qApp_deviceIsDragon=true] {
qproperty-topMargin: 22px;
qproperty-bottomMargin: 22px;
}
#infoWidget[qApp_deviceIsDaylight=true],
#infoFrame[qApp_deviceIsDaylight=true] {
qproperty-topMargin: 28px;
qproperty-bottomMargin: 28px;
}
#infoWidget[qApp_deviceIsStorm=true],
#infoFrame[qApp_deviceIsStorm=true] {
qproperty-topMargin: 25px;
qproperty-bottomMargin: 25px;
}
#infoWidget[qApp_deviceIsTrilogy=true],
#infoFrame[qApp_deviceIsTrilogy=true] {
qproperty-rightMargin: 12px;
}
#infoWidget[qApp_deviceIsPhoenix=true],
#infoFrame[qApp_deviceIsPhoenix=true] {
qproperty-rightMargin: 16px;
}
#infoWidget[qApp_deviceIsDragon=true],
#infoFrame[qApp_deviceIsDragon=true] {
qproperty-rightMargin: 22px;
}
#infoWidget[qApp_deviceIsDaylight=true],
#infoFrame[qApp_deviceIsDaylight=true] {
qproperty-rightMargin: 28px;
}
#infoWidget[qApp_deviceIsStorm=true],
#infoFrame[qApp_deviceIsStorm=true] {
qproperty-rightMargin: 25px;
}
#infoFrame {
border-top: 1px solid black;
border-bottom: 1px solid black;
border-right: 1px solid black;
}
#infoFrame[qApp_deviceIsTrilogy=true] {
qproperty-leftMargin: 24px;
}
#infoFrame[qApp_deviceIsPhoenix=true] {
qproperty-leftMargin: 32px;
}
#infoFrame[qApp_deviceIsDragon=true] {
qproperty-leftMargin: 44px;
}
#infoFrame[qApp_deviceIsDaylight=true] {
qproperty-leftMargin: 56px;
}
#infoFrame[qApp_deviceIsStorm=true] {
qproperty-leftMargin: 50px;
}
#infoFrame[powerOffView=true] {
border-top: 1px solid white;
border-bottom: 1px solid white;
border-right: 1px solid white;
}
#batteryStatus {
font-family: Georgia;
}
#batteryStatus[localeName="ja"] {
font-family: Sans-SerifJP, sans-serif;
font-style: normal;
}
#batteryStatus[localeName="zh"] {
font-family: Sans-SerifZH-Simplified, sans-serif;
font-style: normal;
}
#batteryStatus[localeName="zh-HK"] {
font-family: Sans-SerifZH-Traditional, sans-serif;
font-style: normal;
}
#batteryStatus[localeName="zh-TW"] {
font-family: Sans-SerifZH-Traditional, sans-serif;
font-style: normal;
}
#batteryStatus[qApp_deviceIsTrilogy=true] {
font-size: 17px;
}
#batteryStatus[qApp_deviceIsPhoenix=true] {
font-size: 22px;
}
#batteryStatus[qApp_deviceIsDragon=true] {
font-size: 26px;
}
#batteryStatus[qApp_deviceIsAlyssum=true] {
font-size: 30px;
}
#batteryStatus[qApp_deviceIsNova=true] {
font-size: 30px;
}
#batteryStatus[qApp_deviceIsStorm=true] {
font-size: 30px;
}
#batteryStatus[qApp_deviceIsDaylight=true] {
font-size: 34px;
}
#batteryStatus[qApp_deviceIsTrilogy=true] {
margin-left: 12px;
}
#batteryStatus[qApp_deviceIsPhoenix=true] {
margin-left: 16px;
}
#batteryStatus[qApp_deviceIsDragon=true] {
margin-left: 22px;
}
#batteryStatus[qApp_deviceIsDaylight=true] {
margin-left: 28px;
}
#batteryStatus[qApp_deviceIsStorm=true] {
margin-left: 25px;
}
#progressLabel[qApp_deviceIsTrilogy=true] {
margin-top: 6px;
}
#progressLabel[qApp_deviceIsPhoenix=true] {
margin-top: 8px;
}
#progressLabel[qApp_deviceIsDragon=true] {
margin-top: 10px;
}
#progressLabel[qApp_deviceIsDaylight=true] {
margin-top: 13px;
}
#progressLabel[qApp_deviceIsStorm=true] {
margin-top: 11px;
}
#batteryStatus[iconView=true][qApp_deviceIsTrilogy=true] {
margin-left: 6px;
}
#batteryStatus[iconView=true][qApp_deviceIsPhoenix=true] {
margin-left: 8px;
}
#batteryStatus[iconView=true][qApp_deviceIsDragon=true] {
margin-left: 10px;
}
#batteryStatus[iconView=true][qApp_deviceIsDaylight=true] {
margin-left: 13px;
}
#batteryStatus[iconView=true][qApp_deviceIsStorm=true] {
margin-left: 11px;
}
This is a personal (i.e. not published in standard kobopatch pack) patch of mine. It probably doesn't meet your needs but perhaps there's enough to get your experiments started.
Spoiler:
Code:
jackie_w Screensaver full:
- Enabled: no
- Description: |
FullScreenDragonPowerView.qss
On fullscreen sleep screensaver reduce size of infoWidget
Make infoWidget invisible when Sleeping, visible when Powered Off
N.B: Not suitable for Japanese/Chinese locale users
- FindZlib: "#infoFrame"
- ReplaceZlibGroup:
Replacements:
# free some space
- {Find: "#batteryStatus[localeName=\"ja\"] {\n font-family: Sans-SerifJP, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
- {Find: "#batteryStatus[localeName=\"zh\"] {\n font-family: Sans-SerifZH-Simplified, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
- {Find: "#batteryStatus[localeName=\"zh-HK\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
- {Find: "#batteryStatus[localeName=\"zh-TW\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
# #infoWidget reduce width
- {Find: "width: 470px;", Replace: "width: 320px;"} #Dragon
- {Find: "width: 611px;", Replace: "width: 390px;"} #Daylight
# #infoWidget, #infoFrame: reduce top/bottom/right margins
- {Find: "Margin: 22px;", Replace: "Margin: 5px;"} #Dragon
- {Find: "Margin: 28px;", Replace: "Margin: 7px;"} #Daylight
# #infoFrame: remove Sleeping borders
- {Find: "#infoFrame {\n border-top: 1px solid black;\n border-bottom: 1px solid black;\n border-right: 1px solid black;\n}\n", Replace: "\n"}
# #infoFrame: reduce left margin
- {Find: "leftMargin: 44px;", Replace: "leftMargin: 5px;"} # Dragon
- {Find: "leftMargin: 56px;", Replace: "leftMargin: 7px;"} # Daylight
# #infoWidget size reduced to zero when Sleeping
- Find: "#batteryStatus {\n font-family: Georgia;\n}"
Replace: "#infoWidget[powerOffView=false] {\n min-width:0px; max-width:0px;\n min-height:0px; max-height:0px;\n qproperty-topMargin:0px; qproperty-bottomMargin:0px;\n qproperty-leftMargin:0px; qproperty-rightMargin:0px;\n}\n#batteryStatus {font-family:Georgia;}"
|

|
|
|