-
Notifications
You must be signed in to change notification settings - Fork 20
/
jackie_w.yaml
451 lines (422 loc) · 26.1 KB
/
jackie_w.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
# 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
- FindZlib: "#InlineDictionaryView"
- 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}"
# Glo/Aura/Aura2
- 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}"
# AuraHD/H2O/H2O2/GloHD/ClaraHD
- 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}"
# AuraOne/Forma
- 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}"
# Glo/Aura/Aura2
- 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}"
# AuraHD/H2O/H2O2/GloHD/ClaraHD/LibraH2O
- 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}"
# AuraOne/Forma
- 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}"
# Glo/Aura/Aura2
- 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}"
# AuraHD/H2O/H2O2/GloHD/ClaraHD
- 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}"
# AuraOne/Forma
- 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}"
# LibraH2O
- 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}"
#
# Part 2: DictionaryViewFooter - Reduce vertical height of footer
# 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
# Glo/Aura/Aura2
- 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
# AuraHD/H2O/H2O2/GloHD/ClaraHD/LibraH2O
- 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
# AuraOne/Forma
- 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
- Increase height of bottom half (Synopsis) by
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
- FindZlib: "#bookInfoWidget"
- ReplaceZlibGroup:
Replacements:
# Portrait mode: #bookInfoWidget[isLandscape=false]:
- {Find: "height: 300px;", Replace: "height: 200px;"} #Touch/Mini
- {Find: "height: 390px;", Replace: "height: 230px;"} #Glo/Aura/Aura2
- {Find: "height: 550px;", Replace: "height: 370px;"} #AuraHD/H2O/H2O2/GloHD/ClaraHD
- {Find: "height: 642px;", Replace: "height: 425px;"} #LibraH2O (*untested)
- {Find: "height: 715px;", Replace: "height: 500px;"} #AuraOne/Forma
# Landscape mode: #bookInfoWidget[isLandscape=true]:
- {Find: "height: 210px;", Replace: "height: 200px;"} #Touch/Mini
- {Find: "height: 265px;", Replace: "height: 230px;"} #Glo/Aura/Aura2
- {Find: "height: 420px;", Replace: "height: 370px;"} #AuraHD/H2O/H2O2/GloHD/ClaraHD
- {Find: "height: 490px;", Replace: "height: 425px;"} #LibraH2O (*untested)
- {Find: "height: 540px;", Replace: "height: 500px;"} #AuraOne/Forma
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
fw 4.24 - updated patch "width" values to maintain aspect ratio of original value
- FindZlib: "#coverPixmapView"
- ReplaceZlibGroup:
Replacements:
# coverPixmapView increase cover thumbnail width/height:
# Touch/Mini (Trilogy)
- {Find: "width: 60px;", Replace: "width: 66px;"}
- {Find: "height: 90px;", Replace: "height: 100px;"}
# Glo/Aura/Aura2 (Phoenix)
- {Find: "width: 70px;", Replace: "width: 82px;"}
- {Find: "height: 110px;", Replace: "height: 130px;"}
# AuraHD/H2O/H2O2/GloHD/ClaraHD (Dragon)
- {Find: "width: 108px;", Replace: "width: 122px;"}
- {Find: "height: 168px;", Replace: "height: 190px;"}
# AuraOne/Forma (Daylight)
- {Find: "width: 140px;", Replace: "width: 164px;"}
- {Find: "height: 218px;", Replace: "height: 255px;"}
# LibraH2O (Storm)
- {Find: "width: 126px;", Replace: "width: 144px;"}
- {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"
fw 4.23.15505 Author/Series/Collection list headers no longer forced to uppercase
- FindZlib: "#scrollContainer[containerSpacing=true]"
- ReplaceZlibGroup:
Replacements:
# #header #headerTitle Change font-family, font-size
#
# Change font-family.
# Note: If new font-family name contains spaces wrap in 'single quotes'
# e.g. 'Kobo Nickel'
# Un-comment & edit next line to change font-family
#- {Find: "font-family: Avenir;", Replace: "font-family: Georgia;"}
#
# Increase font-size.
# Touch/Mini (Trilogy)
- {Find: "font-size: 16px;", Replace: "font-size: 28px;"}
# Glo/Aura/Aura2/Nia (Phoenix)
- {Find: "font-size: 20px;", Replace: "font-size: 36px;"}
# AuraHD/H2O/H2O2/GloHD/ClaraHD (Dragon)
- {Find: "font-size: 28px;", Replace: "font-size: 42px;"}
# LibraH2O (Storm)
- {Find: "font-size: 32px;", Replace: "font-size: 46px;"}
# AuraOne/Forma (Daylight)
- {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%"
- FindZlib: "ReadingFooter"
- 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}"
# Glo/Aura/Aura2E (Phoenix)
- 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}"
# AuraHD/H2O/GloHD/ClaraHD (Dragon)
- 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}"
# AuraOne/Forma (Daylight)
- 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}"
# LibraH2O (Storm)
- 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}"
Custom header/footer captions:
- Enabled: no
- Description: |
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
https://www.mobileread.com/forums/showpost.php?p=3897175&postcount=4
Part 3: Before/after screenshots at
https://www.mobileread.com/forums/showpost.php?p=4069495&postcount=18
#
N.B: This patch is not suitable for Japanese/Chinese locale users
fw 4.23.15505 No longer possible to customise font-size for GloHD/ClaraHD
separately from AuraHD/H2O.
- FindZlib: "ReadingFooter"
- ReplaceZlibGroup:
Replacements:
# Part 1. Customise font-family (built-in or sideloaded font)
# #caption[newHeader=true] and #caption[newFooter=true]
# If new font-family contains spaces wrap in 'single quotes', e.g. 'Kobo Nickel'
# Un-comment and customise ONLY ONE of the following to change header/footer font-family
#- {Find: "font-family: Avenir;", Replace: "font-family:Avenir;"}
#- {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.
# Part 2.
# 2a. Customise font-size for header/footer
# 2b. (optional) Fine-tune footer text position to avoid cutting bottom progressbar
# (optional) Fine-tune header text position to avoid possible shadow from top bezel
# May be useful to those who have also enabled patch 'Reduce new header/footer height'
# and have customised it to aggressively reduce header/footer height.
# 2a. Change font-size for models other than Touch/Mini (header & footer simultaneously)
# #caption[newHeader=true] & #caption[newFooter=true]
# Glo/Aura/Aura2E/Nia
- Find: "[qApp_deviceIsPhoenix=true] {\n font-size: 17px;\n}"
Replace: "[qApp_deviceIsPhoenix=true] {\n font-size: 17px;\n}"
# AuraHD/H2O/GloHD/ClaraHD
- Find: "[qApp_deviceIsDragon=true] {\n font-size: 25px;\n}"
Replace: "[qApp_deviceIsDragon=true] {\n font-size: 25px;\n}"
# LibraH2O
- Find: "[qApp_deviceIsStorm=true] {\n font-size: 29px;\n}"
Replace: "[qApp_deviceIsStorm=true] {\n font-size: 29px;\n}"
# AuraOne/Forma
- Find: "[qApp_deviceIsDaylight=true] {\n font-size: 32px;\n}"
Replace: "[qApp_deviceIsDaylight=true] {\n font-size: 32px;\n}"
# N.B: If you do not have a Touch/Mini and your header/footer
# positions are exactly as you like them you do not need the
# next 3 Find/Replace pairs.
# Leave them as-is or comment them out entirely and forget about them.
# Don't change the following pair. It exists to split the header/footer styles
# which were merged in 4.19.14123.
- Find: "#caption[newHeader=true][qApp_deviceIsTrilogy=true],\n#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
Replace: "#caption[newHeader=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}\n#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
# 2a. Touch/Mini users only: Adjust footer font-size as required.
# 2b. All models (optional): Fine-tune footer position by adjusting margin-top value
# A negative margin-top (e.g -10px) moves the footer text slightly upwards
# further from the bottom bezel/progressbar, closer to the page content
- Find: "#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
Replace: "#caption[newFooter=true] {\n font-size: 14px; margin-top: 0px;}"
# 2a. Touch/Mini users only: Adjust header font-size as required.
# 2b. All models (optional): Fine-tune header position by adjusting margin-bottom value.
# A negative margin-bottom (e.g -10px) moves the header text slightly downwards
# further from the top bezel, closer to the page content
- Find: "#caption[newHeader=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
Replace: "#caption[newHeader=true] {\n font-size: 14px; margin-bottom: 0px;}"
# Part 3. Increase the width of header/footer captions by reducing the width
# 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.
# See screenshot at following link for an example of what can sometimes happen
# 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
# Glo/Aura/Aura2E/Nia needs default value 64.
# Touch/Mini could be reduced to 57 with no ill effects
- {Find: "footerMargin: 105;", Replace: "footerMargin:64;"}
# LibraH20 needs default value 116.
# AuraHD/H2O/H2Ov2/GloHD/ClaraHD could be reduced to 102 with no ill effects
- {Find: "footerMargin: 170;", Replace: "footerMargin:116;"}
# AuraOne/Forma
- {Find: "footerMargin: 221;", Replace: "footerMargin:133;"}
# 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.
- {Find: "#caption[newHeader=true][localeName=\"ja\"],\n#caption[newFooter=true][localeName=\"ja\"] {\n font-family: Sans-SerifJP, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
- {Find: "#caption[newHeader=true][localeName=\"zh\"],\n#caption[newFooter=true][localeName=\"zh\"] {\n font-family: Sans-SerifZH-Simplified, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
- {Find: "#caption[newHeader=true][localeName=\"zh-HK\"],\n#caption[newFooter=true][localeName=\"zh-HK\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
- {Find: "#caption[newHeader=true][localeName=\"zh-TW\"],\n#caption[newFooter=true][localeName=\"zh-TW\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
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
- FindZlib: "#scrubberContainer"
- ReplaceZlibGroup:
Replacements:
# Part 1. Customise all 3 of these buttons
# - Left & Right 'Back to page nnn' (#revertLeft, #revertRight)
# - Current chapter name (#chapter)
# 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;"
# Glo/Aura/Aura2E (Phoenix)
- Find: "[qApp_deviceIsPhoenix=true] {\n font-size: 23px;"
Replace: "[qApp_deviceIsPhoenix=true] {\n font-size: 23px;"
# AuraHD/H2O (Dragon)
- 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;"
# ClaraHD (Nova)
- Find: "[qApp_deviceIsNova=true] {\n font-size: 32px;"
Replace: "[qApp_deviceIsNova=true] {\n font-size: 32px;"
# LibraH2O (Storm)
- Find: "[qApp_deviceIsStorm=true] {\n font-size: 34px;"
Replace: "[qApp_deviceIsStorm=true] {\n font-size: 34px;"
# AuraOne/Forma (Daylight)
- 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):
# - font-family (built-in or sideloaded font)
# NB: If new font-family name contains spaces, wrap in 'single quotes',
# e.g. font-family:'Kobo Nickel';
# - 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,
# e.g. to make them look more like buttons and less like labels,
# 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;"
# Glo/Aura/Aura2E (Phoenix)
- Find: "#page[qApp_deviceIsPhoenix=true] {\n font-size: 22px;"
Replace: "#page[qApp_deviceIsPhoenix=true] {\n font-size: 22px;"
# AuraHD/H2O (Dragon)
- 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;"
# ClaraHD (Nova)
- Find: "#page[qApp_deviceIsNova=true] {\n font-size: 30px;"
Replace: "#page[qApp_deviceIsNova=true] {\n font-size: 30px;"
# LibraH2O (Storm)
- Find: "#page[qApp_deviceIsStorm=true] {\n font-size: 30px;"
Replace: "#page[qApp_deviceIsStorm=true] {\n font-size: 30px;"
# AuraOne/Forma (Daylight)
- 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}"
# Replace: "#page {padding-left: 0px; font-family:Georgia; text-transform:none;}"
Customise Header back button:
- Enabled: no
- Description: |
Customise in-book button (top left corner) for 'Back to Home', 'Back to My Books' etc
- FindZlib: "#ReadingMenuView"
- 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;"
Series list increase cover thumbnails:
- Enabled: no
- Description: |
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
- FindZlib: "#seriesCoverPack"
- 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;"}
# Glo/Aura6"/Aurav2
- {Find: "topMargin: 12px;", Replace: "topMargin: 4px;"}
- {Find: "bottomMargin: 12px;", Replace: "bottomMargin: 0px;"}
# AuraHD/H2O/H2Ov2/GloHD/ClaraHD
- {Find: "topMargin: 14px;", Replace: "topMargin: 5px;"}
- {Find: "bottomMargin: 14px;", Replace: "bottomMargin: 0px;"}
# AuraOne/Forma
- {Find: "topMargin: 21px;", Replace: "topMargin: 7px;"}
- {Find: "bottomMargin: 21px;", Replace: "bottomMargin: 0px;"}
# LibraH2O
- {Find: "topMargin: 17px;", Replace: "topMargin: 6px;"}
- {Find: "bottomMargin: 17px;", Replace: "bottomMargin: 0px;"}
#
# Part 2: #seriesCoverPack - Increase cover thumbnail size
# Touch/Mini
- {Find: "width: 60px;", Replace: "width: 65px;"}
- {Find: "height: 94px;", Replace: "height: 102px;"}
# Glo/Aura6"/Aurav2
- {Find: "width: 70px;", Replace: "width: 83px;"}
- {Find: "height: 115px;", Replace: "height: 137px;"}
# AuraHD/H2O/H2Ov2/GloHD/ClaraHD
- {Find: "width: 108px;", Replace: "width: 120px;"}
- {Find: "height: 175px;", Replace: "height: 195px;"}
# AuraOne/Forma
- {Find: "width: 140px;", Replace: "width: 164px;"}
- {Find: "height: 222px;", Replace: "height: 260px;"}
# LibraH2O
- {Find: "width: 126px;", Replace: "width: 141px;"}
- {Find: "height: 205px;", Replace: "height: 229px;"}
#
# Part 3: All models: #hBooks - Move bookcount up & away from horizontal gridline
# Users of lower-res models (Touch/Mini/Glo/Aura6"/Aurav2) may prefer to
# 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}"