|
|
#1 |
|
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,687
Karma: 7908443
Join Date: Sep 2020
Device: none
|
New Book Details Look - Dark Theme
Hi,
The new Book Details pane appearance in v6.25 looks too much de-emphasized in dark theme (field names). Is there a way to customise the CSS to make it look similar to what it was before this version? ![]() Here's how it looks to me on default and custom views: Last edited by Comfy.n; 08-18-2023 at 03:50 PM. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,634
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, if you want to customize it you have to run calibre from source.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 495
Karma: 678910
Join Date: Dec 2017
Device: Kobo
|
I've just tested it and it's a shame that with Preference > Look & Feel > Book detail and by editing the custom CSS with:
Code:
table.fields td.title
{
text-align: left !important;
color: black !important;
font-style: normal !important;
font-weight: bold !important;
}
A like the new, but that a flaw in the customization. A use the !important and still not work, so no idea to overide this. |
|
|
|
|
|
#4 | |
|
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,687
Karma: 7908443
Join Date: Sep 2020
Device: none
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 495
Karma: 678910
Join Date: Dec 2017
Device: Kobo
|
Okay,
A fix was puch in the source, so it will be in the next release. At the 6.26, replace the section: Code:
table.fields td.title {
font-weight: normal;
font-style: italic;
color: palette(placeholder-text);
text-align: right;
}
Code:
table.fields td.title {
font-weight: bold;
font-style: normal;
color: black;
text-align: left;
}
Also @kovidgoyal, I've noticed that if the user had modified/created a Custom CSS before 6.25, the user is still "using" the old style because the user book_details.css they have is based on the old version. This could create a lot of confusion if we're not careful. |
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,687
Karma: 7908443
Join Date: Sep 2020
Device: none
|
Quote:
I just tested the current source and tried the CSS suggested... table.fields td.title { font-weight: bold; font-style: normal; color: white; text-align: left; } ...and I found it looks better, indeed, with the new de-emphasized default color for the field names in the dark theme.
Last edited by Comfy.n; 08-18-2023 at 09:34 PM. |
|
|
|
|
|
|
#7 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Will there be an option to revert to the old version (or apply the new version) without having to go in and edit the CSS entry/entries? I personally find this new version hard to read, and I don't really want to change all my other preferences to accommodate this if I don't have to.
|
|
|
|
|
|
#8 | |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,634
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
|
|
|
|
|
#9 | |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,634
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
|
|
|
|
|
#10 |
|
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,687
Karma: 7908443
Join Date: Sep 2020
Device: none
|
I think I'm gonna settle down for a while with the custom styling attached.
![]() Thanks for adding to the current source the possibility of customizing the fields' names CSS! Spoiler:
Last edited by Comfy.n; 08-20-2023 at 06:42 PM. |
|
|
|
|
|
#11 | |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Quote:
If I've just missed it, sorry, and please point me in the right direction As for the preferences I don't want to change, I'm talking about if I can't revert (or whatever the option is) I might have to change my colours to make things more readable for myself. And if I change one colour, it might mean changing another and so on. |
|
|
|
|
|
|
#12 | |
|
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 495
Karma: 678910
Join Date: Dec 2017
Device: Kobo
|
Quote:
Personally, I wouldn't have had any problems in the first implementation if !important can be used to propely override default styles. Maybe there's a solution that combines the 2. We'll see if an idea pops up. |
|
|
|
|
|
|
#13 | |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,634
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Go to preferences->look & feel->Book details->Text styling and change palette(placeholder-text) to whatever color you like. And yes you have to wait for the next release before it will work.
Quote:
|
|
|
|
|
|
|
#14 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,379
Karma: 79699999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Does this mean that there's binary changes, or will it work running source?
|
|
|
|
|
|
#15 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,036
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
FWIW - the styling of "Comments" and other long text header [header on top] names in Book details don't match the style of other column header names:
Not enamoured with the imposition of right justification of other header names, IMO cosmetic changes to the default appearance should always be a preference option. BR |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sigil dark theme | michaelbr | Sigil | 4 | 01-01-2022 02:31 AM |
| Bug: Dark Mode (Windows) Book Details Pop-Up Cover Background Not Changing to Dark | cgrapski | Calibre | 7 | 05-04-2021 12:45 AM |
| New symbolic icon theme for the new dark theme! | ravila4 | Development | 1 | 09-27-2020 07:04 AM |
| So you want a Calibre Dark Theme | Rellwood | Library Management | 4 | 02-07-2020 11:01 PM |
| No dark theme possible in Ubuntu 16.04? | Klojum | Calibre | 1 | 06-23-2017 10:55 PM |