mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
New style highlighting on borders
CURA-8688
This commit is contained in:
parent
83661ebd7f
commit
ce86e025d9
5 changed files with 11 additions and 10 deletions
|
@ -26,21 +26,18 @@ ComboBox
|
|||
{
|
||||
name: "disabled"
|
||||
when: !control.enabled
|
||||
PropertyChanges { target: backgroundRectangle; color: UM.Theme.getColor("setting_control_disabled")}
|
||||
PropertyChanges { target: background; color: UM.Theme.getColor("setting_control_disabled")}
|
||||
PropertyChanges { target: contentLabel; color: UM.Theme.getColor("setting_control_disabled_text")}
|
||||
},
|
||||
State
|
||||
{
|
||||
name: "highlighted"
|
||||
when: control.hovered || control.activeFocus
|
||||
PropertyChanges { target: backgroundRectangle; color: UM.Theme.getColor("setting_control_highlight")}
|
||||
PropertyChanges { target: background; liningColor: UM.Theme.getColor("border_main_light")}
|
||||
}
|
||||
]
|
||||
|
||||
background: UM.UnderlineBackground
|
||||
{
|
||||
id: backgroundRectangle
|
||||
}
|
||||
background: UM.UnderlineBackground{}
|
||||
|
||||
indicator: UM.RecolorImage
|
||||
{
|
||||
|
|
|
@ -38,7 +38,7 @@ RadioButton
|
|||
{
|
||||
name: "highlighted"
|
||||
when: radioButton.hovered || radioButton.activeFocus
|
||||
PropertyChanges { target: indicator; border.color: UM.Theme.getColor("accent_1")}
|
||||
PropertyChanges { target: indicator; border.color: UM.Theme.getColor("border_main_light")}
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@ TextField
|
|||
{
|
||||
name: "hovered"
|
||||
when: textField.hovered || textField.activeFocus
|
||||
PropertyChanges { target: backgroundRectangle; liningColor: UM.Theme.getColor("border_main_light")}
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
@ -157,7 +157,7 @@
|
|||
"checkbox": "background_1",
|
||||
"checkbox_hover": [43, 48, 52, 255],
|
||||
"checkbox_border": "text_disabled",
|
||||
"checkbox_border_hover": [255, 255, 255, 38],
|
||||
"checkbox_border_hover": "border_main",
|
||||
"checkbox_mark": "text_default",
|
||||
"checkbox_square": "text_disabled",
|
||||
"checkbox_text": "text_default",
|
||||
|
|
|
@ -323,7 +323,7 @@
|
|||
"quality_slider_available": [0, 0, 0, 255],
|
||||
|
||||
"checkbox": [255, 255, 255, 255],
|
||||
"checkbox_hover": [255, 255, 255, 255],
|
||||
"checkbox_hover": "border_main",
|
||||
"checkbox_border": [180, 180, 180, 255],
|
||||
"checkbox_border_hover": [25, 110, 240, 255],
|
||||
"checkbox_mark": [35, 35, 35, 255],
|
||||
|
@ -423,7 +423,10 @@
|
|||
"cloud_unavailable": [153, 153, 153, 255],
|
||||
"connection_badge_background": [255, 255, 255, 255],
|
||||
"warning_badge_background": [0, 0, 0, 255],
|
||||
"error_badge_background": [255, 255, 255, 255]
|
||||
"error_badge_background": [255, 255, 255, 255],
|
||||
|
||||
"border_field_light": [180, 180, 180, 255],
|
||||
"border_main_light": [212, 212, 212, 255]
|
||||
},
|
||||
|
||||
"sizes": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue