Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-18-2023, 07:40 AM   #1
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
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:
Attached Thumbnails
Click image for larger version

Name:	MWSnap 2023-08-18, 07_35_29.png
Views:	213
Size:	48.6 KB
ID:	203200   Click image for larger version

Name:	MWSnap 2023-08-18, 07_34_23.png
Views:	198
Size:	47.3 KB
ID:	203201  

Last edited by Comfy.n; 08-18-2023 at 03:50 PM.
Comfy.n is offline   Reply With Quote
Old 08-18-2023, 08:13 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Advert
Old 08-18-2023, 11:04 AM   #3
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
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;
}
you can't bring back the old style.

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.
un_pogaz is offline   Reply With Quote
Old 08-18-2023, 11:34 AM   #4
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,687
Karma: 7908443
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by un_pogaz View Post
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;
}
you can't bring back the old style.
yep, thanks for trying.
Comfy.n is offline   Reply With Quote
Old 08-18-2023, 04:16 PM   #5
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
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;
}
by this one
Code:
table.fields td.title {
  font-weight: bold;
  font-style: normal;
  color: black;
  text-align: left;
}
to bring back the old style.


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.
un_pogaz is offline   Reply With Quote
Advert
Old 08-18-2023, 05:05 PM   #6
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,687
Karma: 7908443
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by un_pogaz View Post
Okay,

A fix was puch in the source, so it will be in the next release.
All good now, @kovid, @un_pogaz!

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.

Attached Thumbnails
Click image for larger version

Name:	MWSnap 2023-08-18, 16_43_00.png
Views:	146
Size:	163.7 KB
ID:	203206   Click image for larger version

Name:	MWSnap 2023-08-18, 16_38_51.png
Views:	139
Size:	153.9 KB
ID:	203207  

Last edited by Comfy.n; 08-18-2023 at 09:34 PM.
Comfy.n is offline   Reply With Quote
Old 08-18-2023, 06:09 PM   #7
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
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.
MerlinMama is offline   Reply With Quote
Old 08-19-2023, 12:20 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,634
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by un_pogaz View Post
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.
I know this was why I chose not to do it this way to start with, but given all the people that are complaining about the change, I decided its worth it.
kovidgoyal is offline   Reply With Quote
Old 08-19-2023, 12:21 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,634
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by MerlinMama View Post
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.
What options? There is a single option you need to change and it doesnt affect anything else.
kovidgoyal is offline   Reply With Quote
Old 08-19-2023, 12:37 AM   #10
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
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:

PHP Code:
table.fields td.title {color#A9A9A9;text-align: right; font-size:11px;line-height: 1.1;}

#title_sort{font-size: 9px !important;font-weight: bold;}

#title{ /* font-size: 12px !important;*/
color:orangefont-weightbold; }

#rating, #rating a, #identifiers, #identifiers  a {font-size: 11px;}

 #tags, #tags a {
color:#F578BE;
    /*font-weight: bold;*/
}

#current_status a {
color:orange;
    
font-weightbold;
}

#timestamp a {
/*color:orange;*/
    
font-weightbold;
}

#formats a {
/*color:orange;*/
    
font-weightbold;
    
font-size11px !important;} 
Attached Thumbnails
Click image for larger version

Name:	MWSnap 2023-08-19, 00_02_45.png
Views:	148
Size:	143.6 KB
ID:	203219  

Last edited by Comfy.n; 08-20-2023 at 06:42 PM.
Comfy.n is offline   Reply With Quote
Old 08-19-2023, 01:12 AM   #11
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Lightbulb

Quote:
Originally Posted by kovidgoyal View Post
What options? There is a single option you need to change and it doesnt affect anything else.
What is the single option I need to change? I haven't seen anything to revert it. If it's in the next update, that's what I wanted to know, if there would be an option to revert without going into the CSS, since I don't follow the previous posts about that (except it doesn't work right now but will in 6.26?)

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.
MerlinMama is offline   Reply With Quote
Old 08-19-2023, 02:44 AM   #12
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 495
Karma: 678910
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by kovidgoyal View Post
I know this was why I chose not to do it this way to start with, but given all the people that are complaining about the change, I decided its worth it.
I understand.
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.
un_pogaz is offline   Reply With Quote
Old 08-19-2023, 03:31 AM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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:
Originally Posted by MerlinMama View Post
What is the single option I need to change? I haven't seen anything to revert it. If it's in the next update, that's what I wanted to know, if there would be an option to revert without going into the CSS, since I don't follow the previous posts about that (except it doesn't work right now but will in 6.26?)

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.
kovidgoyal is offline   Reply With Quote
Old 08-19-2023, 04:25 AM   #14
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,379
Karma: 79699999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by kovidgoyal View Post
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.
Does this mean that there's binary changes, or will it work running source?
ownedbycats is offline   Reply With Quote
Old 08-19-2023, 04:27 AM   #15
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
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:

Click image for larger version

Name:	Screenshot 2023-08-19 171441.jpg
Views:	113
Size:	175.6 KB
ID:	203222

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
BetterRed is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 01:12 PM.


MobileRead.com is a privately owned, operated and funded community.