Field data labels in identity popup Topic is solved

Anything about browser themes, both Full Themes and Lightweight Themes (personas) should go here.

Moderators: satrow, FranklinDM, Lootyhoof

Goodydino
Lunatic
Lunatic
Posts: 346
Joined: Tue, 10 Oct 2017, 21:20

Field data labels in identity popup

Unread postby Goodydino » Fri, 19 Jan 2018, 18:56

In the popup that appears when you click the identity box, the field data labels are the same colour as the background, so are invisible. The field data itself is visible, but I could not see any way to change the colour of the labels. Where is that set up?

Goodydino
Lunatic
Lunatic
Posts: 346
Joined: Tue, 10 Oct 2017, 21:20

Re: Field data labels in identity popup

Unread postby Goodydino » Sun, 21 Jan 2018, 20:27

What are #identity-popup-container, and .identity-popup-label in a theme? They do not seem to affect the background or the text colour of the field labels in the identity popup box.

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 146
Joined: Sat, 14 Jan 2017, 02:40
Location: Manila, Philippines
Contact:

Re: Field data labels in identity popup

Unread postby FranklinDM » Sun, 21 Jan 2018, 21:44

If I am not mistaken, .identity-popup-label changes only the color of the ones highlighted in red, .identity-popup-description only changes the color of the ones highlighted in blue, #identity-popup-content-box changes the color of the ones highlighted in black, and lastly, #identity-popup-container changes the color of the whole popup (highlighted in pink).

Capture.PNG
Capture.PNG (17.86 KiB) Viewed 317 times


You may also want to check if the selector of the parent object defines a color property (you can use DOM Inspector for this, I think).
Last edited by FranklinDM on Mon, 22 Jan 2018, 07:22, edited 2 times in total.

User avatar
SpockFan02
Lunatic
Lunatic
Posts: 459
Joined: Sun, 24 Sep 2017, 16:35

Re: Field data labels in identity popup

Unread postby SpockFan02 » Mon, 22 Jan 2018, 03:56

I can confirm that DOM Inspector is super helpful. I use it in combination with Element Inspector. In the right panel, you can use the dropdown to see CSS rules of the selected element (and where they come from, and if they're !important), and you can even Ctrl+F to search for elements by ID, tag type, or non-ID attribute.

Goodydino
Lunatic
Lunatic
Posts: 346
Joined: Tue, 10 Oct 2017, 21:20

Re: Field data labels in identity popup

Unread postby Goodydino » Mon, 22 Jan 2018, 19:47

I cannot select anything in the identity popup. It disappears as soon as the main window loses focus. In order to select anything for DOM Inspector, I have to click the button in the upper left corner of its window. When I go back to the main browser window, I have to click the identity box in the urlbar again, and that is what is selected for examination in DOM Inspector.
With the Inspector in Devtools, it displays elements in content, not interface.
Last edited by Goodydino on Mon, 22 Jan 2018, 19:56, edited 1 time in total.

User avatar
SpockFan02
Lunatic
Lunatic
Posts: 459
Joined: Sun, 24 Sep 2017, 16:35

Re: Field data labels in identity popup  Topic is solved

Unread postby SpockFan02 » Mon, 22 Jan 2018, 19:57

With Element Inspector, you should be able to open the identity popup, shift+right-click on an element, and see its properties. As you say, when the window loses focus, the popup disappears, but you can still see the elements in the DOM Inspector window, and with a screenshot reference or something, you can probably work out what's what. Or, you could take FranklinDM's word on what everything is. I hope this helps! :D

Goodydino
Lunatic
Lunatic
Posts: 346
Joined: Tue, 10 Oct 2017, 21:20

Re: Field data labels in identity popup

Unread postby Goodydino » Mon, 22 Jan 2018, 20:40

Okay, I finally managed to fix the problem I was having. I had changed the version number of the theme I am working on, and for some reason the older version was still installed and was interfering. Thanks for all the suggestions. Element Inspector works like a charm.
Last edited by Goodydino on Mon, 22 Jan 2018, 22:43, edited 2 times in total.


Return to “Themes”

Who is online

Users browsing this forum: No registered users and 1 guest