dangerzone/share/dangerzone.css
Garrett Robinson eab768f950
Style safe_extension_filename consistently in Dark Mode
To be consistent with Light Mode, the background of the
safe_extension_filename QLabel should match the adjacent QTextField,
but the text should be "grayed out"/disabled to indicate that it's not
supposed to be editable.
2023-09-28 17:20:54 +03:00

41 lines
847 B
CSS

QLineEdit {
border-width: 1px;
border-style: solid;
border-color: #c8c8c8;
padding: 3px;
}
MainWindow[OSColorMode="light"] QWidget {
color: black;
}
/*
* QLabel left-adjacent to a QLineEdit to give the illusion
* that it is part of it, but just not editable
*/
QLabel[style="safe_extension_filename"] {
border-width: 1px;
border-right-width: 0px;
border-style: solid;
border-color: #c8c8c8;
padding: 4px 0px 4px 4px;
}
MainWindow[OSColorMode="light"] QLabel[style="safe_extension_filename"] {
background: white;
color: grey;
}
MainWindow[OSColorMode="dark"] QLabel[style="safe_extension_filename"] {
background: black;
color: grey;
}
QLabel.docs-selection {
font-size: 18px;
}
QLabel.version {
font-size: 20px;
padding-bottom: 5px; /* align with 'dangerzone' font */
}