mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
style the input to look like disabled
This commit is contained in:
parent
4306aa0184
commit
3bd94db78a
2 changed files with 15 additions and 0 deletions
|
|
@ -1194,3 +1194,17 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
|||
#ImageButton:disabled {
|
||||
background: {color:bg-buttons-disabled};
|
||||
}
|
||||
|
||||
/* Input field that looks like disabled
|
||||
- QAbstractSpinBox, QLineEdit, QPlainTextEdit, QTextEdit
|
||||
- usage: QLineEdit that is not editable but has selectable color
|
||||
*/
|
||||
#LikeDisabledInput {
|
||||
background: {color:bg-inputs-disabled};
|
||||
}
|
||||
#LikeDisabledInput:hover {
|
||||
border-color: {color:border};
|
||||
}
|
||||
#LikeDisabledInput:focus {
|
||||
border-color: {color:border};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue