| 1 | |
| 2 | QMainWindow::separator { |
| 3 | width: 2px; |
| 4 | height: 2px; |
| 5 | } |
| 6 | |
| 7 | QFrame { |
| 8 | border: none; |
| 9 | /* |
| 10 | border-radius: 0px; |
| 11 | padding: 0px; |
| 12 | */ |
| 13 | } |
| 14 | |
| 15 | QMainWindow::separator:hover { |
| 16 | background: #696969; |
| 17 | } |
| 18 | |
| 19 | QDockWidget::title { |
| 20 | text-align: center; |
| 21 | padding-left: 0px; |
| 22 | } |
| 23 | |
| 24 | |
| 25 | QTabWidget::pane { |
| 26 | /* The tab widget frame */ |
| 27 | } |
| 28 | |
| 29 | QTabWidget::tab-bar { |
| 30 | } |
| 31 | |
| 32 | /* Style the tab using the tab sub-control. Note that |
| 33 | it reads QTabBar _not_ QTabWidget */ |
| 34 | |
| 35 | QTabBar::tab { |
| 36 | /* |
| 37 | background: darkgrey; |
| 38 | border-right: 2px solid lightgray; |
| 39 | border-top-left-radius: 0px; |
| 40 | border-top-right-radius: 0px; |
| 41 | min-width: 8ex; |
| 42 | padding: 4px; |
| 43 | */ |
| 44 | } |
| 45 | |
| 46 | QTabBar::tab:selected { |
| 47 | } |
| 48 | |
| 49 | QTabBar::tab:selected { |
| 50 | /*border-color: #9B9B9B; |
| 51 | border-bottom-color: #C2C7CB;*/ /* same as pane color */ |
| 52 | } |
| 53 | |
| 54 | QTabBar::tab:!selected { |
| 55 | /* margin-top: 2px; */ /* make non-selected tabs look smaller */ |
| 56 | } |
| 57 | |
| 58 | /* make use of negative margins for overlapping tabs */ |
| 59 | QTabBar::tab:selected { |
| 60 | /* expand/overlap to the left and right by 4px */ |
| 61 | /* margin-left: -4px; |
| 62 | margin-right: -4px; */ |
| 63 | } |
| 64 | |
| 65 | |
| 66 | /* QTextEdit -------------------------------------------------------------- |
| 67 | |
| 68 | https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-specific-widgets |
| 69 | |
| 70 | --------------------------------------------------------------------------- */ |
| 71 | |
| 72 | QTextEdit { |
| 73 | background-color: #19232D; |
| 74 | color: #E0E1E3; |
| 75 | } |
| 76 | |
| 77 | /* |
| 78 | QTextEdit:focus { |
| 79 | border: 1px solid #1A72BB; |
| 80 | } |
| 81 | |
| 82 | QTextEdit:selected { |
| 83 | background: #346792; |
| 84 | color: #455364; |
| 85 | } |
| 86 | */ |