[themes] changed qprintdialog according to theme

This commit is contained in:
maxkadushkin
2021-06-14 23:22:55 +03:00
parent 5bbcd38753
commit aca011edcb
3 changed files with 97 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

View File

@ -243,6 +243,102 @@ QPushButton#toolButtonDownload::menu-indicator {
background-color: #606060;
}
#mainPanel[uitheme=theme-dark] QPrintDialog,
#mainPanel[uitheme=theme-dark] QPrintPropertiesDialog
{
background-color: #404040;
}
#mainPanel[uitheme=theme-dark] QPrintDialog QLabel {
color: #d9d9d9;
}
#mainPanel[uitheme=theme-dark] QPrintDialog QPushButton,
#mainPanel[uitheme=theme-dark] QPrintDialog QToolButton
{
background-color: #555;
color: #d9d9d9;
border: 1px solid rgba(255,255,255,.8);
}
#mainPanel[uitheme=theme-dark] QPrintDialog QPushButton:focus {
border: 2px solid rgba(255,255,255,.9);
}
#mainPanel[uitheme=theme-dark] QPrintDialog QLineEdit {
background-color: #404040;
color: #d9d9d9;
}
#mainPanel[uitheme=theme-dark] QPrintDialog QGroupBox {
background-color: #404040;
}
#mainPanel[uitheme=theme-dark] QPrintDialog QGroupBox::title {
color: #d9d9d9;
}
#mainPanel[uitheme=theme-dark] QPrintDialog QComboBox{
background-color: #404040;
selection-background-color: #606060;
color: #d9d9d9;
}
#mainPanel[uitheme=theme-dark] QPrintDialog QComboBox QAbstractItemView {
background-color: #404040;
}
#mainPanel[uitheme=theme-dark] QPrintDialog QRadioButton,
#mainPanel[uitheme=theme-dark] QPrintDialog QCheckBox
{
color: #d9d9d9;
}
#mainPanel[uitheme=theme-dark] QPrintDialog QTabWidget::pane {
background-color: #404040;
border: 1px solid rgba(255,255,255,.8);
position:absolute;
top:-1px;
}
#mainPanel[uitheme=theme-dark] QPrintDialog QWidget {
background-color: #404040;
}
#mainPanel[uitheme=theme-dark] QPrintDialog QTabBar::tab {
color: #d9d9d9;
}
#mainPanel[uitheme=theme-dark] QSpinBox,
#mainPanel[uitheme=theme-dark] QDoubleSpinBox,
#mainPanel[uitheme=theme-dark] QTimeEdit
{
background-color: #404040;
color: #d9d9d9;
}
#mainPanel[uitheme=theme-dark] QPrintDialog *::up-arrow {
border-image: url(:/arrow_down_dark.png) 3 0 0 0 repeat repeat;
}
#mainPanel[uitheme=theme-dark] QPrintDialog *::up-arrow:disabled,
#mainPanel[uitheme=theme-dark] QPrintDialog *::up-arrow:off
{
border-image: url(:/arrow_down_dark.png) 3 0 0 5 repeat repeat;
}
#mainPanel[uitheme=theme-dark] QPrintDialog *::down-arrow {
border-image: url(:/arrow_down_dark.png) 0 0 0 0 repeat repeat;
}
#mainPanel[uitheme=theme-dark] QPrintDialog *::down-arrow:disabled,
#mainPanel[uitheme=theme-dark] QPrintDialog ::down-arrow:off
{
border-image: url(:/arrow_down_dark.png) 0 0 0 5 repeat repeat;
}
/***********************************/
/* classic light theme definitions */
/***********************************/

View File

@ -28,6 +28,7 @@
<file alias="checkbox_1.5x.png">res/icons/checkbox@1.5x.png</file>
<file alias="checkbox_2x.png">res/icons/checkbox@2x.png</file>
<file>res/icons/arrow_down.png</file>
<file alias="arrow_down_dark.png">res/icons/arrow_down_dark.png</file>
<file alias="arrow_down_1.5x.png">res/icons/arrow_down@1.5x.png</file>
<file alias="arrow_down_2x.png">res/icons/arrow_down@2x.png</file>
<file alias="app.ico">res/icons/desktopeditors.ico</file>