fix #8847 sketcher dialog tool buttons bad styling
This commit is contained in:
committed by
abdullahtahiriyo
parent
7ed22cc5f6
commit
0b2a2a8cf7
@@ -1648,6 +1648,33 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #65A2E5, stop:1 #65A2E5);
|
||||
}
|
||||
|
||||
/* QToolButtons with a menu found in Sketcher task panel*/
|
||||
QSint--ActionGroup QToolButton::menu-button {
|
||||
border: none;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
padding: 2px;
|
||||
width: 16px; /* 16px width + 4px for border = 20px allocated above */
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QToolButton#settingsButton,
|
||||
QSint--ActionGroup QToolButton#filterButton
|
||||
QSint--ActionGroup QToolButton#manualUpdate {
|
||||
padding: 2px;
|
||||
padding-right: 20px; /* make way for the popup button */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: #D2D8E1;
|
||||
background: #232932;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Radio button
|
||||
|
||||
@@ -1615,6 +1615,33 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #3874f2, stop:1 #5e90fa);
|
||||
}
|
||||
|
||||
/* QToolButtons with a menu found in Sketcher task panel*/
|
||||
QSint--ActionGroup QToolButton::menu-button {
|
||||
border: none;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
padding: 2px;
|
||||
width: 16px; /* 16px width + 4px for border = 20px allocated above */
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QToolButton#settingsButton,
|
||||
QSint--ActionGroup QToolButton#filterButton
|
||||
QSint--ActionGroup QToolButton#manualUpdate {
|
||||
padding: 2px;
|
||||
padding-right: 20px; /* make way for the popup button */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: #e0e0e0;
|
||||
background-color: #5a5a5a;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Radio button
|
||||
|
||||
@@ -1615,6 +1615,33 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1b3774, stop:1 #2053c0);
|
||||
}
|
||||
|
||||
/* QToolButtons with a menu found in Sketcher task panel*/
|
||||
QSint--ActionGroup QToolButton::menu-button {
|
||||
border: none;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
padding: 2px;
|
||||
width: 16px; /* 16px width + 4px for border = 20px allocated above */
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QToolButton#settingsButton,
|
||||
QSint--ActionGroup QToolButton#filterButton
|
||||
QSint--ActionGroup QToolButton#manualUpdate {
|
||||
padding: 2px;
|
||||
padding-right: 20px; /* make way for the popup button */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: #fefefe;
|
||||
background-color: #111111;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
QComboBox inside Task Panel content
|
||||
|
||||
@@ -1614,6 +1614,33 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #819c0c, stop:1 #94b30f);
|
||||
}
|
||||
|
||||
/* QToolButtons with a menu found in Sketcher task panel*/
|
||||
QSint--ActionGroup QToolButton::menu-button {
|
||||
border: none;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
padding: 2px;
|
||||
width: 16px; /* 16px width + 4px for border = 20px allocated above */
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QToolButton#settingsButton,
|
||||
QSint--ActionGroup QToolButton#filterButton
|
||||
QSint--ActionGroup QToolButton#manualUpdate {
|
||||
padding: 2px;
|
||||
padding-right: 20px; /* make way for the popup button */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: #e0e0e0;
|
||||
background-color: #5a5a5a;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Radio button
|
||||
|
||||
@@ -1615,6 +1615,33 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #d0970c, stop:1 #daa116);
|
||||
}
|
||||
|
||||
/* QToolButtons with a menu found in Sketcher task panel*/
|
||||
QSint--ActionGroup QToolButton::menu-button {
|
||||
border: none;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
padding: 2px;
|
||||
width: 16px; /* 16px width + 4px for border = 20px allocated above */
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QToolButton#settingsButton,
|
||||
QSint--ActionGroup QToolButton#filterButton
|
||||
QSint--ActionGroup QToolButton#manualUpdate {
|
||||
padding: 2px;
|
||||
padding-right: 20px; /* make way for the popup button */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: #e0e0e0;
|
||||
background-color: #5a5a5a;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Radio button
|
||||
|
||||
@@ -1615,6 +1615,33 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #1b3774, stop:1 #2053c0);
|
||||
}
|
||||
|
||||
/* QToolButtons with a menu found in Sketcher task panel*/
|
||||
QSint--ActionGroup QToolButton::menu-button {
|
||||
border: none;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
padding: 2px;
|
||||
width: 16px; /* 16px width + 4px for border = 20px allocated above */
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QToolButton#settingsButton,
|
||||
QSint--ActionGroup QToolButton#filterButton
|
||||
QSint--ActionGroup QToolButton#manualUpdate {
|
||||
padding: 2px;
|
||||
padding-right: 20px; /* make way for the popup button */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: #f5f5f5;
|
||||
background: #2a2a2a;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
QComboBox inside Task Panel content
|
||||
|
||||
@@ -1615,6 +1615,33 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #566214, stop:1 #74831d);
|
||||
}
|
||||
|
||||
/* QToolButtons with a menu found in Sketcher task panel*/
|
||||
QSint--ActionGroup QToolButton::menu-button {
|
||||
border: none;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
padding: 2px;
|
||||
width: 16px; /* 16px width + 4px for border = 20px allocated above */
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QToolButton#settingsButton,
|
||||
QSint--ActionGroup QToolButton#filterButton
|
||||
QSint--ActionGroup QToolButton#manualUpdate {
|
||||
padding: 2px;
|
||||
padding-right: 20px; /* make way for the popup button */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: #f5f5f5;
|
||||
background: #2a2a2a;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
QComboBox inside Task Panel content
|
||||
|
||||
@@ -1609,6 +1609,33 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #624b14, stop:1 #b28416);
|
||||
}
|
||||
|
||||
/* QToolButtons with a menu found in Sketcher task panel*/
|
||||
QSint--ActionGroup QToolButton::menu-button {
|
||||
border: none;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
padding: 2px;
|
||||
width: 16px; /* 16px width + 4px for border = 20px allocated above */
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QToolButton#settingsButton,
|
||||
QSint--ActionGroup QToolButton#filterButton
|
||||
QSint--ActionGroup QToolButton#manualUpdate {
|
||||
padding: 2px;
|
||||
padding-right: 20px; /* make way for the popup button */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: #f5f5f5;
|
||||
background-color: #2a2a2a;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
QComboBox inside Task Panel content
|
||||
|
||||
@@ -1612,6 +1612,33 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #3874f2, stop:1 #5e90fa);
|
||||
}
|
||||
|
||||
/* QToolButtons with a menu found in Sketcher task panel*/
|
||||
QSint--ActionGroup QToolButton::menu-button {
|
||||
border: none;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
padding: 2px;
|
||||
width: 16px; /* 16px width + 4px for border = 20px allocated above */
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QToolButton#settingsButton,
|
||||
QSint--ActionGroup QToolButton#filterButton
|
||||
QSint--ActionGroup QToolButton#manualUpdate {
|
||||
padding: 2px;
|
||||
padding-right: 20px; /* make way for the popup button */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: black;
|
||||
background: #f5f5f5;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Radio button
|
||||
|
||||
@@ -1612,6 +1612,33 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #819c0c, stop:1 #94b30f);
|
||||
}
|
||||
|
||||
/* QToolButtons with a menu found in Sketcher task panel*/
|
||||
QSint--ActionGroup QToolButton::menu-button {
|
||||
border: none;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
padding: 2px;
|
||||
width: 16px; /* 16px width + 4px for border = 20px allocated above */
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QToolButton#settingsButton,
|
||||
QSint--ActionGroup QToolButton#filterButton
|
||||
QSint--ActionGroup QToolButton#manualUpdate {
|
||||
padding: 2px;
|
||||
padding-right: 20px; /* make way for the popup button */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: black;
|
||||
background: #f5f5f5;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Radio button
|
||||
|
||||
@@ -1612,6 +1612,33 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
|
||||
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #d0970c, stop:1 #daa116);
|
||||
}
|
||||
|
||||
/* QToolButtons with a menu found in Sketcher task panel*/
|
||||
QSint--ActionGroup QToolButton::menu-button {
|
||||
border: none;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
padding: 2px;
|
||||
width: 16px; /* 16px width + 4px for border = 20px allocated above */
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QToolButton#settingsButton,
|
||||
QSint--ActionGroup QToolButton#filterButton
|
||||
QSint--ActionGroup QToolButton#manualUpdate {
|
||||
padding: 2px;
|
||||
padding-right: 20px; /* make way for the popup button */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: black;
|
||||
background: #f5f5f5;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
/*==================================================================================================
|
||||
Radio button
|
||||
|
||||
@@ -1815,6 +1815,32 @@ QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
|
||||
background-color: #557BB6;
|
||||
}
|
||||
|
||||
/* QToolButtons with a menu found in Sketcher task panel*/
|
||||
QSint--ActionGroup QToolButton::menu-button {
|
||||
border: none;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
padding: 2px;
|
||||
width: 16px; /* 16px width + 4px for border = 20px allocated above */
|
||||
outline: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QToolButton#settingsButton,
|
||||
QSint--ActionGroup QToolButton#filterButton
|
||||
QSint--ActionGroup QToolButton#manualUpdate {
|
||||
padding: 2px;
|
||||
padding-right: 20px; /* make way for the popup button */
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* to give widget inside the menu same look as regular menu */
|
||||
QSint--ActionGroup QToolButton#filterButton QListWidget {
|
||||
color: #f5f5f5;
|
||||
background: #2a2a2a;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/*==================================================================================================
|
||||
QComboBox inside Task Panel content
|
||||
@@ -1824,7 +1850,7 @@ QComboBox inside Task Panel content
|
||||
/* TODO: external border not working, in the rest of GUI works setting up Qmenu background color but inside Task Panel it doesn't... */
|
||||
QSint--ActionGroup QFrame[class="content"] QMenu,
|
||||
QSint--ActionGroup QFrame[class="content"] QMenu::item {
|
||||
background-color: #696969;
|
||||
background-color: #2a2a2a;
|
||||
}
|
||||
|
||||
QSint--ActionGroup QFrame[class="content"] QComboBox QAbstractItemView {
|
||||
|
||||
Reference in New Issue
Block a user