/*
QCAD Dark Theme
IconPostfix:inverse
RequiresPlugin:true

Dark theme for QCAD on Windows / Linux.
This is mostly defined in plugin "qcaddarkstyle".
On macOS, the system's dark mode can be used instead.

-- Leave this header intact --
*/

/*
Updates------
v1 - 21/01/21 - font colour changed to fix unreadable text in the FlexPainter dialog. REMOVED replaced by v2
v2 - 01/02/21 - Fix for Version and Units text background display in FlexPainter dialog.

*/

QToolTip {
    color: #ffffff; background-color: #363636; border: 1px solid #070707;
}

/* Current tool icon in options tool bar */
QToolBar#Options QLabel#Icon {
    border-radius: 6px;
    background-color: qlineargradient(spread:pad, x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #444444, stop: 0.5 #666666, stop: 1 #666666 );
    border: 1px solid #27292a;
    border-top: 1px solid #797B7E;
    border-right: 1px solid #797B7E;
    margin: 3px 3px 3px 3px;
}

/* Background of text field in text editor */
QDialog#TextDialog QTextEdit#Text {
    background-color: white;
}

QMenu::separator {
    background: #555555;
}


/* Fix for Version and Units text background display in FlexPainter dialog. */
QObject#FlexPainterDialog QLineEdit#lineEdit,
QObject#FlexPainterDialog QLineEdit#UnitsLabel
{
    padding: 0px;
    margin: 0px;
    border: 0px;
    border-style: none;
    background-color: transparent;
    color: #fff;
}
