diff --git a/src/ads.qrc b/src/ads.qrc index b067f82..307e93b 100644 --- a/src/ads.qrc +++ b/src/ads.qrc @@ -22,5 +22,6 @@ images/pin-button-big.svg images/minimize-button.svg images/minimize-button-focused.svg + images/vs-pin-button-disabled.svg diff --git a/src/images/vs-pin-button-disabled.svg b/src/images/vs-pin-button-disabled.svg new file mode 100644 index 0000000..33b4b17 --- /dev/null +++ b/src/images/vs-pin-button-disabled.svg @@ -0,0 +1,2 @@ + + diff --git a/src/stylesheets/default.css b/src/stylesheets/default.css index cef3ad0..19c5ab1 100644 --- a/src/stylesheets/default.css +++ b/src/stylesheets/default.css @@ -288,7 +288,8 @@ ads--CAutoHideDockContainer ads--CDockAreaWidget[focused="true"] ads--CDockAreaT * CAutoHideDockContainer titlebar buttons *****************************************************************************/ #dockAreaAutoHideButton { - qproperty-icon: url(:/ads/images/vs-pin-button.svg); + qproperty-icon: url(:/ads/images/vs-pin-button.svg), + url(:/ads/images/vs-pin-button-disabled.svg) disabled; qproperty-iconSize: 16px; } diff --git a/src/stylesheets/default_linux.css b/src/stylesheets/default_linux.css index d02d42d..d9bc03d 100644 --- a/src/stylesheets/default_linux.css +++ b/src/stylesheets/default_linux.css @@ -324,8 +324,9 @@ ads--CAutoHideDockContainer ads--CDockAreaWidget[focused="true"] ads--CDockAreaT * CAutoHideDockContainer titlebar buttons *****************************************************************************/ #dockAreaAutoHideButton { - qproperty-icon: url(:/ads/images/vs-pin-button.svg); - qproperty-iconSize: 16px; + qproperty-icon: url(:/ads/images/vs-pin-button.svg), + url(:/ads/images/vs-pin-button-disabled.svg) disabled; + qproperty-iconSize: 16px; } ads--CAutoHideDockContainer #dockAreaAutoHideButton { diff --git a/src/stylesheets/focus_highlighting.css b/src/stylesheets/focus_highlighting.css index 0855157..a699b1d 100644 --- a/src/stylesheets/focus_highlighting.css +++ b/src/stylesheets/focus_highlighting.css @@ -326,12 +326,14 @@ ads--CAutoHideDockContainer ads--CDockAreaWidget[focused="true"] ads--CDockAreaT * CAutoHideDockContainer titlebar buttons *****************************************************************************/ #dockAreaAutoHideButton { - qproperty-icon: url(:/ads/images/vs-pin-button.svg); + qproperty-icon: url(:/ads/images/vs-pin-button.svg), + url(:/ads/images/vs-pin-button-disabled.svg) disabled; qproperty-iconSize: 16px; } + ads--CAutoHideDockContainer #dockAreaAutoHideButton { - qproperty-icon: url(:/ads/images/vs-pin-button-pinned-focused.svg); + qproperty-icon: url(:/ads/images/vs-pin-button-pinned-focused.svg), qproperty-iconSize: 16px; } diff --git a/src/stylesheets/focus_highlighting_linux.css b/src/stylesheets/focus_highlighting_linux.css index 54d0b47..cfedf8f 100644 --- a/src/stylesheets/focus_highlighting_linux.css +++ b/src/stylesheets/focus_highlighting_linux.css @@ -401,8 +401,9 @@ ads--CAutoHideDockContainer ads--CDockAreaWidget[focused="true"] ads--CDockAreaT * CAutoHideDockContainer titlebar buttons *****************************************************************************/ #dockAreaAutoHideButton { - qproperty-icon: url(:/ads/images/vs-pin-button.svg); - qproperty-iconSize: 16px; + qproperty-icon: url(:/ads/images/vs-pin-button.svg), + url(:/ads/images/vs-pin-button-disabled.svg) disabled; + qproperty-iconSize: 16px; } ads--CAutoHideDockContainer #dockAreaAutoHideButton {