accent-colored borders on all flyouts, popups, and hover panels
This commit is contained in:
parent
3e78384433
commit
fc36e46091
9 changed files with 14 additions and 0 deletions
|
|
@ -185,6 +185,8 @@ M.BarSection {
|
|||
topRightRadius: 0
|
||||
bottomLeftRadius: M.Theme.radius
|
||||
bottomRightRadius: M.Theme.radius
|
||||
border.color: root.accentColor
|
||||
border.width: 1
|
||||
}
|
||||
|
||||
Column {
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ M.BarSection {
|
|||
id: menuLoader
|
||||
active: false
|
||||
sourceComponent: M.BluetoothMenu {
|
||||
accentColor: root.accentColor
|
||||
screen: root.bar.screen
|
||||
anchorX: root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0)
|
||||
onDismissed: menuLoader.active = false
|
||||
|
|
|
|||
|
|
@ -191,6 +191,8 @@ M.BarSection {
|
|||
topRightRadius: 0
|
||||
bottomLeftRadius: M.Theme.radius
|
||||
bottomRightRadius: M.Theme.radius
|
||||
border.color: root.accentColor
|
||||
border.width: 1
|
||||
}
|
||||
|
||||
Column {
|
||||
|
|
|
|||
|
|
@ -125,6 +125,7 @@ M.BarSection {
|
|||
id: menuLoader
|
||||
active: false
|
||||
sourceComponent: M.NetworkMenu {
|
||||
accentColor: root.accentColor
|
||||
screen: root.bar.screen
|
||||
anchorX: root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0)
|
||||
onDismissed: menuLoader.active = false
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ M.BarSection {
|
|||
id: centerLoader
|
||||
active: false
|
||||
sourceComponent: M.NotifCenter {
|
||||
accentColor: root.accentColor
|
||||
screen: root.bar.screen
|
||||
anchorX: root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0)
|
||||
onDismissed: centerLoader.active = false
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ PanelWindow {
|
|||
required property var screen
|
||||
required property real anchorX
|
||||
property real panelWidth: 220
|
||||
property color accentColor: M.Theme.base05
|
||||
|
||||
signal dismissed
|
||||
|
||||
|
|
@ -63,6 +64,8 @@ PanelWindow {
|
|||
topRightRadius: 0
|
||||
bottomLeftRadius: M.Theme.radius
|
||||
bottomRightRadius: M.Theme.radius
|
||||
border.color: root.accentColor
|
||||
border.width: 1
|
||||
}
|
||||
|
||||
Column {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ M.BarIcon {
|
|||
id: menuLoader
|
||||
active: false
|
||||
sourceComponent: M.PowerMenu {
|
||||
accentColor: parent?.accentColor ?? root.color
|
||||
screen: root.bar.screen
|
||||
anchorX: root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0)
|
||||
onDismissed: menuLoader.active = false
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ RowLayout {
|
|||
id: menuLoader
|
||||
active: false
|
||||
sourceComponent: M.TrayMenu {
|
||||
accentColor: root.parent?.accentColor ?? M.Theme.base05
|
||||
handle: iconItem.modelData.menu
|
||||
screen: root.bar.screen
|
||||
anchorX: iconItem.mapToGlobal(iconItem.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0)
|
||||
|
|
|
|||
|
|
@ -196,6 +196,8 @@ M.BarSection {
|
|||
topRightRadius: 0
|
||||
bottomLeftRadius: M.Theme.radius
|
||||
bottomRightRadius: M.Theme.radius
|
||||
border.color: root.accentColor
|
||||
border.width: 1
|
||||
}
|
||||
|
||||
Column {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue