mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
Remove unnecessary background components
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
d195922d17
commit
24e6435289
6 changed files with 0 additions and 35 deletions
|
@ -94,8 +94,5 @@ ComboBox {
|
|||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
highlighted: clearComboBox.highlightedIndex === index
|
||||
background: Rectangle {
|
||||
color: clearStatusDelegate.highlighted || clearStatusDelegate.hovered ? palette.highlight : palette.base
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -218,9 +218,6 @@ Page {
|
|||
Layout.rightMargin: root.intendedPadding
|
||||
|
||||
padding: 0
|
||||
background: Rectangle {
|
||||
color: palette.window
|
||||
}
|
||||
|
||||
NCTabButton {
|
||||
svgCustomColorSource: "image://svgimage-custom-color/activity.svg"
|
||||
|
|
|
@ -40,10 +40,6 @@ AbstractButton {
|
|||
delay: Qt.styleHints.mousePressAndHoldInterval
|
||||
visible: root.toolTipText !== "" && root.hovered
|
||||
contentItem: EnforcedPlainTextLabel { text: customTextButtonTooltip.text }
|
||||
background: Rectangle {
|
||||
border.color: palette.dark
|
||||
color: palette.toolTipBase
|
||||
}
|
||||
}
|
||||
|
||||
Component {
|
||||
|
|
|
@ -3,11 +3,6 @@ import QtQuick.Controls 2.3
|
|||
import Style 1.0
|
||||
|
||||
Menu {
|
||||
background: Rectangle {
|
||||
border.color: palette.dark
|
||||
color: palette.base
|
||||
}
|
||||
|
||||
width: {
|
||||
var result = 0;
|
||||
var padding = 0;
|
||||
|
|
|
@ -27,8 +27,4 @@ ToolTip {
|
|||
wrapMode: Text.Wrap
|
||||
color: palette.toolTipText
|
||||
}
|
||||
background: Rectangle {
|
||||
border.color: palette.dark
|
||||
color: palette.toolTipBase
|
||||
}
|
||||
}
|
||||
|
|
|
@ -159,12 +159,6 @@ AbstractButton {
|
|||
id: userMoreButtonMenu
|
||||
closePolicy: Menu.CloseOnPressOutsideParent | Menu.CloseOnEscape
|
||||
|
||||
background: Rectangle {
|
||||
border.color: palette.dark
|
||||
color: palette.base
|
||||
radius: 2
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
visible: model.isConnected && model.serverHasUserStatus
|
||||
height: visible ? implicitHeight : 0
|
||||
|
@ -173,16 +167,6 @@ AbstractButton {
|
|||
palette.windowText: Style.ncTextColor
|
||||
hoverEnabled: true
|
||||
onClicked: showUserStatusSelector(index)
|
||||
|
||||
background: Item {
|
||||
height: parent.height
|
||||
width: parent.menu.width
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
anchors.margins: 1
|
||||
color: parent.parent.hovered ? palette.highlight : "transparent"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
|
|
Loading…
Reference in a new issue