Disallow last.fm lookups & extra CSS style

Feature requests that have been implemented will be filed here.
DuLac
Posts: 213
Joined: Sun Feb 10, 2013 9:53 am

Disallow last.fm lookups & extra CSS style

Post by DuLac »

1) Disallow last.fm lookups for a given record
I quite like having the last.fm lookups available. However, there are times when the info shown does not make sense at all. Please see example.
I would like to have the possibility to disallow them on an one by one basis, possibly on the Edit Tracks page.
2) An extra CSS style for AlbumSubHeader and DiskSubHeader
Also on the attached image one can see that the text for the AlbumSubHeader could be made smaller to accommodate some more extensive details about that record. I could not find the way to do it in the current version. A new CSS style would therefore be most welcome.
By the way I always enter an initial <br> so that text starts on a new line.
Attachments
swhite.jpg
musoware
Site Admin
Posts: 1849
Joined: Fri Sep 14, 2012 6:50 am

Re: Disallow last.fm lookups & extra CSS style

Post by musoware »

Excellent suggestions, I'll add these to my TODO list.
DuLac
Posts: 213
Joined: Sun Feb 10, 2013 9:53 am

Re: Disallow last.fm lookups & extra CSS style

Post by DuLac »

I could easily listen to my music without muso but it would definitely not be the same! Thanks a lot!
musoware
Site Admin
Posts: 1849
Joined: Fri Sep 14, 2012 6:50 am

Re: Disallow last.fm lookups & extra CSS style

Post by musoware »

If you explore the html/css, you should see that albumSubheader and diskSubheader are already CSS classes, eg. in the LightBox theme.css they are defined as follows:

Code: Select all

.diskSubheader
{
	color: indianred;
}
.albumSubheader
{
	color: indianred;
}
DuLac
Posts: 213
Joined: Sun Feb 10, 2013 9:53 am

Re: Disallow last.fm lookups & extra CSS style

Post by DuLac »

Yes, you are right. Thanks. I managed to change the font size alright. However, the line-height property seems to have no effect on the layout.
musoware
Site Admin
Posts: 1849
Joined: Fri Sep 14, 2012 6:50 am

Re: Disallow last.fm lookups & extra CSS style

Post by musoware »

Here's a scratchpad you can try the effects of line-height: http://www.w3schools.com/cssref/tryit.a ... ine-height
What are you trying to achieve?
DuLac
Posts: 213
Joined: Sun Feb 10, 2013 9:53 am

Re: Disallow last.fm lookups & extra CSS style

Post by DuLac »

I'd already checked the w3schools page to see if I was doing something wrong and apparently I'm not.
I have the following code in theme.css

Code: Select all

.albumSubheader
{  
	color: black;
	font-size: 40%;
	line-height: 40%;
}
It does not matter which line-height I enter there. The space between lines is always the same.
Because I am trying to use a smaller text size, the line height is proportionally too big as shown in the attached image
Attachments
line_height.jpg
musoware
Site Admin
Posts: 1849
Joined: Fri Sep 14, 2012 6:50 am

Re: Disallow last.fm lookups & extra CSS style

Post by musoware »

Ah try adding
display: inline-block;
The reason I think is because the subheader is a span which is an in-line element.
DuLac
Posts: 213
Joined: Sun Feb 10, 2013 9:53 am

Re: Disallow last.fm lookups & extra CSS style

Post by DuLac »

Many thanks. That solved it!
musoware
Site Admin
Posts: 1849
Joined: Fri Sep 14, 2012 6:50 am

Re: Disallow last.fm lookups & extra CSS style

Post by musoware »

It's good to see someone using all of Muso's flexible features, like css themes & tags!

I've implemented your other suggestion by the way (hiding the album or artist info), it will be in the next version.
Post Reply