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

Update after changes (tools separation) and refractor

parent 4fd05874
No related branches found
No related tags found
No related merge requests found
......@@ -19,13 +19,52 @@ QMenuBar::item:pressed {
background: #2f477a;
}
/* toolbar */
QToolBar {
background-color: #2856b9;
color: white;
spacing: 5px;
margin-top: -1px;
}
/* toolbar items */
QToolButton {
border: 1px;
border-color: #8383b9;
background-color: #4375E3;
color: white;
border-style: solid;
border-radius: 6px;
padding-top: 2px;
padding-right: 10px;
padding-bottom: 2px;
padding-left: 10px;
font-size: 17px;
}
QToolButton:hover {
border-color: rgb(48, 83, 136);
background: #3859a1;
border: 1px;
border-color: #080836;
border-style: solid;
}
QToolButton:pressed {
background-color: #2f477a;
}
/* boxes */
#_filesSelector {
border-bottom-right-radius: 10px;
background-color: white;
margin-bottom: 5px;
}
/**/
#_cuurentFilesLabel {
font-size: 17px;
margin-bottom: 5px;
margin-left: 10px;
}
/**/
#_filesSelected {
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
......@@ -33,14 +72,49 @@ QMenuBar::item:pressed {
margin-bottom: 15px;
}
#_toolbox {
#_filesSelected:item {
margin-top: 4px;
background-color: #4375E3;
color: white;
border-radius: 10px;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 4px;
margin-left: 5px;
margin-right: 5px;
}
#_filesSelected::item:hover {
background: #2c4f9b;
border: 1px;
border-style: solid;
border-color: #1d2e49;
}
#_filesSelected::item:selected:active{
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
color: white;
}
#_filesSelected::item:selected:!active {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6593DB, stop: 1 #5073AC);
color: white;
}
/**/
#_selectionToolLabel {
font-size: 17px;
margin-top: 5px;
margin-left: 10px;
}
/**/
#_selectionToolbox {
border-bottom-left-radius: 10px;
border-top-left-radius: 10px;
background-color: white;
margin-bottom: 5px;
}
QListWidget:item {
#_selectionToolbox:item {
margin-top: 4px;
margin-left: 15px;
margin-right: 15px;
......@@ -52,26 +126,90 @@ QListWidget:item {
padding-left: 4px;
}
QListWidget::item:hover {
#_selectionToolbox::item:hover {
background: #2c4f9b;
border: 1px;
border-style: solid;
border-color: #1d2e49;
}
QListWidget::item:selected:active{
#_selectionToolbox::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 {
#_selectionToolbox::item:selected:!active {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6593DB, stop: 1 #5073AC);
color: white;
}
/**/
#_editLabel {
font-size: 17px;
margin-top: 5px;
margin-left: 10px;
}
/**/
#_editToolbox {
border-bottom-left-radius: 10px;
border-top-left-radius: 10px;
background-color: white;
margin-bottom: 5px;
}
#_filesSelected:item {
margin-left: 5px;
margin-right: 5px;
#_editToolbox: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;
}
#_editToolbox::item:hover {
background: #2c4f9b;
border: 1px;
border-style: solid;
border-color: #1d2e49;
}
#_editToolbox::item:selected:active{
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
color: white;
}
#_editToolbox::item:selected:!active {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6593DB, stop: 1 #5073AC);
color: white;
}
/**/
#_toolConfigButton {
margin-left: 15px;
margin-right: 17px;
background-color: #4375E3;
color: white;
border-radius: 10px;
padding-top: 4px;
padding-bottom: 4px;
}
#_toolConfigButton:hover {
background-color: #2c4f9b;
border: 1px;
border-style: solid;
border-color: #1d2e49;
}
#_toolConfigButton:selected:active{
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
color: white;
}
#_toolConfigButton:selected:!active {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6593DB, stop: 1 #5073AC);
color: white;
}
/* add and remove buttons */
......@@ -111,7 +249,7 @@ QListWidget::item:selected:!active {
border-style: inset;
}
#_testButton {
/* #_testButton {
background-color: #dadada;
color: rgb(0, 0, 0);
border-radius: 5px;
......@@ -129,43 +267,9 @@ QListWidget::item:selected:!active {
#_testButton:hover {
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;
} */
/* Tree View */
QTreeView::item {
color: black;
padding-bottom: 2px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment