diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-28 23:22:16 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-28 23:22:16 +0800 |
| commit | 0e9a5785ff67e5298d837b16a6b8b622b90baece (patch) | |
| tree | 697bbdec43f2cbbaa03937f47e9aebe634f1b4bb /Header.ui.qml | |
| parent | 157cafe1007e5215816841a413fe9e5608bd97e0 (diff) | |
Set menu item hover colours
Diffstat (limited to 'Header.ui.qml')
| -rw-r--r-- | Header.ui.qml | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/Header.ui.qml b/Header.ui.qml index 0a9d80e..cf8d5e6 100644 --- a/Header.ui.qml +++ b/Header.ui.qml @@ -123,7 +123,11 @@ ToolBar { } ColorOverlay { - color: Eduport + color: + highlighted + ? Eduport + .bsDropdownLinkHoverColor + : Eduport .bsDropdownLinkColor source: parent anchors.fill: @@ -134,11 +138,24 @@ ToolBar { Text { text: menuItem.text font: menuItem.font - color: Eduport - .bsDropdownLinkColor + color: highlighted + ? Eduport + .bsDropdownLinkHoverColor + : Eduport + .bsDropdownLinkColor Layout.fillWidth: true } } + background: Rectangle { + color: highlighted + ? Eduport + .bsDropdownLinkHoverBg + : Eduport.mode + == Eduport.Mode.Light + ? Eduport.bsBodyBg + : Eduport.bsDark + radius: 5.2 + } } background: Item { implicitWidth: 260.734 |