mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:59:02 +08:00
Change hover colors of the small buttons.
Contributes to CURA-5941
This commit is contained in:
parent
8cfb9350bc
commit
12522c9293
@ -74,6 +74,7 @@ Item
|
||||
id: closeButton
|
||||
width: UM.Theme.getSize("message_close").width
|
||||
height: UM.Theme.getSize("message_close").height
|
||||
hoverEnabled: true
|
||||
|
||||
anchors
|
||||
{
|
||||
@ -86,8 +87,7 @@ Item
|
||||
{
|
||||
anchors.fill: parent
|
||||
sourceSize.width: width
|
||||
sourceSize.height: width
|
||||
color: UM.Theme.getColor("message_text")
|
||||
color: closeButton.hovered ? UM.Theme.getColor("small_button_text_hover") : UM.Theme.getColor("small_button_text")
|
||||
source: UM.Theme.getIcon("cross1")
|
||||
}
|
||||
|
||||
|
@ -178,7 +178,7 @@ Item
|
||||
height: UM.Theme.getSize("standard_arrow").height
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
color: control.enabled ? UM.Theme.getColor("setting_category_text") : UM.Theme.getColor("setting_category_disabled_text")
|
||||
color: control.hovered ? UM.Theme.getColor("small_button_text_hover") : UM.Theme.getColor("small_button_text")
|
||||
source: UM.Theme.getIcon("menu")
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,6 @@ UM.SimpleButton
|
||||
{
|
||||
width: UM.Theme.getSize("small_button").width
|
||||
height: UM.Theme.getSize("small_button").height
|
||||
hoverBackgroundColor: UM.Theme.getColor("small_button_hover")
|
||||
hoverColor: UM.Theme.getColor("small_button_text_hover")
|
||||
color: UM.Theme.getColor("small_button_text")
|
||||
iconMargin: 0.5 * UM.Theme.getSize("wide_lining").width
|
||||
|
@ -80,7 +80,7 @@
|
||||
"primary_hover": [48, 182, 231, 255],
|
||||
"primary_text": [255, 255, 255, 255],
|
||||
"border": [127, 127, 127, 255],
|
||||
"secondary": [245, 245, 245, 255],
|
||||
"secondary": [240, 240, 240, 255],
|
||||
"secondary_shadow": [216, 216, 216, 255],
|
||||
|
||||
"primary_button": [38, 113, 231, 255],
|
||||
@ -150,7 +150,7 @@
|
||||
"small_button_active": [10, 8, 80, 255],
|
||||
"small_button_active_hover": [10, 8, 80, 255],
|
||||
"small_button_text": [102, 102, 102, 255],
|
||||
"small_button_text_hover": [255, 255, 255, 255],
|
||||
"small_button_text_hover": [8, 7, 63, 255],
|
||||
"small_button_text_active": [255, 255, 255, 255],
|
||||
"small_button_text_active_hover": [255, 255, 255, 255],
|
||||
|
||||
@ -183,18 +183,18 @@
|
||||
"scrollbar_handle_hover": [50, 130, 255, 255],
|
||||
"scrollbar_handle_down": [50, 130, 255, 255],
|
||||
|
||||
"setting_category": [245, 245, 245, 255],
|
||||
"setting_category": [240, 240, 240, 255],
|
||||
"setting_category_disabled": [255, 255, 255, 255],
|
||||
"setting_category_hover": [232, 242, 252, 255],
|
||||
"setting_category_active": [245, 245, 245, 255],
|
||||
"setting_category_active": [240, 240, 240, 255],
|
||||
"setting_category_active_hover": [232, 242, 252, 255],
|
||||
"setting_category_text": [35, 35, 35, 255],
|
||||
"setting_category_disabled_text": [24, 41, 77, 101],
|
||||
"setting_category_hover_text": [35, 35, 35, 255],
|
||||
"setting_category_active_text": [35, 35, 35, 255],
|
||||
"setting_category_active_hover_text": [35, 35, 35, 255],
|
||||
"setting_category_border": [245, 245, 245, 255],
|
||||
"setting_category_disabled_border": [245, 245, 245, 255],
|
||||
"setting_category_border": [240, 240, 240, 255],
|
||||
"setting_category_disabled_border": [240, 240, 240, 255],
|
||||
"setting_category_hover_border": [50, 130, 255, 255],
|
||||
"setting_category_active_border": [50, 130, 255, 255],
|
||||
"setting_category_active_hover_border": [50, 130, 255, 255],
|
||||
@ -274,7 +274,7 @@
|
||||
"z_axis": [0, 255, 0, 255],
|
||||
"all_axis": [255, 255, 255, 255],
|
||||
|
||||
"viewport_background": [245, 245, 245, 255],
|
||||
"viewport_background": [250, 250, 250, 255],
|
||||
"volume_outline": [50, 130, 255, 255],
|
||||
"buildplate": [244, 244, 244, 255],
|
||||
"buildplate_grid": [129, 131, 134, 255],
|
||||
|
Loading…
x
Reference in New Issue
Block a user