diff --git a/IHM_Retouche_Photo/ressource/stylesheet/QTDark.css b/IHM_Retouche_Photo/ressource/stylesheet/QTDark.css index ede53c4fac0bcb722e4c4e04ebc446fc783cb004..15123fe1decd29ab25650ceb059cf71a0b398eab 100644 --- a/IHM_Retouche_Photo/ressource/stylesheet/QTDark.css +++ b/IHM_Retouche_Photo/ressource/stylesheet/QTDark.css @@ -1,7 +1,6 @@ * { - background: #191919; + background: #272727; color: #DDDDDD; - border: 1px solid #5A5A5A; } /* menu */ @@ -29,21 +28,68 @@ QMenuBar::item:pressed { #_filesSelector { border-bottom-right-radius: 10px; margin-bottom: 5px; + border: 1px solid #b6b6b6; + background-color: #212121; + border-left: transparent; + margin-right: 4px; } #_filesSelected { border-top-right-radius: 10px; border-bottom-right-radius: 10px; margin-bottom: 15px; + border: 1px solid #b6b6b6; + background-color: #212121; + border-left: transparent; + margin-right: 4px; } #_toolbox { border-bottom-left-radius: 10px; border-top-left-radius: 10px; margin-bottom: 5px; + border: 1px solid #b6b6b6; + background-color: #212121; + border-right: transparent; + margin-left: 4px; +} + +QListWidget:item { + margin-top: 4px; + margin-left: 15px; + margin-right: 15px; + background-color: #4375E3; + color: white; + border-radius: 10px; + padding-top: 4px; + padding-bottom: 4px; + padding-left: 4px; +} + +QListWidget::item:hover { + background: #2c4f9b; + color: white; + border: 1px; + border-style: solid; + border-color: #1d2e49; +} + +QListWidget::item:selected:active{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc); + color: white; +} + +QListWidget::item:selected:!active { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6593DB, stop: 1 #5073AC); + color: white; } -/* buttons */ +#_filesSelected:item { + margin-left: 5px; + margin-right: 5px; +} + +/* add and remove buttons */ #_add_selectable_element { border-radius: 5px; border: 1px; @@ -99,6 +145,86 @@ QMenuBar::item:pressed { color: rgb(0, 0, 0); } +/* toolbar */ +QToolBar { + background-color: #254894; + color: white; + spacing: 3px; + margin-top: -1px; +} + +/* toolbar items */ +QToolButton { + border: 1px; + border-color: #585858; + border-style: solid; + border-radius: 6px; + padding-top: 2px; + padding-right: 10px; + padding-bottom: 2px; + padding-left: 10px; + background-color: #283e63; + color: black; +} +QToolButton:hover { + border-color: rgb(48, 83, 136); + background: #3859a1; + border: 1px; + border-color: #080836; + border-style: solid; + color: black; +} +QToolButton:pressed { + background-color: #2f477a; +} + +/* image container */ +QTableView { + gridline-color: #5A5A5A; +} + +QTabBar { + margin-left: 2px; +} + +QTabBar::tab { + border-top-right-radius: 4px; + padding: 4px; + margin: 4px; +} + +QTabBar::tab:selected { + background: #353535; +} + +/* Tree View */ +QTreeView::item { + color: rgb(255, 255, 255); + padding-bottom: 2px; +} + +QTreeView::item:hover { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #162136, stop: 1 #0e1624); + border: 1px; + border-style: solid; + border-color: #1c2c47; + padding-bottom: 2px; +} + +QTreeView::item:selected:active{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #224275, stop: 1 #0a234a); + color: white; + padding-bottom: 2px; + border-color: #1c2c47; +} + +QTreeView::item:selected:!active { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #09295c, stop: 1 #031533); + color: white; + padding-bottom: 2px; + border-color: #1c2c47; +} + /* scrollbar */ QScrollBar { border: 1px solid #5A5A5A; @@ -177,70 +303,3 @@ QScrollBar:left-arrow, QScrollBar::right-arrow, QScrollBar::up-arrow, QScrollBar QScrollBar::add-page, QScrollBar::sub-page { background: none; } - -/* image container */ -QTableView { - gridline-color: #5A5A5A; -} - -QTabBar { - margin-left: 2px; -} - -QTabBar::tab { - border-top-right-radius: 4px; - padding: 4px; - margin: 4px; -} - -QTabBar::tab:selected { - background: #353535; -} - -/**/ -QSlider { - border: none; -} - -QSlider::groove:horizontal { - height: 5px; - margin: 4px 0px 4px 0px; -} - -QSlider::groove:vertical { - width: 5px; - margin: 0px 4px 0px 4px; -} - -QSlider::handle { - border: 1px solid #5A5A5A; - background: #353535; -} - -QSlider::handle:horizontal { - width: 15px; - margin: -4px 0px -4px 0px; -} - -QSlider::handle:vertical { - height: 15px; - margin: 0px -4px 0px -4px; -} - -QSlider::add-page:vertical, QSlider::sub-page:horizontal { - background: #111381; -} - -QSlider::sub-page:vertical, QSlider::add-page:horizontal { - background: #353535; -} - -/**/ -QProgressBar { - text-align: center; -} - -QProgressBar::chunk { - width: 1px; - background-color: #0e1875; -}