TertiaryButton.qml 634 B

123456789101112131415161718192021
  1. // Copyright (c) 2020 Ultimaker B.V.
  2. // Cura is released under the terms of the LGPLv3 or higher.
  3. import QtQuick 2.2
  4. import UM 1.4 as UM
  5. import Cura 1.1 as Cura
  6. Cura.ActionButton
  7. {
  8. shadowEnabled: true
  9. shadowColor: enabled ? UM.Theme.getColor("secondary_button_shadow"): UM.Theme.getColor("action_button_disabled_shadow")
  10. color: "transparent"
  11. textColor: UM.Theme.getColor("text_link")
  12. outlineColor: "transparent"
  13. disabledColor: UM.Theme.getColor("action_button_disabled")
  14. textDisabledColor: UM.Theme.getColor("action_button_disabled_text")
  15. hoverColor: "transparent"
  16. underlineTextOnHover: true
  17. }