from Qt import QtGui
"""
Collection of common styles and colors used.
"""

# Color Definitions #

MAYA_ATTRIBUTE_BLUE = QtGui.QColor(163, 203, 239)       # Constrained
MAYA_ATTRIBUTE_BROWN = QtGui.QColor(191, 160, 129)      # Muted
MAYA_ATTRIBUTE_GRAY = QtGui.QColor(92, 104, 116)        # Locked
MAYA_ATTRIBUTE_PURPLE = QtGui.QColor(203, 165, 242)     # Expression
MAYA_ATTRIBUTE_RED = QtGui.QColor(221, 114, 122)        # Keyed
MAYA_ATTRIBUTE_YELLOW = QtGui.QColor(240, 241, 165)     # Connected

RED_HIGHLIGHT_BLACK_TEXT = QtGui.QColor(230, 115, 115)
BLUE_HIGHLIGHT_BLACK_TEXT = QtGui.QColor(65, 165, 245)
GREEN_HIGHLIGHT_BLACK_TEXT = QtGui.QColor(100, 185, 105)
GRAY_HIGHLIGHT_BLACK_TEXT = QtGui.QColor(190, 190, 190)

CYAN_HIGHLIGHT_BLACK_TEXT = QtGui.QColor(40, 200, 220)
TEAL_HIGHLIGHT_BLACK_TEXT = QtGui.QColor(75, 180, 170)
LIME_HIGHLIGHT_BLACK_TEXT = QtGui.QColor(205, 220, 55)

PURPLE_HIGHLIGHT_BLACK_TEXT = QtGui.QColor(205, 145, 215)
PINK_HIGHLIGHT_BLACK_TEXT = QtGui.QColor(245, 145, 175)

ORANGE_HIGHLIGHT_BLACK_TEXT = QtGui.QColor(255, 150, 0)
YELLOW_HIGHLIGHT_BLACK_TEXT = QtGui.QColor(255, 235, 60)


BLUE_HIGHLIGHT_WHITE_TEXT = QtGui.QColor(25, 120, 210)
GREEN_HIGHLIGHT_WHITE_TEXT = QtGui.QColor(45, 125, 50)
PURPLE_HIGHLIGHT_WHITE_TEXT = QtGui.QColor(120, 30, 160)
RED_HIGHLIGHT_WHITE_TEXT = QtGui.QColor(230, 55, 55)


# Buttons Styles #

RED_BUTTON_STYLE = "QPushButton {background-color: #f69697; color: #333;}"
GREEN_BUTTON_STYLE = "QPushButton {background-color: #ABFFA2; color: #333;}"
BLUE_BUTTON_STYLE = 'QPushButton {background-color: #A3C1DA; color: #333;}'

ORANGE_BUTTON_STYLE = 'QPushButton {background-color: #ffcea2; color: #333;}'
YELLOW_BUTTON_STYLE = 'QPushButton {background-color: #f2f19d; color: #333;}'

GRAY_BUTTON_STYLE = 'QPushButton {background-color: #777; color: #ddd;}'
DARK_GREY_BUTTON_STYLE = 'QPushButton {background-color: #555; color: #ddd;}'


# Label Styles #

RED_LABEL_STYLE = "QLabel{font-weight: bold;font-size: 12px; qproperty-alignment: AlignCenter; background-color: #f69697; color: #333;}"
GREEN_LABEL_STYLE = "QLabel{font-weight: bold;font-size: 12px; qproperty-alignment: AlignCenter; background-color: #ABFFA2; color: #333;}"
BLUE_LABEL_STYLE = "QLabel{font-weight: bold;font-size: 12px; qproperty-alignment: AlignCenter; background-color: #A3C1DA; color: #333;}"

ORANGE_LABEL_STYLE = "QLabel{font-weight: bold;font-size: 12px; qproperty-alignment: AlignCenter; background-color: #ffcea2; color: #333;}"
YELLOW_LABEL_STYLE = "QLabel{font-weight: bold;font-size: 12px; qproperty-alignment: AlignCenter; background-color: #f2f19d; color: #333;}"

GRAY_LABEL_STYLE = "QLabel{font-weight: bold;font-size: 12px; qproperty-alignment: AlignCenter; background-color: #777; color: #ddd;}"
DARK_GREY_LABEL_STYLE = "QLabel{font-weight: bold;font-size: 12px; qproperty-alignment: AlignCenter; background-color: #555; color: #ddd;}"
