mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Merge pull request #7097 from Tatsuya79/patch-2
[Desktop Menu] update dark theme
This commit is contained in:
commit
b0f21e7c2e
@ -34,22 +34,18 @@ static const QString qt_theme_dark_stylesheet = QStringLiteral(R"(
|
|||||||
QTextEdit, LogTextEdit {
|
QTextEdit, LogTextEdit {
|
||||||
background-color:rgb(25,25,25);
|
background-color:rgb(25,25,25);
|
||||||
}
|
}
|
||||||
QSpinBox, QCheckBox {
|
QSpinBox, QDoubleSpinBox, QCheckBox {
|
||||||
background-color:rgb(25,25,25);
|
background-color:rgb(25,25,25);
|
||||||
}
|
}
|
||||||
QCheckBox:checked, QCheckBox:unchecked {
|
QCheckBox:checked, QCheckBox:unchecked {
|
||||||
background-color:rgb(53,53,53);
|
background-color:rgb(53,53,53);
|
||||||
}
|
}
|
||||||
QDialog#shaderParamsDialog {
|
QWidget#shaderParamsWidget {
|
||||||
background-color:rgb(25,25,25);
|
background-color:rgb(25,25,25);
|
||||||
}
|
}
|
||||||
QDialog#shaderParamsDialog QGroupBox, QDialog#shaderParamsDialog QGroupBox QLabel,
|
|
||||||
QDialog#shaderParamsDialog QGroupBox QSlider, QDialog#shaderParamsDialog QGroupBox QCheckBox:checked,
|
|
||||||
QDialog#shaderParamsDialog QGroupBox QCheckBox:unchecked {
|
|
||||||
background-color:rgb(53,53,53);
|
|
||||||
}
|
|
||||||
QDialog#shaderParamsDialog QGroupBox {
|
QDialog#shaderParamsDialog QGroupBox {
|
||||||
border-top-left-radius: 0px;
|
background-color:rgb(53,53,53);
|
||||||
|
border-top-left-radius:0px;
|
||||||
}
|
}
|
||||||
QDialog#shaderParamsDialog QGroupBox::title {
|
QDialog#shaderParamsDialog QGroupBox::title {
|
||||||
margin-left:0px;
|
margin-left:0px;
|
||||||
@ -58,7 +54,7 @@ static const QString qt_theme_dark_stylesheet = QStringLiteral(R"(
|
|||||||
background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgb(53,53,53),stop:1 rgba(125,125,125,127));
|
background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgb(53,53,53),stop:1 rgba(125,125,125,127));
|
||||||
border:1px solid rgba(25,25,25,75);
|
border:1px solid rgba(25,25,25,75);
|
||||||
border-top:1px solid rgba(175,175,175,50%);
|
border-top:1px solid rgba(175,175,175,50%);
|
||||||
border-bottom: none transparent;
|
border-bottom:none transparent;
|
||||||
}
|
}
|
||||||
QToolTip {
|
QToolTip {
|
||||||
color:white;
|
color:white;
|
||||||
@ -224,7 +220,7 @@ static const QString qt_theme_dark_stylesheet = QStringLiteral(R"(
|
|||||||
}
|
}
|
||||||
QComboBox {
|
QComboBox {
|
||||||
min-height:20px;
|
min-height:20px;
|
||||||
padding:1px 18px 1px 3px;
|
padding:1px 6px 1px 6px;
|
||||||
}
|
}
|
||||||
QComboBox::focus {
|
QComboBox::focus {
|
||||||
background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 rgba(255,255,255,50), stop: 1 rgba(100,100,100,25));
|
background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 rgba(255,255,255,50), stop: 1 rgba(100,100,100,25));
|
||||||
@ -238,6 +234,7 @@ static const QString qt_theme_dark_stylesheet = QStringLiteral(R"(
|
|||||||
}
|
}
|
||||||
QComboBox::drop-down {
|
QComboBox::drop-down {
|
||||||
background-color:transparent;
|
background-color:transparent;
|
||||||
|
width:0px;
|
||||||
}
|
}
|
||||||
QComboBox::selected:on, QComboBox::selected:off {
|
QComboBox::selected:on, QComboBox::selected:off {
|
||||||
background-color:%1;
|
background-color:%1;
|
||||||
@ -262,6 +259,10 @@ static const QString qt_theme_dark_stylesheet = QStringLiteral(R"(
|
|||||||
padding:1px 3px 1px 3px;
|
padding:1px 3px 1px 3px;
|
||||||
outline:none;
|
outline:none;
|
||||||
}
|
}
|
||||||
|
QPushButton::disabled, QToolButton::disabled {
|
||||||
|
color:grey;
|
||||||
|
background-color:rgb(25,25,25);
|
||||||
|
}
|
||||||
QPushButton::focus, QToolButton::focus {
|
QPushButton::focus, QToolButton::focus {
|
||||||
background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 rgba(255,255,255,50), stop: 1 rgba(100,100,100,25));
|
background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 rgba(255,255,255,50), stop: 1 rgba(100,100,100,25));
|
||||||
border:1px solid %1;
|
border:1px solid %1;
|
||||||
@ -278,7 +279,7 @@ static const QString qt_theme_dark_stylesheet = QStringLiteral(R"(
|
|||||||
border-radius:4px;
|
border-radius:4px;
|
||||||
}
|
}
|
||||||
QPushButton[flat="true"] {
|
QPushButton[flat="true"] {
|
||||||
background-color: transparent;
|
background-color:transparent;
|
||||||
}
|
}
|
||||||
QRadioButton::indicator {
|
QRadioButton::indicator {
|
||||||
width:18px;
|
width:18px;
|
||||||
@ -428,7 +429,7 @@ static const QString qt_theme_dark_stylesheet = QStringLiteral(R"(
|
|||||||
background-color:rgb(40,40,40);
|
background-color:rgb(40,40,40);
|
||||||
border:3px solid %1;
|
border:3px solid %1;
|
||||||
}
|
}
|
||||||
QScrollArea QWidget {
|
QWidget#gridLayoutWidget {
|
||||||
background:rgb(25,25,25);
|
background-color:rgb(25,25,25);
|
||||||
}
|
}
|
||||||
)");
|
)");
|
||||||
|
@ -370,6 +370,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
m_gridWidget->setLayout(new QVBoxLayout());
|
m_gridWidget->setLayout(new QVBoxLayout());
|
||||||
|
|
||||||
m_gridLayout = new FlowLayout(m_gridLayoutWidget);
|
m_gridLayout = new FlowLayout(m_gridLayoutWidget);
|
||||||
|
m_gridLayoutWidget->setObjectName("gridLayoutWidget");
|
||||||
|
|
||||||
m_gridScrollArea->setAlignment(Qt::AlignCenter);
|
m_gridScrollArea->setAlignment(Qt::AlignCenter);
|
||||||
m_gridScrollArea->setFrameShape(QFrame::NoFrame);
|
m_gridScrollArea->setFrameShape(QFrame::NoFrame);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user