mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
add 1px transparent border to qpushbutton
This commit is contained in:
parent
bf64acbde9
commit
7c80c76ff9
1 changed files with 4 additions and 5 deletions
|
|
@ -55,7 +55,7 @@ QAbstractSpinBox:focus, QLineEdit:focus, QPlainTextEdit:focus, QTextEdit:focus{
|
|||
/* Buttons */
|
||||
QPushButton {
|
||||
text-align:center center;
|
||||
border: 0px solid {color:border};
|
||||
border: 1px solid transparent;
|
||||
border-radius: 0.2em;
|
||||
padding: 3px 5px 3px 5px;
|
||||
background: {color:bg-buttons};
|
||||
|
|
@ -63,12 +63,11 @@ QPushButton {
|
|||
|
||||
QPushButton:hover {
|
||||
background: {color:bg-button-hover};
|
||||
border-color: {color:border-hover};
|
||||
color: {color:font-hover};
|
||||
}
|
||||
QPushButton:pressed {
|
||||
border-color: {color:border-focus};
|
||||
}
|
||||
|
||||
QPushButton:pressed {}
|
||||
|
||||
QPushButton:disabled {
|
||||
background: {color:bg-buttons-disabled};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue