Skip to content

css class bottom-panel not actually added #13563

@jasper-vuurst

Description

@jasper-vuurst

Distribution

Linux Mint 22.3 - Cinnamon 64-bit

Package version

Cinnamon 6.6.7

Graphics hardware in use

Intel Corporation TigerLake-H GT1 [UHD Graphics]

Frequency

Always

Bug description

When I change things to the css class ".bottom-panel" in the theme cinnamon.css file, it doesn't affect the appearance. When I change things in the ".panel-top, .panel-bottom, ..." block it does affect the bottom panel, and if I switch the ".bottom-panel" block with the".top-panel" block so that it appears first, the changes do work.
It seems that the parsing of the css file ignores any block which adds properties to a class which has already had properties defined, unless it immediately follows the block where the class is first used. Or maybe it's some other problem with parsing.
I don't know if this is intended behavior but this does mean the cinnamon.css file contains lines which are ignored.

Here are some images of what the bottom panel looks like with different code orders. The top panel behaves the same.

Image Image Image Image

Steps to reproduce

Try editing properties of the bottom panel in the .panel-bottom block in the cinnamon.css file.

Expected behavior

change the appearance of the bottom panel according to the changes.

Additional information

I have been messing with the panel.js file a bit, but I haven't changed any styles in the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions