2020-03-21 06:57:26 -05:00
|
|
|
# The following patch(es) are ported from GeoffR's patch zips
|
|
|
|
|
|
|
|
Reduce top/bottom page spacer:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
|
|
|
Reduces the blank space that remains at the top/bottom of the page when
|
|
|
|
the "Chapter progress" / "Book progress" reading settings options are set to Off.
|
|
|
|
Spacer height is halved, customise by changing the min-height + max-height
|
|
|
|
values in the Replace lines below. Affects both ePub and KePub books.
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "MediumVertSpacer" # default.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
|
|
|
# Touch/Mini: 24px --> 12px
|
|
|
|
- Find: "MediumVertSpacer[qApp_deviceIsTrilogy=true] {\n min-height: 24px;\n max-height: 24px;\n}"
|
|
|
|
Replace: "MediumVertSpacer[qApp_deviceIsTrilogy=true] {\n min-height: 12px;\n max-height: 12px;\n}"
|
|
|
|
# Glo/Aura/Aura2ed: 32px --> 16px
|
|
|
|
- Find: "MediumVertSpacer[qApp_deviceIsPhoenix=true] {\n min-height: 32px;\n max-height: 32px;\n}"
|
|
|
|
Replace: "MediumVertSpacer[qApp_deviceIsPhoenix=true] {\n min-height: 16px;\n max-height: 16px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/H2O/GloHD/ClaraHD/Clara2E: 44px --> 22px
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "MediumVertSpacer[qApp_deviceIsDragon=true] {\n min-height: 44px;\n max-height: 44px;\n}"
|
|
|
|
Replace: "MediumVertSpacer[qApp_deviceIsDragon=true] {\n min-height: 22px;\n max-height: 22px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E: 56px --> 28px
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "MediumVertSpacer[qApp_deviceIsDaylight=true] {\n min-height: 56px;\n max-height: 56px;\n}"
|
|
|
|
Replace: "MediumVertSpacer[qApp_deviceIsDaylight=true] {\n min-height: 28px;\n max-height: 28px;\n}"
|
2022-02-13 00:43:33 -06:00
|
|
|
# LibraH2O/Libra2: 50px --> 25px
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "MediumVertSpacer[qApp_deviceIsStorm=true] {\n min-height: 50px;\n max-height: 50px;\n}"
|
|
|
|
Replace: "MediumVertSpacer[qApp_deviceIsStorm=true] {\n min-height: 25px;\n max-height: 25px;\n}"
|
|
|
|
|
|
|
|
Custom synopsis details line spacing:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: Sets the line spacing for Book details synopsis.
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "body[qApp_deviceIsTrilogy=true] {\n line-height: 1.45em;" # qss/BookDetails.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
|
|
|
# Touch/Mini (Trilogy)
|
|
|
|
- {Find: "line-height: 1.45em;", Replace: "line-height: 1.3em;"}
|
|
|
|
# Glo/Aura/Aura2E (Phoenix)
|
|
|
|
- {Find: "line-height: 1.4em;", Replace: "line-height: 1.3em;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/Clara2E (Dragon) and
|
2022-02-13 00:43:33 -06:00
|
|
|
# LibraH2O/Libra2 (Storm) and
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E (Daylight)
|
2020-03-21 06:57:26 -05:00
|
|
|
- {Find: "line-height: 1.35em;", Replace: "line-height: 1.3em;"}
|
|
|
|
|
|
|
|
Custom synopsis font size:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: Increase synopsis font size
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "body[qApp_deviceIsTrilogy=true] {\n font-size: 19px;" # BookDetails.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
|
|
|
- {Find: "font-size: 19px;", Replace: "font-size: 20px;"} # Touch/Mini (Trilogy)
|
2021-10-23 23:39:19 -05:00
|
|
|
- {Find: "font-size: 23px;", Replace: "font-size: 25px;"} # Glo/Aura/Aura2E/Nia (Phoenix)
|
2022-02-13 00:43:33 -06:00
|
|
|
- {Find: "font-size: 29px;", Replace: "font-size: 32px;"} # AuraHD/AuraH2O/AuraH2O2 (Dragon)
|
2023-09-13 16:45:15 -05:00
|
|
|
- {Find: "font-size: 32px;", Replace: "font-size: 35px;"} # GloHD/ClaraHD/Clara2E (Alyssum/Nova)
|
2022-02-13 00:43:33 -06:00
|
|
|
- {Find: "font-size: 34px;", Replace: "font-size: 37px;"} # LibraH2O/Libra2 (Storm)
|
2023-09-13 16:45:15 -05:00
|
|
|
- {Find: "font-size: 37px;", Replace: "font-size: 40px;"} # AuraONE/Forma/Sage/Elipsa/Elipsa2E (Daylight)
|
2020-03-21 06:57:26 -05:00
|
|
|
|
|
|
|
Increase home screen cover size:
|
|
|
|
- Enabled: no
|
|
|
|
- PatchGroup: Home screen layout tweaks
|
|
|
|
- Description: Reduces the home screen margins, allowing larger cover images.
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "#row1col2" # HomePageView.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
|
|
|
# Touch/Mini (Trilogy)
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "qproperty-leftMargin: 32px;", Replace: "qproperty-leftMargin: 16px;"}
|
|
|
|
- {Find: "qproperty-rightMargin: 32px;", Replace: "qproperty-rightMargin: 16px;"}
|
2021-10-23 23:39:19 -05:00
|
|
|
# Glo/Aura/Aura2E/Nia (Phoenix)
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "qproperty-leftMargin: 40px;", Replace: "qproperty-leftMargin: 16px;"}
|
|
|
|
- {Find: "qproperty-rightMargin: 40px;", Replace: "qproperty-rightMargin: 16px;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/Clara2E (Dragon)
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "qproperty-leftMargin: 57px;", Replace: "qproperty-leftMargin: 22px;"}
|
|
|
|
- {Find: "qproperty-rightMargin: 57px;", Replace: "qproperty-rightMargin: 22px;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraONE/Forma/Sage/Elipsa/Elipsa2E (Daylight)
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "qproperty-leftMargin: 74px;", Replace: "qproperty-leftMargin: 29px;"}
|
|
|
|
- {Find: "qproperty-rightMargin: 74px;", Replace: "qproperty-rightMargin: 29px;"}
|
2022-02-13 00:43:33 -06:00
|
|
|
# LibraH2O/Libra2 (Storm)
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "qproperty-leftMargin: 67px;", Replace: "qproperty-leftMargin: 29px;"}
|
|
|
|
- {Find: "qproperty-rightMargin: 67px;", Replace: "qproperty-rightMargin: 29px;"}
|
2022-02-13 00:43:33 -06:00
|
|
|
|
2020-03-21 06:57:26 -05:00
|
|
|
# The following patch(es) are ported from jackie_w's patches
|
|
|
|
|
|
|
|
Dictionary pop-up - increase available text area:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
|
|
|
Increase the area available for dictionary definitions in the dictionary pop-up
|
|
|
|
by reducing some of the excess whitespace used (header, footer, margins).
|
|
|
|
This patch was formerly known as 'Dictionary pop-up frame size increase', but in
|
|
|
|
fw 4.10.11591, Kobo removed access to the code which specifies pop-up frame size.
|
|
|
|
fw 4.12.12111, Kobo removed access to the code which could reduce footer size.
|
|
|
|
fw 4.20.14601 Kobo added new DictionaryViewFooter CSS stream to control footer height again.
|
|
|
|
# Part 1
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "#InlineDictionaryView" # qss/InlineDictionaryView.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
|
|
|
# Part 1a: #dictionary - reduce top/left margins
|
|
|
|
# Touch/Mini
|
|
|
|
- Find: "#dictionary[qApp_deviceIsTrilogy=true] {\n margin-top: 20px;\n margin-left: 10px;\n}"
|
|
|
|
Replace: "#dictionary[qApp_deviceIsTrilogy=true] {\n margin-top: 5px;\n margin-left: 0px;\n}"
|
2021-10-23 23:39:19 -05:00
|
|
|
# Glo/Aura/Aura2/Nia
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#dictionary[qApp_deviceIsPhoenix=true] {\n margin-top: 20px;\n margin-left: 20px;\n}"
|
|
|
|
Replace: "#dictionary[qApp_deviceIsPhoenix=true] {\n margin-top: 7px;\n margin-left: 0px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/Clara2E/LibraH2O/Libra2
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#dictionary[qApp_deviceIsDragon=true] {\n margin-top: 30px;\n margin-left: 30px;\n}"
|
|
|
|
Replace: "#dictionary[qApp_deviceIsDragon=true] {\n margin-top: 10px;\n margin-left: 0px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#dictionary[qApp_deviceIsDaylight=true] {\n margin-top: 42px;\n margin-left: 42px;\n}"
|
|
|
|
Replace: "#dictionary[qApp_deviceIsDaylight=true] {\n margin-top: 14px;\n margin-left: 0px;\n}"
|
|
|
|
#
|
|
|
|
# Part 1b: #header - reduce header height
|
|
|
|
# Touch/Mini
|
|
|
|
- Find: "#header[qApp_deviceIsTrilogy=true] {\n max-height: 46px;\n min-height: 46px;\n}"
|
|
|
|
Replace: "#header[qApp_deviceIsTrilogy=true] {\n max-height: 46px;\n min-height: 46px;\n}"
|
2021-10-23 23:39:19 -05:00
|
|
|
# Glo/Aura/Aura2/Nia
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#header[qApp_deviceIsPhoenix=true] {\n max-height: 60px;\n min-height: 60px;\n}"
|
|
|
|
Replace: "#header[qApp_deviceIsPhoenix=true] {\n max-height: 50px;\n min-height: 50px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/Clara2E/LibraH2O/Libra2
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#header[qApp_deviceIsDragon=true] {\n max-height: 90px;\n min-height: 90px;\n}"
|
|
|
|
Replace: "#header[qApp_deviceIsDragon=true] {\n max-height: 70px;\n min-height: 70px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#header[qApp_deviceIsDaylight=true] {\n max-height: 120px;\n min-height: 120px;\n}"
|
|
|
|
Replace: "#header[qApp_deviceIsDaylight=true] {\n max-height: 90px;\n min-height: 90px;\n}"
|
|
|
|
#
|
|
|
|
# Part 1c: #mainContainer - reduce left/right margins
|
|
|
|
# Touch/Mini
|
|
|
|
- Find: "#mainContainer[qApp_deviceIsTrilogy=true] {\n qproperty-leftMargin: 12px;\n qproperty-rightMargin: 12px;\n}"
|
|
|
|
Replace: "#mainContainer[qApp_deviceIsTrilogy=true] {\n qproperty-leftMargin: 6px;\n qproperty-rightMargin: 6px;\n}"
|
2021-10-23 23:39:19 -05:00
|
|
|
# Glo/Aura/Aura2/Nia
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#mainContainer[qApp_deviceIsPhoenix=true] {\n qproperty-leftMargin: 16px;\n qproperty-rightMargin: 16px;\n}"
|
|
|
|
Replace: "#mainContainer[qApp_deviceIsPhoenix=true] {\n qproperty-leftMargin: 8px;\n qproperty-rightMargin: 8px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/Clara2E
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#mainContainer[qApp_deviceIsDragon=true] {\n qproperty-leftMargin: 22px;\n qproperty-rightMargin: 22px;\n}"
|
|
|
|
Replace: "#mainContainer[qApp_deviceIsDragon=true] {\n qproperty-leftMargin: 11px;\n qproperty-rightMargin: 11px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#mainContainer[qApp_deviceIsDaylight=true] {\n qproperty-leftMargin: 28px;\n qproperty-rightMargin: 28px;\n}"
|
|
|
|
Replace: "#mainContainer[qApp_deviceIsDaylight=true] {\n qproperty-leftMargin: 14px;\n qproperty-rightMargin: 14px;\n}"
|
2022-02-13 00:43:33 -06:00
|
|
|
# LibraH2O/Libra2
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#mainContainer[qApp_deviceIsStorm=true] {\n qproperty-leftMargin: 25px;\n qproperty-rightMargin: 25px;\n}"
|
|
|
|
Replace: "#mainContainer[qApp_deviceIsStorm=true] {\n qproperty-leftMargin: 12px;\n qproperty-rightMargin: 12px;\n}"
|
|
|
|
#
|
2021-10-23 23:39:19 -05:00
|
|
|
# Part 2: DictionaryViewFooter - Reduce vertical height of footer # qss/DictionaryViewFooter.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
# Touch/Mini
|
|
|
|
- FindReplaceString:
|
|
|
|
Find: "DictionaryViewFooter[qApp_deviceIsTrilogy=true] {\n max-height: 46px;\n min-height: 46px;\n}"
|
|
|
|
Replace: "DictionaryViewFooter[qApp_deviceIsTrilogy=true] {\n max-height: 40px;\n min-height: 40px;\n}"
|
|
|
|
MustMatchLength: yes
|
2021-10-23 23:39:19 -05:00
|
|
|
# Glo/Aura/Aura2/Nia
|
2020-03-21 06:57:26 -05:00
|
|
|
- FindReplaceString:
|
|
|
|
Find: "DictionaryViewFooter[qApp_deviceIsPhoenix=true] {\n max-height: 60px;\n min-height: 60px;\n}"
|
|
|
|
Replace: "DictionaryViewFooter[qApp_deviceIsPhoenix=true] {\n max-height: 50px;\n min-height: 50px;\n}"
|
|
|
|
MustMatchLength: yes
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/Clara2E/LibraH2O/Libra2
|
2020-03-21 06:57:26 -05:00
|
|
|
- FindReplaceString:
|
|
|
|
Find: "DictionaryViewFooter[qApp_deviceIsDragon=true] {\n max-height: 90px;\n min-height: 90px;\n}"
|
|
|
|
Replace: "DictionaryViewFooter[qApp_deviceIsDragon=true] {\n max-height: 60px;\n min-height: 60px;\n}"
|
|
|
|
MustMatchLength: yes
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E
|
2020-03-21 06:57:26 -05:00
|
|
|
- FindReplaceString:
|
|
|
|
Find: "DictionaryViewFooter[qApp_deviceIsDaylight=true] {\n max-height: 120px;\n min-height: 120px;\n}"
|
|
|
|
Replace: "DictionaryViewFooter[qApp_deviceIsDaylight=true] {\n max-height: 80px;\n min-height: 80px;\n}"
|
|
|
|
MustMatchLength: yes
|
|
|
|
|
|
|
|
Increase Book Details synopsis area:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
|
|
|
Book details page
|
2020-08-17 02:09:00 -05:00
|
|
|
- Increase height of bottom half (Synopsis) by
|
2020-03-21 06:57:26 -05:00
|
|
|
decreasing height of top half (Cover, Title, Author, Series)
|
|
|
|
- See https://www.mobileread.com/forums/showpost.php?p=3311354&postcount=134
|
|
|
|
- fw 4.12/4.16 - rewritten by jackie_w to replace oren64's patch
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "#bookInfoWidget" # qss/BookInfoView.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
2020-08-17 02:09:00 -05:00
|
|
|
# Portrait mode: #bookInfoWidget[isLandscape=false]:
|
2020-03-21 06:57:26 -05:00
|
|
|
- {Find: "height: 300px;", Replace: "height: 200px;"} #Touch/Mini
|
2021-10-23 23:39:19 -05:00
|
|
|
- {Find: "height: 390px;", Replace: "height: 230px;"} #Glo/Aura/Aura2/Nia
|
2023-09-13 16:45:15 -05:00
|
|
|
- {Find: "height: 550px;", Replace: "height: 370px;"} #AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD/Clara2E
|
2022-02-13 00:43:33 -06:00
|
|
|
- {Find: "height: 642px;", Replace: "height: 425px;"} #LibraH2O/Libra2
|
2023-09-13 16:45:15 -05:00
|
|
|
- {Find: "height: 715px;", Replace: "height: 500px;"} #AuraOne/Forma/Sage/Elipsa/Elipsa2E
|
2020-08-17 02:09:00 -05:00
|
|
|
# Landscape mode: #bookInfoWidget[isLandscape=true]:
|
2020-03-21 06:57:26 -05:00
|
|
|
- {Find: "height: 210px;", Replace: "height: 200px;"} #Touch/Mini
|
2021-10-23 23:39:19 -05:00
|
|
|
- {Find: "height: 265px;", Replace: "height: 230px;"} #Glo/Aura/Aura2/Nia
|
2023-09-13 16:45:15 -05:00
|
|
|
- {Find: "height: 420px;", Replace: "height: 370px;"} #AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD/Clara2E
|
2022-02-13 00:43:33 -06:00
|
|
|
- {Find: "height: 490px;", Replace: "height: 425px;"} #LibraH2O/Libra2
|
2023-09-13 16:45:15 -05:00
|
|
|
- {Find: "height: 540px;", Replace: "height: 500px;"} #AuraOne/Forma/Sage/Elipsa/Elipsa2E
|
2020-03-21 06:57:26 -05:00
|
|
|
|
|
|
|
Increase library cover size:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
|
|
|
Increase the cover thumbnail size in My Books main book list
|
|
|
|
See screenshots - https://www.mobileread.com/forums/showpost.php?p=3241532&postcount=82
|
|
|
|
fw 4.17 - rewritten by jackie_w to replace oren64's patch
|
2020-09-25 04:22:13 -05:00
|
|
|
fw 4.24 - updated patch "width" values to maintain aspect ratio of original value
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "#coverPixmapView" # qss/DragonListWidget.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
|
|
|
# coverPixmapView increase cover thumbnail width/height:
|
|
|
|
# Touch/Mini (Trilogy)
|
2020-09-25 04:22:13 -05:00
|
|
|
- {Find: "width: 60px;", Replace: "width: 66px;"}
|
2020-03-21 06:57:26 -05:00
|
|
|
- {Find: "height: 90px;", Replace: "height: 100px;"}
|
2021-10-23 23:39:19 -05:00
|
|
|
# Glo/Aura/Aura2/Nia (Phoenix)
|
2020-09-25 04:22:13 -05:00
|
|
|
- {Find: "width: 70px;", Replace: "width: 82px;"}
|
2020-03-21 06:57:26 -05:00
|
|
|
- {Find: "height: 110px;", Replace: "height: 130px;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD/Clara2E (Dragon)
|
2020-09-25 04:22:13 -05:00
|
|
|
- {Find: "width: 108px;", Replace: "width: 122px;"}
|
2020-03-21 06:57:26 -05:00
|
|
|
- {Find: "height: 168px;", Replace: "height: 190px;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E (Daylight)
|
2020-09-25 04:22:13 -05:00
|
|
|
- {Find: "width: 140px;", Replace: "width: 164px;"}
|
2020-03-21 06:57:26 -05:00
|
|
|
- {Find: "height: 218px;", Replace: "height: 255px;"}
|
2022-02-13 00:43:33 -06:00
|
|
|
# LibraH2O/Libra2 (Storm)
|
2020-09-25 04:22:13 -05:00
|
|
|
- {Find: "width: 126px;", Replace: "width: 144px;"}
|
2020-03-21 06:57:26 -05:00
|
|
|
- {Find: "height: 196px;", Replace: "height: 225px;"}
|
|
|
|
|
|
|
|
Custom collection/author header title font:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
|
|
|
Change font appearance in Collection and Author list header
|
|
|
|
See https://www.mobileread.com/forums/showpost.php?p=3520879&postcount=42
|
|
|
|
fw 4.17.13694 rewritten by jackie_w to replace
|
|
|
|
oren64's patch "Custom font to collection and author titles"
|
2020-08-17 02:09:00 -05:00
|
|
|
fw 4.23.15505 Author/Series/Collection list headers no longer forced to uppercase
|
2022-09-26 00:41:13 -05:00
|
|
|
fw 4.32.19501 Kobo's major changes to font handling mean that ability to customise
|
|
|
|
font-family in a kobopatch is now very limited.
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "#scrollContainer[containerSpacing=true]" # qss/DragonLibraryView.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
2020-08-17 02:09:00 -05:00
|
|
|
# #header #headerTitle Change font-family, font-size
|
2020-03-21 06:57:26 -05:00
|
|
|
#
|
2022-09-26 00:41:13 -05:00
|
|
|
# Change font-family. The only custom font-family values now likely to have any effect
|
|
|
|
# are Georgia, Avenir and possibly(?) some of the built-in CJK fonts
|
2020-03-21 06:57:26 -05:00
|
|
|
# Un-comment & edit next line to change font-family
|
2020-08-17 02:09:00 -05:00
|
|
|
#- {Find: "font-family: Avenir;", Replace: "font-family: Georgia;"}
|
2020-03-21 06:57:26 -05:00
|
|
|
#
|
|
|
|
# Increase font-size.
|
|
|
|
# Touch/Mini (Trilogy)
|
|
|
|
- {Find: "font-size: 16px;", Replace: "font-size: 28px;"}
|
2020-08-17 02:09:00 -05:00
|
|
|
# Glo/Aura/Aura2/Nia (Phoenix)
|
2020-03-21 06:57:26 -05:00
|
|
|
- {Find: "font-size: 20px;", Replace: "font-size: 36px;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD/Clara2E (Dragon)
|
2020-03-21 06:57:26 -05:00
|
|
|
- {Find: "font-size: 28px;", Replace: "font-size: 42px;"}
|
2022-02-13 00:43:33 -06:00
|
|
|
# LibraH2O/Libra2 (Storm)
|
2020-03-21 06:57:26 -05:00
|
|
|
- {Find: "font-size: 32px;", Replace: "font-size: 46px;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E (Daylight)
|
2020-03-21 06:57:26 -05:00
|
|
|
- {Find: "font-size: 36px;", Replace: "font-size: 50px;"}
|
|
|
|
|
|
|
|
Reduce new header/footer height:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
|
|
|
Reduce new reading header/footer heights when they are enabled.
|
|
|
|
Affects both ePubs and KePubs.
|
|
|
|
This patch may be of interest to those who used to enable the old
|
|
|
|
"Custom menubar - reduce height by 33%"
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "ReadingFooter" # qss/ReadingFooter.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
# Adjust the Replace values of min-height/max-height as you wish.
|
|
|
|
# Keep min-height=max-height
|
|
|
|
Replacements:
|
|
|
|
# ReadingFooter Reduce min/max height by 33%
|
|
|
|
# Touch/Mini (Trilogy)
|
|
|
|
- Find: "ReadingFooter[qApp_deviceIsTrilogy=true] {\n min-height: 56;\n max-height: 56px;\n}"
|
|
|
|
Replace: "ReadingFooter[qApp_deviceIsTrilogy=true] {\n min-height: 37px;\n max-height: 37px;\n}"
|
2021-10-23 23:39:19 -05:00
|
|
|
# Glo/Aura/Aura2/Nia (Phoenix)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "ReadingFooter[qApp_deviceIsPhoenix=true] {\n min-height: 71px;\n max-height: 71px;\n}"
|
|
|
|
Replace: "ReadingFooter[qApp_deviceIsPhoenix=true] {\n min-height: 47px;\n max-height: 47px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD/Clara2E (Dragon)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "ReadingFooter[qApp_deviceIsDragon=true] {\n min-height: 101px;\n max-height: 101px;\n}"
|
|
|
|
Replace: "ReadingFooter[qApp_deviceIsDragon=true] {\n min-height: 66px;\n max-height: 66px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E (Daylight)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "ReadingFooter[qApp_deviceIsDaylight=true] {\n min-height: 131px;\n max-height: 131px;\n}"
|
|
|
|
Replace: "ReadingFooter[qApp_deviceIsDaylight=true] {\n min-height: 86px;\n max-height: 86px;\n}"
|
2022-02-13 00:43:33 -06:00
|
|
|
# LibraH2O/Libra2 (Storm)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "ReadingFooter[qApp_deviceIsStorm=true] {\n min-height: 118px;\n max-height: 118px;\n}"
|
|
|
|
Replace: "ReadingFooter[qApp_deviceIsStorm=true] {\n min-height: 78px;\n max-height: 78px;\n}"
|
|
|
|
|
2021-05-13 15:58:45 -05:00
|
|
|
Custom header/footer captions:
|
2020-03-21 06:57:26 -05:00
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
2021-05-13 15:58:45 -05:00
|
|
|
This patch allows you to change various header/footer caption attributes:
|
|
|
|
- font-family (Part 1)
|
|
|
|
- font-size & vertical position fine-tuning (Part 2)
|
|
|
|
- width (Part 3)
|
|
|
|
Header & footer will automatically be a matched pair.
|
|
|
|
Parts 1 & 2: Full details & screenshots at
|
2020-03-21 06:57:26 -05:00
|
|
|
https://www.mobileread.com/forums/showpost.php?p=3897175&postcount=4
|
2021-05-13 15:58:45 -05:00
|
|
|
Part 3: Before/after screenshots at
|
|
|
|
https://www.mobileread.com/forums/showpost.php?p=4069495&postcount=18
|
|
|
|
#
|
2020-03-21 06:57:26 -05:00
|
|
|
N.B: This patch is not suitable for Japanese/Chinese locale users
|
2020-08-17 02:09:00 -05:00
|
|
|
fw 4.23.15505 No longer possible to customise font-size for GloHD/ClaraHD
|
2021-11-05 13:11:29 -05:00
|
|
|
separately from AuraHD/H2O.
|
2022-09-26 00:41:13 -05:00
|
|
|
fw 4.29.18730 No longer possible to style header/footer separately.
|
|
|
|
fw 4.32.19501 Kobo's major changes to font handling mean that ability to customise
|
|
|
|
font-family in a kobopatch is now very limited.
|
2022-04-15 19:43:59 -05:00
|
|
|
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "ReadingFooter" # qss/ReadingFooter.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
2022-09-26 00:41:13 -05:00
|
|
|
# Part 1: Customise font-family
|
2021-11-05 13:11:29 -05:00
|
|
|
# #caption
|
2022-09-26 00:41:13 -05:00
|
|
|
# The only custom font-family values now likely to have any effect are Georgia, Avenir
|
|
|
|
# and possibly(?) some of the built-in CJK fonts
|
2021-05-13 15:58:45 -05:00
|
|
|
# Un-comment and customise ONLY ONE of the following to change header/footer font-family
|
2020-03-21 06:57:26 -05:00
|
|
|
#- {Find: "font-family: Avenir;", Replace: "font-family:Avenir;"}
|
2021-05-13 15:58:45 -05:00
|
|
|
#- {Find: "font-family: Avenir;", Replace: "font-family:Avenir; background:transparent;"}
|
|
|
|
#
|
|
|
|
# Hint:
|
|
|
|
# Even if you don't need to change font-family you might want to un-comment the 2nd Find/Replace above.
|
|
|
|
# Setting the caption's background to transparent instead of the default, opaque white,
|
|
|
|
# should avoid the potential "dogear bookmark problem" outlined below in Part 3 of this patch.
|
2020-03-21 06:57:26 -05:00
|
|
|
|
2022-02-13 00:43:33 -06:00
|
|
|
# Part 2:
|
|
|
|
# 2a. Change font-size (header & footer simultaneously)
|
|
|
|
# Separate values for GloHD & ClaraHD (Alyssum & Nova) removed in 4.23.15505
|
|
|
|
#
|
|
|
|
# 2b.(optional): Fine-tune footer position by adjusting value of margin-top.
|
|
|
|
# A negative margin-top (e.g. -10px) moves the footer text
|
|
|
|
# slightly upwards, further away from the bottom bezel/progressbar,
|
|
|
|
# closer to the page content.
|
|
|
|
# N.B. A non-zero margin-top also automatically shifts the header text
|
|
|
|
# vertically by the same amount and in the same direction
|
|
|
|
# as the footer text.
|
2021-11-05 13:11:29 -05:00
|
|
|
# #caption
|
2022-02-13 00:43:33 -06:00
|
|
|
# Touch/Mini
|
2021-11-05 13:11:29 -05:00
|
|
|
- Find: "[qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
|
2022-02-13 00:43:33 -06:00
|
|
|
Replace: "[qApp_deviceIsTrilogy=true] {\n font-size: 14px; margin-top: 0px;\n}"
|
2021-10-23 23:39:19 -05:00
|
|
|
# Glo/Aura/Aura2/Nia
|
2020-08-17 02:09:00 -05:00
|
|
|
- Find: "[qApp_deviceIsPhoenix=true] {\n font-size: 17px;\n}"
|
2022-02-13 00:43:33 -06:00
|
|
|
Replace: "[qApp_deviceIsPhoenix=true] {\n font-size: 17px; margin-top: 0px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD/Clara2E
|
2020-08-17 02:09:00 -05:00
|
|
|
- Find: "[qApp_deviceIsDragon=true] {\n font-size: 25px;\n}"
|
2022-02-13 00:43:33 -06:00
|
|
|
Replace: "[qApp_deviceIsDragon=true] {\n font-size: 25px; margin-top: 0px;\n}"
|
|
|
|
# LibraH2O/Libra2
|
2020-08-17 02:09:00 -05:00
|
|
|
- Find: "[qApp_deviceIsStorm=true] {\n font-size: 29px;\n}"
|
2022-02-13 00:43:33 -06:00
|
|
|
Replace: "[qApp_deviceIsStorm=true] {\n font-size: 29px; margin-top: 0px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E
|
2020-08-17 02:09:00 -05:00
|
|
|
- Find: "[qApp_deviceIsDaylight=true] {\n font-size: 32px;\n}"
|
2022-02-13 00:43:33 -06:00
|
|
|
Replace: "[qApp_deviceIsDaylight=true] {\n font-size: 32px; margin-top: 0px;\n}"
|
2020-03-21 06:57:26 -05:00
|
|
|
|
2022-02-13 00:43:33 -06:00
|
|
|
# Part 3: Increase the width of header/footer captions by reducing the width
|
2021-05-13 15:58:45 -05:00
|
|
|
# of the pageturn tap zones in the footer's left/right corners
|
|
|
|
# N.B:
|
|
|
|
# The default Replace values below have been set larger than you might prefer.
|
|
|
|
# This is to avoid the possibility of the "dogear" bookmark icon
|
|
|
|
# in the top right corner being partially obscured by the header caption's white background.
|
2022-02-13 00:43:33 -06:00
|
|
|
# See screenshot at following link for an example of what can happen
|
2021-05-13 15:58:45 -05:00
|
|
|
# if the new Replace value is too small.
|
|
|
|
# https://www.mobileread.com/forums/showpost.php?p=4069755&postcount=34
|
|
|
|
# Feel free to reduce your custom Replace values if a wider caption area
|
|
|
|
# is more important to you than "dogear" aesthetics.
|
|
|
|
# Alternatively, look at the Hint in Part 1 of this patch for a way to avoid
|
|
|
|
# the "dogear" problem.
|
|
|
|
#
|
|
|
|
# Customise one or more of the 3 Replace values below as required
|
2022-02-13 00:43:33 -06:00
|
|
|
# Touch/Mini/Touch2/Glo/Aura/Aura2/Nia
|
|
|
|
# N.B. Touch/Mini/Touch2 could be reduced to 57 with no ill effects
|
2021-05-13 15:58:45 -05:00
|
|
|
- {Find: "footerMargin: 105;", Replace: "footerMargin:64;"}
|
|
|
|
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/Clara2E/LibraH2O/Libra2
|
|
|
|
# N.B. AuraH2O/AuraH2O2/GloHD/ClaraHD/Clara2E could be reduced to 102 with no ill effects
|
2021-05-13 15:58:45 -05:00
|
|
|
- {Find: "footerMargin: 170;", Replace: "footerMargin:116;"}
|
|
|
|
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E
|
2021-05-13 15:58:45 -05:00
|
|
|
- {Find: "footerMargin: 221;", Replace: "footerMargin:133;"}
|
|
|
|
|
2020-03-21 06:57:26 -05:00
|
|
|
# Don't change anything below. It exists to free up some space for
|
|
|
|
# your changes above by removing Japanese/Chinese-specific CSS code blocks
|
|
|
|
# so that kobopatch will run without giving some kind of 'too long' error message.
|
2021-11-05 13:11:29 -05:00
|
|
|
- {Find: "#caption[localeName=\"ja\"] {\n font-family: Sans-SerifJP, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
|
|
|
|
- {Find: "#caption[localeName=\"zh\"] {\n font-family: Sans-SerifZH-Simplified, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
|
|
|
|
- {Find: "#caption[localeName=\"zh-HK\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
|
|
|
|
- {Find: "#caption[localeName=\"zh-TW\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
|
2020-03-21 06:57:26 -05:00
|
|
|
|
|
|
|
Custom page navigation scrubber:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
|
|
|
This patch allows you to customise various parts of the new 'scrubber'. Full details & screenshots at:
|
|
|
|
https://www.mobileread.com/forums/showpost.php?p=3897174&postcount=3
|
|
|
|
N.B: This patch is not suitable for Japanese/Chinese locale users
|
2022-09-26 00:41:13 -05:00
|
|
|
fw 4.32.19501 Kobo's major changes to font handling mean that ability to customise
|
|
|
|
font-family in a kobopatch is now very limited.
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "#scrubberContainer" # qss/ReadingMenuScrubberView.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
|
|
|
# Part 1. Customise all 3 of these buttons
|
|
|
|
# - Left & Right 'Back to page nnn' (#revertLeft, #revertRight)
|
|
|
|
# - Current chapter name (#chapter)
|
2020-08-17 02:09:00 -05:00
|
|
|
|
2020-03-21 06:57:26 -05:00
|
|
|
# 1a. Customise font-size for desired model(s):
|
|
|
|
# Touch/Mini (Trilogy)
|
|
|
|
- Find: "[qApp_deviceIsTrilogy=true] {\n font-size: 19px;"
|
|
|
|
Replace: "[qApp_deviceIsTrilogy=true] {\n font-size: 19px;"
|
2021-10-23 23:39:19 -05:00
|
|
|
# Glo/Aura/Aura2/Nia (Phoenix)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "[qApp_deviceIsPhoenix=true] {\n font-size: 23px;"
|
|
|
|
Replace: "[qApp_deviceIsPhoenix=true] {\n font-size: 23px;"
|
2022-02-13 00:43:33 -06:00
|
|
|
# AuraHD/AuraH2O/AuraH202 (Dragon)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "[qApp_deviceIsDragon=true] {\n font-size: 29px;"
|
|
|
|
Replace: "[qApp_deviceIsDragon=true] {\n font-size: 29px;"
|
|
|
|
# GloHD (Alyssum)
|
|
|
|
- Find: "[qApp_deviceIsAlyssum=true] {\n font-size: 32px;"
|
|
|
|
Replace: "[qApp_deviceIsAlyssum=true] {\n font-size: 32px;"
|
2023-09-13 16:45:15 -05:00
|
|
|
# ClaraHD/Clara2E (Nova)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "[qApp_deviceIsNova=true] {\n font-size: 32px;"
|
|
|
|
Replace: "[qApp_deviceIsNova=true] {\n font-size: 32px;"
|
2022-02-13 00:43:33 -06:00
|
|
|
# LibraH2O/Libra2 (Storm)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "[qApp_deviceIsStorm=true] {\n font-size: 34px;"
|
|
|
|
Replace: "[qApp_deviceIsStorm=true] {\n font-size: 34px;"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E (Daylight)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "[qApp_deviceIsDaylight=true] {\n font-size: 37px;"
|
|
|
|
Replace: "[qApp_deviceIsDaylight=true] {\n font-size: 37px;"
|
|
|
|
|
|
|
|
# 1b. Customise other font properties of these 3 buttons (all models):
|
2022-09-26 00:41:13 -05:00
|
|
|
# - font-family. The only custom font-family values now likely to have any effect
|
|
|
|
# are Georgia, Avenir and possibly(?) some of the built-in CJK fonts
|
2020-03-21 06:57:26 -05:00
|
|
|
# - font-weight (bold or normal)
|
|
|
|
# - font-style (italic or normal)
|
|
|
|
- Find: "{\n font-family: Avenir;\n font-weight: bold;\n font-style: normal;\n}"
|
|
|
|
Replace: "{font-family:Avenir; font-weight:bold; font-style:normal;}"
|
|
|
|
# Users with CSS knowledge can add extra style properties as desired,
|
2020-08-17 02:09:00 -05:00
|
|
|
# e.g. to make them look more like buttons and less like labels,
|
2020-03-21 06:57:26 -05:00
|
|
|
# use this Replace instead. If it can be done with CSS you can do it here.
|
|
|
|
#Replace: "{font-family:Avenir; font-weight:normal; font-style:normal; background-color:#ddd;}"
|
|
|
|
|
|
|
|
# Part 2. Customise the central 'Page x of y' label (#page)
|
|
|
|
# Provided for those who want to create a uniform look & feel
|
|
|
|
# 2a. Customise font-size for desired model(s):
|
|
|
|
# Touch/Mini (Trilogy)
|
|
|
|
- Find: "#page[qApp_deviceIsTrilogy=true] {\n font-size: 17px;"
|
|
|
|
Replace: "#page[qApp_deviceIsTrilogy=true] {\n font-size: 17px;"
|
2021-10-23 23:39:19 -05:00
|
|
|
# Glo/Aura/Aura2/Nia (Phoenix)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#page[qApp_deviceIsPhoenix=true] {\n font-size: 22px;"
|
|
|
|
Replace: "#page[qApp_deviceIsPhoenix=true] {\n font-size: 22px;"
|
2022-02-13 00:43:33 -06:00
|
|
|
# AuraHD/AuraH2O/AuraH202 (Dragon)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#page[qApp_deviceIsDragon=true] {\n font-size: 26px;"
|
|
|
|
Replace: "#page[qApp_deviceIsDragon=true] {\n font-size: 26px;"
|
|
|
|
# GloHD (Alyssum)
|
|
|
|
- Find: "#page[qApp_deviceIsAlyssum=true] {\n font-size: 30px;"
|
|
|
|
Replace: "#page[qApp_deviceIsAlyssum=true] {\n font-size: 30px;"
|
2023-09-13 16:45:15 -05:00
|
|
|
# ClaraHD/Clara2E (Nova)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#page[qApp_deviceIsNova=true] {\n font-size: 30px;"
|
|
|
|
Replace: "#page[qApp_deviceIsNova=true] {\n font-size: 30px;"
|
2022-02-13 00:43:33 -06:00
|
|
|
# LibraH2O/Libra2 (Storm)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#page[qApp_deviceIsStorm=true] {\n font-size: 30px;"
|
|
|
|
Replace: "#page[qApp_deviceIsStorm=true] {\n font-size: 30px;"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E (Daylight)
|
2020-03-21 06:57:26 -05:00
|
|
|
- Find: "#page[qApp_deviceIsDaylight=true] {\n font-size: 34px;"
|
|
|
|
Replace: "#page[qApp_deviceIsDaylight=true] {\n font-size: 34px;"
|
|
|
|
|
|
|
|
# 2b. Customise other font properties of 'Page x of y' label (all models)
|
|
|
|
# e.g. text-transform (uppercase or none)
|
|
|
|
# font-family, font-weight, font-style, etc.
|
|
|
|
# Un-comment next 2 lines and change Replace CSS as desired
|
|
|
|
#- Find: "#page {\n padding-left: 0px;\n}"
|
2022-02-13 00:43:33 -06:00
|
|
|
# Replace: "#page {padding-left:0px; font-family:Georgia; text-transform:none;}"
|
2020-03-21 06:57:26 -05:00
|
|
|
|
|
|
|
Customise Header back button:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
|
|
|
Customise in-book button (top left corner) for 'Back to Home', 'Back to My Books' etc
|
2022-09-26 00:41:13 -05:00
|
|
|
fw 4.32.19501 Kobo's major changes to font handling mean that ability to customise
|
|
|
|
font-family in a kobopatch is now very limited.
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "#ReadingMenuView" # qss/ReadingMenuView.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
|
|
|
# 'Back to Home' button un-bolded
|
|
|
|
- Find: "#backLabel #label {\n font-family: Avenir;\n font-style: normal;\n font-weight: bold;"
|
|
|
|
Replace: "#backLabel #label {\n font-family:Avenir;\n font-style:normal;\n font-weight:normal;"
|
2020-06-19 19:03:14 -05:00
|
|
|
|
|
|
|
Series list increase cover thumbnails:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
2020-09-25 04:22:13 -05:00
|
|
|
Series list view (not Series cover view). Increase cover thumbnail size.
|
|
|
|
fw 4.24 - updated patch "width" values to maintain aspect ratio of original value
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "#seriesCoverPack" # qss/SeriesListWidget.qss
|
2020-06-19 19:03:14 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
|
|
|
# Part 1: #seriesWidgetContainer - Reduce top/bottom margins
|
|
|
|
# NB: The smaller the topMargin the closer the Series name
|
|
|
|
# will be to the horizontal gridline above it
|
|
|
|
# Touch/Mini
|
|
|
|
- {Find: "topMargin: 9px;", Replace: "topMargin: 3px;"}
|
|
|
|
- {Find: "bottomMargin: 9px;", Replace: "bottomMargin: 0px;"}
|
2021-10-23 23:39:19 -05:00
|
|
|
# Glo/Aura/Aura2/Nia
|
2020-06-19 19:03:14 -05:00
|
|
|
- {Find: "topMargin: 12px;", Replace: "topMargin: 4px;"}
|
|
|
|
- {Find: "bottomMargin: 12px;", Replace: "bottomMargin: 0px;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD/Clara2E
|
2020-06-19 19:03:14 -05:00
|
|
|
- {Find: "topMargin: 14px;", Replace: "topMargin: 5px;"}
|
|
|
|
- {Find: "bottomMargin: 14px;", Replace: "bottomMargin: 0px;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E
|
2020-06-19 19:03:14 -05:00
|
|
|
- {Find: "topMargin: 21px;", Replace: "topMargin: 7px;"}
|
|
|
|
- {Find: "bottomMargin: 21px;", Replace: "bottomMargin: 0px;"}
|
2022-02-13 00:43:33 -06:00
|
|
|
# LibraH2O/Libra2
|
2020-06-19 19:03:14 -05:00
|
|
|
- {Find: "topMargin: 17px;", Replace: "topMargin: 6px;"}
|
|
|
|
- {Find: "bottomMargin: 17px;", Replace: "bottomMargin: 0px;"}
|
|
|
|
#
|
|
|
|
# Part 2: #seriesCoverPack - Increase cover thumbnail size
|
|
|
|
# Touch/Mini
|
2020-09-25 04:22:13 -05:00
|
|
|
- {Find: "width: 60px;", Replace: "width: 65px;"}
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "height: 94px;", Replace: "height: 102px;"}
|
2021-10-23 23:39:19 -05:00
|
|
|
# Glo/Aura/Aura2/Nia
|
2020-09-25 04:22:13 -05:00
|
|
|
- {Find: "width: 70px;", Replace: "width: 83px;"}
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "height: 115px;", Replace: "height: 137px;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD/Clara2E
|
2020-09-25 04:22:13 -05:00
|
|
|
- {Find: "width: 108px;", Replace: "width: 120px;"}
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "height: 175px;", Replace: "height: 195px;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraOne/Forma/Sage/Elipsa/Elipsa2E
|
2020-09-25 04:22:13 -05:00
|
|
|
- {Find: "width: 140px;", Replace: "width: 164px;"}
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "height: 222px;", Replace: "height: 260px;"}
|
2022-02-13 00:43:33 -06:00
|
|
|
# LibraH2O/Libra2
|
2020-09-25 04:22:13 -05:00
|
|
|
- {Find: "width: 126px;", Replace: "width: 141px;"}
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "height: 205px;", Replace: "height: 229px;"}
|
2020-06-19 19:03:14 -05:00
|
|
|
#
|
|
|
|
# Part 3: All models: #hBooks - Move bookcount up & away from horizontal gridline
|
2020-08-17 02:09:00 -05:00
|
|
|
# Users of lower-res models (Touch/Mini/Glo/Aura6"/Aurav2) may prefer to
|
2020-06-19 19:03:14 -05:00
|
|
|
# decrease the Replace value of 20px for padding-bottom
|
|
|
|
- Find: "#hBooks {\n padding-left: 0px;\n padding-bottom: 0px;\n font-style: normal;\n}"
|
|
|
|
Replace: "#hBooks {\n padding-left: 0px;\n padding-bottom:20px;\n font-style: normal;\n}"
|
2020-03-21 06:57:26 -05:00
|
|
|
# The following patch(es) are ported from oren64's patches
|
|
|
|
|
|
|
|
Increase headlines font:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
|
|
|
Increase the font-size of the tab header labels in My Books, Activity, Bookstore...
|
|
|
|
See https://www.mobileread.com/forums/showpost.php?p=3931942&postcount=183
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "#tabContainer > N3TabItem" # qss/N3TabWidget.qss
|
2022-02-13 00:43:33 -06:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
|
|
|
# Touch/Mini
|
|
|
|
- Find: "#tabContainer > N3TabItem[qApp_deviceIsTrilogy=true] {\n font-size: 16px;\n}"
|
|
|
|
Replace: "#tabContainer > N3TabItem[qApp_deviceIsTrilogy=true] {\n font-size: 28px;\n}"
|
|
|
|
# Glo/Aura/Aura2E/Nia
|
|
|
|
- Find: "#tabContainer > N3TabItem[qApp_deviceIsPhoenix=true] {\n font-size: 20px;\n}"
|
|
|
|
Replace: "#tabContainer > N3TabItem[qApp_deviceIsPhoenix=true] {\n font-size: 36px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/Clara2E
|
2022-02-13 00:43:33 -06:00
|
|
|
- Find: "#tabContainer > N3TabItem[qApp_deviceIsDragon=true] {\n font-size: 28px;\n}"
|
|
|
|
Replace: "#tabContainer > N3TabItem[qApp_deviceIsDragon=true] {\n font-size: 42px;\n}"
|
|
|
|
# LibraH2O/Libra2
|
|
|
|
- Find: "#tabContainer > N3TabItem[qApp_deviceIsStorm=true] {\n font-size: 32px;\n}"
|
|
|
|
Replace: "#tabContainer > N3TabItem[qApp_deviceIsStorm=true] {\n font-size: 46px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraONE/Forma/Sage/Elipsa/Elipsa2E
|
2022-02-13 00:43:33 -06:00
|
|
|
- Find: "#tabContainer > N3TabItem[qApp_deviceIsDaylight=true] {\n font-size: 36px;\n}"
|
|
|
|
Replace: "#tabContainer > N3TabItem[qApp_deviceIsDaylight=true] {\n font-size: 50px;\n}"
|
2020-03-21 06:57:26 -05:00
|
|
|
|
|
|
|
New home screen subtitle custom font:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
2022-12-15 02:00:27 -06:00
|
|
|
On the Home screen:
|
|
|
|
Change upper label font-size
|
|
|
|
Change subtitle (lower label) font size and/or font colour.
|
|
|
|
Upper label example is the black text caption
|
|
|
|
- 'x% Read' - top row
|
|
|
|
- 'My Books' - middle row
|
|
|
|
Subtitle (lower label) examples are the grey text captions containing:
|
2022-02-13 00:43:33 -06:00
|
|
|
- 'x HOURS TO GO' for kepubs (not shown for epubs) - top row
|
|
|
|
- 'x BOOKS' under 'My Books' - middle row
|
|
|
|
Works best when used with with patch `Increase home screen cover size`
|
|
|
|
- FindZlib: "#homeWidgetTopContainer" # qss/GenericHomeWidget.qss
|
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
2022-12-15 02:00:27 -06:00
|
|
|
# Change subtitle (lower label) font colour from mid-grey to black
|
2022-02-13 00:43:33 -06:00
|
|
|
- {Find: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n color: #000000;\n qproperty-indent: 0;\n}"}
|
|
|
|
#
|
2022-12-15 02:00:27 -06:00
|
|
|
# Change subtitle (lower label) font-size (e.g. time remaining in book)
|
2022-02-13 00:43:33 -06:00
|
|
|
# Touch/Mini (Trilogy)
|
|
|
|
- Find: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
|
|
|
|
Replace: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
|
|
|
|
# Glo/Aura/Aura2E/Nia (Phoenix)
|
|
|
|
- Find: "MetaDataLabel[qApp_deviceIsPhoenix=true] {\n font-size: 17px;\n}"
|
|
|
|
Replace: "MetaDataLabel[qApp_deviceIsPhoenix=true] {\n font-size: 18px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/Clara2E (Dragon)
|
2022-02-13 00:43:33 -06:00
|
|
|
- Find: "MetaDataLabel[qApp_deviceIsDragon=true] {\n font-size: 24px;\n}"
|
|
|
|
Replace: "MetaDataLabel[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
|
|
|
|
# LibraH2O/Libra2 (Storm)
|
|
|
|
- Find: "MetaDataLabel[qApp_deviceIsStorm=true] {\n font-size: 28px;\n}"
|
|
|
|
Replace: "MetaDataLabel[qApp_deviceIsStorm=true] {\n font-size: 30px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraONE/Forma/Sage/Elipsa/Elipsa2E (Daylight)
|
2022-02-13 00:43:33 -06:00
|
|
|
- Find: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 31px;\n}"
|
|
|
|
Replace: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 34px;\n}"
|
2022-12-15 02:00:27 -06:00
|
|
|
#
|
|
|
|
# Change upper label (black) font-size (e.g. % Read)
|
|
|
|
# Touch/Mini (Trilogy)
|
|
|
|
- Find: "RegularElidedLabel[qApp_deviceIsTrilogy=true] {\n font-size: 21px;\n}"
|
|
|
|
Replace: "RegularElidedLabel[qApp_deviceIsTrilogy=true] {\n font-size: 21px;\n}"
|
|
|
|
# Glo/Aura/Aura2E/Nia (Phoenix)
|
|
|
|
- Find: "RegularElidedLabel[qApp_deviceIsPhoenix=true] {\n font-size: 26px;\n}"
|
|
|
|
Replace: "RegularElidedLabel[qApp_deviceIsPhoenix=true] {\n font-size: 26px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/Clara2E (Dragon)
|
2022-12-15 02:00:27 -06:00
|
|
|
- Find: "RegularElidedLabel[qApp_deviceIsDragon=true] {\n font-size: 36px;\n}"
|
|
|
|
Replace: "RegularElidedLabel[qApp_deviceIsDragon=true] {\n font-size: 36px;\n}"
|
|
|
|
# LibraH2O/Libra2 (Storm)
|
|
|
|
- Find: "RegularElidedLabel[qApp_deviceIsStorm=true] {\n font-size: 42px;\n}"
|
|
|
|
Replace: "RegularElidedLabel[qApp_deviceIsStorm=true] {\n font-size: 42px;\n}"
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraONE/Forma/Sage/Elipsa/Elipsa2E (Daylight)
|
2022-12-15 02:00:27 -06:00
|
|
|
- Find: "RegularElidedLabel[qApp_deviceIsDaylight=true] {\n font-size: 47px;\n}"
|
|
|
|
Replace: "RegularElidedLabel[qApp_deviceIsDaylight=true] {\n font-size: 47px;\n}"
|
2020-03-21 06:57:26 -05:00
|
|
|
|
|
|
|
Remove footer (row3) and increase cover size on new home screen:
|
|
|
|
- Enabled: no
|
|
|
|
- PatchGroup: Home screen layout tweaks
|
2022-02-13 00:43:33 -06:00
|
|
|
- Description: |
|
|
|
|
Combines two patches together which share the same PatchGroup:
|
|
|
|
- `Increase home screen cover size`
|
|
|
|
- `Remove footer (row3) on new home screen`
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "#row1col2" # qss/HomePageView.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
2022-02-13 00:43:33 -06:00
|
|
|
# patch `Increase home screen cover size`
|
|
|
|
# Touch/Mini (Trilogy)
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "qproperty-leftMargin: 32px;", Replace: "qproperty-leftMargin: 16px;"}
|
|
|
|
- {Find: "qproperty-rightMargin: 32px;", Replace: "qproperty-rightMargin: 16px;"}
|
2022-02-13 00:43:33 -06:00
|
|
|
# Glo/Aura/Aura2E/Nia (Phoenix)
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "qproperty-leftMargin: 40px;", Replace: "qproperty-leftMargin: 16px;"}
|
|
|
|
- {Find: "qproperty-rightMargin: 40px;", Replace: "qproperty-rightMargin: 16px;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/Clara2E (Dragon)
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "qproperty-leftMargin: 57px;", Replace: "qproperty-leftMargin: 22px;"}
|
|
|
|
- {Find: "qproperty-rightMargin: 57px;", Replace: "qproperty-rightMargin: 22px;"}
|
2023-09-13 16:45:15 -05:00
|
|
|
# AuraONE/Forma/Sage/Elipsa/Elipsa2E (Daylight)
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "qproperty-leftMargin: 74px;", Replace: "qproperty-leftMargin: 29px;"}
|
|
|
|
- {Find: "qproperty-rightMargin: 74px;", Replace: "qproperty-rightMargin: 29px;"}
|
2022-02-13 00:43:33 -06:00
|
|
|
# LibraH2O/Libra2 (Storm)
|
2020-08-17 02:09:00 -05:00
|
|
|
- {Find: "qproperty-leftMargin: 67px;", Replace: "qproperty-leftMargin: 29px;"}
|
|
|
|
- {Find: "qproperty-rightMargin: 67px;", Replace: "qproperty-rightMargin: 29px;"}
|
2022-02-13 00:43:33 -06:00
|
|
|
#
|
|
|
|
# patch `Remove footer (row3) on new home screen`
|
2020-08-17 02:09:00 -05:00
|
|
|
- Find: "#row1col2 {\n qproperty-visible: false;\n}"
|
|
|
|
Replace: "#row1col2 {\n qproperty-visible: false;\n}\n#row3 {\n qproperty-visible: false;\n}"
|
2020-03-21 06:57:26 -05:00
|
|
|
|
|
|
|
Remove footer (row3) on new home screen:
|
|
|
|
- Enabled: no
|
2022-02-13 00:43:33 -06:00
|
|
|
- PatchGroup: Home screen layout tweaks
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "#row1col2" # qss/HomePageView.qss
|
2020-03-21 06:57:26 -05:00
|
|
|
- ReplaceZlib:
|
|
|
|
Find: "#row1col2 {\n qproperty-visible: false;\n}"
|
|
|
|
Replace: "#row1col2 {\n qproperty-visible: false;\n}\n#row3 {\n qproperty-visible: false;\n}"
|
2020-08-17 02:09:00 -05:00
|
|
|
# The following patch(es) are by pgaskin (geek1011)
|
|
|
|
|
|
|
|
Show all games:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
|
|
|
Shows all games in beta features. Since firmware 4.20.14601, this patch is
|
|
|
|
not needed if you have developer mode enabled (search
|
|
|
|
devmodeon/devmodeoff).
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "#boggleContainer[devModeOn=false][qApp_deviceIsPika=true]" # qss/N3SettingsExtrasView.qss
|
2020-08-17 02:09:00 -05:00
|
|
|
- ReplaceZlib: {Find: "qproperty-visible: false;", Replace: "qproperty-visible: true;"}
|
|
|
|
|
|
|
|
Remove forgot pin button from lock screen:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
|
|
|
Removes the Forgot PIN -> Sign Out button from the lock screen.
|
|
|
|
If this is enabled and you forget your pin, you will need to
|
|
|
|
hard reset your Kobo.
|
2023-09-13 16:45:15 -05:00
|
|
|
- BaseAddress: 0x1972E04 # qss/PinCodeInputDialog.qss
|
2020-08-17 02:09:00 -05:00
|
|
|
- ReplaceZlib:
|
|
|
|
Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
|
|
|
|
Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}"
|
|
|
|
|
|
|
|
Increase size of kepub chapter progress chart:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: Originally by oren64, rewritten for 4.16.13337 by pgaskin (geek1011).
|
2023-09-13 16:45:15 -05:00
|
|
|
- BaseAddress: 0x196E0F6 # qss/ReadingMenuStatsView.qss
|
2020-08-17 02:09:00 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
2020-09-25 04:22:13 -05:00
|
|
|
# Top padding is already set to 15px, 25px, 33px, vertical aligned to middle.
|
2020-08-17 02:09:00 -05:00
|
|
|
# Progress chart bar sizes:
|
|
|
|
- Find: "#chapterSizes[qApp_deviceIsTrilogy=true] {\n max-height: 56px;\n min-height: 56px;\n}"
|
|
|
|
Replace: "#chapterSizes[qApp_deviceIsTrilogy=true] {\n max-height: 90px;\n min-height: 90px;\n min-width: 385px;\n max-width: 385px;\n}"
|
|
|
|
- Find: "#chapterSizes[qApp_deviceIsPhoenix=true] {\n max-height: 70px;\n min-height: 70px;\n}"
|
|
|
|
Replace: "#chapterSizes[qApp_deviceIsPhoenix=true] {\n max-height: 130px;\n min-height: 130px;\n min-width: 495px;\n max-width: 495px;\n}"
|
|
|
|
- Find: "#chapterSizes[qApp_deviceIsDragon=true] {\n max-height: 100px;\n min-height: 100px;\n}"
|
|
|
|
Replace: "#chapterSizes[qApp_deviceIsDragon=true] {\n max-height: 170px;\n min-height: 170px;\n min-width: 678px;\n max-width: 678px;\n}"
|
|
|
|
- Find: "#chapterSizes[qApp_deviceIsDaylight=true] {\n max-height: 130px;\n min-height: 130px;\n}"
|
|
|
|
Replace: "#chapterSizes[qApp_deviceIsDaylight=true] {\n max-height: 215px;\n min-height: 215px;\n min-width: 865px;\n max-width: 865px;\n}"
|
2020-09-25 04:22:13 -05:00
|
|
|
|
|
|
|
Change TOC level indentation:
|
|
|
|
- Enabled: no
|
|
|
|
- Description: |
|
|
|
|
Changes the size of indentation for each level in the TOC. This patch
|
|
|
|
replaces the old "Increase TOC level indentation" patch from firmware
|
|
|
|
versions before 4.24.15672 (see the note in libnickel.so.1.0.0.yaml).
|
2021-10-23 23:39:19 -05:00
|
|
|
- FindZlib: "qproperty-indentUnit" # qss/N3TableOfContentsWidget.qss
|
2020-09-25 04:22:13 -05:00
|
|
|
- ReplaceZlibGroup:
|
|
|
|
Replacements:
|
|
|
|
# Change the replacement values to your desired width (I've made it half the default width as an example).
|
|
|
|
- {Find: "qproperty-indentUnit: 30;", Replace: "qproperty-indentUnit: 15;"} # trilogy
|
|
|
|
- {Find: "qproperty-indentUnit: 38;", Replace: "qproperty-indentUnit: 19;"} # phoenix
|
|
|
|
- {Find: "qproperty-indentUnit: 58;", Replace: "qproperty-indentUnit: 29;"} # dragon
|
|
|
|
- {Find: "qproperty-indentUnit: 72;", Replace: "qproperty-indentUnit: 36;"} # storm
|
|
|
|
- {Find: "qproperty-indentUnit: 76;", Replace: "qproperty-indentUnit: 38;"} # daylight
|