diff --git a/IHM_Retouche_Photo/ressource/stylesheet/QTWhite.css b/IHM_Retouche_Photo/ressource/stylesheet/QTWhite.css index 229b8a35ee2380ca4e92f4a876e76b0f80c95a00..9cf37ff06222202c520852f8006500ad8e5dcc89 100644 --- a/IHM_Retouche_Photo/ressource/stylesheet/QTWhite.css +++ b/IHM_Retouche_Photo/ressource/stylesheet/QTWhite.css @@ -1,7 +1,3 @@ -/* QWidget::item:selected { - background: #4278db; -} */ - /* menu */ QMenuBar { background-color: #4375E3; @@ -44,7 +40,41 @@ QMenuBar::item:pressed { margin-bottom: 5px; } -/* buttons */ +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; + 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; +} + +#_filesSelected:item { + margin-left: 5px; + margin-right: 5px; +} + +/* add and remove buttons */ #_add_selectable_element { border-radius: 5px; border: 1px; @@ -100,3 +130,60 @@ QMenuBar::item:pressed { background-color: #c2c2c2; color: rgb(0, 0, 0); } + +/* toolbar */ +QToolBar { + background-color: #2856b9; + color: white; + spacing: 3px; + margin-top: -1px; +} + +/* toolbar items */ +QToolButton { + border: 1px; + border-color: #8383b9; + border-style: solid; + border-radius: 6px; + padding-top: 2px; + padding-right: 10px; + padding-bottom: 2px; + padding-left: 10px; +} +QToolButton:hover { + border-color: rgb(48, 83, 136); + background: #3859a1; + border: 1px; + border-color: #080836; + border-style: solid; +} +QToolButton:pressed { + background-color: #2f477a; +} + +/* Tree View */ +/* QTreeView { + show-decoration-selected: 1; +} */ + +QTreeView::item { + color: black; + padding-bottom: 2px; +} + +QTreeView::item:hover { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1); + border: 1px; + border-style: solid; + border-color: #bfcde4; +} + +QTreeView::item:selected:active{ + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc); + color: white; +} + +QTreeView::item:selected:!active { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6593DB, stop: 1 #5073AC); + color: white; +}