Browse Source

Remove unused styles

Jaime van Kessel 3 years ago
parent
commit
752cf2d5aa
1 changed files with 0 additions and 90 deletions
  1. 0 90
      resources/themes/cura-light/styles.qml

+ 0 - 90
resources/themes/cura-light/styles.qml

@@ -373,40 +373,6 @@ QtObject
         }
     }
 
-    property Component text_field: Component
-    {
-        TextFieldStyle
-        {
-            textColor: UM.Theme.getColor("setting_control_text")
-            placeholderTextColor: UM.Theme.getColor("setting_control_text")
-            font: UM.Theme.getFont("default")
-
-            background: Rectangle
-            {
-                implicitHeight: control.height;
-                implicitWidth: control.width;
-
-                border.width: UM.Theme.getSize("default_lining").width;
-                border.color: control.hovered ? UM.Theme.getColor("setting_control_border_highlight") : UM.Theme.getColor("setting_control_border");
-                radius: UM.Theme.getSize("setting_control_radius").width
-
-                color: UM.Theme.getColor("setting_validation_ok");
-
-                Label
-                {
-                    anchors.right: parent.right;
-                    anchors.rightMargin: UM.Theme.getSize("setting_unit_margin").width;
-                    anchors.verticalCenter: parent.verticalCenter;
-
-                    text: control.unit ? control.unit : ""
-                    color: UM.Theme.getColor("setting_unit");
-                    font: UM.Theme.getFont("default");
-                    renderType: Text.NativeRendering
-                }
-            }
-        }
-    }
-
     property Component print_setup_action_button: Component
     {
         ButtonStyle
@@ -487,62 +453,6 @@ QtObject
         }
     }
 
-    property Component toolbox_action_button: Component
-    {
-        ButtonStyle
-        {
-            background: Rectangle
-            {
-                implicitWidth: UM.Theme.getSize("toolbox_action_button").width
-                implicitHeight: UM.Theme.getSize("toolbox_action_button").height
-                color:
-                {
-                    if (control.installed)
-                    {
-                        return UM.Theme.getColor("action_button_disabled");
-                    }
-                    else
-                    {
-                        if (control.hovered)
-                        {
-                            return UM.Theme.getColor("primary_hover");
-                        }
-                        else
-                        {
-                            return UM.Theme.getColor("primary");
-                        }
-                    }
-
-                }
-            }
-            label: Label
-            {
-                text: control.text
-                color:
-                {
-                    if (control.installed)
-                    {
-                        return UM.Theme.getColor("action_button_disabled_text");
-                    }
-                    else
-                    {
-                        if (control.hovered)
-                        {
-                            return UM.Theme.getColor("button_text_hover");
-                        }
-                        else
-                        {
-                            return UM.Theme.getColor("button_text");
-                        }
-                    }
-                }
-                verticalAlignment: Text.AlignVCenter
-                horizontalAlignment: Text.AlignHCenter
-                font: UM.Theme.getFont("default_bold")
-            }
-        }
-    }
-
     property Component monitor_button_style: Component
     {
         ButtonStyle