Skip to content

Commit

Permalink
Fix bordeless widgets inside QTab, fix #123
Browse files Browse the repository at this point in the history
  • Loading branch information
dpizetta committed Dec 13, 2018
1 parent b2fc2e0 commit c620df9
Show file tree
Hide file tree
Showing 7 changed files with 6,451 additions and 6,653 deletions.
2,759 changes: 1,330 additions & 1,429 deletions qdarkstyle/pyqt5_style_rc.py

Large diffs are not rendered by default.

802 changes: 401 additions & 401 deletions qdarkstyle/pyqt_style_rc.py

Large diffs are not rendered by default.

802 changes: 401 additions & 401 deletions qdarkstyle/pyqtgraph_style_rc.py

Large diffs are not rendered by default.

5,942 changes: 2,971 additions & 2,971 deletions qdarkstyle/pyside2_style_rc.py

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions qdarkstyle/pyside_style_rc.py

Large diffs are not rendered by default.

2,759 changes: 1,330 additions & 1,429 deletions qdarkstyle/qtpy_style_rc.py

Large diffs are not rendered by default.

34 changes: 15 additions & 19 deletions qdarkstyle/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@ configuration is described bellow.

FOREGROUND -----------

for_light #EFF0F1 #E0E0E0 (texts/labels)
for_normal #A9A9A9 #AAAAAA ()
for_light #EFF0F1 #F0F0F0 (texts/labels)
for_dark #505F69 #787878 (disabled texts)

BACKGROUND -----------

bac_light #4D545B #505F69 (unpressed)
bac_normal #31363B #32414B (border, disabled, pressed)
bac_normal #31363B #32414B (border, disabled, pressed, checked, toolbars, menus)
bac_dark #232629 #19232D (background)

If a stranger configuration is required because of a bugfix or anything
Expand All @@ -52,10 +51,6 @@ QWidget {
selection-color: #F0F0F0;
}

QWidget:focus {
border: 1px solid #148CD2;
}

QWidget:disabled {
background-color: #19232D;
color: #787878;
Expand All @@ -80,22 +75,25 @@ QMainWindow::separator {
background-color: #32414B;
border: 0 solid #19232D;
spacing: 0;
padding: 1px;
margin: 0;
padding: 2px;
}

QMainWindow::separator:hover {
background-color: #787878;
background-color: #505F69;
border: 0px solid #148CD2;
}

QMainWindow::separator:horizontal {
width: 5px;
margin-top: 2px;
margin-bottom: 2px;
image: url(:/qss_icons/rc/Vsepartoolbar.png);
}

QMainWindow::separator:vertical {
height: 5px;
margin-left: 2px;
margin-right: 2px;
image: url(:/qss_icons/rc/Hsepartoolbar.png);
}

Expand Down Expand Up @@ -364,8 +362,8 @@ QMenu {

QMenu::separator {
height: 2px;
background-color: #32414B;
color: #AAAAAA;
background-color: #505F69;
color: #F0F0F0;
padding-left: 4px;
margin-left: 2px;
margin-right: 2px;
Expand Down Expand Up @@ -1209,12 +1207,13 @@ QTabWidget {
selection-background-color: #32414B;
}

QTabWidget::focus QWidget{
border: none;
QTabWidget QFrame{
border: 0;
}

QTabWidget::pane {
border: 1px solid #32414B;
border-radius: 4px;
padding: 2px;
margin: 0px;
}
Expand All @@ -1224,18 +1223,14 @@ QTabWidget::pane:selected {
border: 1px solid #1464A0;
}


QTabWidget:focus {
border: none;
}

/* QTabBar ---------------------------------------------------------------- */

QTabBar {
qproperty-drawBase: 0;
border-radius: 4px;
margin: 0px;
padding: 2px;
border: 0;

/* left: 5px; move to the right by 5px - removed for fix */
}
Expand Down Expand Up @@ -1511,6 +1506,7 @@ QDockWidget::float-button:pressed {
border: 1px solid #32414B;
}


/* QTreeView QTableView QListView ----------------------------------------- */

QTreeView:branch:selected,
Expand Down

0 comments on commit c620df9

Please # to comment.