mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
"transparent" => Color.transparent
This commit is contained in:
@@ -76,7 +76,7 @@ NBox {
|
||||
visible: false
|
||||
// implicitWidth: 120 * scaling
|
||||
// implicitHeight: 30 * scaling
|
||||
color: "transparent"
|
||||
color: Color.transparent
|
||||
border.color: playerSelector.activeFocus ? Color.mTertiary : Color.mOutline
|
||||
border.width: Math.max(1, Style.borderThin * scaling)
|
||||
radius: Style.radiusMedium * scaling
|
||||
@@ -140,7 +140,7 @@ NBox {
|
||||
|
||||
background: Rectangle {
|
||||
width: popup.width - Style.marginSmall * scaling * 2
|
||||
color: highlighted ? Color.mTertiary : "transparent"
|
||||
color: highlighted ? Color.mTertiary : Color.transparent
|
||||
radius: Style.radiusTiny * scaling
|
||||
}
|
||||
}
|
||||
@@ -161,8 +161,8 @@ NBox {
|
||||
width: 90 * scaling
|
||||
height: 90 * scaling
|
||||
radius: width * 0.5
|
||||
color: trackArt.visible ? Color.mPrimary : "transparent"
|
||||
border.color: trackArt.visible ? Color.mOutline : "transparent"
|
||||
color: trackArt.visible ? Color.mPrimary : Color.transparent
|
||||
border.color: trackArt.visible ? Color.mOutline : Color.transparent
|
||||
border.width: Math.max(1, Style.borderThin * scaling)
|
||||
clip: true
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ NPanel {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: Style.barHeight * scaling
|
||||
radius: Style.radiusSmall * scaling
|
||||
color: lockButtonArea.containsMouse ? Color.mTertiary : "transparent"
|
||||
color: lockButtonArea.containsMouse ? Color.mTertiary : Color.transparent
|
||||
|
||||
Item {
|
||||
anchors.left: parent.left
|
||||
@@ -117,7 +117,7 @@ NPanel {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: Style.barHeight * scaling
|
||||
radius: Style.radiusSmall * scaling
|
||||
color: suspendButtonArea.containsMouse ? Color.mTertiary : "transparent"
|
||||
color: suspendButtonArea.containsMouse ? Color.mTertiary : Color.transparent
|
||||
|
||||
Item {
|
||||
anchors.left: parent.left
|
||||
@@ -175,7 +175,7 @@ NPanel {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: Style.barHeight * scaling
|
||||
radius: Style.radiusSmall * scaling
|
||||
color: rebootButtonArea.containsMouse ? Color.mTertiary : "transparent"
|
||||
color: rebootButtonArea.containsMouse ? Color.mTertiary : Color.transparent
|
||||
|
||||
Item {
|
||||
anchors.left: parent.left
|
||||
@@ -233,7 +233,7 @@ NPanel {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: Style.barHeight * scaling
|
||||
radius: Style.radiusSmall * scaling
|
||||
color: logoutButtonArea.containsMouse ? Color.mTertiary : "transparent"
|
||||
color: logoutButtonArea.containsMouse ? Color.mTertiary : Color.transparent
|
||||
|
||||
Item {
|
||||
anchors.left: parent.left
|
||||
@@ -291,7 +291,7 @@ NPanel {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: Style.barHeight * scaling
|
||||
radius: Style.radiusSmall * scaling
|
||||
color: shutdownButtonArea.containsMouse ? Color.mTertiary : "transparent"
|
||||
color: shutdownButtonArea.containsMouse ? Color.mTertiary : Color.transparent
|
||||
|
||||
Item {
|
||||
anchors.left: parent.left
|
||||
|
||||
Reference in New Issue
Block a user