dark stylesheet updated
This commit is contained in:
@@ -1,13 +1,170 @@
|
|||||||
QMainWindow, QWidget {
|
/* Outer items */
|
||||||
background-color: black;
|
|
||||||
|
QWidget {
|
||||||
|
background-color: transparent;
|
||||||
color: #eeeeee;
|
color: #eeeeee;
|
||||||
|
font-family: AmaticSC, sans-serif;
|
||||||
|
font-size: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QMainWindow {
|
||||||
|
background: #000000;
|
||||||
|
color: #eeeeee;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* General controls */
|
||||||
|
|
||||||
|
QPushButton {
|
||||||
|
background-color: transparent;
|
||||||
|
border-style: outset;
|
||||||
|
border-width: 1px;
|
||||||
|
border-radius: 15px;
|
||||||
|
border-color: #eeeeee;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QPushButton:pressed {
|
||||||
|
background-color: #66eeeeee;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Idle Screen */
|
||||||
|
|
||||||
|
QFrame#IdleMessage {
|
||||||
|
background-image: url(photobooth/gui/Qt5Gui/images/arrow.png);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
padding: 80px 400px 120px 80px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QFrame#IdleMessage QLabel {
|
||||||
|
font-size: 160px;
|
||||||
|
qproperty-alignment: AlignCenter;
|
||||||
|
}
|
||||||
|
|
||||||
|
QFrame#IdleMessage QPushButton {
|
||||||
|
border: none;
|
||||||
|
color: rgba(255, 27, 0, 200);
|
||||||
|
font-size: 200px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
QFrame#IdleMessage QPushButton:pressed {
|
||||||
|
background-color: rgba(255, 27, 0, 200);
|
||||||
|
color: #eeeeee;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Greeter Screen */
|
||||||
|
|
||||||
|
QFrame#GreeterMessage {
|
||||||
|
padding: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QFrame#GreeterMessage QLabel#title {
|
||||||
|
font-size: 180px;
|
||||||
|
qproperty-alignment: AlignCenter;
|
||||||
|
}
|
||||||
|
|
||||||
|
QFrame#GreeterMessage QPushButton#button {
|
||||||
|
border: none;
|
||||||
|
font-size: 120px;
|
||||||
|
margin: 60px 0 20px 0;
|
||||||
|
min-height: 160px;
|
||||||
|
padding: 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
QFrame#GreeterMessage QLabel#message {
|
||||||
|
font-size: 120px;
|
||||||
|
qproperty-alignment: AlignCenter;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Countdown Screen */
|
||||||
|
|
||||||
|
QFrame#CountdownMessage {
|
||||||
|
background-color: #eeeeee;
|
||||||
|
border-style: outset;
|
||||||
|
border-width: 2px;
|
||||||
|
border-radius: 30px;
|
||||||
|
border-color: #eeeeee;
|
||||||
|
margin: 20px;
|
||||||
|
padding: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Pose Screen */
|
||||||
|
|
||||||
|
QFrame#PoseMessage {
|
||||||
|
background-image: url(photobooth/gui/Qt5Gui/images/camera.png);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
padding: 380px 80px 80px 80px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QFrame#PoseMessage QLabel {
|
||||||
|
font-size: 120px;
|
||||||
|
qproperty-alignment: AlignCenter;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Wait Screen */
|
||||||
|
|
||||||
|
QFrame#WaitMessage {
|
||||||
|
padding: 350px 80px 80px 80px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QFrame#WaitMessage QLabel {
|
||||||
|
font-size: 110px;
|
||||||
|
qproperty-alignment: AlignCenter;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Picture Screen */
|
||||||
|
|
||||||
|
QFrame#PictureMessage {
|
||||||
|
margin: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Overlay message */
|
||||||
|
|
||||||
|
QWidget#TransparentOverlay {
|
||||||
|
background-color: #aaeeeeee;
|
||||||
|
border-style: outset;
|
||||||
|
border-width: 2px;
|
||||||
|
border-radius: 30px;
|
||||||
|
border-color: #eeeeee;
|
||||||
|
color: #333333;
|
||||||
|
padding: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Postprocess message */
|
||||||
|
|
||||||
|
QWidget#PostprocessMessage QLabel {
|
||||||
|
color: #333333;
|
||||||
|
font-size: 110px;
|
||||||
|
qproperty-alignment: AlignCenter;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget#PostprocessMessage QPushButton {
|
||||||
|
color: #333333;
|
||||||
|
border-color: #333333;
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget#PostprocessMessage QPushButton:pressed {
|
||||||
|
background-color: #66eeeeee;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget#PostprocessMessage QPushButton:disabled {
|
||||||
|
background-color: #66eeeeee;
|
||||||
|
color: #33eeeeee;
|
||||||
|
border-color: #33eeeeee;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Customizing settings */
|
/* Customizing settings */
|
||||||
|
|
||||||
QTabWidget {
|
QTabWidget::pane {
|
||||||
background-color: black;
|
background-color: #eeeeee;
|
||||||
|
border-style: outset;
|
||||||
|
border-width: 1px;
|
||||||
|
border-radius: 15px;
|
||||||
|
border-color: #eeeeee;
|
||||||
color: #eeeeee;
|
color: #eeeeee;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabWidget::tab-bar {
|
QTabWidget::tab-bar {
|
||||||
@@ -15,77 +172,52 @@ QTabWidget::tab-bar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::tab {
|
QTabBar::tab {
|
||||||
background-color: #333333;
|
background-color: transparent;
|
||||||
border-style: outset;
|
border-style: outset;
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
border-top-left-radius: 15px;
|
border-top-left-radius: 15px;
|
||||||
border-top-right-radius: 15px;
|
border-top-right-radius: 15px;
|
||||||
border-color: #eeeeee;
|
border-color: #eeeeee;
|
||||||
|
color: #eeeeee;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::tab:selected {
|
QTabBar::tab:selected {
|
||||||
background-color: #666666;
|
background-color: #33ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabWidget QWidget {
|
||||||
|
color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator {
|
QCheckBox::indicator {
|
||||||
width: 25px;
|
width: 45px;
|
||||||
height: 25px;
|
height: 45px;
|
||||||
background-color: #333333;
|
background-color: transparent;
|
||||||
border-style: outset;
|
border-style: outset;
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
border-color: #eeeeee;
|
border-color: #333333;
|
||||||
}
|
|
||||||
|
|
||||||
QCheckBox::indicator::unchecked {
|
|
||||||
background: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator::checked {
|
QCheckBox::indicator::checked {
|
||||||
background-color: #eeeeee;
|
background-image: url(photobooth/gui/Qt5Gui/images/checkmark.png);
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox, QDateEdit, QLineEdit, QSpinBox, QTimeEdit {
|
QComboBox, QDateEdit, QLineEdit, QSpinBox, QTimeEdit {
|
||||||
height: 25px;
|
background-color: #eeeeee;
|
||||||
background-color: #333333;
|
color: #333333;
|
||||||
border-style: outset;
|
|
||||||
border-width: 2px;
|
|
||||||
border-radius: 5px;
|
|
||||||
border-color: #eeeeee;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox QAbstractItemView {
|
QComboBox QAbstractItemView {
|
||||||
background-color: #333333;
|
background-color: #cccccc;
|
||||||
selection-background-color: #666666;
|
color: #333333;
|
||||||
border-style: outset;
|
selection-background-color: #eeeeee;
|
||||||
border-width: 2px;
|
selection-color: #333333;
|
||||||
border-radius: 5px;
|
|
||||||
border-color: #eeeeee;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox::drop-down, QDateEdit::drop-down, QSpinBox::down-button,
|
QComboBox QAbstractItemView::item {
|
||||||
QTimeEdit::down-button {
|
margin: 5px;
|
||||||
background: #666666;
|
min-height: 50px;
|
||||||
color: #eeeeee;
|
|
||||||
border: none;
|
|
||||||
width: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
QSpinBox::up-button, QTimeEdit::up-button {
|
|
||||||
background: #999999;
|
|
||||||
color: #eeeeee;
|
|
||||||
border: none;
|
|
||||||
width: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
QPushButton {
|
|
||||||
background-color: #333333;
|
|
||||||
border-style: outset;
|
|
||||||
border-width: 2px;
|
|
||||||
border-radius: 15px;
|
|
||||||
border-color: #eeeeee;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user