提交 e1e7e14d 编写于 作者: W Warchamp7

UI: Add white icons for dock titles

- Add pop-out and close svg icons
- Update all dark themes qss with the new icons
上级 d7959051
...@@ -154,6 +154,11 @@ QListWidget QLineEdit { ...@@ -154,6 +154,11 @@ QListWidget QLineEdit {
} }
/* Dock stuff */ /* Dock stuff */
QDockWidget {
titlebar-close-icon: url('./Dark/Close.svg');
titlebar-normal-icon: url('./Dark/Popout.svg');
}
QDockWidget { QDockWidget {
background: #181819; background: #181819;
border: none; border: none;
...@@ -182,6 +187,7 @@ QDockWidget::float-button { ...@@ -182,6 +187,7 @@ QDockWidget::float-button {
subcontrol-position: top right; subcontrol-position: top right;
subcontrol-origin: padding; subcontrol-origin: padding;
right: 0px; right: 0px;
margin: 0px;
} }
QDockWidget::float-button { QDockWidget::float-button {
......
...@@ -119,6 +119,11 @@ SourceTree QLineEdit { ...@@ -119,6 +119,11 @@ SourceTree QLineEdit {
/* Dock Widget */ /* Dock Widget */
QDockWidget {
titlebar-close-icon: url('./Dark/Close.svg');
titlebar-normal-icon: url('./Dark/Popout.svg');
}
QDockWidget::title { QDockWidget::title {
text-align: center; text-align: center;
background-color: rgb(70,69,70); background-color: rgb(70,69,70);
......
<svg class="feather feather-plus" fill="none" stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" version="1.1" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><line x1="2" x2="28" y1="2" y2="28" /><line x1="2" x2="28" y1="28" y2="2" /></svg>
<svg class="feather feather-plus" fill="none" stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" version="1.1" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="2" width="24" height="20" /><rect x="2" y="2" width="24" height="4" style="fill:#fff" /><rect x="14" y="18" width="24" height="20" /><rect x="14" y="18" width="24" height="4" style="fill:#fff" /></svg>
...@@ -188,6 +188,11 @@ QListWidget::item:hover:!active { ...@@ -188,6 +188,11 @@ QListWidget::item:hover:!active {
/* --- Dock widget --- */ /* --- Dock widget --- */
/***********************/ /***********************/
QDockWidget {
titlebar-close-icon: url('./Dark/Close.svg');
titlebar-normal-icon: url('./Dark/Popout.svg');
}
QDockWidget { QDockWidget {
background: rgb(49, 54, 59); /* Blue-gray */ background: rgb(49, 54, 59); /* Blue-gray */
border: 1px solid rgb(58, 64, 69); /* Light Blue-gray */ border: 1px solid rgb(58, 64, 69); /* Light Blue-gray */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册