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:
@@ -18,9 +18,9 @@ Rectangle {
|
||||
|
||||
width: 68 * scaling
|
||||
height: 92 * scaling
|
||||
color: flat ? "transparent" : Color.mSurface
|
||||
color: flat ? Color.transparent : Color.mSurface
|
||||
radius: Style.radiusSmall * scaling
|
||||
border.color: flat ? "transparent" : Color.mSurfaceVariant
|
||||
border.color: flat ? Color.transparent : Color.mSurfaceVariant
|
||||
border.width: flat ? 0 : Math.max(1, Style.borderThin * scaling)
|
||||
clip: true
|
||||
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ Rectangle {
|
||||
|
||||
width: textItem.paintedWidth
|
||||
height: textItem.paintedHeight
|
||||
color: "transparent"
|
||||
color: Color.transparent
|
||||
|
||||
NText {
|
||||
id: textItem
|
||||
|
||||
@@ -125,7 +125,7 @@ ColumnLayout {
|
||||
|
||||
background: Rectangle {
|
||||
width: combo.width - Style.marginMedium * scaling * 3
|
||||
color: highlighted ? Color.mTertiary : "transparent"
|
||||
color: highlighted ? Color.mTertiary : Color.transparent
|
||||
radius: Style.radiusSmall * scaling
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,9 +26,9 @@ Rectangle {
|
||||
implicitWidth: size
|
||||
implicitHeight: size
|
||||
|
||||
color: (root.hovering || showFilled) ? Color.mPrimary : "transparent"
|
||||
color: (root.hovering || showFilled) ? Color.mPrimary : Color.transparent
|
||||
radius: width * 0.5
|
||||
border.color: showBorder ? Color.mPrimary : "transparent"
|
||||
border.color: showBorder ? Color.mPrimary : Color.transparent
|
||||
border.width: Math.max(1, Style.borderThin * scaling)
|
||||
|
||||
NText {
|
||||
|
||||
@@ -7,13 +7,13 @@ import qs.Services
|
||||
|
||||
Rectangle {
|
||||
id: root
|
||||
color: "transparent"
|
||||
color: Color.transparent
|
||||
property real imageRadius: width * 0.5
|
||||
radius: imageRadius
|
||||
|
||||
property string imagePath: ""
|
||||
property string fallbackIcon: ""
|
||||
property color borderColor: "transparent"
|
||||
property color borderColor: Color.transparent
|
||||
property real borderWidth: 0
|
||||
|
||||
anchors.margins: Style.marginTiniest * scaling
|
||||
@@ -22,7 +22,7 @@ Rectangle {
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
radius: parent.radius
|
||||
color: "transparent"
|
||||
color: Color.transparent
|
||||
border.color: parent.borderColor
|
||||
border.width: parent.borderWidth
|
||||
z: 10
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@ PanelWindow {
|
||||
property bool showOverlay: Settings.data.general.dimDesktop
|
||||
property int topMargin: Style.barHeight * scaling
|
||||
// Show dimming if this panel is opened OR if we're in a transition (to prevent flickering)
|
||||
property color overlayColor: (showOverlay && (PanelService.openedPanel === root || isTransitioning)) ? Color.applyOpacity(Color.mShadow, "AA") : "transparent"
|
||||
property color overlayColor: (showOverlay && (PanelService.openedPanel === root || isTransitioning)) ? Color.applyOpacity(Color.mShadow, "AA") : Color.transparent
|
||||
property bool isTransitioning: false
|
||||
signal dismissed
|
||||
|
||||
@@ -49,7 +49,7 @@ PanelWindow {
|
||||
|
||||
implicitWidth: screen.width
|
||||
implicitHeight: screen.height
|
||||
color: visible ? overlayColor : "transparent"
|
||||
color: visible ? overlayColor : Color.transparent
|
||||
visible: false
|
||||
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@ Item {
|
||||
width: iconSize
|
||||
height: iconSize
|
||||
radius: width * 0.5
|
||||
color: showPill ? iconCircleColor : "transparent"
|
||||
color: showPill ? iconCircleColor : Color.transparent
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.right: parent.right
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ RadioButton {
|
||||
implicitWidth: Style.baseWidgetSize * 0.625 * scaling
|
||||
implicitHeight: Style.baseWidgetSize * 0.625 * scaling
|
||||
radius: width * 0.5
|
||||
color: "transparent"
|
||||
color: Color.transparent
|
||||
border.color: root.checked ? Color.mPrimary : Color.mOnSurface
|
||||
border.width: Math.max(1, Style.borderMedium * scaling)
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
@@ -55,8 +55,8 @@ Item {
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
radius: frame.radius
|
||||
color: "transparent"
|
||||
border.color: input.activeFocus ? Color.mTertiary : "transparent"
|
||||
color: Color.transparent
|
||||
border.color: input.activeFocus ? Color.mTertiary : Color.transparent
|
||||
border.width: input.activeFocus ? Math.max(1, Style.borderThin * scaling) : 0
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ Window {
|
||||
property bool positionAbove: false
|
||||
|
||||
flags: Qt.ToolTip | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
|
||||
color: "transparent"
|
||||
color: Color.transparent
|
||||
visible: false
|
||||
|
||||
onIsVisibleChanged: {
|
||||
|
||||
Reference in New Issue
Block a user