/* Stylesheet for BaseTrack - Ice theme */


/* Track buttons
--------------------------------*/

#soloButton,
#muteButton,
BoostSpinBox,
#instrumentsMenu QToolButton:!hover
{
    font-size: 9px;
    padding: 2px;
    color: black;
    border: 1px outset rgba(0, 0, 140, 120);
}

#soloButton,
#muteButton,
QPushButton#buttonStereoInversion,
BoostSpinBox
{
    background-color: rgb(180, 207, 250);
    border-radius: 6px;
}

QPushButton#buttonStereoInversion:checked
{
    background-color: rgb(129, 181, 255);
}

#soloButton:hover,
#muteButton:hover
{
    background-color: rgb(204, 225, 255);
    color: rgb(80, 80, 80);
}

QPushButton#buttonStereoInversion:hover
{
    background-color: rgb(204, 225, 255);
}

QPushButton#buttonStereoInversion:hover:checked
{
   background-color: rgb(157, 199, 255);
   border-color: rgb(40, 40, 40);
}

/* button colors when the track is NOT xmiting */
BaseTrackView[unlighted="true"] #soloButton,
BaseTrackView[unlighted="true"] #muteButton,
BaseTrackView[unlighted="true"] QPushButton#buttonStereoInversion,
BaseTrackView[unlighted="true"] BoostSpinBox
{
    background-color: rgba(0, 0, 0, 30);
    border: none;
}

BaseTrackView[unlighted="true"] #soloButton,
BaseTrackView[unlighted="true"] #muteButton
{
    color: rgb(50, 50, 50);
}

BaseTrackView[unlighted="true"] #muteButton:checked,
BaseTrackView[unlighted="true"] #soloButton:checked
{
    color: rgb(220, 220, 220);
}

BaseTrackView[unlighted="true"] #soloButton:hover,
BaseTrackView[unlighted="true"] #muteButton:hover
{
    color: rgb(80, 80, 80);
}

#soloButton: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));
    color: black;
    border: 1px inset rgba(0, 0, 140, 120);
}

#soloButton:hover:checked
{
    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));
    border-color: rgb(45, 45, 45);
}

#muteButton: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: 1px inset rgba(0, 0, 140, 120);
    color: white;

}

#muteButton: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));
    color: lightgray;
    border-color: rgb(45, 45, 45);
}

BaseTrackView[unlighted="true"] #buttonStereoInversion:hover:checked
{
    background-color: rgb(157, 199, 255);
}

BaseTrackView
{
    background-color: none;

    border: none; /*1px solid rgb(61, 61, 61);*/
    border-right: 1px solid rgba(0, 0, 0, 20);
    border-left: 1px solid rgba(0, 0, 0, 20);
    font-size: 8px;
}



/* Setting colors when the track is 'not transmiting'
-----------------------------------------------------*/
BaseTrackView[unlighted="true"] #panSlider::handle,         /* pan slider handle */
BaseTrackView[unlighted="true"] QSlider::handle:vertical,    /* track fader handle */
#panSlider::handle:disabled,
QSlider::handle:vertical:disabled
{
    background: rgba(0, 107, 206, 180);
    border: 1px outset rgba(0, 80, 151, 200);
}

BaseTrackView[unlighted="true"],                            /* the track */
TrackGroupView[unlighted="true"] > #topPanel                /* the track group top panel: used to show user name */
{
    background: rgba(0, 107, 206, 150);
}
/* -----------------------------------------*/


BaseTrackView[unlighted="true"] #panSlider::handle:hover,
BaseTrackView[unlighted="true"] #levelSlider::handle:hover
{
    background-color: rgb(51, 158, 255);
}


/* TrackGroup - used as container for subchannels
---------------------------------------------------*/

TrackGroupView
{
    border: none;
    border-radius: 3px;
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
                stop: 0.0 rgb(128, 180, 255),
                stop: 0.95 rgb(126, 178, 255),
                stop: 1.0 rgb(71, 166, 219));
}

TrackGroupView #topPanel                                /* topPanel is used to show channel name */
{
    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
        stop: 0.0 rgb(71, 166, 219),
        stop: 1 rgb(126, 178, 255));

    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

TrackGroupView #groupNameField                          /* the text field used to input channel name */
{
    margin-bottom: 0px;
    margin-top: 0px;
    font-size: 11px;
    font-weight: normal;
    border: 1px solid rgb(0, 0, 0, 40);
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 5);
}

TrackGroupView[unlighted="true"] #groupNameField        /* channel name text field when not xmiting */
{
    background-color: rgba(0, 0, 0, 10);
    border: none;
}
