/*
    This is an application-wide stylesheet. Common styles for common widgets should reside in here.
 */

* {
    color: #afb1b3;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
}

#window-container {
    background-color: #373835;
}

QMenuBar::item {
    position: relative;
    margin: 0;
    top: 0;
    padding-top: 0;
    padding-bottom: 1px;
    padding-right: 4px;
    padding-left: 4px;
    background-color: transparent;
    float: left;
    font-size: 14px;
    border: none;
}

QMenuBar::item:pressed {
    background-color: #3c595c;
}

QMenuBar {
    border: none;
    margin: 0;
    padding: 0;
    min-height: 24px;
    background-color: transparent;
    spacing: 0;
    color: #afb1b3;
    font-size: 14px;
}

QMenu {
    margin: 0;
    padding: 0;
    background-color: #373835;
    color: #afb1b3;
    border: 1px solid #41423f;
    min-width: 200px;
    font-size: 14px;
}

QMenu::item {
    padding: 4px 5px 4px 25px;
    min-width: 200px;
}

QMenu::item:selected {
    background-color: #3c595c;
}

QMenu::item:disabled {
    color: #808484;
}

QMenu::separator {
    border-top: 1px solid #41423f;
    height: 1px;
}

QMenu::indicator {
    padding-left: 10px;
}

QMenu::indicator:non-exclusive:checked {
    image: url(":/compiled/src/Insight/UserInterfaces/InsightWindow/Images/checked-action-icon.svg");
}

QMenu::indicator:non-exclusive:unchecked {
    image: url(":/compiled/src/Insight/UserInterfaces/InsightWindow/Images/unchecked-action-icon.svg");
}

QMenu#help-menu::separator {
    margin: 1px 0;
}

QToolTip {
    background-color: #474949;
    border: 1px solid #616365;
    color: #afb1b3;
    padding: 1px 2px;
    font-size: 13px;
}

QScrollBar:vertical {
    background-color: transparent;
    width: 12px;
    margin: 1px;
}

QScrollBar:handle:vertical {
    border: none;
    background-color: rgba(69, 69, 66, 0.6);
    min-height: 30px;
}

QScrollBar:handle:vertical:hover {
    background-color: rgba(69, 69, 66, 0.91);
}

QScrollBar::add-line:vertical,
QScrollBar::sub-line:vertical {
    border: none;
    background: none;
}

QScrollArea,
QScrollArea .QWidget {
    background-color: transparent;
}

QComboBox,
QLineEdit,
QPlainTextEdit {
    background-color: #2F2F2D;
    border: 1px solid #41423f;
    selection-background-color: #3c595c;
    selection-color: #afb1b3;
}

QLineEdit {
    padding: 3px;
}

QComboBox {
    padding: 3px 5px;
}

QComboBox::drop-down {
    subcontrol-origin: padding;
    subcontrol-position: top right;
    width: 18px;
    height: 26px;
    padding-right: 4px;
    border: none;
    background-color: transparent;
}

QComboBox::down-arrow {
    image: url(":/compiled/src/Insight/UserInterfaces/InsightWindow/Images/down-arrow.svg")
}

QComboBox QAbstractItemView  {
    border: 1px solid #41423f;
    padding: 0;
    margin: 0;
    background-color: #373835;
}

QComboBox QAbstractItemView:item  {
    color: #afb1b3;
    padding: 5px;
}

QComboBox QAbstractItemView::item:selected  {
    background-color: #3c595c;
    padding: 0;
    border: 0;
    margin: 0;
    color: #afb1b3;
}

QLineEdit:disabled,
QPlainTextEdit:disabled {
    color: #7d7d7d;
}

QPushButton {
    background-color: #373937;
    border: 1px solid #484A49;
    padding: 3px 25px;
}

QPushButton:disabled {
    background-color: #303230;
    color: #8d8d90;
}

QToolButton::menu-indicator {
    image: none;
}

Widgets--LabeledSeparator {
    qproperty-lineColor: #454545;
    color: #a6a6a6;
}

Widgets--SvgToolButton QMenu::item {
    padding-left: 10px;
    min-width: 250px;
}

Widgets--PushButton[styleName="primary"] {
    background-color: rgba(53, 60, 65, 1);
    border: 1px solid rgba(69, 76, 82, 1);
}

Widgets--PushButton[styleName="primary"]:disabled {
    background-color: rgba(53, 60, 65, 0.25);
    border: 1px solid rgba(69, 76, 82, 0.5);

}

QCheckBox::indicator:checked {
    margin-top: 2px;
    image: url(":/compiled/src/Insight/UserInterfaces/InsightWindow/Images/checked-action-icon.svg");
}

QCheckBox::indicator:unchecked {
    margin-top: 2px;
    image: url(":/compiled/src/Insight/UserInterfaces/InsightWindow/Images/unchecked-action-icon.svg");
}

#list-graphics-view {
    background-color: transparent;
    border: none;
}
