/* Local track stylesheet for Ice theme */


/* FxPanelItem is the 'slot' for one vst plugin
--------------------------------------------------*/
FxPanelItem
{
    background-color: rgba(255, 255, 255, 60);
    background-position: center right;
    background-repeat: none;
    max-height: 14px;
    border: none;
    border-radius: 6px;
}

BaseTrackView[unlighted="false"] FxPanelItem            /* slot border when the track is not xmiting */
{
    border: 1px outset rgba(0, 0, 0, 40);
}

FxPanelItem[containPlugin="false"]                      /* empty slot */
{
    background-image: url(':/images/arrow-down-lighter.png');
}

FxPanelItem[containPlugin="true"]                       /* non empty slot */
{
    background-image: none;
}

FxPanelItem  QLabel                                     /* plugin name label */
{
    qproperty-alignment: AlignLeft;
    font-size: 10px;
    color: rgb(60, 60, 60);
    margin: 0px;
}

FxPanelItem:hover                                       /* slot hover effect */
{
    background-color: rgba(0, 0, 0, 60);
}

FxPanelItem QPushButton                                 /* the small button used to bypass the plugin */
{
     max-width: 10px;
     max-height: 10px;
     margin: 0px;
     padding: 0px;
     border-radius: 4px;
     border: 1px solid rgba(0, 0, 0, 60);
     background-color: rgba(0, 0, 0, 120);
}

FxPanelItem QPushButton:hover                           /* hover effect for the small 'plugin bypass' button */
{
    border: 1px solid rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 60);
}

FxPanelItem QPushButton:checked                         /* 'plugin bypass' button is checked */
{
    background-color: rgb(0, 210, 0);
    border-color: rgb(0, 100, 0);
}

FxPanelItem QPushButton:checked:hover                   /* hover effect for 'plugin bypass' button when checked */
{
    background-color: rgb(0, 225, 0);
}


LocalTrackView[highlighted="true"]
{
    background: rgb(0, 107, 206);
}

LocalTrackView #inputPanel
{
    background-color: rgba(0, 0, 255, 30);
    border-radius: 6px;
}

LocalTrackView[unlighted="false"] #inputPanel    /* input panel color when user is transmiting */
{
    border: 1px outset rgba(0, 0, 0, 50);
}

LocalTrackView #inputPanel:hover
{
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
    stop:0 rgb(0, 0, 255, 2),
    stop:1 rgb(0, 0, 255, 30));
}

LocalTrackView[unlighted="true"] #inputPanel:hover
{
    background-color: rgba(0, 0, 0, 30);
}

#xmitButton
{
    margin-top: 3px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 140, 120);
}

#xmitButton:checked
{
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:0.95,
        stop:0 rgb(90, 255, 62),
        stop:1 rgb(0, 175, 0));
    border-color: rgb(100, 100, 100);
}

#xmitButton[preparing="true"],
#voiceChatButton:checked[blinking="true"]
{
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:0.9,
        stop:0 rgb(255,255,0),
        stop:1 rgb(204,204,0));
    color: rgb(40, 40, 40);
}

#xmitButton:!checked
{
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:0.9,
        stop:0 rgb(255, 90, 62),
        stop:1 rgb(175, 0, 0));
    border-color: rgba(0, 0, 0, 30);
    color: black;
}

#xmitButton:hover
{
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:0.95,
        stop:0 rgba(90, 255, 62, 220),
        stop:1 rgba(0, 175, 0, 200));
}

#xmitButton:hover:!checked
{
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:0.9,
        stop:0 rgba(255, 90, 62, 220),
        stop:1 rgba(175, 0, 0, 200));
    border-color: rgba(0, 0, 0, 90);
}

#voiceChatButton:!checked
{
    background-color: rgba(180, 207, 250, 120);
    border: 1px outset rgba(0, 0, 0, 90);
}

#voiceChatButton:hover
{
    background-color: rgba(207, 224, 252, 60);
}

#voiceChatButton:checked
{
    background-color: rgba(180, 207, 250, 120);
    border: 1px outset rgba(0, 0, 0, 40);
}

TrackGroupView[unlighted="true"] #voiceChatButton:checked[blinking="true"] /* Voice chat button barely blinking when not transmitting */
{
    background-color: rgba(180, 207, 250, 80);
    border: 1px outset rgba(0, 0, 0, 40);
}

LocalTrackView #buttonLooper:disabled
{
    border: none;
    background-color: rgb(180, 207, 250);
}

LocalTrackView[unlighted="true"] #buttonLooper
{
    background-color: rgba(0, 0, 0, 30);
    border: none;
}

LocalTrackGroupView #groupNameField
{
    font-size: 10px;
}
