/*
 --------------------------------------------------------------------------
 Sizes Base Style
 --------------------------------------------------------------------------
*/

QAbstractButton[theme_size="@tiny"],
QAbstractSpinBox[theme_size="@tiny"],
QComboBox[theme_size="@tiny"],
QLineEdit[theme_size="@tiny"]
{
    font-size: @font_size_small@unit;
    border-radius: @border_radius_small@unit;
    min-height: @tiny@unit;
    max-height: @tiny@unit;
}

QAbstractButton[theme_size="@small"],
QAbstractSpinBox[theme_size="@small"],
QComboBox[theme_size="@small"],
QLineEdit[theme_size="@small"]
{
    font-size: @font_size_small@unit;
    border-radius: @border_radius_small@unit;
    min-height: @small@unit;
    max-height: @small@unit;
}

QAbstractButton[theme_size="@medium"],
QAbstractSpinBox[theme_size="@medium"],
QComboBox[theme_size="@medium"],
QLineEdit[theme_size="@medium"]
{
    font-size: @font_size_base@unit;
    border-radius: @border_radius_base@unit;
    min-height: @medium@unit;
    max-height: @medium@unit;
}

QAbstractButton[theme_size="@large"],
QAbstractSpinBox[theme_size="@large"],
QComboBox[theme_size="@large"],
QLineEdit[theme_size="@large"]
{
    font-size: @font_size_large@unit;
    border-radius: @border_radius_large@unit;
    min-height: @large@unit;
    max-height: @large@unit;
}

QAbstractButton[theme_size="@huge"],
QAbstractSpinBox[theme_size="@huge"],
QComboBox[theme_size="@huge"],
QLineEdit[theme_size="@huge"]
{
    font-size: @font_size_large@unit;
    border-radius: @border_radius_large@unit;
    min-height: @huge@unit;
    max-height: @huge@unit;
}

QAbstractSpinBox[theme_size="@tiny"]::up-button
{
    width: 18px;
    border-top-right-radius: @border_radius_small@unit;
}

QAbstractSpinBox[theme_size="@tiny"]::down-button
{
    width: 18px;
    border-bottom-right-radius: @border_radius_small@unit;
}

QAbstractSpinBox[theme_size="@small"]::up-button
{
    width: 20px;
    border-top-right-radius: @border_radius_small@unit;
}

QAbstractSpinBox[theme_size="@small"]::down-button
{
    width: 20px;
    border-bottom-right-radius: @border_radius_small@unit;
}

QAbstractSpinBox[theme_size="@medium"]::up-button
{
    width: 24px;
    border-top-right-radius: @border_radius_base@unit;
}

QAbstractSpinBox[theme_size="@medium"]::down-button
{
    width: 24px;
    border-bottom-right-radius: @border_radius_base@unit;
}

QAbstractSpinBox[theme_size="@large"]::up-button
{
    width: 26px;
    border-top-right-radius: @border_radius_large@unit;
}

QAbstractSpinBox[theme_size="@large"]::down-button
{
    width: 26px;
    border-bottom-right-radius: @border_radius_large@unit;
}

QAbstractSpinBox[theme_size="@huge"]::up-button
{
    width: 28px;
    border-top-right-radius: @border_radius_large@unit;
}

QAbstractSpinBox[theme_size="@huge"]::down-button
{
    width: 28px;
    border-bottom-right-radius: @border_radius_large@unit;
}

QAbstractSpinBox[theme_size="@tiny"]::up-arrow
{
    image: url(@up_icon);
    width: 6px;
    height: 6px;
}

QAbstractSpinBox[theme_size="@tiny"]::down-arrow
{
    image: url(@down_icon);
    width: 6px;
    height: 6px;
}

QAbstractSpinBox[theme_size="@small"]::up-arrow
{
    image: url(@up_icon);
    width: 8px;
    height: 8px;
}

QAbstractSpinBox[theme_size="@small"]::down-arrow
{
    image: url(@down_icon);
    width: 8px;
    height: 8px;
}

QAbstractSpinBox[theme_size="@medium"]::up-arrow
{
    image: url(@up_icon);
    width: 10px;
    height: 10px;
}

QAbstractSpinBox[theme_size="@medium"]::down-arrow
{
    image: url(@down_icon);
    width: 10px;
    height: 10px;
}

QAbstractSpinBox[theme_size="@large"]::up-arrow
{
    image: url(@up_icon);
    width: 12px;
    height: 12px;
}

QAbstractSpinBox[theme_size="@large"]::down-arrow
{
    image: url(@down_icon);
    width: 12px;
    height: 12px;
}

QAbstractSpinBox[theme_size="@huge"]::up-arrow
{
    image: url(@up_icon);
    width: 14px;
    height: 14px;
}

QAbstractSpinBox[theme_size="@huge"]::down-arrow
{
    image: url(@down_icon);
    width: 14px;
    height: 14px;
}