style(workspace): remove outer capsule border and add persistent faint outline borders to workspace pills
This commit is contained in:
parent
17d9edbd0c
commit
331a393ea0
@ -63,7 +63,7 @@ GlassPanel {
|
|||||||
RowLayout {
|
RowLayout {
|
||||||
id: wsRow
|
id: wsRow
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
spacing: 2
|
spacing: 4
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
model: WorkspaceService.workspaceNames
|
model: WorkspaceService.workspaceNames
|
||||||
@ -77,8 +77,11 @@ GlassPanel {
|
|||||||
Layout.preferredHeight: 22
|
Layout.preferredHeight: 22
|
||||||
radius: 5
|
radius: 5
|
||||||
color: isActive ? Theme.accent : (wsItemMouse.containsMouse ? Theme.currentLine : "transparent")
|
color: isActive ? Theme.accent : (wsItemMouse.containsMouse ? Theme.currentLine : "transparent")
|
||||||
|
border.color: isActive ? Theme.accent : Qt.rgba(Theme.fg.r, Theme.fg.g, Theme.fg.b, 0.15)
|
||||||
|
border.width: 1
|
||||||
|
|
||||||
Behavior on color { ColorAnimation { duration: 120 } }
|
Behavior on color { ColorAnimation { duration: 120 } }
|
||||||
|
Behavior on border.color { ColorAnimation { duration: 120 } }
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
id: wsText
|
id: wsText
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user