Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme: .panel-top -> border-bottom property not functioning correctly... #1375

Open
Xethron opened this issue Nov 18, 2012 · 5 comments
Open

Comments

@Xethron
Copy link

Xethron commented Nov 18, 2012

I'm writing a theme. I tried to set bottom border using the following, but it doesn't work.

.panel-top {
    border-bottom: 1px solid rgba(59,181,229,0.4);
}

Setting the border property does however set a bottom border as well as top, left and right.

.panel-top {
    border: 1px solid rgba(59,181,229,0.4);
}

Setting border-bottom to none after setting border, does remove the bottom border. So the bottom-border property is identified to some extent.

.panel-top {
    border: 1px solid rgba(59,181,229,0.4);
    border-bottom: none;
}

Currently I'm using the following workaround to set the bottom border.

.panel-top {
    border: 1px solid rgba(59,181,229,0.4);
    border-left: none;
    border-right: none;
    border-top: none;
}

Thanks,
Xethron

@bimsebasse
Copy link
Contributor

That's about the least pressing issue in Cinnamon themeing :o)

My problem with .panel-top/bottom is that they can't control what happens with other selectors, and so are not useful beyond just styling the panel. Thought I could do away with separate top + bottom panel versions of Cinnamon themes when I saw this selector being introduced, but no such luck - sorts out the panels, doesn't sort out what populates the panels.

@MichaelTunnell
Copy link

Xethron, thank you for this information...this saved me a LOT of time trying to figure out this pointless bug.

@Xethron
Copy link
Author

Xethron commented Jun 5, 2014

No problem! 👍

@Vahan86
Copy link

Vahan86 commented Nov 26, 2016

@Xethron, is this still an issue for you in Cinnamon 3?

@JosephMcc
Copy link
Contributor

Yes it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants