[GH-ISSUE #914] Help: Unwanted flat color box around workspace number #275

Closed
opened 2026-05-22 21:52:22 +01:00 by JakeStanger · 3 comments
Owner

Originally created by @xaviduds on GitHub (Mar 30, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/914

Hello, how can i remove that box around the number in the workspace?
I tried messing with height, went to default style, padding 0 erased box-shadow as expected i think

The result:

Image

My style.css (i changed to accentuate the box):

* {
    background: #1e1e2e;
    color: #cdd6f4;
    border: none;
    box-shadow: none;
}
.workspaces * {
    background: #1e1e2e;
    color: #cdd6f4;
}
.workspaces .item:hover {
    box-shadow: inset 1 1 4 1;
    color: #89b4fa;
}
.workspaces .item.focused {
    box-shadow: inset 1 1 6 1;
    color: #cba6f7;
}
Originally created by @xaviduds on GitHub (Mar 30, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/914 Hello, how can i remove that box around the number in the workspace? I tried messing with height, went to default style, padding 0 erased box-shadow as expected i think The result: ![Image](https://github.com/user-attachments/assets/68cadc81-7a59-47ba-861b-28b271276a1d) My style.css (i changed to accentuate the box): ```css * { background: #1e1e2e; color: #cdd6f4; border: none; box-shadow: none; } .workspaces * { background: #1e1e2e; color: #cdd6f4; } .workspaces .item:hover { box-shadow: inset 1 1 4 1; color: #89b4fa; } .workspaces .item.focused { box-shadow: inset 1 1 6 1; color: #cba6f7; } ```
JakeStanger 2026-05-22 21:52:22 +01:00
Author
Owner

@JakeStanger commented on GitHub (Mar 30, 2025):

Try targeting the label itself. Something like:

.workspaces .item label {
  background-color: #00000000
}

If you run ironbar inspect that will show you to the widget tree and CSS selectors which can make life a bit easier.

If that doesn't work give me a shout and I'll have a deeper dive when I can.

<!-- gh-comment-id:2764631582 --> @JakeStanger commented on GitHub (Mar 30, 2025): Try targeting the label itself. Something like: ```css .workspaces .item label { background-color: #00000000 } ``` If you run `ironbar inspect` that will show you to the widget tree and CSS selectors which can make life a bit easier. If that doesn't work give me a shout and I'll have a deeper dive when I can.
Author
Owner

@xaviduds commented on GitHub (Mar 30, 2025):

Worked! I put transparent and it's gucci. Many thanks cake person.

<!-- gh-comment-id:2764640282 --> @xaviduds commented on GitHub (Mar 30, 2025): Worked! I put transparent and it's gucci. Many thanks cake person.
Author
Owner

@JakeStanger commented on GitHub (Mar 30, 2025):

No problem lol, glad to be of help

<!-- gh-comment-id:2764642211 --> @JakeStanger commented on GitHub (Mar 30, 2025): No problem lol, glad to be of help
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#275
No description provided.