mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
Add small hover-effect to small buttons
This commit is contained in:
parent
a900b02ae8
commit
4bf4a20d44
3 changed files with 5 additions and 4 deletions
|
@ -104,7 +104,7 @@ Item {
|
||||||
height: parent.height/2
|
height: parent.height/2
|
||||||
sourceSize.width: width
|
sourceSize.width: width
|
||||||
sourceSize.height: width
|
sourceSize.height: width
|
||||||
color: UM.Theme.colors.setting_control_revert
|
color: control.hovered ? UM.Theme.colors.setting_control_button_hover : UM.Theme.colors.setting_control_button
|
||||||
source: UM.Theme.icons.cross1
|
source: UM.Theme.icons.cross1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@ Rectangle {
|
||||||
height: UM.Theme.sizes.save_button_specs_icons.height
|
height: UM.Theme.sizes.save_button_specs_icons.height
|
||||||
sourceSize.width: width
|
sourceSize.width: width
|
||||||
sourceSize.height: width
|
sourceSize.height: width
|
||||||
color: UM.Theme.colors.setting_control_text
|
color: control.hovered ? UM.Theme.colors.setting_control_button_hover : UM.Theme.colors.text
|
||||||
source: UM.Theme.icons.pencil;
|
source: UM.Theme.icons.pencil;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
|
|
||||||
"text": [24, 41, 77, 255],
|
"text": [24, 41, 77, 255],
|
||||||
"text_inactive": [174, 174, 174, 255],
|
"text_inactive": [174, 174, 174, 255],
|
||||||
"text_hover": [35, 35, 35, 255],
|
"text_hover": [70, 84, 113, 255],
|
||||||
"text_pressed": [12, 169, 227, 255],
|
"text_pressed": [12, 169, 227, 255],
|
||||||
"text_white": [255, 255, 255, 255],
|
"text_white": [255, 255, 255, 255],
|
||||||
"text_subtext": [127, 127, 127, 255],
|
"text_subtext": [127, 127, 127, 255],
|
||||||
|
@ -135,7 +135,8 @@
|
||||||
"setting_control_border_highlight": [12, 169, 227, 255],
|
"setting_control_border_highlight": [12, 169, 227, 255],
|
||||||
"setting_control_text": [24, 41, 77, 255],
|
"setting_control_text": [24, 41, 77, 255],
|
||||||
"setting_control_depth_line": [127, 127, 127, 255],
|
"setting_control_depth_line": [127, 127, 127, 255],
|
||||||
"setting_control_revert": [127, 127, 127, 255],
|
"setting_control_button": [127, 127, 127, 255],
|
||||||
|
"setting_control_button_hover": [70, 84, 113, 255],
|
||||||
"setting_unit": [127, 127, 127, 255],
|
"setting_unit": [127, 127, 127, 255],
|
||||||
"setting_validation_error": [255, 57, 14, 255],
|
"setting_validation_error": [255, 57, 14, 255],
|
||||||
"setting_validation_warning": [255, 186, 15, 255],
|
"setting_validation_warning": [255, 186, 15, 255],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue