Skip to content
Snippets Groups Projects
Commit ca38c231 authored by TALBI Oussama's avatar TALBI Oussama
Browse files

Update dark theme - button style + colors

parent c24bedc7
Branches
No related tags found
1 merge request!1Dev
/*
COLOR_DARK = #191919
COLOR_MEDIUM = #353535
COLOR_MEDLIGHT = #5A5A5A
COLOR_LIGHT = #DDDDDD
COLOR_ACCENT = #3D7848
*/
* {
background: #191919;
color: #DDDDDD;
border: 1px solid #5A5A5A;
}
QWidget::item:selected {
background: #3D7848;
/* menu */
QMenuBar {
background-color: #002470;
color: white;
}
QCheckBox, QRadioButton {
border: none;
/* menu items */
QMenuBar::item {
padding: 2px 20px 2px 20px;
border: 1px solid transparent;
}
QRadioButton::indicator, QCheckBox::indicator {
width: 13px;
height: 13px;
QMenuBar::item:selected {
border-color: rgb(48, 83, 136);
background: #3859a1;
}
QRadioButton::indicator::unchecked, QCheckBox::indicator::unchecked {
border: 1px solid #5A5A5A;
background: none;
QMenuBar::item:pressed {
background: #2f477a;
}
QRadioButton::indicator:unchecked:hover, QCheckBox::indicator:unchecked:hover {
border: 1px solid #DDDDDD;
/* boxes */
#_filesSelector {
border-bottom-right-radius: 10px;
margin-bottom: 5px;
}
QRadioButton::indicator::checked, QCheckBox::indicator::checked {
border: 1px solid #5A5A5A;
background: #5A5A5A;
#_filesSelected {
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
margin-bottom: 15px;
}
QRadioButton::indicator:checked:hover, QCheckBox::indicator:checked:hover {
border: 1px solid #DDDDDD;
background: #DDDDDD;
#_toolbox {
border-bottom-left-radius: 10px;
border-top-left-radius: 10px;
margin-bottom: 5px;
}
QGroupBox {
margin-top: 6px;
/* buttons */
#_add_selectable_element {
border-radius: 5px;
border: 1px;
border-color: #085a00;
border-style: inset;
min-height: 20px;
padding-bottom: 2px;
padding-top: 2px;
margin-bottom: 20px;
}
#_add_selectable_element:hover {
background-color: #272727;
border-radius: 5px;
border: 2px;
border-color: #0ea800;
border-style: inset;
}
#_remove_selectable_element {
border-radius: 5px;
border: 1px;
border-color: #790909;
border-style: inset;
min-height: 20px;
padding-bottom: 2px;
padding-top: 2px;
margin-bottom: 20px;
}
#_remove_selectable_element:hover {
background-color: #272727;
border-radius: 5px;
border: 2px;
border-color: #cf0000;
border-style: inset;
}
QGroupBox::title {
top: -7px;
left: 7px;
#_testButton {
color: rgb(255, 255, 255);
border-radius: 5px;
min-height: 20px;
font-size: 15px;
padding-bottom: 4px;
margin-top: 5px;
margin-bottom: 5px;
margin-right: 15px;
margin-left: 15px;
border: 1px;
border-color: #3a3a3a;
border-style: outset;
}
#_testButton:hover {
background-color: #c2c2c2;
color: rgb(0, 0, 0);
}
/* scrollbar */
QScrollBar {
border: 1px solid #5A5A5A;
background: #191919;
......@@ -131,36 +178,7 @@ QScrollBar::add-page, QScrollBar::sub-page {
background: none;
}
QAbstractButton:hover {
background: #353535;
}
QAbstractButton:pressed {
background: #5A5A5A;
}
/* hover menu elements */
QAbstractItemView {
show-decoration-selected: 1;
selection-background-color: #3D7848;
selection-color: #DDDDDD;
alternate-background-color: #353535;
}
QHeaderView {
border: 1px solid #5A5A5A;
}
QHeaderView::section {
background: #191919;
border: 1px solid #5A5A5A;
padding: 4px;
}
QHeaderView::section:selected, QHeaderView::section::checked {
background: #353535;
}
/* image container */
QTableView {
gridline-color: #5A5A5A;
}
......@@ -170,7 +188,7 @@ QTabBar {
}
QTabBar::tab {
border-radius: 0px;
border-top-right-radius: 4px;
padding: 4px;
margin: 4px;
}
......@@ -179,38 +197,7 @@ QTabBar::tab:selected {
background: #353535;
}
QComboBox::down-arrow {
border: 1px solid #5A5A5A;
background: #353535;
}
QComboBox::drop-down {
border: 1px solid #5A5A5A;
background: #353535;
}
QComboBox::down-arrow {
width: 3px;
height: 3px;
border: 1px solid #5A5A5A;
}
QAbstractSpinBox {
padding-right: 15px;
}
QAbstractSpinBox::up-button, QAbstractSpinBox::down-button {
border: 1px solid #5A5A5A;
background: #353535;
subcontrol-origin: border;
}
QAbstractSpinBox::up-arrow, QAbstractSpinBox::down-arrow {
width: 3px;
height: 3px;
border: 1px solid #5A5A5A;
}
/**/
QSlider {
border: none;
}
......@@ -241,47 +228,19 @@ QSlider::handle:vertical {
}
QSlider::add-page:vertical, QSlider::sub-page:horizontal {
background: #3D7848;
background: #111381;
}
QSlider::sub-page:vertical, QSlider::add-page:horizontal {
background: #353535;
}
QLabel {
border: none;
}
/**/
QProgressBar {
text-align: center;
}
QProgressBar::chunk {
width: 1px;
background-color: #3D7848;
}
QMenu::separator {
background: #353535;
}
#_filesSelector {
border-radius: 0px 0px 10px 0px;
border-bottom-right-radius: 10px;
background-color: #0e1875;
}
#_filesSelected {
margin-top: 5px;
border-top-right-radius: 10px;
}
#_toolbox {
border-bottom-left-radius: 10px;
}
/* tous les boutons */
/*
QPushButton {}
QPushButton:hover {}
QPushButton:pressed {}
*/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment